Compare commits

..
6 Commits
Author SHA1 Message Date
Martin Robertz 68326a5116 update 2025-02-23 17:24:00 +01:00
Yannick Marcotte-Gourde cf374d5d45 Don't crash if someone tries to color number values stored in lang files (#88)
(cherry picked from commit 1ed646b147)
2025-02-23 17:22:34 +01:00
glowredman 2453698166 Add Localizations (#87)
(cherry picked from commit 3dccc7e06d)
2024-12-31 14:25:31 +01:00
Martin Robertz a9e6912bb7 backdate 2024-12-18 17:57:55 +01:00
Martin Robertz 38b09feb3c update
(cherry picked from commit 18e26956ef)
2024-12-18 17:57:16 +01:00
combusterf d96f3e6d6d fix: Use GT ash instead of letting unification screw everything up. (#86)
Co-authored-by: Marcel Sondaar <[email protected]>
(cherry picked from commit 713b0f9d9e)
2024-12-18 17:57:09 +01:00
2 changed files with 4 additions and 3 deletions

No files matched your search

+2 -2
View File
@@ -2,8 +2,8 @@
dependencies {
api('curse.maven:cofh-lib-220333:2388748')
compileOnlyApi('com.github.GTNewHorizons:Angelica:1.0.0-beta28:api')
devOnlyNonPublishable('com.github.GTNewHorizons:NotEnoughItems:2.7.8-GTNH:dev')
compileOnlyApi('com.github.GTNewHorizons:Angelica:1.0.0-beta27:api')
devOnlyNonPublishable('com.github.GTNewHorizons:NotEnoughItems:2.6.54-GTNH:dev')
compileOnly('com.github.GTNewHorizons:inventory-tweaks:1.7.0:api')
compileOnly('com.github.GTNewHorizons:BuildCraft:7.1.39:api')
compileOnly('net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev')
@@ -37,7 +37,8 @@ public class EscritoireTextSource {
EnumSet<Notes> multipleTranslationNoteLevels = EnumSet
.of(Notes.level1, Notes.level2, Notes.level3, Notes.level4, Notes.success, Notes.failure);
for (Notes notesLevel : multipleTranslationNoteLevels) {
int levelCount = Integer.valueOf(StringUtil.localize("gui.escritoire.notes." + notesLevel + ".count"));
int levelCount = Integer.valueOf(
StringUtil.localize("gui.escritoire.notes." + notesLevel + ".count").replaceAll("§\\d", ""));
for (int i = 1; i <= levelCount; i++) {
String note = StringUtil.localize("gui.escritoire.notes." + notesLevel + '.' + i);
researchNotes.put(notesLevel, note);