- Translation update
- To Native Welsh speakers: I profusely apologise for butchering the language
This commit is contained in:
parent
f686f78541
commit
46aa178ea7
4 changed files with 605 additions and 670 deletions
|
|
@ -2,3 +2,11 @@
|
|||
|
||||
xgettext -d base --no-location -o discover_overlay/locales/base.pot discover_overlay/*.py discover_overlay/glade/settings.glade
|
||||
sed -i 's/charset=CHARSET/charset=UTF-8/g' discover_overlay/locales/base.pot
|
||||
|
||||
# Update all .po files with new keys
|
||||
|
||||
for dir in `find discover_overlay/locales/ -mindepth 1 -maxdepth 1 -type d`; do
|
||||
touch "${dir}/LC_MESSAGES/default.po"
|
||||
msgmerge -N ${dir}/LC_MESSAGES/default.po discover_overlay/locales/base.pot > ${dir}/LC_MESSAGES/default.po.new
|
||||
mv ${dir}/LC_MESSAGES/default.po.new ${dir}/LC_MESSAGES/default.po
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue