Skip to content

Commit

Permalink
fix available translation nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Jul 20, 2024
1 parent 37f9e2c commit 2136e53
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/main/java/fi/dy/masa/itemscroller/config/Configs.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static class Generic
public static final ConfigBoolean SLOT_POSITION_AWARE_SCROLL_DIRECTION = new ConfigBoolean("useSlotPositionAwareScrollDirection", false, "itemscroller.config.generic.comment.useSlotPositionAwareScrollDirection").translatedName("itemscroller.config.generic.name.useSlotPositionAwareScrollDirection");
public static final ConfigBoolean VILLAGER_TRADE_USE_GLOBAL_FAVORITES = new ConfigBoolean("villagerTradeUseGlobalFavorites", true, "itemscroller.config.generic.comment.villagerTradeUseGlobalFavorites").translatedName("itemscroller.config.generic.name.villagerTradeUseGlobalFavorites");
public static final ConfigBoolean VILLAGER_TRADE_LIST_REMEMBER_SCROLL = new ConfigBoolean("villagerTradeListRememberScrollPosition", true, "itemscroller.config.generic.comment.villagerTradeListRememberScrollPosition").translatedName("itemscroller.config.generic.name.villagerTradeListRememberScrollPosition");
public static final ConfigBoolean SORT_ASSUME_EMPTY_BOX_STACKS = new ConfigBoolean("sortAssumeEmptyBoxStacks", true, "itemscroller.config.generic.comment.sortAssumeEmptyBoxStacks").translatedName("itemscroller.config.generic.name.sortAssumeEmptyBoxStacks");
public static final ConfigBoolean SORT_ASSUME_EMPTY_BOX_STACKS = new ConfigBoolean("sortAssumeEmptyBoxStacks", true, "itemscroller.config.generic.comment.sortAssumeEmptyBoxStacks").translatedName("itemscroller.config.generic.name.sortAssumeEmptyBoxStacks");
public static final ConfigBoolean SORT_SHULKER_BOXES_AT_END = new ConfigBoolean("sortShulkerBoxesAtEnd", true, "itemscroller.config.generic.comment.sortShulkerBoxesAtEnd").translatedName("itemscroller.config.generic.name.sortShulkerBoxesAtEnd");

