root/luci/trunk/build/i18n-init.sh
@
7106
| Revision 7106, 292 bytes (checked in by jow, 2 years ago) | |
|---|---|
|
|
| Rev | Line | |
|---|---|---|
| [7106] | 1 | #!/bin/sh |
| 2 | ||
| 3 | for lang in $(cd po; echo ?? ??_??); do | |
| 4 | for file in $(cd po/templates; echo *.pot); do | |
| 5 | if [ ! -f "po/$lang/${file%.pot}.po" ]; then | |
| 6 | msginit --no-translator -l "$lang" -i "po/templates/$file" -o "po/$lang/${file%.pot}.po" | |
| 7 | svn add "po/$lang/${file%.pot}.po" | |
| 8 | fi | |
| 9 | done | |
| 10 | done |
Note: See TracBrowser
for help on using the browser.
