Skip to content

Commit

Permalink
U.S. English translation revamp and cleanup of other lang files (#3780)
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg-21 authored Sep 27, 2024
1 parent 5142066 commit cbe395a
Show file tree
Hide file tree
Showing 37 changed files with 710 additions and 987 deletions.
28 changes: 14 additions & 14 deletions Common/src/main/java/mezz/jei/common/config/ClientConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,26 +62,26 @@ public ClientConfig(IConfigSchemaBuilder schema) {
centerSearchBarEnabled = appearance.addBoolean(
"CenterSearch",
defaultCenterSearchBar,
"Display search bar in the center"
"Move the JEI search bar to the bottom center of the screen."
);
maxRecipeGuiHeight = appearance.addInteger(
"RecipeGuiHeight",
defaultRecipeGuiHeight,
minRecipeGuiHeight,
Integer.MAX_VALUE,
"Max. recipe gui height"
"Max recipe GUI height."
);

IConfigCategoryBuilder cheatMode = schema.addCategory("cheat_mode");
giveMode = cheatMode.addEnum(
"GiveMode",
GiveMode.defaultGiveMode,
"How items should be handed to you"
"Choose if JEI should give ingredients directly to the inventory (INVENTORY) or pick them up with the mouse (MOUSE_PICKUP)."
);
cheatToHotbarUsingHotkeysEnabled = cheatMode.addBoolean(
"CheatToHotbarUsingHotkeysEnabled",
false,
"Enable cheating items into the hotbar by using the shift+number keys."
"Enable cheating items into the hotbar by using Shift + numeric keys."
);
showHiddenItemsEnabled = cheatMode.addBoolean(
"ShowHiddenItems",
Expand All @@ -99,24 +99,24 @@ public ClientConfig(IConfigSchemaBuilder schema) {
"BookmarkTooltipFeatures",
BookmarkTooltipFeature.DEFAULT_BOOKMARK_TOOLTIP_FEATURES,
new ListSerializer<>(new EnumSerializer<>(BookmarkTooltipFeature.class)),
"Extra features for bookmark tooltips"
"Extra features for bookmark tooltips."
);
holdShiftToShowBookmarkTooltipFeaturesEnabled = bookmarks.addBoolean(
"HoldShiftToShowBookmarkTooltipFeatures",
true,
"Hold shift to show bookmark tooltip features"
"Hold Shift to show bookmark tooltip features."
);
dragToRearrangeBookmarksEnabled = bookmarks.addBoolean(
"DragToRearrangeBookmarksEnabled",
true,
"Drag bookmarks to rearrange them in the list"
"Drag bookmarks to rearrange them in the list."
);

IConfigCategoryBuilder advanced = schema.addCategory("advanced");
lowMemorySlowSearchEnabled = advanced.addBoolean(
"LowMemorySlowSearchEnabled",
false,
"Set low-memory mode (makes search very slow, but uses less RAM)"
"Set low-memory mode (makes search very slow but uses less RAM)."
);
catchRenderErrorsEnabled = advanced.addBoolean(
"CatchRenderErrorsEnabled",
Expand All @@ -136,7 +136,7 @@ public ClientConfig(IConfigSchemaBuilder schema) {
showTagRecipesEnabled = advanced.addBoolean(
"showTagRecipesEnabled",
isDev,
"Show recipes for ingredient tags, like Item Tags and Block Tags"
"Show recipes for ingredient tags like item tags and block tags."
);
showCreativeTabNamesEnabled = advanced.addBoolean(
"showCreativeTabNamesEnabled",
Expand All @@ -150,7 +150,7 @@ public ClientConfig(IConfigSchemaBuilder schema) {
150,
0,
1000,
"Number of milliseconds before a long mouse click is considered to become a drag operation"
"Number of milliseconds before a long mouse click is considered a drag operation."
);
smoothScrollRate = input.addInteger(
"smoothScrollRate",
Expand All @@ -165,25 +165,25 @@ public ClientConfig(IConfigSchemaBuilder schema) {
"IngredientSortStages",
IngredientSortStage.defaultStages,
new ListSerializer<>(new EnumSerializer<>(IngredientSortStage.class)),
"Sorting order for the ingredient list"
"Sorting order for the ingredient list."
);
recipeSorterStages = sorting.addList(
"RecipeSorterStages",
RecipeSorterStage.defaultStages,
new ListSerializer<>(new EnumSerializer<>(RecipeSorterStage.class)),
"Sorting order for displayed recipes"
"Sorting order for displayed recipes."
);

IConfigCategoryBuilder tags = schema.addCategory("tags");
tagContentTooltipEnabled = tags.addBoolean(
"TagContentTooltipEnabled",
true,
"Show tag content in tooltips"
"Show tag content in tooltips."
);
hideSingleIngredientTagsEnabled = tags.addBoolean(
"HideSingleIngredientTagsEnabled",
true,
"Hide tags that only have 1 ingredient"
"Hide tags that only have 1 ingredient."
);
}

Expand Down
10 changes: 5 additions & 5 deletions Common/src/main/java/mezz/jei/common/config/DebugConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ private DebugConfig(IConfigSchemaBuilder schema) {
debugModeEnabled = advanced.addBoolean(
"DebugMode",
false,
"Debug mode enabled"
"Debug mode enabled."
);
debugGuisEnabled = advanced.addBoolean(
"DebugGuis",
false,
"Debug GUIs enabled"
"Debug GUIs enabled."
);
debugInputsEnabled = advanced.addBoolean(
"DebugInputs",
false,
"Debug inputs enabled"
"Debug inputs enabled."
);
debugInfoTooltipsEnabled = advanced.addBoolean(
"debugInfoTooltipsEnabled",
false,
"Add debug information to ingredient tooltips when advanced tooltips are enabled"
"Add debug information to ingredient tooltips when advanced tooltips are enabled."
);
crashingTestIngredientsEnabled = advanced.addBoolean(
"CrashingTestItemsEnabled",
Expand All @@ -51,7 +51,7 @@ private DebugConfig(IConfigSchemaBuilder schema) {
logSuffixTreeStats = advanced.addBoolean(
"logSuffixTreeStats",
false,
"Log information about the suffix trees used for searching, to help debug JEI"
"Log information about the suffix trees used for searching, to help debug JEI."
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,57 +24,57 @@ public IngredientFilterConfig(IConfigSchemaBuilder builder) {
modNameSearchMode = search.addEnum(
"ModNameSearchMode",
SearchMode.REQUIRE_PREFIX,
"Search mode for Mod Names (prefix: @)"
"Search mode for mod names (prefix: @)."
);
tooltipSearchMode = search.addEnum(
"TooltipSearchMode",
SearchMode.ENABLED,
"Search mode for Tooltips (prefix: #)"
"Search mode for tooltips (prefix: #)."
);
tagSearchMode = search.addEnum(
"TagSearchMode",
SearchMode.REQUIRE_PREFIX,
"Search mode for Tag Names (prefix: $)"
"Search mode for tags (prefix: $)."
);
colorSearchMode = search.addEnum(
"ColorSearchMode",
SearchMode.DISABLED,
"Search mode for Colors (prefix: ^)"
"Search mode for colors (prefix: ^)."
);
resourceLocationSearchMode = search.addEnum(
"ResourceLocationSearchMode",
SearchMode.DISABLED,
"Search mode for resources locations (prefix: &)"
"Search mode for resource IDs (prefix: &)."
);
creativeTabSearchMode = search.addEnum(
"CreativeTabSearchMode",
SearchMode.DISABLED,
"Search mode for Creative Tabs (prefix: %)"
"Search mode for creative mode tab names (prefix: %)."
);
searchAdvancedTooltips = search.addBoolean(
"SearchAdvancedTooltips",
false,
"Search advanced tooltips (visible with F3+H)"
"Search in advanced tooltips (visible with F3 + H)."
);
searchModIds = search.addBoolean(
"SearchModIds",
true,
"Search mod ids in addition to mod names"
"Search mod IDs in addition to mod names."
);
searchModAliases = search.addBoolean(
"SearchModAliases",
true,
"Search mod aliases (alternative names) that are added by plugins, in addition to mod names"
"Search mod aliases (alternative names) that are added by plugins, in addition to mod names."
);
searchShortModNames = search.addBoolean(
"SearchShortModNames",
true,
"Search by the shorthand first letters of a mod's name"
"Search by the shorthand first letters of a mod's name."
);
searchIngredientAliases = search.addBoolean(
"SearchIngredientAliases",
true,
"Search ingredient aliases (alternative names) that are added by plugins, in addition to ingredient names"
"Search ingredient aliases (alternative names) that are added by plugins, in addition to ingredient names."
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,24 @@ public IngredientGridConfig(String categoryName, IConfigSchemaBuilder builder, H
defaultNumRows,
minNumRows,
largestNumRows,
"Max number of rows shown"
"Max number of rows shown."
);
maxColumns = category.addInteger(
"MaxColumns",
defaultNumColumns,
minNumColumns,
largestNumColumns,
"Max number of columns shown"
"Max number of columns shown."
);
horizontalAlignment = category.addEnum(
"HorizontalAlignment",
defaultHorizontalAlignment,
"Horizontal alignment of the ingredient grid inside the available area"
"Horizontal alignment of the ingredient grid inside the available area."
);
verticalAlignment = category.addEnum(
"VerticalAlignment",
defaultVerticalAlignment,
"Vertical alignment of the ingredient grid inside the available area"
"Vertical alignment of the ingredient grid inside the available area."
);
buttonNavigationVisibility = category.addEnum(
"ButtonNavigationVisibility",
Expand All @@ -62,7 +62,7 @@ public IngredientGridConfig(String categoryName, IConfigSchemaBuilder builder, H
drawBackground = category.addBoolean(
"DrawBackground",
defaultDrawBackground,
"Set to true to draw a background texture behind the gui."
"Enable this to draw a background texture behind the GUI."
);
}

Expand Down
57 changes: 18 additions & 39 deletions Common/src/main/resources/assets/jei/lang/ar_sa.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,28 @@
"_comment": "Tooltips",
"jei.tooltip.config": "اعدادات جاي إي آي",
"jei.tooltip.show.recipes": "اظهر الوصفات",
"jei.tooltip.show.all.recipes": "اظهر كل الوصفات",
"jei.tooltip.delete.item": "انقر للحذف",
"jei.tooltip.liquid.amount.with.capacity": "%s / %s mB",
"jei.tooltip.liquid.amount": "%s mB",
"jei.tooltip.transfer": "حرك الأشاء",
"jei.tooltip.recipe.tag": "%s :يقبل أي من",
"jei.tooltip.item.colors": "Colors: %s",
"jei.tooltip.shapeless.recipe": "وصفة بلا ترتيب معين",
"jei.tooltip.cheat.mode.button.enabled": "وضع الغش",
"jei.tooltip.cheat.mode.how.to.disable.hotkey": "Press %s to toggle it.",
"jei.tooltip.cheat.mode.how.to.disable.hover.config.button.hotkey": "%s here to toggle it.",
"jei.tooltip.recipe.by": "Recipe By: %s",
"jei.tooltip.recipe.id": "Recipe ID: %s",
"jei.tooltip.not.enough.space": "There is not enough space to display the ingredient list here.",
"jei.tooltip.ingredient.list.disabled": "The JEI overlay is disabled.",
"jei.tooltip.ingredient.list.disabled.how.to.fix": "Press %s to enable it.",

"_comment": "Error Tooltips",
"jei.tooltip.error.recipe.transfer.missing": "عناصر مفقودة",
"jei.tooltip.error.recipe.transfer.inventory.full": "حقيبتك ممتلئة تماما",
"jei.tooltip.error.recipe.transfer.unknown": "خلل مجهول، الق نظرة على ملفات السجلات",
"jei.tooltip.error.recipe.transfer.no.server": "على السيرفر أن يمتك جاي إي آي منصبا",
"jei.tooltip.error.recipe.transfer.too.large.player.inventory": "Recipe is too large to craft in the 2x2 player crafting grid.",
"jei.tooltip.error.crash": "This item crashed when getting its tooltip. Please see the client logs for detailed information.",

"_comment": "Error Messages",
"jei.chat.error.no.cheat.permission.1": "You do not have permission to use JEI's Cheat Mode.",
"jei.chat.error.no.cheat.permission.2": "Permission is given to players who can /give items or are in Creative Mode.",

"_comment": "Key Bindings",
"key.jei.toggleOverlay": "تفعيل وضع إظهار قائمة العناصر",
"key.jei.focusSearch": "اختر شريط البحث",
"key.jei.showRecipe": "أظهر وصفات العناصر",
"key.jei.showUses": "أظهر فوائد العناصر",
"key.jei.recipeBack": "أظهر صفحة العناصر السابقة",
"key.jei.toggleCheatMode": "تبديل وضع غش العناصر",
"key.jei.previousPage": "Show Previous Page",
"key.jei.nextPage": "Show Next Page",
"key.jei.showRecipe": "أظهر وصفات العناصر",
"key.jei.showRecipe2": "أظهر وصفات العناصر",
"key.jei.showUses": "أظهر فوائد العناصر",
"key.jei.showUses2": "أظهر فوائد العناصر",

"_comment": "Config",
"config.jei": "اعدادات جاي إي آي",
Expand All @@ -62,15 +46,10 @@
"config.jei.search.modNameSearchMode.comment": ".طلب \"@\" قبل الكلمة للبحث عن طريق إسم المود",
"config.jei.search.tooltipSearchMode": "طلب علامة # من أجل نافذة التلميحات",
"config.jei.search.tooltipSearchMode.comment": ".طلب \"#\" قبل الكلمة للبحث في نوافذ التلميحات",
"config.jei.search.tagSearchMode": "$Tag",
"config.jei.search.tagSearchMode.comment": "Search mode for Tag Names (prefix: $)",
"config.jei.search.creativeTabSearchMode": "طلب %% من أجل علامات التبويب المبتكرة",
"config.jei.search.creativeTabSearchMode.comment": ".طلب \"%\" قبل الكلمة للبحث في أسماء علامات التبويب المبتكرة",
"config.jei.search.colorSearchMode": "طلب ^ للألوان",
"config.jei.search.colorSearchMode.comment": ".طلب \"^\" قبل الكلمة ببحث في الوان العناصر",
"config.jei.search.resourceIdSearchMode": "&ResourceId",
"config.jei.search.resourceIdSearchMode.comment": "Search mode for resources ids (prefix: &)",
"config.jei.search.searchAdvancedTooltips": "Search advanced tooltips",
"config.jei.advanced": "متقدمة",
"config.jei.advanced.comment": ".إعدادات خيارات متقدمة لتغيير كيفية عمل جاي إي آي",
"config.jei.advanced.itemBlacklist": "قائمة العناصر السوداء",
Expand All @@ -81,34 +60,34 @@
"config.jei.advanced.debugModeEnabled.comment": ".ذو فائدة لمصممي جاي إي آي، يضيف الآلاف من العناصر وبعض وصفات التصحيح",
"config.jei.advanced.centerSearchBarEnabled": ".شريط الشاشة في الوسط",
"config.jei.advanced.centerSearchBarEnabled.comment": ".انقل جاي إي آي إلى أسفل وسط الشاشة",
"config.jei.advanced.modNameFormat": "Mod Name Format",
"config.jei.advanced.modNameFormat.comment": "How the mod name should be formatted in the tooltip for JEI guis. Leave blank to disable.",
"config.jei.advanced.maxColumns": "Max Width",
"config.jei.advanced.maxColumns.comment": "The maximum width of the ingredient list.",
"config.jei.advanced.giveMode": "Give Mode",
"config.jei.advanced.giveMode.comment": "Choose if JEI should give items direct to the inventory (inventory) or pick them up with the mouse (mouse_pickup).",

"_comment": "Hide Ingredients Mode",
"gui.jei.editMode.description": ":وضع جاي إي آي لتعديل قائمة العناصر",
"gui.jei.editMode.description.hide": "%s to hide",
"gui.jei.editMode.description.hide.wild": "%s to hide by wildcard",

"_comment": "Recipe Categories",
"gui.jei.category.craftingTable": "الصناعة",
"gui.jei.category.smelting": "الصهر",
"gui.jei.category.smelting.experience": "%s xp",
"gui.jei.category.smelting.experience": "%s XP",
"gui.jei.category.fuel": "الوقود",
"gui.jei.category.fuel.smeltCount.single": "تصهر شيء واحد",
"gui.jei.category.fuel.smeltCount": "من الأشياء %s تصهر",
"gui.jei.category.brewing": "التخمير",
"gui.jei.category.brewing.steps": "%s :الخطوات",
"gui.jei.category.itemInformation": "الوصف",

"_comment": "Messages",
"jei.message.configured": "Install the \"Configured\" mod to access the in-game config",
"_comment": "Key Names",
"jei.key.combo.shift": "SHIFT + %s",
"jei.key.combo.control": "CTRL + %s",
"jei.key.combo.command": "CMD + %s",
"jei.key.combo.alt": "ALT + %s",

"_comment": "DEBUG (for debug mode, do not need translation)",
"description.jei.wooden.door.1": "Wooden Doors allow you to block monsters from entering your building.\\nTesting sentences.",
"_comment": "Debug (for a debug mode, do not need translation)",
"description.jei.wooden.door.1": "Wooden doors allow you to block monsters from entering your building.\\nTesting sentences.",
"description.jei.wooden.door.2": "Clicking on a door changes its state from open to closed and vice versa.",
"description.jei.wooden.door.3": "Wooden Doors can be opened/closed via Redstone Circuits."
"description.jei.wooden.door.3": "Wooden doors can be opened/closed via redstone circuits.",
"description.jei.debug.formatting.1": "Testing %s formatting replacements.",
"description.jei.debug.formatting.2": "Testing %s %s formatting replacements.",
"description.jei.debug.formatting.3": "%s nested",
"jei.alias.panda.spawn.egg": "endangered",
"jei.alias.villager.spawn.egg": "HMMM"
}
Loading

0 comments on commit cbe395a

Please sign in to comment.