Each class of the QuickCut is a part of translation. Check out whick part is under translation in issue page. If you decide to translate some parts, please first open an issue to notify every that this part is under work, so that others won't repeat the wheels.
Different language translation have the same process, so I'll just take translating to English as example.
First make sure you have pyside2
installed by executing pip install pyside2
If you are on Windows, run create_ts.bat
, it will read the config from project.pro
, and then generate a en.ts
file, which can be opened by Linguist
.
After installing PySide2
, the Linguist
is also installed, you just run linguist
in command line, it will launch.
Use Linguist
to open en.ts
, and then translate the items:
After translating each item, don't forget to click the √
to tell Linguist
that this item translation is complete, and most importantly, add it to the dictionary en.qph
by pressing Ctrl + T
.
The next time QuickCut
commits, you may need to run create_ts.bat
again, the en.ts
will be updated, but the translation inside of it will also be deleted.
You can use the dictionary en.qph
(which you have added translated items to it) to quickly fill blanks by using Linguist
's batch translation:
After that, use Linguist
to generated a en.qm
which is the final language file can be load by QuickCut.py
When your translation is finished, you can pull a request to the QuickCut. Or send an email to 1292756898@qq.com
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )