Add meta for items translations.

This commit is contained in:
BONNe 2021-09-19 21:04:54 +03:00
parent 2bc71b5f52
commit 54696ce8e7
1 changed files with 49 additions and 3 deletions

View File

@ -875,10 +875,12 @@ challenges:
# Title that will be used if there are defined blocks in island challenge
blocks-title: "&7&l Required Blocks:"
# Listing of blocks that are required on the island.
block-value: " &7 - &e [material]"
blocks-value: " &7 - &e [number] x [material]"
# Title that will be used if there are defined entities in island challenge
entities-title: "&7&l Required Entities:"
# Listing of entities that are required on the island.
entity-value: " &7 - &e [entity]"
entities-value: " &7 - &e [number] x [entity]"
# Search radius for the blocks/entities
search-radius: "&7 Not further than &e [number] &7 meters"
@ -893,7 +895,8 @@ challenges:
# Title that will be used if there are list of items for challenge
item-title: "&7&l Required Items:"
# Listing of an item that are required multiple times.
item-list: " &7 - &e [item]"
item-value: " &7 - &e [item]"
items-value: " &7 - &e [number] x [item]"
# Warning that items will be removed
warning: "&e Item(-s) will be &c removed"
# Message that will generate for other type requirements and replace [type-requirements]
@ -940,7 +943,8 @@ challenges:
# Title that will be used if there are list of items for rewards
item-title: "&7 Items:"
# Listing of an item that are rewards multiple times.
item-list: " &7 - &e [item]"
item-value: " &7 - &e [item]"
items-value: " &7 - &e [number] x [item]"
# Text for reward experience
experience: "&7 Experience: &r&e [number]"
# Text for reward money
@ -987,7 +991,8 @@ challenges:
# Title that will be used if there are list of items for rewards
item-title: "&7 Items:"
# Listing of an item that are rewards single time.
item-list: " &7 - &e [item]"
item-value: " &7 - &e [item]"
items-value: " &7 - &e [number] x [item]"
# Text for reward experience
experience: "&7 Experience: &r&e [number]"
# Text for reward money
@ -1175,6 +1180,47 @@ challenges:
invalid-level: "&c Level [level] contains invalid data. It will not be loaded from database!"
invalid-challenge: "&c Challenge [challenge] contains invalid data. It will not be loaded from database!"
no-library-entries: "&c Cannot find any library entries. Nothing to show."
# Showcase for manual material translation
materials:
# Names should be lowercase.
cobblestone: "Cobblestone"
# Also supports descriptions.
stone:
name: "Stone"
description: ""
item-stacks:
# Non-specific item meta translations.
# TYPE is the item type
# META is a content of item meta.
generic: "[type] [meta]"
# Non-specific meta translations. Will replace [meta]
meta:
upgraded: "Upgraded"
extended: "Extended"
potion-meta: "&e [type] [upgraded] [extended]"
# Be aware, enchants are always listed below item in separate line.
enchant-meta: " &7 - &e [type] [level]"
skull-meta: ": &e [player-name]"
book-meta: "&e [title] [author]"
# Custom Enchantment Translation.
enchant:
menting: "Mending"
unbreaking: "Unbreaking"
# Custom Potion Translation.
potion-effect:
water_breathing: "Water Breathing"
# You can also create specific item translations
# Like translate all potions.
potion:
# This will overwrite generic translation.
name: "[type] [upgraded] [extended]"
# Type is either specific translation or potion effect.
water_breathing: "Potion of Water Breathing"
stone_shovel:
# This will mean that only stone shovels will not show
# meta information.
name: "[type]"
protection:
flags:
CHALLENGES_ISLAND_PROTECTION: