a Python Translation Helper
0.1.4
PyTransHelper could be used for any kind of translation (It's used for translating Wikitext by the user himself)
This chapter tells the way to use this software
At the bottom of the UI, there are several buttons, each of them has a different function. Unless otherwise stated, "Saving the translation" means saving it in the cache, which means you need to Save often.
This button is used for loading the translation files(text.in for source file, text.out for result file by default, defined in settings.json) you last worked on, and initalize important variables.
This button is used for initialize the source from the Source box, and generate the translation files, where text.out has only line breaks(a.k.a. '\n'). and also initalize important variables.
When you press this button, you are skipping to the previous line of the translation without saving the present translation, not available when translating the first line.
When you press this button, you are saving the present translation result and going to the previous line of the translation, not available when translating the first line.
When you press this button, you are saving the translation result and going to the next line of the translation.
When you press this button, you are skipping to the next line of the translation without saving the present translation.
Using Google translation to translate the text in the Source box, and append the result to the end of Result box.
Clear the Result box and copy the text in the Source box to the Result box.
DO THIS OFTEN! This saves your translation result to the translation files.
When you press this button, you could jump to a specified line after saving the present result.
This button is used to excecute the code in Result box, used for debugging.
Some hot keys are defined in settings.json. At present, each hot key is related to a button.
The same as Init button
The same as SkipFd / SkipBd button
The same as Prev / Next button
The same as Copy button
The same as Save button
The same as Jump button