tazpkg diff tazpkgbox @ rev 343
Prepare for i18n with gettext
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jun 20 11:52:56 2010 +0200 (2010-06-20) |
parents | 08824be361dc |
children | 9273e7309025 |
line diff
1.1 --- a/tazpkgbox Fri Mar 19 11:23:01 2010 +0000 1.2 +++ b/tazpkgbox Sun Jun 20 11:52:56 2010 +0200 1.3 @@ -6,7 +6,7 @@ 1.4 # 1.5 # (C) GNU gpl v3 - SliTaz GNU/Linux 2010. 1.6 # 1.7 -VERSION=3.2.1 1.8 +VERSION=4.0 1.9 1.10 # Functions path. 1.11 export LIB=/usr/lib/slitaz/tazpkgbox 1.12 @@ -17,6 +17,13 @@ 1.13 exit 0 1.14 fi 1.15 1.16 +# Include gettext helper script. 1.17 +. /usr/bin/gettext.sh 1.18 + 1.19 +# Export package name for gettext. 1.20 +TEXTDOMAIN='tazpkgbox' 1.21 +export TEXTDOMAIN 1.22 + 1.23 # We need at least a mirror URL. 1.24 if [ ! -f /var/lib/tazpkg/mirror ]; then 1.25 tazpkg >/dev/null