Logo
Explore Help
Sign In
I2P_Developers/i2p.www
3
0
Fork 5
You've already forked i2p.www
Code Issues 27 Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
ba651ceafb26f6dafc7c5136e3aaf791436f50de
i2p.www/init-new-po.sh

12 lines
241 B
Bash
Raw Normal View History

minor shell script tweaks - add shebang line and make bourne compatible - report bugs to trac
2013-01-30 21:57:14 +00:00
#!/bin/sh
Moved setup, translation config files into subdir
2013-08-15 08:30:01 +00:00
. ./etc/translation.vars
Added scripts to initialize a new language and compile existing .po files
2013-01-18 11:09:01 +00:00
if [ $# -ge 1 ]
then
Split translation strings between multiple domains This breaks translation processing; multi-domain support needs to be added to Flask-Babel. The changes made here put the "important" strings that are used most often into the priority domain, and split the content from different sub-urls into separate domains. Multi-domain support will be implemented such that translations for a specific request are pulled both from the domain which corresponds to the request url and the priority domain. This does mean that there may be duplication of translation strings between domains, but that is unavoidable (and the translators prefer working with smaller resource files).
2013-07-13 11:01:05 +00:00
for domain in $(ls $BABELCFG); do
TZ=UTC env/bin/pybabel init -D $domain -i $POTDIR/$domain.pot -d $TRANSDIR -l $1
done
Added scripts to initialize a new language and compile existing .po files
2013-01-18 11:09:01 +00:00
else
echo "Usage: ./init-new-po.sh lang"
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 9b295e9 Page: 120ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API