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:
commit
5975ed77ce
@ -75,6 +75,15 @@ 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):
|
||||
- Install jdAppStreamEdit
|
||||
- Open `<VCMI>/launcher/eu.vcmi.VCMI.metainfo.xml`
|
||||
- Translate and save the file
|
||||
|
||||
### Translation of Android Launcher
|
||||
|
||||
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:
|
||||
- Rebuild subproject (map editor/launcher).
|
||||
- Regenerate translations via `lupdate -no-obsolete * -ts translation/*.ts`
|
||||
- Regenerate translations via `lupdate -no-obsolete * -ts translation/*.ts`
|
||||
|
Loading…
Reference in New Issue
Block a user