root/alternc-awstats/branches/r0/bureau/locales/updatelang.sh
| Revision 1030, 279 bytes (checked in by anonymous, 4 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | # Update po files in locales/$1/LC_MESSAGES |
| 3 | # |
| 4 | if [ -d $1/LC_MESSAGES ] |
| 5 | then |
| 6 | for i in *.po |
| 7 | do |
| 8 | echo -n "Updating $i : " |
| 9 | msgmerge -v -U $1/LC_MESSAGES/$i $i |
| 10 | echo " Done." |
| 11 | done |
| 12 | else |
| 13 | echo "Directory $1/LC_MESSAGES/ does not exist ! " |
| 14 | fi |
Note: See TracBrowser for help on using the browser.
