Skip to content

Commit

Permalink
Add zh_hk translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenny-Hui committed Apr 20, 2024
1 parent 329df6f commit 45c8d96
Show file tree
Hide file tree
Showing 5 changed files with 287 additions and 266 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void addConfigEntries() {
}
}
String platforms = String.join(",", platformList);
listViewWidget.add(TextUtil.translatable(TextCategory.GUI, "pids.listview.title.filtered_platform", filteredPlatforms.isEmpty() ? TextUtil.translatable(TextCategory.GUI, "pids.listview.title.filtered_platform.nearby").getString() : "", platforms), new MappedWidget(choosePlatformButton));
listViewWidget.add(filteredPlatforms.isEmpty() ? TextUtil.translatable(TextCategory.GUI, "pids.listview.title.filtered_platform.nearby") : TextUtil.translatable(TextCategory.GUI, "pids.listview.title.filtered_platform", platforms), new MappedWidget(choosePlatformButton));
addChild(new ClickableWidget(choosePlatformButton));

for(int i = 0; i < this.customMessagesWidgets.length; i++) {
Expand Down
156 changes: 75 additions & 81 deletions fabric/src/main/resources/assets/jsblock/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
{
"itemGroup.jsblock.main": "Joban Client Mod Blocks",
"itemGroup.jsblock.ceiling": "Joban Client Mod Blocks - Ceilings",
"itemGroup.jsblock.pids": "Joban Client Mod Blocks - PIDS",

"block.jsblock.apg_door_drl": "APG (Disneyland Resorts Line Variants)",
"block.jsblock.apg_glass_drl": "APG (Disneyland Resorts Line Variants)",
"block.jsblock.apg_glass_end_drl": "APG (Disneyland Resorts Line Variants)",
"block.jsblock.auto_iron_door": "Automatic Iron Door",
"block.jsblock.block.rv_pids_pole": "Must be placed on top of existing Railway Vision PIDS",
"block.jsblock.butterfly_light": "Door Closing Indicator (Butterfly Light)",
"block.jsblock.buffer_stop": "Buffer Stop (East Rail Line Type)",
"block.jsblock.butterfly_light": "Door Closing Indicator (Butterfly Light)",
"block.jsblock.ceiling_slanted": "Slanted Ceiling",
"block.jsblock.circle_wall_1": "Circle Wall (1)",
"block.jsblock.circle_wall_2": "Circle Wall (2)",
Expand All @@ -20,135 +16,133 @@
"block.jsblock.circle_wall_7": "Circle Wall (7)",
"block.jsblock.departure_pole": "Pole (For Departure Timer)",
"block.jsblock.departure_timer": "Departure Timer",
"block.jsblock.tcl_emg_stop_button": "Emergency Stop Button (Tung Chung Line)",
"block.jsblock.mtr_enquiry_machine": "Enquiry Machine",
"block.jsblock.rv_enquiry_machine": "Railway Vision Enquiry Machine",
"block.jsblock.mtr_enquiry_machine_wall": "MTR Enquiry Machine (Wall mounted)",
"block.jsblock.kcr_enquiry_machine": "KCR Enquiry Machine (Wall mounted)",
"block.jsblock.exit_sign_odd": "Exit Signs",
"block.jsblock.exit_sign_even": "Exit Signs (Even)",
"block.jsblock.exit_sign_odd": "Exit Signs",
"block.jsblock.faresaver": "Fare Saver",
"block.jsblock.fire_alarm": "Fire Alarm",
"block.jsblock.kcr_name_sign": "KCR Station Name Sign",
"block.jsblock.kcr_name_sign_station_color": "KCR Station Name Sign (Station Colored)",
"block.jsblock.kcr_emg_stop_sign": "KCR Emergency Stop Sign",
"block.jsblock.helpline_1": "Help Line (With Sticker)",
"block.jsblock.helpline_2": "Help Line",
"block.jsblock.helpline_standing_eal": "Help Line (East Rail Line Type)",
"block.jsblock.helpline_standing": "Help Line (Standing)",
"block.jsblock.tml_emg_stop_button": "Emergency Train Stop Button (Standing, TML)",
"block.jsblock.sil_emg_stop_button": "Emergency Train Stop Button (Standing, SIL)",
"block.jsblock.helpline_standing_eal": "Help Line (East Rail Line Type)",
"block.jsblock.kcr_emg_stop_sign": "KCR Emergency Stop Sign",
"block.jsblock.kcr_enquiry_machine": "KCR Enquiry Machine (Wall mounted)",
"block.jsblock.kcr_name_sign": "KCR Station Name Sign",
"block.jsblock.kcr_name_sign_station_color": "KCR Station Name Sign (Station Colored)",
"block.jsblock.kcr_trespass_sign": "KCR Trespass Signage",
"block.jsblock.light_block": "Light Source Block",
"block.jsblock.light_lantern": "Light Lantern",
"block.jsblock.lrt_inter_car_barrier_left": "LRT Inter-Car Barrier (Left)",
"block.jsblock.lrt_inter_car_barrier_middle": "LRT Inter-Car Barrier (Middle)",
"block.jsblock.lrt_inter_car_barrier_right": "LRT Inter-Car Barrier (Right)",
"block.jsblock.light_block": "Light Source Block",
"block.jsblock.light_lantern": "Light Lantern",
"block.jsblock.spot_lamp": "Spot lamp",
"block.jsblock.lrt_trespass_sign": "LRT Trespass Signage",
"block.jsblock.mtr_enquiry_machine": "Enquiry Machine",
"block.jsblock.mtr_enquiry_machine_wall": "MTR Enquiry Machine (Wall mounted)",
"block.jsblock.mtr_stairs": "MTR Stairs",
"block.jsblock.mtr_trespass_sign": "MTR Trespass Signage",
"block.jsblock.operator_button": "Operator button",
"block.jsblock.pids_1a": "Passenger Information Display System",
"block.jsblock.pids_lcd": "Old Tsueng Kwan O Line PIDS",
"block.jsblock.pids_rv": "Railway Vision PIDS",
"block.jsblock.pids_rv_sil": "Railway Vision PIDS (SIL, Ocean Park Station and Wong Chuk Hang Station Variant)",
"block.jsblock.pids_rv_sil_2": "Railway Vision PIDS (SIL, Admiralty Station and South Horizon Station Variant)",
"block.jsblock.rv_enquiry_machine": "Railway Vision Enquiry Machine",
"block.jsblock.rv_pids_pole": "Railway Vision PIDS Pole",
"block.jsblock.pids.time": "%02d:%02d",
"block.jsblock.signal_light_red_1": "Signal Light (Red, Bottom)",
"block.jsblock.signal_light_red_2": "Signal Light (Red, Top)",
"block.jsblock.signal_light_blue": "Signal Light (Blue, Top)",
"block.jsblock.signal_light_green": "Signal Light (Green, Bottom)",
"block.jsblock.signal_light_inverted_1": "Signal Light (Inverted, Blue-Red)",
"block.jsblock.signal_light_inverted_2": "Signal Light (Inverted, Blue-Green)",
"block.jsblock.signal_light_red_1": "Signal Light (Red, Bottom)",
"block.jsblock.signal_light_red_2": "Signal Light (Red, Top)",
"block.jsblock.sil_emg_stop_button": "Emergency Train Stop Button (Standing, SIL)",
"block.jsblock.sound_looper": "Sound Looper",
"block.jsblock.spot_lamp": "Spot lamp",
"block.jsblock.station_ceiling_wrl": "MTR Station Ceiling (2009)",
"block.jsblock.station_ceiling_wrl_single": "MTR Station Ceiling (2009) (Single)",
"block.jsblock.station_ceiling_wrl_station_color": "MTR Station Ceiling (2009, Station Colored)",
"block.jsblock.station_ceiling_wrl_single_station_color": "MTR Station Ceiling (2009, Station Colored) (Single)",
"block.jsblock.station_ceiling_wrl_pole": "MTR Station Ceiling Pole (2009)",
"block.jsblock.station_ceiling_wrl_single": "MTR Station Ceiling (2009) (Single)",
"block.jsblock.station_ceiling_wrl_single_pole": "MTR Station Ceiling Pole (2009) (Single)",
"block.jsblock.station_ceiling_wrl_single_station_color": "MTR Station Ceiling (2009, Station Colored) (Single)",
"block.jsblock.station_ceiling_wrl_station_color": "MTR Station Ceiling (2009, Station Colored)",
"block.jsblock.station_name_standing": "Station Name (Standing)",
"block.jsblock.subsidy_machine": "Subsidy Machine",
"block.jsblock.tcl_emg_stop_button": "Emergency Stop Button (Tung Chung Line)",
"block.jsblock.thales_ticket_barrier_bare": "Thales Ticket Barrier (Bare Metal)",
"block.jsblock.thales_ticket_barrier_entrance": "Thales Ticket Barrier (Entrance)",
"block.jsblock.thales_ticket_barrier_exit": "Thales Ticket Barrier (Exit)",
"block.jsblock.thales_ticket_barrier_bare": "Thales Ticket Barrier (Bare Metal)",
"block.jsblock.tml_emg_stop_button": "Emergency Train Stop Button (Standing, TML)",
"block.jsblock.train_model_e44": "Train Model (E44)",
"block.jsblock.mtr_trespass_sign": "MTR Trespass Signage",
"block.jsblock.kcr_trespass_sign": "KCR Trespass Signage",
"block.jsblock.lrt_trespass_sign": "LRT Trespass Signage",
"block.jsblock.water_machine": "Water Machine",

"item.jsblock.apg_door_drl": "APG (Disneyland Resorts Line Variants)",
"item.jsblock.apg_glass_drl": "APG (Disneyland Resorts Line Variants)",
"item.jsblock.apg_glass_end_drl": "APG (Disneyland Resorts Line Variants)",

"hud.jsblock.enquiry_machine.success": "Balance: $%s",
"hud.jsblock.faresaver.success": "The $%d discount will be used next time you exit a station.",
"hud.jsblock.faresaver.success.sarcasm": "This so called \"discount\" will be used next time you exit a station.",
"hud.jsblock.faresaver.fail": "You already have a $%d discount applied on your next journey!",
"hud.jsblock.faresaver.saved": "You have saved $%d.",
"hud.jsblock.faresaver.saved_sarcasm": "You have wasted $%d.",
"hud.jsblock.light_block.success": "Light level: %d",
"hud.jsblock.kcr_name_sign.success": "Direction changed!",
"hud.jsblock.kcr_emg_stop_sign.success": "Direction changed!",
"hud.jsblock.operator_button.fail": "You need a Driver Key to activate!",
"hud.jsblock.subsidy_machine.success": "$%d added to your balance, your balance is now $%d",
"hud.jsblock.subsidy_machine.fail": "Please wait %d seconds before trying again.",

"gui.jsblock.atlas_config.not_initialized": "TextureTextRenderer is not loaded, is new text rendering enabled?",
"gui.jsblock.block_config.discard": "Discard Settings",
"gui.jsblock.block_config.save": "Save Settings",
"gui.jsblock.block_config.subtitle": "At: %d %d %d",
"gui.jsblock.block_config.subtitle_with_station": "At: %d %d %d | %s",
"gui.jsblock.brand": "Joban Client Mod",
"gui.jsblock.butterfly_light.countdown": "Dwell time left when starts blinking",
"gui.jsblock.config.version": "Version %s",
"gui.jsblock.config.fail": "Config cannot be saved!",
"gui.jsblock.config.save": "Save config",
"gui.jsblock.config.discard": "Discard config",
"gui.jsblock.config.reset": "Reset config",
"gui.jsblock.config.crash_log": "View latest crash log",
"gui.jsblock.config.discard": "Discard config",
"gui.jsblock.config.fail": "Config cannot be saved!",
"gui.jsblock.config.latest_log": "View latest.log",
"gui.jsblock.config.listview.category.general": "General",
"gui.jsblock.config.listview.category.experimental": "Experimental",
"gui.jsblock.config.listview.category.debug": "Debug",
"gui.jsblock.config.listview.title.disable_rendering": "Disable rendering",
"gui.jsblock.config.listview.category.experimental": "Experimental",
"gui.jsblock.config.listview.category.general": "General",
"gui.jsblock.config.listview.title.custom_font": "Use custom font",
"gui.jsblock.config.listview.title.new_text_rendering": "Enable new experiment text rendering",
"gui.jsblock.config.listview.title.debug_mode": "Enable debug mode",
"gui.jsblock.config.listview.title.disable_rendering": "Disable rendering",
"gui.jsblock.config.listview.title.new_text_rendering": "Enable new experiment text rendering",
"gui.jsblock.config.listview.title.open_atlas_screen": "View texture text atlas",
"gui.jsblock.config.listview.widget.open": "Open",
"gui.jsblock.block_config.subtitle": "At: %d %d %d",
"gui.jsblock.block_config.subtitle_with_station": "At: %d %d %d | %s",
"gui.jsblock.block_config.save": "Save Settings",
"gui.jsblock.block_config.discard": "Discard Settings",
"gui.jsblock.atlas_config.not_initialized": "TextureTextRenderer is not loaded, is new text rendering enabled?",
"gui.jsblock.config.reset": "Reset config",
"gui.jsblock.config.save": "Save config",
"gui.jsblock.config.version": "Version %s",
"gui.jsblock.faresaver.currency": "Currency",
"gui.jsblock.faresaver.discount": "Discount amount",
"gui.jsblock.sound_looper.listview.title.sound_category": "Sound Category",
"gui.jsblock.sound_looper.listview.title.sound_id": "The identifier for the sound",
"gui.jsblock.sound_looper.listview.title.sound_volume": "Sound Volume (%)",
"gui.jsblock.sound_looper.listview.title.repeat_tick": "Loop interval in Ticks (1s = 20 Ticks)",
"gui.jsblock.sound_looper.listview.title.limit_range": "Limit sound range",
"gui.jsblock.sound_looper.listview.title.need_redstone": "Require Redstone Power",
"gui.jsblock.sound_looper.listview.title.pos1": "Position 1 (X, Y, Z)",
"gui.jsblock.sound_looper.listview.title.pos2": "Position 2 (X, Y, Z)",
"gui.jsblock.mismatched_versions": "Please update the Joban Client Mod and try again.",
"gui.jsblock.pids.listview.title.filtered_platform": "Showing arrivals for Platform %s",
"gui.jsblock.pids.listview.title.filtered_platform.nearby": "Showing arrivals for nearby Platforms",
"gui.jsblock.pids.listview.title.hide_platform_number": "Hide Platform Number",
"gui.jsblock.pids.listview.title.filtered_platform": "Showing arrivals for %sPlatform %s",
"gui.jsblock.pids.listview.title.filtered_platform.nearby": "Nearby ",
"gui.jsblock.pids.listview.title.pids_preset": "PIDS Preset",
"gui.jsblock.pids.listview.widget.change_platform": "Change...",
"gui.jsblock.pids.listview.widget.choose_preset": "Choose",
"gui.jsblock.pids.listview.widget.custom_message": "Custom messages",
"gui.jsblock.pids.listview.widget.row_hidden": "Hide Arrivals",
"gui.jsblock.pids.listview.widget.choose_preset": "Choose",
"gui.jsblock.pids_preset.title": "PIDS Preset",
"gui.jsblock.pids_preset.subtitle": "Selected > %s",
"gui.jsblock.pids_preset.listview.category.builtin": "Built-in Preset",
"gui.jsblock.pids_preset.listview.category.custom": "Custom Preset",
"gui.jsblock.pids_preset.listview.widget.edit": "Edit",
"gui.jsblock.pids_preset.listview.widget.choose": "Choose",
"gui.jsblock.pids_preset.listview.widget.edit": "Edit",
"gui.jsblock.pids_preset.listview.widget.selected": "Selected",
"gui.jsblock.pids_preset.subtitle": "Selected > %s",
"gui.jsblock.pids_preset.title": "PIDS Preset",
"gui.jsblock.sound_looper.listview.title.limit_range": "Limit sound range",
"gui.jsblock.sound_looper.listview.title.need_redstone": "Require Redstone Power",
"gui.jsblock.sound_looper.listview.title.pos1": "Position 1 (X, Y, Z)",
"gui.jsblock.sound_looper.listview.title.pos2": "Position 2 (X, Y, Z)",
"gui.jsblock.sound_looper.listview.title.repeat_tick": "Loop interval in Ticks (1s = 20 Ticks)",
"gui.jsblock.sound_looper.listview.title.sound_category": "Sound Category",
"gui.jsblock.sound_looper.listview.title.sound_id": "The identifier for the sound",
"gui.jsblock.sound_looper.listview.title.sound_volume": "Sound Volume (%)",
"gui.jsblock.subsidy_machine.cooldown": "Cooldown (Second)",
"gui.jsblock.subsidy_machine.currency": "$",
"gui.jsblock.subsidy_machine.price": "Subsidy Balance",
"gui.jsblock.subsidy_machine.cooldown": "Cooldown (Second)",
"gui.jsblock.widget.button.true": "Yes",
"gui.jsblock.widget.button.false": "no",
"gui.jsblock.widget.search": "Search Here...",
"gui.jsblock.widget.button.true": "Yes",
"gui.jsblock.widget.numeric_text_field.decrement": "",
"gui.jsblock.widget.numeric_text_field.increment": "",
"gui.jsblock.widget.numeric_text_field.decrement": ""
"gui.jsblock.widget.search": "Search Here...",
"hud.jsblock.enquiry_machine.success": "Balance: $%s",
"hud.jsblock.faresaver.fail": "You already have a $%d discount applied on your next journey!",
"hud.jsblock.faresaver.saved": "You have saved $%d.",
"hud.jsblock.faresaver.saved_sarcasm": "You have wasted $%d.",
"hud.jsblock.faresaver.success": "The $%d discount will be used next time you exit a station.",
"hud.jsblock.faresaver.success.sarcasm": "This so called \"discount\" will be used next time you exit a station.",
"hud.jsblock.kcr_emg_stop_sign.success": "Direction changed!",
"hud.jsblock.kcr_name_sign.success": "Direction changed!",
"hud.jsblock.light_block.success": "Light level: %d",
"hud.jsblock.operator_button.fail": "You need a Driver Key to activate!",
"hud.jsblock.subsidy_machine.fail": "Please wait %d seconds before trying again.",
"hud.jsblock.subsidy_machine.success": "$%d added to your balance, your balance is now $%d",
"item.jsblock.apg_door_drl": "APG (Disneyland Resorts Line Variants)",
"item.jsblock.apg_glass_drl": "APG (Disneyland Resorts Line Variants)",
"item.jsblock.apg_glass_end_drl": "APG (Disneyland Resorts Line Variants)",
"itemGroup.jsblock.ceiling": "Joban Client Mod Blocks - Ceilings",
"itemGroup.jsblock.main": "Joban Client Mod Blocks",
"itemGroup.jsblock.pids": "Joban Client Mod Blocks - PIDS"
}
Loading

0 comments on commit 45c8d96

Please sign in to comment.