mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-19 14:23:33 +00:00
latest intltool changes allow me to simplify the script even further.
* update.sh: latest intltool changes allow me to simplify the script even further.
This commit is contained in:
parent
54abc6a8eb
commit
70cfe31f55
|
@ -1,3 +1,8 @@
|
|||
2002-03-02 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* update.sh: latest intltool changes allow me to simplify the script
|
||||
even further.
|
||||
|
||||
2002-03-02 Ole Laursen <olau@hardworking.dk>
|
||||
|
||||
* da.po: Updated Danish translation from gimp-1-2 branch and
|
||||
|
|
|
@ -3,27 +3,5 @@
|
|||
PACKAGE="gimp14-libgimp"
|
||||
PATH="$PATH:.."
|
||||
|
||||
if [ "x$1" = "x--help" ]; then
|
||||
|
||||
echo Usage: ./update.sh langcode
|
||||
echo --help display this help and exit
|
||||
echo
|
||||
echo Examples of use:
|
||||
echo ./update.sh just creates a new pot file from the source
|
||||
echo ./update.sh da created new pot file and updated the da.po file
|
||||
|
||||
elif [ "x$1" = "x" ]; then
|
||||
|
||||
echo "Building the $PACKAGE.pot ..."
|
||||
intltool-update --gettext-package $PACKAGE --pot
|
||||
|
||||
else
|
||||
|
||||
echo "Building the $PACKAGE.pot ..."
|
||||
intltool-update --gettext-package $PACKAGE --pot
|
||||
|
||||
echo "Now merging $1.po with $PACKAGE.pot, and creating an updated $1.po ..."
|
||||
mv $1.po $1.po.old && msgmerge $1.po.old $PACKAGE.pot -o $1.po && rm $1.po.old;
|
||||
msgfmt --statistics $1.po
|
||||
|
||||
fi
|
||||
echo "Calling intltool-update for you ..."
|
||||
intltool-update --gettext-package $PACKAGE $*
|
||||
|
|
|
@ -1,11 +1,17 @@
|
|||
2002-03-02 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* update.sh: latest intltool changes allow me to simplify the script
|
||||
even further.
|
||||
|
||||
2002-03-02 Ole Laursen <olau@hardworking.dk>
|
||||
|
||||
* da.po: Updated Danish translation from gimp-1-2 branc and
|
||||
* da.po: Updated Danish translation from gimp-1-2 branch and
|
||||
converted it to UTF-8.
|
||||
|
||||
2002-02-28 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
|
||||
|
||||
* sk.po: Updated Slovak translation from Zdenko Podobny <zdpo@mailbox.sk>.
|
||||
* sk.po: Updated Slovak translation from Zdenko Podobny
|
||||
<zdpo@mailbox.sk>.
|
||||
|
||||
2002-02-26 Sven Neumann <sven@gimp.org>
|
||||
|
||||
|
|
|
@ -3,27 +3,5 @@
|
|||
PACKAGE="gimp14-std-plug-ins"
|
||||
PATH="$PATH:.."
|
||||
|
||||
if [ "x$1" = "x--help" ]; then
|
||||
|
||||
echo Usage: ./update.sh langcode
|
||||
echo --help display this help and exit
|
||||
echo
|
||||
echo Examples of use:
|
||||
echo ./update.sh ----- just creates a new pot file from the source
|
||||
echo ./update.sh da -- created new pot file and updated the da.po file
|
||||
|
||||
elif [ "x$1" = "x" ]; then
|
||||
|
||||
echo "Building the $PACKAGE.pot ..."
|
||||
intltool-update --gettext-package $PACKAGE --pot
|
||||
|
||||
else
|
||||
|
||||
echo "Building the $PACKAGE.pot ..."
|
||||
intltool-update --gettext-package $PACKAGE --pot
|
||||
|
||||
echo "Now merging $1.po with $PACKAGE.pot, and creating an updated $1.po ..."
|
||||
mv $1.po $1.po.old && msgmerge $1.po.old $PACKAGE.pot -o $1.po && rm $1.po.old;
|
||||
msgfmt --statistics $1.po
|
||||
|
||||
fi
|
||||
echo "Calling intltool-update for you ..."
|
||||
intltool-update --gettext-package $PACKAGE $*
|
||||
|
|
Loading…
Reference in a new issue