From f542dd565e5219946f22a21d416d6b45e3331a41 Mon Sep 17 00:00:00 2001 From: SnowCutieOwO <89032291+SnowCutieOwO@users.noreply.github.com> Date: Sat, 21 Sep 2024 19:58:15 +0800 Subject: [PATCH] Fixed code and renamed file for format Moved changes from main branch to develop branch as the developer said. :) * Renamed `zh-CN` -> `zh_CN` * Fixed encode problem --- .../{zh-CN.properties => zh_CN.properties} | 161 +++++++++--------- 1 file changed, 79 insertions(+), 82 deletions(-) rename prison-core/src/main/resources/lang/core/{zh-CN.properties => zh_CN.properties} (60%) diff --git a/prison-core/src/main/resources/lang/core/zh-CN.properties b/prison-core/src/main/resources/lang/core/zh_CN.properties similarity index 60% rename from prison-core/src/main/resources/lang/core/zh-CN.properties rename to prison-core/src/main/resources/lang/core/zh_CN.properties index 6a036fd92..3a55dba0a 100644 --- a/prison-core/src/main/resources/lang/core/zh-CN.properties +++ b/prison-core/src/main/resources/lang/core/zh_CN.properties @@ -76,7 +76,7 @@ # like to share, please contact a staff member on our Discord server. #Thanks for your contributions! # -messages__version=9 +messages__version=11 messages__auto_refresh=true @@ -85,124 +85,124 @@ core_output__prefix_template_prison=监狱 core_output__prefix_template_info=信息 core_output__prefix_template_warning=警告 core_output__prefix_template_error=错误 -core_output__prefix_template_debug=Debug +core_output__prefix_template_debug=调试 core_output__color_code_info=&3 core_output__color_code_warning=&c core_output__color_code_error=&c core_output__color_code_debug=&b -core_output__error_startup_failure=监狱: (Sending to System.err due to Output.log Logger failure): -core_output__error_incorrect_number_of_parameters= 日志失败(%1): Incorrect number of parameters: [%2] Original raw message: [%3] Arguments: %4 +core_output__error_startup_failure=监狱: (使用 System.err 发送, 因 Output.log 记录出现问题): +core_output__error_incorrect_number_of_parameters=日志记录失败 (%1): 字段数量不正确: [%2] 原信息: [%3] 参数: %4 core_text__prefix=&3 core_text__just_now=现在 -core_text__ago=以前 -core_text__from_now=后 -core_text__and= -core_text__time_units_prefix_spacer= -core_text__time_units_singular=年、月、周、日、时、分、秒 -core_text__time_units_plural=年、月、周、日、时、分、秒 -core_text__time_units_short=年、月、周、日、时、分、秒 +core_text__ago=前 +core_text__from_now=现在 +core_text__and=与 +core_text__time_units_prefix_spacer= +core_text__time_units_singular=年,月,周,日,时,分,秒 +core_text__time_units_plural=年,月,周,日,时,分,秒 +core_text__time_units_short=y,m,w,d,h,m,s -core_tokens__name_required=Prison Tokens=A player's name is required when used from console. -core_tokens__cannot_view_others_balances=Prison Tokens: You do not have permission to view other player's balances. -core_tokens__view_balance=&3%1 has %2 tokens. -core_tokens__add_invalid_amount=Prison Tokens: Invalid amount: '%1'. Must be greater than zero. -core_tokens__added_amount=&3%1 now has &7%2 &3tokens after adding &7%3&3. -core_tokens__removed_amount=&3%1 now has &7%2 &3tokens after removing &7%3&3. -core_tokens__set_amount=&3%1 now has &7%2 &3tokens. +core_tokens__name_required=Prison Tokens=在控制台执行该命令时必须输入玩家名称. +core_tokens__cannot_view_others_balances=监狱代币: 你没有权限查看其他玩家的余额. +core_tokens__view_balance=&3%1 拥有 %2 枚代币. +core_tokens__add_invalid_amount=监狱代币: 数量无效: '%1'. 需大于零. +core_tokens__added_amount=&3%1 获得了 &7%3&3 枚代币, 现在拥有 &7%2 &3枚代币. +core_tokens__removed_amount=&3%1 失去了 &7%3&3 枚代币, 现在拥有 &7%2 &3枚代币. +core_tokens__set_amount=&3%1 现在拥有 &7%2 &3枚代币. -core_runCmd__name_required=A valid player name is required. -core_runCmd__command_required=A command is required. +core_runCmd__name_required=请输入有效玩家名称. +core_runCmd__command_required=请输入有效命令. -core_prison_utf8_test=\u041F\u0440\u0438\u0432\u0435\u0442! \u0414\u0430\u0432\u0430\u0439 \u043F\u043E\u0441\u043C\u043E\u0442\u0440\u0438\u043C, \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442 \u043B\u0438? Test 01 +core_prison_utf8_test=正在测试 UTF-8 编码兼容性... 测试 01 # The following are the original messages and they will eventually be replaced. -includeError=[%1] 具有无效值 -excludeError=[%1] 具有无效值 -cantAsConsole=您不能在控制台执行此操作 -missingArgument=未定义参数[%1](它没有默认值) -missingFlagArgument=标志-%1没有所需的参数 -undefinedFlagArgument=未定义标志-%2的参数[%1] -internalErrorOccurred=尝试执行此命令时发生内部错误 -noPermission=你缺少执行该命令的权限 -blockParseError=参数[%1]不是有效的方块 -numberParseError=参数[%1]不是数字 -numberTooLow=参数[%1]必须等于或大于%2 -numberTooHigh=参数[%1]必须等于或小于%2 -numberRangeError=参数[%1]必须等于或大于%2且小于或等于%3 -tooFewCharacters=参数[%1]必须等于或大于%2 -tooManyCharacters=参数[%1]必须等于或小于%2 -playerNotOnline=玩家%1不在线 -worldNotFound=找不到世界%1 +includeError=[%1] 为无效值. +excludeError=[%1] 为无效值. +cantAsConsole=控制台中不能这么做. +missingArgument=参数 [%1] 未定义 (无默认值). +missingFlagArgument=标志 -%1 缺少指定字段. +undefinedFlagArgument=标志 -%2 缺少参数 [%1]. +internalErrorOccurred=执行命令时出现内部错误. +noPermission=你没有权限执行这个命令. +blockParseError=所给参数 [%1] 不是有效方块. +numberParseError=所给参数 [%1] 不是有效数字. +numberTooLow=所给参数 [%1] 必须不小于 %2. +numberTooHigh=所给参数 [%1] 必须不大于 %2. +numberRangeError=所给参数 [%1] 必须不小于 %2 且不大于 %3. +tooFewCharacters=所给参数 [%1] 必须不小于 %2 个字符. +tooManyCharacters=所给参数 [%1] 必须不大于 %2 个字符. +playerNotOnline=玩家 %1 不在线. +worldNotFound=世界 %1 不存在. -core_gui__click_to_decrease=&3点击减少 -core_gui__click_to_increase=&3点击增加 +core_gui__click_to_decrease=&3点击减少. +core_gui__click_to_increase=&3点击增加. -core_gui__click_to_cancel=&3单击以取消。 -core_gui__click_to_close=&3单击以关闭 -core_gui__click_to_confirm=&3点击确认 -core_gui__click_to_delete=&3单击以删除 -core_gui__click_to_disable=&3单击以禁用 -core_gui__click_to_edit=&3点击编辑 -core_gui__click_to_enable=&3单击以启用 -core_gui__click_to_open=&3单击打开 +core_gui__click_to_cancel=&3点击取消. +core_gui__click_to_close=&3点击关闭. +core_gui__click_to_confirm=&3点击确认. +core_gui__click_to_delete=&3点击删除. +core_gui__click_to_disable=&3点击禁用. +core_gui__click_to_edit=&3点击编辑. +core_gui__click_to_enable=&3点击启用. +core_gui__click_to_open=&3点击打开. -core_gui__left_click_to_confirm=&3左键单击确认 -core_gui__left_click_to_reset=&3左键单击以重置 -core_gui__left_click_to_open=&3左键单击打开 -core_gui__left_click_to_edit=&3左键单击进行编辑 +core_gui__left_click_to_confirm=&3左键点击确认. +core_gui__left_click_to_reset=&3左键点击重置. +core_gui__left_click_to_open=&3左键点击打开. +core_gui__left_click_to_edit=&3左键点击编辑. -core_gui__right_click_to_cancel=&3右键单击以取消 -core_gui__right_click_to_delete=&3右键单击以删除 -core_gui__right_click_to_disable=&3右键单击以禁用 -core_gui__right_click_to_enable=&3右键单击以启用 -core_gui__right_click_to_toggle=&3右键单击以切换 +core_gui__right_click_to_cancel=&3右键点击取消. +core_gui__right_click_to_delete=&3右键点击删除. +core_gui__right_click_to_disable=&3右键点击禁用. +core_gui__right_click_to_enable=&3右键点击启用. +core_gui__right_click_to_toggle=&3右键点击切换. -core_gui__right_click_and_shift_to_delete=&3右键单击并按住shift键以删除 -core_gui__right_click_and_shift_to_disable=&3右键单击并按住shift键以禁用 -core_gui__right_click_and_shift_to_toggle=&3右键单击并按住shift键切换 +core_gui__right_click_and_shift_to_delete=&3Shift+右键点击删除. +core_gui__right_click_and_shift_to_disable=&3Shift+右键点击禁用. +core_gui__right_click_and_shift_to_toggle=&3Shift+右键点击切换. -core_gui__page_next=&3下一页 -core_gui__page_prior=&3上一页 +core_gui__page_next=&3下一页. +core_gui__page_prior=&3上一页. # Note: The core_gui__page_tools_ messages all use the following placeholders # so you can structure them any way you need to. You not no have to use # any of them, but you can also use all of them. # {first_page} {prior_page} {current_page} {next_page} {last_page} -core_gui__page_tools_close=&3Close -core_gui__page_tools_go_back=&3Go Back -core_gui__page_tools_first_page=&3Prior page: {first_page} of {last_page} -core_gui__page_tools_prior_page=&3Prior page: {prior_page} of {last_page} -core_gui__page_tools_current_page=&3Current page: {current_page} of {last_page} -core_gui__page_tools_next_page=&3Next page: {next_page} of {last_page} -core_gui__page_tools_last_page=&3Last page: {last_page} of {last_page} +core_gui__page_tools_close=&3关闭 +core_gui__page_tools_go_back=&3返回 +core_gui__page_tools_first_page=&3已是首页: 第 {first_page} 页, 共 {last_page} 页 +core_gui__page_tools_prior_page=&3上一页: 第 {prior_page} 页, 共 {last_page} 页 +core_gui__page_tools_current_page=&3当前页: 第 {current_page} 页, 共 {last_page} 页 +core_gui__page_tools_next_page=&3下一页: 第 {next_page} 页, 共 {last_page} 页 +core_gui__page_tools_last_page=&3已是末页: 第 {last_page} 页, 共 {last_page} 页 -core_gui__money_earned=&3You earned &a$%1 -core_gui__price=&3价格:%1 -core_gui__confirm=&3确认:%1%2 -core_gui__delay=&3延迟:%1秒 -core_gui__multiplier=&3倍数:x%1 -core_gui__value=&3值:%1 -core_gui__permission=&3权限:&7%1 -core_gui__prestige_name=&3声望名称:%1 +core_gui__money_earned=&3你获得了 &a$%1 +core_gui__price=&3价格: %1 +core_gui__confirm=&3确认: %1 %2 +core_gui__delay=&3延迟: %1 秒 +core_gui__multiplier=&3倍率: x %1 +core_gui__value=&3值: %1 +core_gui__permission=&3权限: &7%1 +core_gui__prestige_name=&3特权名: %1 @@ -215,9 +215,9 @@ core_gui__prestige_name=&3声望名称:%1 # Important: Every [] must be paired with a value or it will produce a runtime error: # 'Incorrect number of parameters: [Format specifier %s] core_ranks_topn__player_line_1_header_format=[4] [-18] [-10] [11] [-8] [-12] -core_ranks_topn__player_line_1_header_values=Rank, Player, PreDefRanks, Balance, r-Score, Penalty +core_ranks_topn__player_line_1_header_values=等级, 玩家, 等级, 余额, 分数, 惩罚 core_ranks_topn__player_line_2_header_format=[4] [-10] [7] [-18] [9] -core_ranks_topn__player_line_2_header_values=Rank, Ranks, r-Score, Player, Balance +core_ranks_topn__player_line_2_header_values=等级, 等级, 分数, 玩家, 余额 # For detail_values you can use any of the following placeholders, but they must pair up # with the detail_format's []. @@ -230,6 +230,3 @@ core_ranks_topn__player_line_1_detail_format= [-4] [-18] [-12] [10] [7] [10] core_ranks_topn__player_line_1_detail_values={rankPosition}, {playerName}, {prestigeDefaultRankTagNoColor}, {balanceKmbt}, {rankScore}, {rankScorePenalty} core_ranks_topn__player_line_2_detail_format= [-3] [-10] [7] [-18] [9] core_ranks_topn__player_line_2_detail_values={rankPosition}, {prestigeDefaultRankTagNoColor}, {rankScore}, {playerName}, {balanceKmbt} - - -