# HG changeset patch # User Eric Joseph-Alexandre # Date 1314785738 -7200 # Node ID 25cd66d009cf353fa30ae8a140d226f25602d801 # Parent c5c6fc9ab9eb44c53cab75d4af5eaea0db441a3b Fix: POT and fr.po. Change Makefile for tazusb diff -r c5c6fc9ab9eb -r 25cd66d009cf Makefile --- a/Makefile Wed Aug 31 11:42:36 2011 +0200 +++ b/Makefile Wed Aug 31 12:15:38 2011 +0200 @@ -19,18 +19,35 @@ --package-name="TazUSB" \ --package-version="$(VERSION)" \ ./tazusbbox + xgettext -o po/tazusb/tazusb.pot -L Shell \ + --package-name="TazUSB" \ + --package-version="$(VERSION)" \ + ./tazusb msgmerge: @for l in $(LINGUAS); do \ - echo -n "Updating $$l po file."; \ - msgmerge -U po/tazusbbox/$$l.po po/tazusbbox/tazusbbox.pot ; \ + if [ -f "po/tazusbbox/$$l.po" ]; then \ + echo -n "Updating $$l po file."; \ + msgmerge -U po/tazusbbox/$$l.po po/tazusbbox/tazusbbox.pot ; \ + fi;\ + if [ -f "po/tazusb/$$l.po" ]; then \ + echo -n "Updating $$l po file."; \ + msgmerge -U po/tazusb/$$l.po po/tazusb/tazusb.pot ; \ + fi;\ done; msgfmt: @for l in $(LINGUAS); do \ - echo "Compiling $$l mo file..."; \ - mkdir -p po/mo/$$l/LC_MESSAGES; \ - msgfmt -o po/mo/$$l/LC_MESSAGES/tazusbbox.mo po/tazusbbox/$$l.po ; \ + if [ -f "po/tazusbbox/$$l.po" ]; then \ + echo "Compiling tazusbbox $$l mo file..."; \ + mkdir -p po/mo/$$l/LC_MESSAGES; \ + msgfmt -o po/mo/$$l/LC_MESSAGES/tazusbbox.mo po/tazusbbox/$$l.po ; \ + fi;\ + if [ -f "po/tazusb/$$l.po" ]; then \ + echo "Compiling tazusb $$l mo file..."; \ + mkdir -p po/mo/$$l/LC_MESSAGES; \ + msgfmt -o po/mo/$$l/LC_MESSAGES/tazusb.mo po/tazusb/$$l.po ; \ + fi;\ done; # Installation. @@ -62,7 +79,7 @@ clean: rm -rf _pkg rm -rf po/mo - rm po/*/*~ + rm -f po/*/*~ dist-clean: rm -rf $(DISTDIR) diff -r c5c6fc9ab9eb -r 25cd66d009cf po/tazusb/fr.po --- a/po/tazusb/fr.po Wed Aug 31 11:42:36 2011 +0200 +++ b/po/tazusb/fr.po Wed Aug 31 12:15:38 2011 +0200 @@ -6,15 +6,16 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: TazUSB 3.0\n" -"Report-Msgid-Bugs-To: erjo@slitaz.org\n" -"POT-Creation-Date: 2011-06-07 12:18+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Project-Id-Version: tazusb.HEAD\n" +"product=tazusb\n" +"Report-Msgid-Bugs-To: http://bug.slitaz.org\n" +"POT-Creation-Date: 2011-08-31 12:03:53 +0200\n" +"PO-Revision-Date: 2011-08-31 12:03:53 +0200\n" "Last-Translator: Eric Joseph-Alexandre \n" "Language-Team: LANGUAGE \n" -"Language: Franch\n" +"Language: French\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: tazusbbox:50 @@ -65,10 +66,6 @@ msgid "Mkfs : mkfs.ext3 -L \"$label\" $DEVICE" msgstr "" -#: tazusb:131 -msgid "Please specify a label for the partition (TazUSB): " -msgstr "" - #: tazusb:142 msgid "Please specify a filesystem type ext2, ext3 or fat32 (ext3): " msgstr "" @@ -83,25 +80,13 @@ msgstr "" #: tazusb:175 -msgid "\nProcessing..." -msgstr "" - -#: tazusb:176 -msgid "Label : $label" +msgid "Processing..." msgstr "" #: tazusb:177 msgid "Mkfs : mkfs.$FS -L \"$label\" $DEVICE" msgstr "" -#: tazusb:183 -msgid "Processing..." -msgstr "" - -#: tazusb:184 -msgid "Label : $label" -msgstr "" - #: tazusb:185 msgid "Mkfs : mkdosfs -F 32 -n \"$label\" $DEVICE" msgstr "" @@ -196,7 +181,7 @@ #: tazusb:473 msgid "" -"The command writefs will write all the current filesystem into a suitable cpio\" +"The command writefs will write all the current filesystem into a suitable cpio\n" "archive (rootfs.gz) usable on a bootable LiveUSB media.\n" "\n" "Archive compression: $COMPRESSION" diff -r c5c6fc9ab9eb -r 25cd66d009cf po/tazusb/tazusb.pot --- a/po/tazusb/tazusb.pot Wed Aug 31 11:42:36 2011 +0200 +++ b/po/tazusb/tazusb.pot Wed Aug 31 12:15:38 2011 +0200 @@ -6,15 +6,16 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: TazUSB 3.0\n" -"Report-Msgid-Bugs-To: erjo@slitaz.org\n" -"POT-Creation-Date: 2011-06-07 12:18+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Project-Id-Version: tazusb.HEAD\n" +"product=tazusb\n" +"Report-Msgid-Bugs-To: http://bug.slitaz.org\n" +"POT-Creation-Date: 2011-08-31 12:03:53 +0200\n" +"PO-Revision-Date: 2011-08-31 12:03:53 +0200\n" "Last-Translator: Eric Joseph-Alexandre \n" "Language-Team: LANGUAGE \n" -"Language: Franch\n" +"Language: French\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: tazusbbox:50 @@ -65,10 +66,6 @@ msgid "Mkfs : mkfs.ext3 -L \"$label\" $DEVICE" msgstr "" -#: tazusb:131 -msgid "Please specify a label for the partition (TazUSB): " -msgstr "" - #: tazusb:142 msgid "Please specify a filesystem type ext2, ext3 or fat32 (ext3): " msgstr "" @@ -83,25 +80,13 @@ msgstr "" #: tazusb:175 -msgid "\nProcessing..." -msgstr "" - -#: tazusb:176 -msgid "Label : $label" +msgid "Processing..." msgstr "" #: tazusb:177 msgid "Mkfs : mkfs.$FS -L \"$label\" $DEVICE" msgstr "" -#: tazusb:183 -msgid "Processing..." -msgstr "" - -#: tazusb:184 -msgid "Label : $label" -msgstr "" - #: tazusb:185 msgid "Mkfs : mkdosfs -F 32 -n \"$label\" $DEVICE" msgstr "" @@ -196,7 +181,7 @@ #: tazusb:473 msgid "" -"The command writefs will write all the current filesystem into a suitable cpio\" +"The command writefs will write all the current filesystem into a suitable cpio\n" "archive (rootfs.gz) usable on a bootable LiveUSB media.\n" "\n" "Archive compression: $COMPRESSION"