mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
06111612a3
This removes interpolation of translated strings, which is bad practice because it simply doesn't work in many languages. Translation files were updated using the following fish script. Some resulting translations are truly terrible, but they always have been - now it's just a lot more obvious. ``` function getbuff --argument langfile buff grep hud-outcome-$buff $langfile | cut -d= -f2- | string trim end set buffs burning bleeding curse crippled frozen mysterious function replacebuffs --argument langfile entity set slug 'hud-chat-died_of_'$entity'_buff_msg' for buff in $buffs[-1..1] set bstr (getbuff $langfile $buff) or continue sed -i -e '/'$slug'/{p; s/[^=]* = \(.*\)/ .'$buff' = \1/; s/{ \$died_of_buff }/'(string replace / '\\/' $bstr)'/}' $langfile end sed -i -E 's/('$slug' \=).*/\1/' $langfile end function dofile --argument langfile sed -i -e s/buff_nonexistent/nonexistent_buff/ $langfile for entity in pvp npc nonexistent replacebuffs $langfile $entity end sed -i -e s/nonexistent_buff/buff_nonexistent/ $langfile sed -i -e /hud-outcome-/d $langfile sed -i -e '/#.*outcomes/d' $langfile end for langfile in assets/voxygen/i18n/*/hud/chat.ftl echo doing $langfile dofile $langfile end ```
68 lines
2.9 KiB
Plaintext
68 lines
2.9 KiB
Plaintext
## Player events
|
|
|
|
hud-chat-online_msg = [{ $name }] esta en linea
|
|
hud-chat-offline_msg = [{ $name }] se ha desconectado
|
|
|
|
|
|
|
|
## Buff deaths
|
|
|
|
hud-chat-died_of_pvp_buff_msg =
|
|
.burning = [{ $victim }] ha muerto por: quemadura causado por [{ $attacker }]
|
|
.bleeding = [{ $victim }] ha muerto por: sangrado causado por [{ $attacker }]
|
|
.curse = [{ $victim }] ha muerto por: maldición causado por [{ $attacker }]
|
|
.crippled = [{ $victim }] ha muerto por: lesión causado por [{ $attacker }]
|
|
.frozen = [{ $victim }] ha muerto por: congelamiento causado por [{ $attacker }]
|
|
.mysterious = [{ $victim }] ha muerto por: secreto causado por [{ $attacker }]
|
|
hud-chat-died_of_buff_nonexistent_msg =
|
|
.burning = [{ $victim }] ha muerto por: quemadura
|
|
.bleeding = [{ $victim }] ha muerto por: sangrado
|
|
.curse = [{ $victim }] ha muerto por: maldición
|
|
.crippled = [{ $victim }] ha muerto por: lesión
|
|
.frozen = [{ $victim }] ha muerto por: congelamiento
|
|
.mysterious = [{ $victim }] ha muerto por: secreto
|
|
hud-chat-died_of_npc_buff_msg =
|
|
.burning = [{ $victim }] ha muerto por: quemadura causado por { $attacker }
|
|
.bleeding = [{ $victim }] ha muerto por: sangrado causado por { $attacker }
|
|
.curse = [{ $victim }] ha muerto por: maldición causado por { $attacker }
|
|
.crippled = [{ $victim }] ha muerto por: lesión causado por { $attacker }
|
|
.frozen = [{ $victim }] ha muerto por: congelamiento causado por { $attacker }
|
|
.mysterious = [{ $victim }] ha muerto por: secreto causado por { $attacker }
|
|
|
|
## PvP deaths
|
|
|
|
hud-chat-pvp_melee_kill_msg = [{ $attacker }] ha derrotado a [{ $victim }]
|
|
hud-chat-pvp_ranged_kill_msg = [{ $attacker }] disparó a [{ $victim }]
|
|
hud-chat-pvp_explosion_kill_msg = [{ $attacker }] hizo explotar a [{ $victim }]
|
|
hud-chat-pvp_energy_kill_msg = [{ $attacker }] mató a [{ $victim }] con magia
|
|
hud-chat-pvp_other_kill_msg = [{ $attacker }] mató a [{ $victim }]
|
|
|
|
## PvE deaths
|
|
|
|
hud-chat-npc_melee_kill_msg = { $attacker } ha matado a [{ $victim }]
|
|
hud-chat-npc_ranged_kill_msg = { $attacker } disparó a [{ $victim }]
|
|
hud-chat-npc_explosion_kill_msg = { $attacker } hizo explotar a [{ $victim }]
|
|
hud-chat-npc_energy_kill_msg = { $attacker } mató a [{ $victim }] con magia
|
|
hud-chat-npc_other_kill_msg = { $attacker } mató a [{ $victim }]
|
|
|
|
## Other deaths
|
|
|
|
hud-chat-environmental_kill_msg = [{ $name }] murió en { $environment }
|
|
hud-chat-fall_kill_msg = [{ $name }] murio por daño de caida
|
|
hud-chat-suicide_msg = [{ $name }] murió por heridas autoinfligidas
|
|
hud-chat-default_death_msg = [{ $name }] murió
|
|
|
|
## Utils
|
|
|
|
hud-chat-all = Todos
|
|
hud-chat-you = Tú
|
|
hud-chat-chat_tab_hover_tooltip = Click derecho para opciones
|
|
hud-loot-pickup-msg =
|
|
{ $actor } Recogio { $amount ->
|
|
[one] { $item }
|
|
*[other] { $amount }x { $item }
|
|
}
|
|
hud-chat-loot_fail = ¡Tu inventario está lleno!
|
|
hud-chat-goodbye = ¡Adiós!
|
|
hud-chat-connection_lost = Conexión perdida. Desconectando en { $time } segundos.
|