Skip to content

Commit 236e4f5

Browse files
feat(i18n): add en_US translation files for all GUI subsystems
Extract hardcoded UI strings into per-GUI .properties files: - gui_auction (190 keys), gui_bazaar (232), gui_banker (55) - gui_sbmenu (705), gui_museum (113), gui_rusty (50) - gui_misc (351) covering anvil, reforge, minion, etc. - gui_common (16) shared elements like Close/Go Back - scoreboard (120), tablist (71), npcs (107) - items (1714) all ItemType display names Add I18n.string() helper for resolving translations to legacy strings, supporting both locale-aware and default resolution. Lore uses \n delimiters in single keys, {placeholder} for dynamic values.
1 parent 57ba5bb commit 236e4f5

13 files changed

Lines changed: 3743 additions & 0 deletions

configuration/i18n/en_US/gui_auction.properties

Lines changed: 190 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# ============================================================
2+
# Banker GUI - Extracted UI strings
3+
# Source: type.skyblockgeneric/gui/inventories/banker/
4+
# ============================================================
5+
6+
# --- GUIBanker ---
7+
gui_banker.main.title = Bank
8+
gui_banker.main.title_personal = Personal Bank Account
9+
gui_banker.main.title_coop = Co-op Bank Account
10+
gui_banker.main.processing_transactions = \u00a7cYou currently have processing transactions!
11+
gui_banker.main.processing_wait = \u00a7cPlease wait a moment before accessing your bank account.
12+
gui_banker.main.information = \u00a7aInformation
13+
gui_banker.main.information.lore = \u00a77Keep your coins safe in the bank!\n\u00a77You lose half the coins in your purse when dying in combat.\n \n\u00a77Balance limit: \u00a76{limit} Coins\n \n\u00a77The banker rewards you every 31\n\u00a77hours with \u00a7binterest \u00a77for the coins in your bank balance.\n\u00a77 \n\u00a77Interest is in: \u00a7b{hours}h
14+
gui_banker.main.deposit = \u00a7aDeposit Coins
15+
gui_banker.main.deposit.lore = \u00a77Current balance: \u00a76{balance}\n \n\u00a77Store coins in the bank to keep\n\u00a77them safe while you go on\n\u00a77on adventures!\n \n\u00a77You will earn \u00a7b2%\u00a77 interest every\n\u00a77season for your first \u00a7610 million\n\u00a77banked coins.\n \n\u00a77Until interest: \u00a7b{hours}h\n \n\u00a7eClick to make a deposit!
16+
gui_banker.main.withdraw = \u00a7aWithdraw Coins
17+
gui_banker.main.withdraw.lore = \u00a77Current balance: \u00a76{balance}\n \n\u00a77Withdraw coins from the bank\n\u00a77to use them for trading or\n\u00a77other purposes!\n \n\u00a7eClick to make a withdrawal!
18+
gui_banker.main.recent_transactions = \u00a7aRecent Transactions
19+
gui_banker.main.no_transactions = \u00a7cNo transactions yet!
20+
gui_banker.main.transaction_entry = \u00a77{sign} \u00a76{amount}\u00a77, \u00a7e{time_ago}\u00a77 by \u00a7b{originator}
21+
22+
# --- GUIBankerDeposit ---
23+
gui_banker.deposit.title = Bank Deposit
24+
gui_banker.deposit.whole_purse = \u00a7aYour whole purse
25+
gui_banker.deposit.whole_purse_subtitle = \u00a78Bank deposit
26+
gui_banker.deposit.current_balance = \u00a77Current balance: \u00a76{balance}
27+
gui_banker.deposit.amount_to_deposit = \u00a77Amount to deposit: \u00a76{amount}
28+
gui_banker.deposit.click = \u00a7eClick to deposit coins!
29+
gui_banker.deposit.half_purse = \u00a7aHalf of your purse
30+
gui_banker.deposit.custom_amount = \u00a7aCustom amount
31+
gui_banker.deposit.custom_amount_label = \u00a77Amount to deposit: \u00a76Custom
32+
gui_banker.deposit.not_enough_coins = \u00a7cYou do not have that many coins to deposit!
33+
gui_banker.deposit.invalid_amount = \u00a7cYou cannot deposit that amount!
34+
gui_banker.deposit.invalid_number = \u00a7cThat is not a valid number!
35+
gui_banker.deposit.exceed_limit = \u00a7cYou cannot deposit that much, you would exceed your balance limit of \u00a76{limit} coins\u00a7c!
36+
gui_banker.deposit.depositing = \u00a78Depositing coins...
37+
gui_banker.deposit.success = \u00a7aYou have deposited \u00a76{amount} coins\u00a7a! You now have \u00a76{balance} coins\u00a7a in your account.
38+
gui_banker.deposit.coop_busy = \u00a7cYou cannot deposit coins as your coop members are currently using the bank.
39+
40+
# --- GUIBankerWithdraw ---
41+
gui_banker.withdraw.title = Bank Withdrawal
42+
gui_banker.withdraw.everything = \u00a7aEverything in the account
43+
gui_banker.withdraw.everything_subtitle = \u00a78Bank withdrawal
44+
gui_banker.withdraw.current_balance = \u00a77Current balance: \u00a76{balance}
45+
gui_banker.withdraw.amount_to_withdraw = \u00a77Amount to withdraw: \u00a76{amount}
46+
gui_banker.withdraw.click = \u00a7eClick to withdraw coins!
47+
gui_banker.withdraw.half_account = \u00a7aHalf of the account
48+
gui_banker.withdraw.twenty_percent = \u00a7a20% of the account
49+
gui_banker.withdraw.custom_amount = \u00a7aCustom amount
50+
gui_banker.withdraw.not_enough_coins = \u00a7cYou do not have that many coins to withdraw!
51+
gui_banker.withdraw.invalid_amount = \u00a7cYou cannot withdraw that amount!
52+
gui_banker.withdraw.invalid_number = \u00a7cThat is not a valid number!
53+
gui_banker.withdraw.withdrawing = \u00a78Withdrawing coins...
54+
gui_banker.withdraw.success = \u00a7aYou have withdrawn \u00a76{amount} coins\u00a7a! You now have \u00a76{balance} coins\u00a7a in your account.
55+
gui_banker.withdraw.coop_busy = \u00a7cYou cannot withdraw coins as your coop members are currently using the bank.

configuration/i18n/en_US/gui_bazaar.properties

Lines changed: 232 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Common GUI elements shared across many GUIs
2+
3+
gui_common.close = §cClose
4+
gui_common.go_back = §aGo Back
5+
gui_common.go_back.lore = §7To {gui_title}
6+
gui_common.click_to_view = §eClick to view!
7+
gui_common.click_to_open = §eClick to open!
8+
gui_common.click_to_select = §eClick to select!
9+
gui_common.click_to_confirm = §eClick to confirm!
10+
gui_common.click_to_browse = §eClick to browse!
11+
gui_common.loading = §7Loading...
12+
gui_common.previous_page = §ePrevious Page
13+
gui_common.next_page = §eNext Page
14+
gui_common.search = §aSearch
15+
gui_common.confirm = §aConfirm
16+
gui_common.cancel = §cCancel

0 commit comments

Comments
 (0)