master #1

Merged
BRNSystems merged 55 commits from Mirrorlandia_minetest/minetest:master into master 2023-11-24 22:11:18 +01:00
3 changed files with 5 additions and 5 deletions
Showing only changes of commit 4d2227cfa5 - Show all commits

@ -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