Skip to content

Commit

Permalink
4.6.0 more translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Skrelpoid committed Aug 5, 2024
1 parent 243d424 commit 800857d
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/skrelpoid/betterrewards/BetterRewardsMod.java
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ public static void discountShopItems(float multiplier) {
public void receivePostInitialize() {
loadSettings();
ModPanel panel = new ModPanel();
ModLabeledToggleButton fun = new ModLabeledToggleButton("Enable FUN mode (No HP cost)", X, Y, Color.WHITE,
EventStrings translation = CardCrawlGame.languagePack.getEventString("betterrewardsmod:Settings");
ModLabeledToggleButton fun = new ModLabeledToggleButton(translation.OPTIONS[0], X, Y, Color.WHITE,
FontHelper.buttonLabelFont, isFunMode, panel, (l) -> {
}, BetterRewardsMod::funToggle);
panel.addUIElement(fun);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/ModTheSpire.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "BetterRewards",
"author_list": ["Skrelpoid", "Hulinyi01"],
"description": "Adds an option to Neow where instead of getting standard rewards, you get rewards based on the score of your last run in a special shop.",
"version": "4.5.4",
"version": "4.6.0",
"sts_version": "12-18-2022",
"mts_version": "3.15.0",
"dependencies": ["basemod"],
Expand Down
7 changes: 7 additions & 0 deletions src/main/resources/betterrewardsmod/local/deu/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,12 @@
"Starte deinen Run mit dem Bessere Belohnungen Ereignis"
],
"OPTIONS": []
},
"betterrewardsmod:Settings": {
"NAME": "",
"DESCRIPTIONS": [],
"OPTIONS": [
"Spaß-Modus aktivieren (Keine TP-Kosten)"
]
}
}
7 changes: 7 additions & 0 deletions src/main/resources/betterrewardsmod/local/eng/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,12 @@
"Get the Better Rewards event at the start of your run"
],
"OPTIONS": []
},
"betterrewardsmod:Settings": {
"NAME": "",
"DESCRIPTIONS": [],
"OPTIONS": [
"Enable FUN mode (No HP cost)"
]
}
}
7 changes: 7 additions & 0 deletions src/main/resources/betterrewardsmod/local/zhs/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,12 @@
"Get the Better Rewards event at the start of your run"
],
"OPTIONS": []
},
"betterrewardsmod:Settings": {
"NAME": "",
"DESCRIPTIONS": [],
"OPTIONS": [
"Enable FUN mode (No HP cost)"
]
}
}

0 comments on commit 800857d

Please sign in to comment.