New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update translation sources #2707
Comments
If you manage to update the strings, please alert me. I will post a German translation PR as fast as I can. German translation for reference (in case there's not enough time for a PR):
(oops, I forgot to mention “Wild Cotton” and “Fire” before...) |
These two strings do not actually exist, including them is a bug in the script. |
Done in 8855490. The script used can be found in the translation_update branch, I had to fix the following mistakes:
|
From
Looks like it's actually the source code which is at fault here. You should NOT concatenate a string within |
I don't know which script you ran, but my script collected the |
We've had this before: #2471 (comment) |
Oh, sorry, I remember now. |
Please don't forget to update the translation templates before 5.3.0! (
template.txt
).You can run this Python script:
(I grabbed it from some random repo, but I made some tweaks because the original version sucks. :P)
Usage:
cd
to Minetest Game's root directory. Copy the script there under the namei18n.py
. In console, type./i18n.py -O ./mods/*
.This will update all
.tr
andtemplate.txt
files. Old strings appear in a comment section at the end of files.The script applies the following sorting rule for the
.tr
files:Most existing
.tr
files already follow this rule, but only sometimes. Therefore, if you create a diff, you will see still quite a couple of strings being moved around.Anyway, I still tried to keep the noise level as low as possible. I think it's good to have the strings sorted to some canonical rule first. So subsequent runs of
i18n.py
will hopefully be much less noisy. But for the first run ever, you have to accept the noise. You have to embrace the Noise. You have to become the Noise! You have to be the Noise. xDFor reference, here's a list of new strings (in case anyone is crazy enough to update by hand …):
New strings:
fire
:farming
:default
:stairs
:(OK,
stairs
is not really new, it just didn't appear intemplate.txt
before.)The text was updated successfully, but these errors were encountered: