From 82f0a773fc06164cae364e88c41dbd597e7bfc22 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Fri, 19 Jan 2024 02:10:16 -0700 Subject: [PATCH 1/2] New translations messages.properties (Chinese Traditional) --- .../tabtps/common/messages_zh_TW.properties | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/common/src/main/messages/xyz/jpenilla/tabtps/common/messages_zh_TW.properties b/common/src/main/messages/xyz/jpenilla/tabtps/common/messages_zh_TW.properties index 8decbe47..aab7894b 100644 --- a/common/src/main/messages/xyz/jpenilla/tabtps/common/messages_zh_TW.properties +++ b/common/src/main/messages/xyz/jpenilla/tabtps/common/messages_zh_TW.properties @@ -7,14 +7,14 @@ label.player_count=線上人數 label.cpu=CPU label.cpu.system_short=系統 label.cpu.process_short=處理程序 -label.milliseconds_short=毫秒 +label.milliseconds_short=\ 毫秒 label.used=已使用 label.allocated=已分配 label.average=平均值 label.minimum=最小值 label.maximum=最大值 label.maximum_short_lower=最大 -label.initial_amount=預設值 +label.initial_amount=初始值 # Command help menu help.help=TabTPS 幫助 @@ -43,19 +43,19 @@ command.toggle_actionbar.description=切換是否在 動作欄 顯示資訊。 command.ping.arguments.page=要顯示的頁數(若可用)。 command.ping_self.description=以毫秒為單位顯示指令傳送者到伺服器的延遲。 command.ping_target.description=以毫秒為單位顯示指定玩家到伺服器的延遲。 -command.ping_target.arguments.target=你想查詢延遲的玩家。 -command.ping_all.description=顯示已連線玩家的平均延遲。 +command.ping_target.arguments.target=要查詢延遲的玩家。 +command.ping_all.description=顯示已連線玩家的延遲與他們的平均延遲。 command.memory.description=顯示伺服器 JVM 目前的記憶體池。輸出會根據垃圾回收設定而大幅變化。 # Command exceptions command.exception.invalid_argument=未知的指令引數:{0} -command.exception.invalid_syntax=未知的指令語法。正確的語法是:{0} -command.exception.invalid_sender_type=未知的指令傳送者類型。你應該是 {0} 類型。 +command.exception.invalid_syntax=無效的指令語法。正確的語法是:{0} +command.exception.invalid_sender_type=無效的指令傳送者類型。你應該是 {0} 類型。 command.exception.no_permission=很抱歉,但你沒有權限使用此指令。\n如果你認為這是錯誤,請聯絡伺服器管理員。 -command.exception.command_execution=執行此指令時發生了一個內部錯誤 +command.exception.command_execution=嘗試執行此指令時發生內部錯誤。 # Command feedback text -misc.command.text.no_players_found=選擇器找不到任何玩家:''{0}'' +misc.command.text.no_players_found=選擇器 ''{0}'' 找不到玩家 command.ping.text.player_pings=玩家延遲 command.ping.text.console_must_provide_player=控制台必須要檢查延遲的玩家。 command.ping.text.average_ping=平均延遲 @@ -83,5 +83,5 @@ command.caption.argument.parse.failure.selector.malformed=選擇器 ''{0}'' 是 command.caption.argument.parse.failure.selector.non_player_in_player_selector=沒有玩家被玩家選擇器選擇。 # Misc -misc.text.click_to_copy=點擊以複製 -misc.text.click_to_toggle=點擊以切換 +misc.text.click_to_copy=點擊複製 +misc.text.click_to_toggle=點擊切換 From 16aded43b19f66b846eeb7c62f4e8d8f5580fe4a Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:02:39 -0700 Subject: [PATCH 2/2] New translations messages.properties (Turkish) --- .../tabtps/common/messages_tr_TR.properties | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 common/src/main/messages/xyz/jpenilla/tabtps/common/messages_tr_TR.properties diff --git a/common/src/main/messages/xyz/jpenilla/tabtps/common/messages_tr_TR.properties b/common/src/main/messages/xyz/jpenilla/tabtps/common/messages_tr_TR.properties new file mode 100644 index 00000000..55fd4a7b --- /dev/null +++ b/common/src/main/messages/xyz/jpenilla/tabtps/common/messages_tr_TR.properties @@ -0,0 +1,87 @@ +# Labels +label.tps=TPS +label.mspt=MSPT +label.memory=RAM +label.ping=Ping +label.player_count=Online +label.cpu=CPU +label.cpu.system_short=sys. +label.cpu.process_short=proc. +label.milliseconds_short=ms +label.used=Used +label.allocated=Allocated +label.average=Average +label.minimum=Minimum +label.maximum=Maximum +label.maximum_short_lower=max. +label.initial_amount=Initial + +# Command help menu +help.help=TabTPS Help +help.command=Command +help.description=Description +help.no_description=No description +help.arguments=Arguments +help.optional=Optional +help.showing_results_for_query=Showing search results for query +help.no_results_for_query=No results for query +help.available_commands=Available Commands +help.click_to_show_help=Click to show help for this command +help.page_out_of_range=Error\: Page {0} is not in range. Must be in range [1, {1}] +help.click_for_next_page=Click for next page +help.click_for_previous_page=Click for previous page + +# Command and argument descriptions +command.tickinfo.description=Displays the current TPS and MSPT of the server. +command.help.description=Shows help for the TabTPS commands. +command.help.arguments.query=Help query string. +command.about.description=Shows info about the TabTPS plugin. +command.reload.description=Reloads the TabTPS config files. +command.toggle_tab.description=Toggles showing information in the tab menu. +command.toggle_bossbar.description=Toggles showing information in a boss bar. +command.toggle_actionbar.description=Toggles showing information in the action bar. +command.ping.arguments.page=The page number of players to display, if applicable. +command.ping_self.description=Displays the senders ping to the server in milliseconds. +command.ping_target.description=Displays the targets ping to the server in milliseconds. +command.ping_target.arguments.target=The player(s) to check the ping of. +command.ping_all.description=Displays the pings of connected players with an average. +command.memory.description=Displays the current memory pools of the server JVM. Output will vary greatly based on garbage collection settings. + +# Command exceptions +command.exception.invalid_argument=Invalid command argument\: {0} +command.exception.invalid_syntax=Invalid command syntax. Correct command syntax is\: {0} +command.exception.invalid_sender_type=Invalid command sender. You must be of type {0}. +command.exception.no_permission=I'm sorry, but you do not have permission to perform this command.\nPlease contact the server administrators if you believe that this is in error. +command.exception.command_execution=An internal error occurred while attempting to perform this command. + +# Command feedback text +misc.command.text.no_players_found=No players found for selector\: ''{0}'' +command.ping.text.player_pings=Player Pings +command.ping.text.console_must_provide_player=Console must provide a player to check the ping of. +command.ping.text.average_ping=Average ping +command.ping.text.amount_players={0} players +command.ping.text.amount_players_singular={0} player +command.ping_self.text.your_ping=Your ping\: {0} +command.ping_target.text.targets_ping={0}''s ping\: {1} +command.memory.text.header=Memory Usage +command.tickinfo.text.mspt_hover=Milliseconds per tick. Avg. MSPT ≤ 50 -> 20 TPS +command.tickinfo.text.tps_hover=Ticks per second. 20 is optimal. +command.tickinfo.text.cpu_hover=CPU usage for the Minecraft server process as well as the system CPU usage. +command.tickinfo.text.memory_hover=Megabytes of Memory/RAM. +command.tickinfo.text.header=Server Tick Information +command.toggle.tab.enabled=Enabled tab menu display. +command.toggle.tab.disabled=Disabled tab menu display. +command.toggle.bossbar.enabled=Enabled boss bar display. +command.toggle.bossbar.disabled=Disabled boss bar display. +command.toggle.actionbar.enabled=Enabled action bar display. +command.toggle.actionbar.disabled=Disabled action bar display. + +# Command argument parse failure messages +command.caption.argument.parse.failure.number=''{0}'' is not a valid number in the range [{1}, {2}]. +command.caption.argument.parse.failure.string=''{0}'' is not a valid string of type {1}. +command.caption.argument.parse.failure.selector.malformed=Selector ''{0}'' is malformed. +command.caption.argument.parse.failure.selector.non_player_in_player_selector=Non-player(s) selected in player selector. + +# Misc +misc.text.click_to_copy=Click to copy +misc.text.click_to_toggle=Click to toggle