Update code

This commit is contained in:
2024-05-15 14:03:28 +08:00
parent 386cee66ec
commit df84f07bce
12 changed files with 636 additions and 21 deletions

4
update_i18n.sh Executable file
View File

@@ -0,0 +1,4 @@
xgettext -D jellyfinstats __main__.py audio.py cache.py config.py utils.py \
-L python -d jellyfinStats -p jellyfinstats/language --copyright-holder 'lifegpc' --package-name 'jellyfinStats' --package-version '1.0' --msgid-bugs-address '[email protected]'
sed -i 's/charset=CHARSET/charset=UTF-8/g' jellyfinstats/language/jellyfinStats.po
msgmerge -U jellyfinstats/language/zh_CN/LC_MESSAGES/jellyfinStats.po jellyfinstats/language/jellyfinStats.po