1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Merge pull request #3345 from Alexander-Wilms/patch-2

Translations.md: Mention AppStream metainfo
This commit is contained in:
Ivan Savenko 2023-12-20 21:38:02 +02:00 committed by GitHub
commit 5975ed77ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,6 +75,15 @@ Translation of Map Editor is identical, except for location of translation files
TODO: how to test translation locally TODO: how to test translation locally
### Translation of AppStream metainfo
The [AppStream](https://freedesktop.org/software/appstream/docs/chap-Metadata.html) [metainfo file](https://github.com/vcmi/vcmi/blob/develop/launcher/eu.vcmi.VCMI.metainfo.xml) is used for Linux software centers.
It can be translated using a text editor or using [jdAppStreamEdit](https://flathub.org/apps/page.codeberg.JakobDev.jdAppStreamEdit):
- Install jdAppStreamEdit
- Open `<VCMI>/launcher/eu.vcmi.VCMI.metainfo.xml`
- Translate and save the file
### Translation of Android Launcher ### Translation of Android Launcher
TODO TODO
@ -136,4 +145,4 @@ There *may* be a way to do the same via QtCreator UI or via CMake, if you find o
Generally, this should be as simple as overwriting old files. Things that may be necessary if translation update is not visible in executable: Generally, this should be as simple as overwriting old files. Things that may be necessary if translation update is not visible in executable:
- Rebuild subproject (map editor/launcher). - Rebuild subproject (map editor/launcher).
- Regenerate translations via `lupdate -no-obsolete * -ts translation/*.ts` - Regenerate translations via `lupdate -no-obsolete * -ts translation/*.ts`