mirror of
https://github.com/minetest/minetest.git
synced 2024-08-18 20:44:16 +02:00
Rename mtt_update to mod_translation_updater (#13952)
Clarifies the purpose of the translation update script by giving it a more explanatory name.
This commit is contained in:
parent
2025dcffbd
commit
4d2227cfa5
@ -4006,9 +4006,9 @@ Translations
|
|||||||
Texts can be translated client-side with the help of `minetest.translate` and
|
Texts can be translated client-side with the help of `minetest.translate` and
|
||||||
translation files.
|
translation files.
|
||||||
|
|
||||||
Consider using the script `util/mtt_update.py` in the Minetest repository
|
Consider using the script `util/mod_translation_updater.py` in the Minetest
|
||||||
to generate and update translation files automatically from the Lua sources.
|
repository to generate and update translation files automatically from the Lua
|
||||||
See `util/README_mtt_update.md` for an explanation.
|
sources. See `util/README_mod_translation_updater.md` for an explanation.
|
||||||
|
|
||||||
Translating a string
|
Translating a string
|
||||||
--------------------
|
--------------------
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# `mtt_update.py`—Minetest Translation Updater
|
# `mod_translation_updater.py`—Minetest Mod Translation Updater
|
||||||
|
|
||||||
This Python script is intended for use with localized Minetest mods, i.e., mods that use
|
This Python script is intended for use with localized Minetest mods, i.e., mods that use
|
||||||
`*.tr` and contain translatable strings of the form `S("This string can be translated")`.
|
`*.tr` and contain translatable strings of the form `S("This string can be translated")`.
|
||||||
@ -111,7 +111,7 @@ the locale files in an entire game.
|
|||||||
|
|
||||||
It has the following command line options:
|
It has the following command line options:
|
||||||
|
|
||||||
mtt_update.py [OPTIONS] [PATHS...]
|
mod_translation_updater.py [OPTIONS] [PATHS...]
|
||||||
|
|
||||||
--help, -h: prints this help message
|
--help, -h: prints this help message
|
||||||
--recursive, -r: run on all subfolders of paths given
|
--recursive, -r: run on all subfolders of paths given
|
0
util/mtt_update.py → util/mod_translation_updater.py
Executable file → Normal file
0
util/mtt_update.py → util/mod_translation_updater.py
Executable file → Normal file
Loading…
Reference in New Issue
Block a user