Skip to content

Commit

Permalink
Add translations for shield enchants.
Browse files Browse the repository at this point in the history
  • Loading branch information
Provismet committed Jan 26, 2025
1 parent c891275 commit 07346b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/generated/assets/combat-plus-core/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
"tag.item.combat-plus.enchantable.damage_primary": "Primary Damage Enchantable",
"tag.item.combat-plus.enchantable.offhand": "Offhand Enchantable",
"tag.item.combat-plus.enchantable.offhand_primary": "Primary Offhand Enchantable",
"tag.item.combat-plus.enchantable.shield": "Shield Enchantable",
"tag.item.combat-plus.enchantable.shield_primary": "Primary Shield Enchantable",
"tag.item.combat-plus.enchantable.weapon_utility": "Weapon Utility Enchantable",
"tag.item.combat-plus.enchantable.weapon_utility_primary": "Primary Weapon Utility Enchantable",
"tag.item.combat-plus.melee_weapon": "Melee Weapons"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public void generateTranslations (RegistryWrapper.WrapperLookup registryLookup,
translationBuilder.add(CPCItemTags.WEAPON_UTILITY_PRIMARY_ENCHANTABLE, "Primary Weapon Utility Enchantable");
translationBuilder.add(CPCItemTags.OFFHAND_ENCHANTABLE, "Offhand Enchantable");
translationBuilder.add(CPCItemTags.OFFHAND_PRIMARY_ENCHANTABLE, "Primary Offhand Enchantable");
translationBuilder.add(CPCItemTags.SHIELD_ENCHANTABLE, "Shield Enchantable");
translationBuilder.add(CPCItemTags.SHIELD_PRIMARY_ENCHANTABLE, "Primary Shield Enchantable");

translationBuilder.add(CPCEnchantmentTags.ADDITIONAL_DAMAGE, "Additional Damage Enchantments");
translationBuilder.add(CPCEnchantmentTags.ASPECT, "Aspect Enchantments");
Expand Down

0 comments on commit 07346b5

Please sign in to comment.