From 4d2227cfa5f2d1a399be8939d2c572e023aec1f8 Mon Sep 17 00:00:00 2001 From: Muhammad Rifqi Priyo Susanto Date: Sun, 5 Nov 2023 15:11:30 +0700 Subject: [PATCH] Rename mtt_update to mod_translation_updater (#13952) Clarifies the purpose of the translation update script by giving it a more explanatory name. --- doc/lua_api.md | 6 +++--- ...ADME_mtt_update.md => README_mod_translation_updater.md} | 4 ++-- util/{mtt_update.py => mod_translation_updater.py} | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename util/{README_mtt_update.md => README_mod_translation_updater.md} (98%) rename util/{mtt_update.py => mod_translation_updater.py} (100%) mode change 100755 => 100644 diff --git a/doc/lua_api.md b/doc/lua_api.md index 213022c4f..0d49e13b3 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -4006,9 +4006,9 @@ Translations Texts can be translated client-side with the help of `minetest.translate` and translation files. -Consider using the script `util/mtt_update.py` in the Minetest repository -to generate and update translation files automatically from the Lua sources. -See `util/README_mtt_update.md` for an explanation. +Consider using the script `util/mod_translation_updater.py` in the Minetest +repository to generate and update translation files automatically from the Lua +sources. See `util/README_mod_translation_updater.md` for an explanation. Translating a string -------------------- diff --git a/util/README_mtt_update.md b/util/README_mod_translation_updater.md similarity index 98% rename from util/README_mtt_update.md rename to util/README_mod_translation_updater.md index 9fed19981..fa4304ac8 100644 --- a/util/README_mtt_update.md +++ b/util/README_mod_translation_updater.md @@ -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 `*.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: - mtt_update.py [OPTIONS] [PATHS...] + mod_translation_updater.py [OPTIONS] [PATHS...] --help, -h: prints this help message --recursive, -r: run on all subfolders of paths given diff --git a/util/mtt_update.py b/util/mod_translation_updater.py old mode 100755 new mode 100644 similarity index 100% rename from util/mtt_update.py rename to util/mod_translation_updater.py