From bcf03d50143dbd510cbf3e7a0460432cbd8a66ce Mon Sep 17 00:00:00 2001 From: dirtTW Date: Fri, 9 Aug 2024 00:23:45 +0700 Subject: [PATCH 1/2] Add Traditional Chinese (zh_tw.json) Add Traditional Chinese localization --- .../assets/adaptivetooltips/lang/zh_tw.json | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 src/main/resources/assets/adaptivetooltips/lang/zh_tw.json diff --git a/src/main/resources/assets/adaptivetooltips/lang/zh_tw.json b/src/main/resources/assets/adaptivetooltips/lang/zh_tw.json new file mode 100644 index 0000000..5a844f2 --- /dev/null +++ b/src/main/resources/assets/adaptivetooltips/lang/zh_tw.json @@ -0,0 +1,63 @@ +{ + "adaptivetooltips.title": "Adaptive Tooltips 自適應工具提示", + "adaptivetooltips.group.content_manipulation.title": "內容操作", + "adaptivetooltips.group.content_manipulation.desc": "這組選項修改工具提示的內容。", + "adaptivetooltips.opt.text_wrapping.title": "文字換行", + "adaptivetooltips.opt.text_wrapping.desc": "自適應工具提示如何換行工具提示文字。", + "adaptivetooltips.opt.overwrite_vanilla_wrapping.title": "覆蓋原版換行", + "adaptivetooltips.opt.overwrite_vanilla_wrapping.desc": "停止原版對介面中工具提示應用其自身的文字換行,並改用自適應工具提示的換行。", + "adaptivetooltips.group.positioning.title": "定位", + "adaptivetooltips.group.positioning.desc": "這組選項決定工具提示將出現在螢幕上的位置。", + "adaptivetooltips.opt.prioritize_tooltip_top.title": "優先顯示工具提示頂部", + "adaptivetooltips.opt.prioritize_tooltip_top.desc": "當工具提示高度大於螢幕高度時,預設情況下,Minecraft 會優先考慮將底部顯示在螢幕上,並切斷頂部。此選項將優先順序更改為頂部,並切斷底部。", + "adaptivetooltips.opt.prioritize_tooltip_top.warn.align_to_corner": "因為工具提示永遠不會超過螢幕,所以阻止 %s 的垂直檢查。", + "adaptivetooltips.opt.bedrock_centering.title": "基岩居中", + "adaptivetooltips.opt.bedrock_centering.desc": "當工具提示過長而無法在螢幕上顯示時,工具提示會定位在滑鼠的中央,而不是左側或右側。", + "adaptivetooltips.opt.align_to_corner.title": "對齊到角落", + "adaptivetooltips.opt.align_to_corner.desc": "當所有其他方法都失敗時(包括基岩居中),自適應工具提示會確定干擾最小的角落來對齊工具提示。最好與螢幕寬度文字換行一起使用。", + "adaptivetooltips.opt.always_align_corner.title": "始終對齊到角落", + "adaptivetooltips.opt.always_align_corner.desc": "始終對齊到角落,即使不需要。", + "adaptivetooltips.opt.prevent_vanilla_clamping.title": "防止原版限制", + "adaptivetooltips.opt.prevent_vanilla_clamping.desc": "從 1.19.3 開始,Minecraft 透過設定最小位置為 0 來防止工具提示超出螢幕左側。這可能會導致工具提示與懸停的元素重疊,並干擾自適應工具提示的調整。", + "adaptivetooltips.opt.only_reposition_hover_tooltips.title": "僅重新定位懸停工具提示", + "adaptivetooltips.opt.only_reposition_hover_tooltips.desc": "從 1.19.3 開始,Minecraft 添加了兩種工具提示定位類型:懸停和聚焦。「懸停」是舊方法,「聚焦」將工具提示放置在按鈕小部件的上方或下方。停用此設定允許自適應工具提示重新定位所有類型的定位器,包括聚焦定位器和任何其他模組化的定位器。", + "adaptivetooltips.opt.use_yacl_tooltip_positioner.title": "YACL 風格的介面工具提示位置", + "adaptivetooltips.opt.use_yacl_tooltip_positioner.desc": "對所有介面按鈕小部件使用 YetAnotherConfigLib 的定位。(與您正在閱讀的工具提示相同的位置)", + "adaptivetooltips.group.scrolling.title": "捲動", + "adaptivetooltips.group.scrolling.desc": "控制自適應工具提示中捲動功能的行為。", + "adaptivetooltips.label.scrolling_instructions": "在顯示工具提示時按住 %s 並捲動滑鼠滾輪以在其中向上和向下捲動,向左和向右捲動以水平移動它。或者,同時按住 %s 以改為水平捲動。", + "adaptivetooltips.opt.smooth_scrolling.title": "平滑捲動", + "adaptivetooltips.opt.smooth_scrolling.desc": "工具提示捲動看起來很平滑,而不是瞬間完成。", + "adaptivetooltips.opt.scroll_direction.title": "捲動方向", + "adaptivetooltips.opt.scroll_direction.desc": "工具提示捲動的方向。", + "adaptivetooltips.opt.vertical_scroll_sensitivity.title": "垂直捲動靈敏度", + "adaptivetooltips.opt.vertical_scroll_sensitivity.desc": "每次捲動步驟垂直移動工具提示的像素數。", + "adaptivetooltips.opt.horizontal_scroll_sensitivity.title": "水平捲動靈敏度", + "adaptivetooltips.opt.horizontal_scroll_sensitivity.desc": "每次捲動步驟水平移動工具提示的像素數。", + "adaptivetooltips.group.style.title": "樣式", + "adaptivetooltips.group.style.desc": "修改工具提示外觀的選項。", + "adaptivetooltips.opt.tooltip_transparency.title": "工具提示透明度", + "adaptivetooltips.opt.tooltip_transparency.desc": "以百分比修改工具提示的透明度。", + "adaptivetooltips.opt.remove_first_line_padding.title": "移除第一行填充", + "adaptivetooltips.opt.remove_first_line_padding.desc": "從工具提示的第一行中移除額外的 2 個像素的行填充。", + "adaptivetooltips.wrap_text_behaviour.off": "關閉", + "adaptivetooltips.wrap_text_behaviour.off.desc": "不對工具提示應用換行。", + "adaptivetooltips.wrap_text_behaviour.screen_width": "螢幕寬度", + "adaptivetooltips.wrap_text_behaviour.screen_width.desc": "根據螢幕寬度換行工具提示。設計用於與「基岩居中」選項配對。", + "adaptivetooltips.wrap_text_behaviour.remaining_width": "剩餘寬度", + "adaptivetooltips.wrap_text_behaviour.remaining_width.desc": "根據到達螢幕邊緣剩餘的空間量換行工具提示。", + "adaptivetooltips.wrap_text_behaviour.remaining_width.warning": "僅適用於懸停工具提示定位器!有關更多詳細信息,請參閱「僅重新定位懸停工具提示」的描述。", + "adaptivetooltips.wrap_text_behaviour.half_screen_width": "螢幕寬度的一半", + "adaptivetooltips.wrap_text_behaviour.half_screen_width.desc": "以螢幕寬度一半的最大寬度換行工具提示,因此工具提示最多只能水平填充螢幕的一半。", + "adaptivetooltips.wrap_text_behaviour.smart": "智慧", + "adaptivetooltips.wrap_text_behaviour.smart.desc": "換行比其他行長得多的行,硬性限制為螢幕寬度的 3/4。", + "adaptivetooltips.scroll_direction.reverse": "反向 (Windows)", + "adaptivetooltips.scroll_direction.natural": "自然 (macOS)", + "adaptivetooltips.format.pixels": "%s 像素", + "adaptivetooltips.format.vanilla": "原版", + "adaptivetooltips.bind.scroll": "啟用工具提示捲動", + "adaptivetooltips.bind.horizontal_scroll": "啟用水平捲動", + "adaptivetooltips.gui.awaiting_key": "按下一個按鍵", + "adaptivetooltips.gui.require_opt.on": "需要啟用「%s」。", + "adaptivetooltips.gui.require_opt.off": "需要停用「%s」。" +} From 1d70026f4cea39d1e994c15c405f8bf90538b697 Mon Sep 17 00:00:00 2001 From: dirtTW <31981880+yichifauzi@users.noreply.github.com> Date: Tue, 15 Oct 2024 21:04:11 +0700 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: notlin4 <121224522+notlin4@users.noreply.github.com> --- .../assets/adaptivetooltips/lang/zh_tw.json | 64 +++++++++---------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/src/main/resources/assets/adaptivetooltips/lang/zh_tw.json b/src/main/resources/assets/adaptivetooltips/lang/zh_tw.json index 5a844f2..ee4e1bf 100644 --- a/src/main/resources/assets/adaptivetooltips/lang/zh_tw.json +++ b/src/main/resources/assets/adaptivetooltips/lang/zh_tw.json @@ -1,61 +1,61 @@ { - "adaptivetooltips.title": "Adaptive Tooltips 自適應工具提示", + "adaptivetooltips.title": "Adaptive Tooltips 自適應物品提示", "adaptivetooltips.group.content_manipulation.title": "內容操作", - "adaptivetooltips.group.content_manipulation.desc": "這組選項修改工具提示的內容。", + "adaptivetooltips.group.content_manipulation.desc": "這組選項修改物品提示的內容。", "adaptivetooltips.opt.text_wrapping.title": "文字換行", - "adaptivetooltips.opt.text_wrapping.desc": "自適應工具提示如何換行工具提示文字。", + "adaptivetooltips.opt.text_wrapping.desc": "自適應物品提示如何換行物品提示文字。", "adaptivetooltips.opt.overwrite_vanilla_wrapping.title": "覆蓋原版換行", - "adaptivetooltips.opt.overwrite_vanilla_wrapping.desc": "停止原版對介面中工具提示應用其自身的文字換行,並改用自適應工具提示的換行。", + "adaptivetooltips.opt.overwrite_vanilla_wrapping.desc": "停止原版對介面中物品提示應用其自身的文字換行,並改用自適應物品提示的換行。", "adaptivetooltips.group.positioning.title": "定位", - "adaptivetooltips.group.positioning.desc": "這組選項決定工具提示將出現在螢幕上的位置。", - "adaptivetooltips.opt.prioritize_tooltip_top.title": "優先顯示工具提示頂部", - "adaptivetooltips.opt.prioritize_tooltip_top.desc": "當工具提示高度大於螢幕高度時,預設情況下,Minecraft 會優先考慮將底部顯示在螢幕上,並切斷頂部。此選項將優先順序更改為頂部,並切斷底部。", - "adaptivetooltips.opt.prioritize_tooltip_top.warn.align_to_corner": "因為工具提示永遠不會超過螢幕,所以阻止 %s 的垂直檢查。", - "adaptivetooltips.opt.bedrock_centering.title": "基岩居中", - "adaptivetooltips.opt.bedrock_centering.desc": "當工具提示過長而無法在螢幕上顯示時,工具提示會定位在滑鼠的中央,而不是左側或右側。", + "adaptivetooltips.group.positioning.desc": "這組選項決定物品提示將出現在螢幕上的位置。", + "adaptivetooltips.opt.prioritize_tooltip_top.title": "優先顯示物品提示頂部", + "adaptivetooltips.opt.prioritize_tooltip_top.desc": "當物品提示高度大於螢幕高度時,預設情況下,Minecraft 會優先考慮將底部顯示在螢幕上,並切斷頂部。此選項將優先順序更改為頂部,並切斷底部。", + "adaptivetooltips.opt.prioritize_tooltip_top.warn.align_to_corner": "因為物品提示永遠不會超過螢幕,所以阻止 %s 的垂直檢查。", + "adaptivetooltips.opt.bedrock_centering.title": "基岩置中", + "adaptivetooltips.opt.bedrock_centering.desc": "當物品提示過長而無法在螢幕上顯示時,物品提示會定位在滑鼠的中央,而不是左側或右側。", "adaptivetooltips.opt.align_to_corner.title": "對齊到角落", - "adaptivetooltips.opt.align_to_corner.desc": "當所有其他方法都失敗時(包括基岩居中),自適應工具提示會確定干擾最小的角落來對齊工具提示。最好與螢幕寬度文字換行一起使用。", + "adaptivetooltips.opt.align_to_corner.desc": "當所有其他方法都失敗時(包括基岩置中),自適應物品提示會確定干擾最小的角落來對齊物品提示。最好與螢幕寬度文字換行一起使用。", "adaptivetooltips.opt.always_align_corner.title": "始終對齊到角落", "adaptivetooltips.opt.always_align_corner.desc": "始終對齊到角落,即使不需要。", "adaptivetooltips.opt.prevent_vanilla_clamping.title": "防止原版限制", - "adaptivetooltips.opt.prevent_vanilla_clamping.desc": "從 1.19.3 開始,Minecraft 透過設定最小位置為 0 來防止工具提示超出螢幕左側。這可能會導致工具提示與懸停的元素重疊,並干擾自適應工具提示的調整。", - "adaptivetooltips.opt.only_reposition_hover_tooltips.title": "僅重新定位懸停工具提示", - "adaptivetooltips.opt.only_reposition_hover_tooltips.desc": "從 1.19.3 開始,Minecraft 添加了兩種工具提示定位類型:懸停和聚焦。「懸停」是舊方法,「聚焦」將工具提示放置在按鈕小部件的上方或下方。停用此設定允許自適應工具提示重新定位所有類型的定位器,包括聚焦定位器和任何其他模組化的定位器。", - "adaptivetooltips.opt.use_yacl_tooltip_positioner.title": "YACL 風格的介面工具提示位置", - "adaptivetooltips.opt.use_yacl_tooltip_positioner.desc": "對所有介面按鈕小部件使用 YetAnotherConfigLib 的定位。(與您正在閱讀的工具提示相同的位置)", + "adaptivetooltips.opt.prevent_vanilla_clamping.desc": "從 1.19.3 開始,Minecraft 透過設定最小位置為 0 來防止物品提示超出螢幕左側。這可能會導致物品提示與懸停的元素重疊,並干擾自適應物品提示的調整。", + "adaptivetooltips.opt.only_reposition_hover_tooltips.title": "僅重新定位懸停物品提示", + "adaptivetooltips.opt.only_reposition_hover_tooltips.desc": "從 1.19.3 開始,Minecraft 添加了兩種物品提示定位類型:懸停和聚焦。「懸停」是舊方法,「聚焦」將物品提示放置在按鈕小部件的上方或下方。停用此設定允許自適應物品提示重新定位所有類型的定位器,包括聚焦定位器和任何其他模組化的定位器。", + "adaptivetooltips.opt.use_yacl_tooltip_positioner.title": "YACL 風格的介面物品提示位置", + "adaptivetooltips.opt.use_yacl_tooltip_positioner.desc": "對所有介面按鈕小部件使用 YetAnotherConfigLib 的定位。(與您正在閱讀的物品提示相同的位置)", "adaptivetooltips.group.scrolling.title": "捲動", - "adaptivetooltips.group.scrolling.desc": "控制自適應工具提示中捲動功能的行為。", - "adaptivetooltips.label.scrolling_instructions": "在顯示工具提示時按住 %s 並捲動滑鼠滾輪以在其中向上和向下捲動,向左和向右捲動以水平移動它。或者,同時按住 %s 以改為水平捲動。", + "adaptivetooltips.group.scrolling.desc": "控制自適應物品提示中捲動功能的行為。", + "adaptivetooltips.label.scrolling_instructions": "在顯示物品提示時按住 %s 並捲動滑鼠滾輪以在其中向上和向下捲動,向左和向右捲動以水平移動它。或者,同時按住 %s 以改為水平捲動。", "adaptivetooltips.opt.smooth_scrolling.title": "平滑捲動", - "adaptivetooltips.opt.smooth_scrolling.desc": "工具提示捲動看起來很平滑,而不是瞬間完成。", + "adaptivetooltips.opt.smooth_scrolling.desc": "物品提示捲動看起來很平滑,而不是瞬間完成。", "adaptivetooltips.opt.scroll_direction.title": "捲動方向", - "adaptivetooltips.opt.scroll_direction.desc": "工具提示捲動的方向。", + "adaptivetooltips.opt.scroll_direction.desc": "物品提示捲動的方向。", "adaptivetooltips.opt.vertical_scroll_sensitivity.title": "垂直捲動靈敏度", - "adaptivetooltips.opt.vertical_scroll_sensitivity.desc": "每次捲動步驟垂直移動工具提示的像素數。", + "adaptivetooltips.opt.vertical_scroll_sensitivity.desc": "每次捲動步驟垂直移動物品提示的像素。", "adaptivetooltips.opt.horizontal_scroll_sensitivity.title": "水平捲動靈敏度", - "adaptivetooltips.opt.horizontal_scroll_sensitivity.desc": "每次捲動步驟水平移動工具提示的像素數。", + "adaptivetooltips.opt.horizontal_scroll_sensitivity.desc": "每次捲動步驟水平移動物品提示的像素。", "adaptivetooltips.group.style.title": "樣式", - "adaptivetooltips.group.style.desc": "修改工具提示外觀的選項。", - "adaptivetooltips.opt.tooltip_transparency.title": "工具提示透明度", - "adaptivetooltips.opt.tooltip_transparency.desc": "以百分比修改工具提示的透明度。", + "adaptivetooltips.group.style.desc": "修改物品提示外觀的選項。", + "adaptivetooltips.opt.tooltip_transparency.title": "物品提示透明度", + "adaptivetooltips.opt.tooltip_transparency.desc": "以百分比修改物品提示的透明度。", "adaptivetooltips.opt.remove_first_line_padding.title": "移除第一行填充", - "adaptivetooltips.opt.remove_first_line_padding.desc": "從工具提示的第一行中移除額外的 2 個像素的行填充。", + "adaptivetooltips.opt.remove_first_line_padding.desc": "從物品提示的第一行中移除額外的 2 個像素的行填充。", "adaptivetooltips.wrap_text_behaviour.off": "關閉", - "adaptivetooltips.wrap_text_behaviour.off.desc": "不對工具提示應用換行。", + "adaptivetooltips.wrap_text_behaviour.off.desc": "不對物品提示套用換行。", "adaptivetooltips.wrap_text_behaviour.screen_width": "螢幕寬度", - "adaptivetooltips.wrap_text_behaviour.screen_width.desc": "根據螢幕寬度換行工具提示。設計用於與「基岩居中」選項配對。", + "adaptivetooltips.wrap_text_behaviour.screen_width.desc": "根據螢幕寬度換行物品提示。設計用於與「基岩置中」選項配對。", "adaptivetooltips.wrap_text_behaviour.remaining_width": "剩餘寬度", - "adaptivetooltips.wrap_text_behaviour.remaining_width.desc": "根據到達螢幕邊緣剩餘的空間量換行工具提示。", - "adaptivetooltips.wrap_text_behaviour.remaining_width.warning": "僅適用於懸停工具提示定位器!有關更多詳細信息,請參閱「僅重新定位懸停工具提示」的描述。", + "adaptivetooltips.wrap_text_behaviour.remaining_width.desc": "根據到達螢幕邊緣剩餘的空間量換行物品提示。", + "adaptivetooltips.wrap_text_behaviour.remaining_width.warning": "僅適用於懸停物品提示定位器!有關更多詳細資訊,請參閱「僅重新定位懸停物品提示」的描述。", "adaptivetooltips.wrap_text_behaviour.half_screen_width": "螢幕寬度的一半", - "adaptivetooltips.wrap_text_behaviour.half_screen_width.desc": "以螢幕寬度一半的最大寬度換行工具提示,因此工具提示最多只能水平填充螢幕的一半。", + "adaptivetooltips.wrap_text_behaviour.half_screen_width.desc": "以螢幕寬度一半的最大寬度換行物品提示,因此物品提示最多只能水平填充螢幕的一半。", "adaptivetooltips.wrap_text_behaviour.smart": "智慧", "adaptivetooltips.wrap_text_behaviour.smart.desc": "換行比其他行長得多的行,硬性限制為螢幕寬度的 3/4。", "adaptivetooltips.scroll_direction.reverse": "反向 (Windows)", "adaptivetooltips.scroll_direction.natural": "自然 (macOS)", "adaptivetooltips.format.pixels": "%s 像素", "adaptivetooltips.format.vanilla": "原版", - "adaptivetooltips.bind.scroll": "啟用工具提示捲動", + "adaptivetooltips.bind.scroll": "啟用物品提示捲動", "adaptivetooltips.bind.horizontal_scroll": "啟用水平捲動", "adaptivetooltips.gui.awaiting_key": "按下一個按鍵", "adaptivetooltips.gui.require_opt.on": "需要啟用「%s」。",