public static final ImmutableList<IConfigValue> OPTIONS = ImmutableList.of(
Expand Down
10 changes: 6 additions & 4 deletions src/main/resources/assets/itemscroller/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"itemscroller.config.generic.name.useSlotPositionAwareScrollDirection": "useSlotPositionAwareScrollDirection",
"itemscroller.config.generic.name.villagerTradeUseGlobalFavorites": "villagerTradeUseGlobalFavorites",
"itemscroller.config.generic.name.villagerTradeListRememberScrollPosition": "villagerTradeListRememberScrollPosition",
"itemscroller.config.generic.name.sortAssumeEmptyBoxStacks": "sortAssumeEmptyBoxStacks",
"itemscroller.config.generic.name.sortShulkerBoxesAtEnd": "sortShulkerBoxesAtEnd",

"itemscroller.config.generic.comment.carpetCtrlQCraftingEnabledOnServer": "Set to true if the server is running the Carpet mod,\nand has the ctrlQCrafting option enabled.\nThis just changes which method Item Scroller uses\nfor the Drop key + Shift + Right click crafting.",
"itemscroller.config.generic.comment.clientCraftingFixOn1_12": "Enable updating the crafting recipe output directly on the client side.\nThis fixes the quick/mass crafting and right-click-to-craft-a-stack\nfeatures otherwise being broken in 1.12.",
Expand All @@ -38,6 +40,8 @@
"itemscroller.config.generic.comment.useSlotPositionAwareScrollDirection": "When enabled, the item movement direction depends\non the slots' y-position on screen. Might be derpy with more\ncomplex inventories, use with caution!",
"itemscroller.config.generic.comment.villagerTradeUseGlobalFavorites": "Whether or not global (per-item-type) villager trade\nfavorites should be used.",
"itemscroller.config.generic.comment.villagerTradeListRememberScrollPosition": "Remember and restore the last scroll position in the\ntrade list when re-opening the GUI",
"itemscroller.config.generic.comment.sortAssumeEmptyBoxStacks": "Assume that empty boxes are stacking items\nwhen sorting the inventory.\nThis is useful if you installed mods to stack\nshulker boxes on remote server.\nThis will send an extra packet to ensure the\ninventory is synced.",
"itemscroller.config.generic.comment.sortShulkerBoxesAtEnd": "Sort shulker boxes at the end of the inventory\nwhen sorting the inventory.",

"itemscroller.config.toggles.name.enableCraftingFeatures": "enableCraftingFeatures",
"itemscroller.config.toggles.name.enableDropkeyDropMatching": "enableDropkeyDropMatching",
Expand All @@ -64,10 +68,6 @@
"itemscroller.config.toggles.comment.enableShiftDropItems": "Enables dropping all matching items at once by holding\nshift while clicking to drop a stack",
"itemscroller.config.toggles.comment.enableShiftPlaceItems": "Enables moving all matching stacks at once by holding\nshift while placing items to an empty slot",
"itemscroller.config.toggles.comment.enableVillagerTradeFeatures": "Enable trade favoriting and quick trade features for villagers.\nNote: The Shift + scrolling over the output slot is a separate feature\nand not affected by this option.\nThis option enables middle clicking to mark favorite trades,\nand right clicking on the trade list to fully trade that one trade.",
"itemscroller.config.generic.comment.massCraftUseRecipeBook": "Use the recipe book protocol for mass crafting.\nThis is faster than the old method.",
"itemscroller.config.hotkeys.comment.sortInventory": "Sort the inventory that the cursor is hovering over",
"itemscroller.config.generic.comment.sortAssumeEmptyBoxStacks": "Assume that empty boxes are stacking items\nwhen sorting the inventory.\nThis is useful if you installed mods to stack\nshulker boxes on remote server.\nThis will send an extra packet to ensure the\ninventory is synced.",
"itemscroller.config.generic.comment.sortShulkerBoxesAtEnd": "Sort shulker boxes at the end of the inventory\nwhen sorting the inventory.",

"itemscroller.config.hotkeys.name.openConfigGui": "openConfigGui",
"itemscroller.config.hotkeys.name.craftEverything": "craftEverything",
Expand Down Expand Up @@ -100,6 +100,7 @@
"itemscroller.config.hotkeys.name.modifierMoveMatching": "modifierMoveMatching",
"itemscroller.config.hotkeys.name.modifierMoveStack": "modifierMoveStack",
"itemscroller.config.hotkeys.name.modifierToggleVillagerGlobalFavorite": "modifierToggleVillagerGlobalFavorite",
"itemscroller.config.hotkeys.name.sortInventory": "sortInventory",

"itemscroller.config.hotkeys.comment.openConfigGui": "Open the in-game config GUI",
"itemscroller.config.hotkeys.comment.craftEverything": "Craft everything possible once with the currently selected recipe",
Expand Down Expand Up @@ -132,6 +133,7 @@
"itemscroller.config.hotkeys.comment.modifierMoveMatching": "Modifier key to move all matching items to the other\ninventory when scrolling over a stack",
"itemscroller.config.hotkeys.comment.modifierMoveStack": "Modifier key to move the entire stack to the other\ninventory when scrolling over it",
"itemscroller.config.hotkeys.comment.modifierToggleVillagerGlobalFavorite": "Modifier key to hold while middle clicking a trade,\nto toggle the global favorite state for that trade.\nGlobal favorites are used for villagers that don't\nhave any \"local\"/villager-specific favorites set.",
"itemscroller.config.hotkeys.comment.sortInventory": "Sort the inventory that the cursor is hovering over",

"itemscroller.gui.button.config_gui.generic": "Generic",
"itemscroller.gui.button.config_gui.hotkeys": "Hotkeys",
Expand Down
16 changes: 11 additions & 5 deletions src/main/resources/assets/itemscroller/lang/es_es.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"itemscroller.config.generic.name.useSlotPositionAwareScrollDirection": "useSlotPositionAwareScrollDirection",
"itemscroller.config.generic.name.villagerTradeListRememberScrollPosition": "villagerTradeListRememberScrollPosition",
"itemscroller.config.generic.name.villagerTradeUseGlobalFavorites": "villagerTradeUseGlobalFavorites",
"itemscroller.config.generic.name.sortAssumeEmptyBoxStacks": "sortAssumeEmptyBoxStacks",
"itemscroller.config.generic.name.sortShulkerBoxesAtEnd": "sortShulkerBoxesAtEnd",

"itemscroller.config.generic.comment.carpetCtrlQCraftingEnabledOnServer": "Activalo si el servidor tiene Carpet mod,\ny tienes activado el ctrlQCrafting .\nEsto solo cambia la forma en la forma en la que el mod de Item Scroller\nfunciona con la combiacion de teclas + Shift + Clik derecho en mesas de crafteo/inventario y demás.",
"itemscroller.config.generic.comment.clientCraftingFixOn1_12": "Arregla el problema del crafteo masivo en la 1.12.",
Expand All @@ -38,6 +40,8 @@
"itemscroller.config.generic.comment.useSlotPositionAwareScrollDirection": "Cuando esta activado, el movimiento de los items, depende de la posicion en las ranuras en la pantalla\n Esto puede tener un comportamiento inesperado con invetarios mas complejos\n¡Usalo con precaucion!",
"itemscroller.config.generic.comment.villagerTradeListRememberScrollPosition": "Recuerda y restaura la ultima posicion de scroll en\nla lista de tradeos al abrir la GUI",
"itemscroller.config.generic.comment.villagerTradeUseGlobalFavorites": "Activa los intercambios favoritos con aldenos que tenga guardados como Globales o Locales",
"itemscroller.config.generic.comment.sortAssumeEmptyBoxStacks": "Assume that empty boxes are stacking items\nwhen sorting the inventory.\nThis is useful if you installed mods to stack\nshulker boxes on remote server.\nThis will send an extra packet to ensure the\ninventory is synced.",
"itemscroller.config.generic.comment.sortShulkerBoxesAtEnd": "Sort shulker boxes at the end of the inventory\nwhen sorting the inventory.",

"itemscroller.config.toggles.name.enableCraftingFeatures": "enableCraftingFeatures",
"itemscroller.config.toggles.name.enableDropkeyDropMatching": "enableDropkeyDropMatching",
Expand Down Expand Up @@ -96,7 +100,8 @@
"itemscroller.config.hotkeys.name.wsMoveUpMatching": "wsMoveUpMatching",
"itemscroller.config.hotkeys.name.wsMoveUpSingle": "wsMoveUpSingle",
"itemscroller.config.hotkeys.name.wsMoveUpStacks": "wsMoveUpStacks",

"itemscroller.config.hotkeys.name.sortInventory": "sortInventory",

"itemscroller.config.hotkeys.comment.craftEverything": "Craftea todo lo posible de una vez con la receta seleccionada actualmente.",
"itemscroller.config.hotkeys.comment.dropAllMatching": "Suelta todos los stacks iguales sobre otro stack mientras el cursos esta encima.",
"itemscroller.config.hotkeys.comment.keyDragDropLeaveOne": "Tecla para soltar todos los items del stack menos el ultimo.",
Expand Down Expand Up @@ -128,17 +133,18 @@
"itemscroller.config.hotkeys.comment.wsMoveUpMatching": "Tecla para mover todos los objetos iguales haci \"arriba\" en el inventario.",
"itemscroller.config.hotkeys.comment.wsMoveUpSingle": "Tecla para mover un solo item hacia\"arriba\" en el inventario.",
"itemscroller.config.hotkeys.comment.wsMoveUpStacks": "Tecla para mover stacks hacias \"arriba\" en el inventario.",

"itemscroller.config.hotkeys.comment.sortInventory": "Sort the inventory that the cursor is hovering over",

"itemscroller.gui.button.config_gui.generic": "Generico",
"itemscroller.gui.button.config_gui.hotkeys": "Combinacíon de teclas",
"itemscroller.gui.button.config_gui.toggles": "Toggles",

"itemscroller.gui.label.recipe_page": "Página %d / %d",
"itemscroller.gui.label.trade_uses": "Uso de Tradeos: %d / %d",
"itemscroller.gui.label.trades": "Tradeos",

"itemscroller.gui.title.configs": "Item Scroller Configuraciones - %s",

"itemscroller.message.toggled_mod_off": "Activar todas las funionalidades de Item Scroller §cOFF",
"itemscroller.message.toggled_mod_on": "Activar todas las funionalidades de Item Scroller §aON"
}
6 changes: 4 additions & 2 deletions src/main/resources/assets/itemscroller/lang/zh_cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"itemscroller.config.generic.name.useSlotPositionAwareScrollDirection": "栏位滚动方向",
"itemscroller.config.generic.name.villagerTradeUseGlobalFavorites": "置顶收藏交易",
"itemscroller.config.generic.name.villagerTradeListRememberScrollPosition": "交易书签",
"itemscroller.config.generic.name.sortAssumeEmptyBoxStacks": "sortAssumeEmptyBoxStacks",
"itemscroller.config.generic.name.sortShulkerBoxesAtEnd": "sortShulkerBoxesAtEnd",

