supermerill 89c475a439 Update localization | 4 лет назад | |
---|---|---|
.. | ||
cs | 4 лет назад | |
de | 4 лет назад | |
en | 4 лет назад | |
es | 4 лет назад | |
fr | 4 лет назад | |
it | 4 лет назад | |
ja | 4 лет назад | |
ko | 4 лет назад | |
nl | 4 лет назад | |
pl | 4 лет назад | |
pt_br | 4 лет назад | |
tr | 4 лет назад | |
zh_cn | 4 лет назад | |
zh_tw | 4 лет назад | |
PrusaSlicer.pot | 4 лет назад | |
README.md | 4 лет назад | |
SuperSlicer.pot | 4 лет назад | |
list.txt | 5 лет назад | |
pomergeur.jar | 5 лет назад | |
settings.ini | 4 лет назад |
open the settings.ini for each file that can contains useful translation, create / edit a "data" line to point to the said file. The 'input' property must be the SuperSlicer.pot path The 'output' must be the SuperSlicer.po The 'todo' contains the path of the po file to complete.
note that the first data line has the priority over the other ones (the first translation encountered is the one used)
In this exemple, we are going to update the spanish translation. We are going to use the old slic3++ translation and the prusa one. So the settings.ini contains these lines :
data = es/Slic3r++.po
data = es/PrusaSlicer_es.po
input = SuperSlicer.pot
todo = es/todo.po
output = es/SuperSlicer.po
Then, you have to open the es/toto.po file and complete all the translation.
Important:
You can copy/save the todo.po in an other file in case of. After filling the todo file, change the settings.ini:
data = es/todo.po
data = es/SuperSlicer.po
data = es/Slic3r++.po
data = es/PrusaSlicer_es.po
input = SuperSlicer.pot
todo = es/todo.po
output = es/SuperSlicer.po
And re-launch the utility.
Repeat (if needed) until you have almost nothing left in your todo.po file (one-letter translation like "." are not copied by the utility)