Revision 17367,
531 bytes
checked in by ghudson, 23 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r17366,
which included commits to RCS files with non-trunk default branches.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | PACKAGE="sawfish" |
---|
4 | |
---|
5 | if [ "x$1" = "x--help" ]; then |
---|
6 | |
---|
7 | echo Usage: ./update.sh langcode |
---|
8 | echo --help display this help and exit |
---|
9 | echo |
---|
10 | echo Examples of use: |
---|
11 | echo ./update.sh da -- updates the da.po file |
---|
12 | |
---|
13 | elif [ "x$1" = "x" ]; then |
---|
14 | |
---|
15 | echo "Remember to type language code, ie. da for Danish, etc" |
---|
16 | |
---|
17 | else |
---|
18 | |
---|
19 | echo "Now merging $1.po with $PACKAGE.pot, and creating an updated $1.po ..." |
---|
20 | |
---|
21 | mv $1.po $1.po.old && msgmerge $1.po.old $PACKAGE.pot -o $1.po \ |
---|
22 | && rm $1.po.old; |
---|
23 | |
---|
24 | msgfmt $1.po --statistics -o /dev/null |
---|
25 | |
---|
26 | fi; |
---|
Note: See
TracBrowser
for help on using the repository browser.