"itemscroller.config.generic.comment.carpetCtrlQCraftingEnabledOnServer": "如果服务器正在运行地毯端则建议开启\n这将改变物品滚轮整组丢弃的使用方式\n变为丢弃+Shift+右击丢弃整组。",
"itemscroller.config.generic.comment.clientCraftingFixOn1_12": "在客户端直接更新合成配方输出\n这修正了在1.12中快速/批量制造和右键点击制造所产生的不可使用的问题。",
Expand All @@ -38,8 +40,6 @@
"itemscroller.config.generic.comment.useSlotPositionAwareScrollDirection": "启用后,物品的移动方向将取决于屏幕上栏位的y轴位置。\n可能导致更复杂的背包,谨慎使用!",
"itemscroller.config.generic.comment.villagerTradeUseGlobalFavorites": "启用后,收藏的交易项目将会被置顶。",
"itemscroller.config.generic.comment.villagerTradeListRememberScrollPosition": "启用后,退出村民交易GUI将不会重置滚动条。",
"itemscroller.config.generic.comment.massCraftUseRecipeBook": "使用原版配方书协议进行批量合成。这使得合成速度更快。",
"itemscroller.config.hotkeys.comment.sortInventory": "对鼠标指针所在的物品栏进行整理。",
"itemscroller.config.generic.comment.sortAssumeEmptyBoxStacks": "整理物品栏时假设空潜影盒可以堆叠。\n当你在远程服务器启用此特性时会很有用。\n这会多发送一个网络包来确保服务器同步",
"itemscroller.config.generic.comment.sortShulkerBoxesAtEnd": "整理物品栏时将潜影盒放在最后。",

