Updated Translating to new languages (markdown)
parent
53b722365b
commit
798cd1b7a0
|
@ -19,7 +19,7 @@ To create a new translation (Linux):
|
|||
|
||||
To update an existing translation (Linux):
|
||||
1. Update your Git repository by running `git pull`. If it gives you an error about local changes, run `git reset --hard` and `git clean -d -f -x` to clear them out, and run `git pull` again. But make sure you have nothing you want to save in the repo first, I won't take responsibility if you delete your work this way.
|
||||
2. run `cd src/duckstation-qt` and `lupdate ./ -ts translations/duckstation-qt_LANGUAGE_CODE_HERE.ts` manually. This will add the new strings to the `.ts` file and report how many new strings there are for translation.
|
||||
2. run `cd src/duckstation-qt` and `lupdate ./ ../core/ ../frontend-common/ -tr-function-alias translate+=TranslateString -tr-function-alias translate+=TranslateStdString -tr-function-alias QT_TRANSLATE_NOOP+=TRANSLATABLE -ts translations/duckstation-qt_LANGUAGE_CODE_HERE.ts` manually. This will add the new strings to the `.ts` file and report how many new strings there are for translation.
|
||||
3. Open the translation file in Qt Linguist.
|
||||
|
||||
Translating strings:
|
||||
|
|
Loading…
Reference in New Issue