diff --git a/src/main/java/club/kid7/bannermaker/customMenu/CreateBannerMenu.java b/src/main/java/club/kid7/bannermaker/customMenu/CreateBannerMenu.java index aa1171b..ff7dbc2 100644 --- a/src/main/java/club/kid7/bannermaker/customMenu/CreateBannerMenu.java +++ b/src/main/java/club/kid7/bannermaker/customMenu/CreateBannerMenu.java @@ -68,8 +68,8 @@ public CustomGUIInventory build(final Player player) { boolean isInSimplePreviewMode = playerData.isInSimplePreviewMode(); //預覽模式切換按鈕 final KItemStack previewDye = new KItemStack(DyeColorUtil.toDyeMaterial(selectedColor)) - .name(ChatColor.BLUE + "Selected pattern color") - .lore(ChatColor.GREEN + "Toggle preview mode"); + .name(MessageUtil.format("&9"+tl("gui.selected-pattern-color"))) + .lore(MessageUtil.format("&e[" + tl("gui.click.left") + "] &a" + tl("gui.toggle-preview-mode"))); menu.setClickableItem(18, previewDye).set(ClickType.LEFT, event -> { playerData.setInSimplePreviewMode(!isInSimplePreviewMode); CustomGUIManager.openPrevious(player); diff --git a/src/main/resources/language/en.yml b/src/main/resources/language/en.yml index 5b03e5a..960d499 100644 --- a/src/main/resources/language/en.yml +++ b/src/main/resources/language/en.yml @@ -51,3 +51,5 @@ gui: click: left: Left Click right: Right Click + selected-pattern-color: Selected pattern color + toggle-preview-mode: Toggle preview mode diff --git a/src/main/resources/language/zh-cn.yml b/src/main/resources/language/zh-cn.yml index e36c2f2..23c43f0 100644 --- a/src/main/resources/language/zh-cn.yml +++ b/src/main/resources/language/zh-cn.yml @@ -51,3 +51,5 @@ gui: click: left: 左键 right: 右键 + selected-pattern-color: 已选择图形颜色 + toggle-preview-mode: 切换预览模式 diff --git a/src/main/resources/language/zh-tw.yml b/src/main/resources/language/zh-tw.yml index ab83bd2..6256afb 100644 --- a/src/main/resources/language/zh-tw.yml +++ b/src/main/resources/language/zh-tw.yml @@ -51,3 +51,5 @@ gui: click: left: 左鍵 right: 右鍵 + selected-pattern-color: 已選擇圖形顏色 + toggle-preview-mode: 切換預覽模式