Logo
Explore Help
Sign In
lbt/I2P_Website
1
0
Fork 0
You've already forked I2P_Website
forked from I2P_Developers/i2p.www
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
5816bafb17ab16fc00a7434d74c1c135b72da3aa
I2P_Website/compile-messages.sh

12 lines
225 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
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
. ./translation.vars
Added scripts to initialize a new language and compile existing .po files
2013-01-18 11:09:01 +00:00
Enable extraction, update and compilation of a single gettext domain
2013-07-21 22:15:24 +00:00
if [ $# -ge 1 ]
then
TZ=UTC env/bin/pybabel compile -D $1 -d $TRANSDIR
else
for domain in $(ls $BABELCFG); do
TZ=UTC env/bin/pybabel compile -D $domain -d $TRANSDIR
done
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 9b295e9 Page: 57ms Template: 2ms
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