1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Translations.md: Mention AppStream metainfo

This commit is contained in:
Alexander Wilms 2023-12-19 11:20:36 +01:00
parent 888ef75829
commit 62eedde0a7

View File

@ -75,6 +75,12 @@ Translation of Map Editor is identical, except for location of translation files
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).
### Translation of Android Launcher
TODO
@ -136,4 +142,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:
- Rebuild subproject (map editor/launcher).
- Regenerate translations via `lupdate -no-obsolete * -ts translation/*.ts`
- Regenerate translations via `lupdate -no-obsolete * -ts translation/*.ts`