mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
83e4cdfe76
Allow the camera's zoom to be locked by a keybind or a Gameplay setting. The zoom lock behavior can be changed between Toggle and Auto, where Auto only locks the camera zoom while specific movement/combat inputs are being pressed. (closes !1528) A temporary fading notification is shown at the top of the screen, informing the player of the setting change (when the keybind is used) or that the zoom is locked (when the player might have forgotten the zoom is locked, and is trying to zoom). i18n strings are added for English and German, but no other languages. To implement the simplistic fading text, the behavior was extracted into an impl called `ChangeNotification`, where reasons are quantified by `NotificationReason`. |
||
---|---|---|
.. | ||
ar_SA | ||
be_BY | ||
ca_CA | ||
cz_CZ | ||
de_DE | ||
en | ||
es_ES | ||
es_LA | ||
eu | ||
fr_FR | ||
hu_HU | ||
it_IT | ||
ja_JP | ||
ko_KR | ||
nl_NL | ||
no_NB | ||
pl_PL | ||
pt_BR | ||
pt_PT | ||
ro_RO | ||
ru_RU | ||
sr_SR | ||
sv_SE | ||
th_TH | ||
tr_TR | ||
uk_UA | ||
vi_VI | ||
zh_CN | ||
zh_TW | ||
README.md |
Translation document instructions
In order to keep localization documents readible please follow the following rules:
- Separate the string map sections using a commentary describing the purpose of the next section
- Prepend multi-line strings with a commentary
- Append one blank line after multi-line strings and two blank lines after sections
Adding a new language in Veloren
To add a new language in Veloren, please follow these steps:
- Create a new folder into the
assets/voxygen/i18n
directory - Copy the content of the
en
directory in your new folder - Configure the language metadata in the
_manifest.ron
file - From this point, you can start translating the files!