# HG changeset patch # User Christophe Lincoln # Date 1337238609 -7200 # Node ID 1691917d8883d9f3b86e3f167e4a288dddf172ae # Parent 4ca3c742695235a7bee3f99e7c8cfb5b79906276 add libpkg.sh to pot file and up fr.po diff -r 4ca3c7426952 -r 1691917d8883 Makefile --- a/Makefile Thu May 17 08:57:20 2012 +0200 +++ b/Makefile Thu May 17 09:10:09 2012 +0200 @@ -14,7 +14,7 @@ pot: xgettext -o po/$(PACKAGE).pot -L Shell --package-name="SliTaz Base" \ - ./rootfs/lib/libtaz.sh + ./rootfs/lib/libtaz.sh ./rootfs/usr/lib/slitaz/libpkg.sh msgmerge: @for l in $(LINGUAS); do \ diff -r 4ca3c7426952 -r 1691917d8883 po/fr.po --- a/po/fr.po Thu May 17 08:57:20 2012 +0200 +++ b/po/fr.po Thu May 17 09:10:09 2012 +0200 @@ -7,8 +7,8 @@ msgstr "" "Project-Id-Version: SliTaz Base\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-17 08:56+0200\n" -"PO-Revision-Date: 2012-04-30 09:21+0100\n" +"POT-Creation-Date: 2012-05-17 09:08+0200\n" +"PO-Revision-Date: 2012-05-17 09:09+0100\n" "Last-Translator: Christophe Lincoln \n" "Language-Team: French\n" "Language: fr\n" @@ -31,16 +31,21 @@ #: rootfs/lib/libtaz.sh:121 msgid "y" -msgstr "" +msgstr "o" #: rootfs/lib/libtaz.sh:122 msgid "Y" -msgstr "" +msgstr "O" #: rootfs/lib/libtaz.sh:123 msgid "n" -msgstr "" +msgstr "n" #: rootfs/lib/libtaz.sh:124 msgid "N" -msgstr "" +msgstr "N" + +#: rootfs/usr/lib/slitaz/libpkg.sh:32 +msgid "is not a tazpkg. Exiting" +msgstr "n'est pas un tazpkg. ArrĂȘt" + diff -r 4ca3c7426952 -r 1691917d8883 po/slitaz-base.pot --- a/po/slitaz-base.pot Thu May 17 08:57:20 2012 +0200 +++ b/po/slitaz-base.pot Thu May 17 09:10:09 2012 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: SliTaz Base\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-05-17 08:56+0200\n" +"POT-Creation-Date: 2012-05-17 09:08+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -44,3 +44,7 @@ #: rootfs/lib/libtaz.sh:124 msgid "N" msgstr "" + +#: rootfs/usr/lib/slitaz/libpkg.sh:32 +msgid "is not a tazpkg. Exiting" +msgstr "" diff -r 4ca3c7426952 -r 1691917d8883 rootfs/usr/lib/slitaz/libpkg.sh --- a/rootfs/usr/lib/slitaz/libpkg.sh Thu May 17 08:57:20 2012 +0200 +++ b/rootfs/usr/lib/slitaz/libpkg.sh Thu May 17 09:10:09 2012 +0200 @@ -14,7 +14,7 @@ DEPENDS BUILD_DEPENDS WANTED WGET_URL PROVIDE CROSS_BUG } -# converts /tmp/pkg.tazpkg to pkg +# Converts /tmp/pkg.tazpkg to pkg package_name() { local name=$(basename $1) echo ${name%.tazpkg} @@ -29,7 +29,7 @@ check_valid_tazpkg() { local file=$1 if ! is_valid_tazpkg $file; then - gettext "$file is not a tazpkg. Exiting"; newline + echo -n "$file "; gettext "is not a tazpkg. Exiting"; newline exit 1 fi }