source: trunk/third/sawfish/po/update.sh @ 17367

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
3PACKAGE="sawfish"
4
5if [ "x$1" = "x--help" ]; then
6
7echo Usage: ./update.sh langcode
8echo --help                  display this help and exit
9echo
10echo Examples of use:
11echo ./update.sh da -- updates the da.po file
12
13elif [ "x$1" = "x" ]; then
14
15echo "Remember to type language code, ie. da for Danish, etc"
16
17else
18
19echo "Now merging $1.po with $PACKAGE.pot, and creating an updated $1.po ..."
20
21mv $1.po $1.po.old && msgmerge $1.po.old $PACKAGE.pot -o $1.po \
22&& rm $1.po.old;
23
24msgfmt $1.po --statistics -o /dev/null
25
26fi;
Note: See TracBrowser for help on using the repository browser.