veloren/assets/voxygen/i18n/en/hud/ability.ron
juliancoffee 8c837da561 Add i18n keys to abilities
* New hud/ability.ron file for ability localizations
* i18n keys are created by adding .name and .desc to ability id. Because
  of how i18n worked (returning key if string wasn't found), it was
  impossible to do because it leads to UB in case string is missed.
  To solve this we've added get_opt method that returns None
* New Localization::get_or method for convinient fallback key usage
2022-06-25 18:17:37 +03:00

36 lines
1.5 KiB
Rust

/// WARNING: Localization files shall be saved in UTF-8 format without BOM
/// Localization for "global" English
(
string_map: {
// Debug stick
"common.abilities.debug.possess.name": "Possessing Arrow",
"common.abilities.debug.possess.desc": "Shoots a poisonous arrow. Lets you control your target.",
// Sword
"common.abilities.sword.spin.name": "Whirlwind",
"common.abilities.sword.spin.desc": "Move forward while spinning with your sword.",
// Axe
"common.abilities.axe.leap.name": "Axe Jump",
"common.abilities.axe.leap.desc": "A jump with the slashing leap to position of cursor.",
// Hammer
"common.abilities.hammer.leap.name": "Smash of Doom",
"common.abilities.hammer.leap.desc": "An AOE attack with knockback. Leaps to position of cursor.",
// Bow
"common.abilities.bow.shotgun.name": "Burst",
"common.abilities.bow.shotgun.desc": "Launches a burst of arrows",
// Staff
"common.abilities.staff.fireshockwave.name": "Ring of Fire",
"common.abilities.staff.fireshockwave.desc": "Ignites the ground with fiery shockwave.",
// Sceptre
"common.abilities.sceptre.wardingaura.name": "Warding Aura",
"common.abilities.sceptre.wardingaura.desc": "Wards your allies against enemy attacks.",
// Unknown
"common.abilities.unknown.name": "Ability has no title",
"common.abilities.unknown.desc": "Ability has no description",
},
vector_map: {
}
)