Expand Down Expand Up @@ -100,6 +100,7 @@
"itemscroller.config.hotkeys.name.modifierMoveMatching": "滚动相同",
"itemscroller.config.hotkeys.name.modifierMoveStack": "滚动一份",
"itemscroller.config.hotkeys.name.modifierToggleVillagerGlobalFavorite": "全局交易收藏",
"itemscroller.config.hotkeys.name.sortInventory": "sortInventory",

"itemscroller.config.hotkeys.comment.openConfigGui": "打开游戏内配置界面。",
"itemscroller.config.hotkeys.comment.craftEverything": "用当前选定的配方消耗完所有的材料进行合成。",
Expand Down Expand Up @@ -132,6 +133,7 @@
"itemscroller.config.hotkeys.comment.modifierMoveMatching": "当在物品上滚动时,按下此键将会使所有匹配的物品移动到另一个库存\n(这个快捷键并没有实际功能,类似前缀)",
"itemscroller.config.hotkeys.comment.modifierMoveStack": "当在堆栈上滚动时,修饰键将整个堆栈移动到另一个库存\n(这个快捷键并没有实际功能,类似前缀)",
"itemscroller.config.hotkeys.comment.modifierToggleVillagerGlobalFavorite": "按住该快捷键时收藏的交易将进行全局收藏\n全局收藏将会作用于所有村民。",
"itemscroller.config.hotkeys.comment.sortInventory": "对鼠标指针所在的物品栏进行整理。",

"itemscroller.gui.button.config_gui.generic": "通用",
"itemscroller.gui.button.config_gui.hotkeys": "快捷键",
Expand Down

0 comments on commit 2136e53

Please sign in to comment.