forked from Mirrorlandia_minetest/minetest
master #1
@ -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