Skip to content

Commit

Permalink
fix: make a couple of strings translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Nov 4, 2024
1 parent 6f053e6 commit cf42f8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public void addMouseOverText(TooltipList list) {
chapterPanel.questScreen.addInfoTooltip(list, chapterPanel.questScreen.file);

if (getMouseX() > getX() + width - 18) {
list.string(chapterPanel.isPinned() ? "Stays open" : "Doesn't stay open");
list.translate(chapterPanel.isPinned() ? "ftbquests.gui.stays_open" : "ftbquests.gui.does_not_stay_open");
} else if (chapterPanel.questScreen.file.canEdit() && getMouseX() > getX() + width - 34) {
list.translate("gui.add");
}
Expand Down
2 changes: 2 additions & 0 deletions common/src/main/resources/assets/ftbquests/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@
"ftbquests.gui.select_reward_table": "Select Reward Table",
"ftbquests.gui.select_reward_type": "Select Reward Type",
"ftbquests.gui.reset_progress": "Reset Progress",
"ftbquests.gui.stays_open": "Stays Open",
"ftbquests.gui.does_not_stay_open": "Doesn't Stay Open",
"ftbquests.gui.reset_progress_q": "Reset progress for your team?",
"ftbquests.gui.complete_instantly": "Complete Instantly",
"ftbquests.gui.complete_instantly_q": "Complete this task instantly?",
Expand Down

0 comments on commit cf42f8b

Please sign in to comment.