tools: fix update-metadata#15132
Merged
Frenzie merged 1 commit intoMar 19, 2026
Merged
Conversation
Save appstream metadata to new location (Cf. koreader#15116).
Member
|
Do the tool still updates translations properly after switching to binary format? If so, it is possible to add a make/kodev target to build and update the metadata translations? |
Member
Author
There's already a The tool should probably be used as part of bumping translations before a release, however: ▸ make V=1 mo
make --jobs=8 --silent --file=make/gettext.mk l10n/af_ZA/koreader.mo l10n/ar/koreader.mo l10n/be/koreader.mo l10n/bg_BG/koreader.mo l10n/bn/koreader.mo l10n/ca/koreader.mo l10n/cs/koreader.mo l10n/cy/koreader.mo l10n/da/koreader.mo l10n/de/koreader.mo l10n/el/koreader.mo l10n/en_GB/koreader.mo l10n/eo/koreader.mo l10n/es/koreader.mo l10n/et/koreader.mo l10n/eu/koreader.mo l10n/fa/koreader.mo l10n/fi/koreader.mo l10n/fr/koreader.mo l10n/ga/koreader.mo l10n/gl/koreader.mo l10n/he/koreader.mo l10n/hi/koreader.mo l10n/hr/koreader.mo l10n/hu/koreader.mo l10n/ia/koreader.mo l10n/id/koreader.mo l10n/ie/koreader.mo l10n/it_IT/koreader.mo l10n/ja/koreader.mo l10n/kab/koreader.mo l10n/ka/koreader.mo l10n/kn/koreader.mo l10n/ko_KR/koreader.mo l10n/lt_LT/koreader.mo l10n/lv/koreader.mo l10n/mk/koreader.mo l10n/ms/koreader.mo l10n/nb_NO/koreader.mo l10n/nl_NL/koreader.mo l10n/or/koreader.mo l10n/pl/koreader.mo l10n/pt_BR/koreader.mo l10n/pt_PT/koreader.mo l10n/ro/koreader.mo l10n/ro_MD/koreader.mo l10n/ru/koreader.mo l10n/si/koreader.mo l10n/sk/koreader.mo l10n/sl/koreader.mo l10n/sr/koreader.mo l10n/sv/koreader.mo l10n/th/koreader.mo l10n/tr/koreader.mo l10n/uk/koreader.mo l10n/ur/koreader.mo l10n/vi/koreader.mo l10n/zh_CN/koreader.mo l10n/zh_TW/koreader.mo
make[1]: warning: -j8 forced in submake: resetting jobserver mode.
msgfmt --no-hash -o l10n/af_ZA/koreader.mo l10n/af_ZA/koreader.po
[…]
msgfmt --no-hash -o l10n/zh_TW/koreader.mo l10n/zh_TW/koreader.po
▸ ./tools/update-metadata.lua
Building appstream metadata, this might take a while...
Building fastlane metadata
All done! Updated files:
platform/linux/koreader.metainfo.xml
metadata/en-US/short_description.txt
[…]
metadata/zh_TW/full_description.txt
▸ git diff --ignore-submodules --stat
metadata/el/full_description.txt | 2 +-
metadata/hu/full_description.txt | 2 +-
metadata/ro_MD/full_description.txt | 2 +-
metadata/zh_CN/full_description.txt | 2 +-
platform/linux/koreader.metainfo.xml | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------
5 files changed, 74 insertions(+), 10 deletions(-)
▸ git status --ignore-submodules metadata
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
Changes not staged for commit:
modified: metadata/el/full_description.txt
modified: metadata/hu/full_description.txt
modified: metadata/ro_MD/full_description.txt
modified: metadata/zh_CN/full_description.txt
Untracked files:
metadata/be/ metadata/ga/ metadata/hr/ metadata/id/ metadata/sl/ metadata/sv/ metadata/vi/
no changes added to commit |
0xstillb
pushed a commit
to 0xstillb/koreader-thai
that referenced
this pull request
May 9, 2026
Save appstream metadata to new location (Cf. koreader#15116).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Save appstream metadata to new location (Cf. #15116).
This change is