# HG changeset patch # User Christophe Lincoln # Date 1488140425 -3600 # Node ID a5e4d133589a637857205a110c4519683450cf40 # Parent c0a780b534c244b6b2062782d83139b85cef6c18 Small typo and up a bit of the french translation (to test i18n functions) diff -r c0a780b534c2 -r a5e4d133589a Makefile --- a/Makefile Sun Feb 26 21:05:33 2017 +0100 +++ b/Makefile Sun Feb 26 21:20:25 2017 +0100 @@ -12,7 +12,7 @@ pot: xgettext -o po/clients/sup-clients.pot -L Shell \ - --package-name="Sup Clients" \ + --package-name="SUP Clients" \ ./sup ./libsup.sh msgmerge: diff -r c0a780b534c2 -r a5e4d133589a libsup.sh --- a/libsup.sh Sun Feb 26 21:05:33 2017 +0100 +++ b/libsup.sh Sun Feb 26 21:20:25 2017 +0100 @@ -112,11 +112,11 @@ echo "sup_size=\"$(du -sh files | cut -d " " -f 1)\"" >> receip # Now we need a place to store package data and set $sup_size - gettext "Installing files:" echo -n "$(colorize 35 " $(wc -l files.list | cut -d " " -f 1)")" data="${installed}/${PACKAGE}" mkdir -p ${data} + for file in receip README files.list; do [ -f "$file" ] && cp -f ${file} ${data} done diff -r c0a780b534c2 -r a5e4d133589a po/clients/fr.po --- a/po/clients/fr.po Sun Feb 26 21:05:33 2017 +0100 +++ b/po/clients/fr.po Sun Feb 26 21:20:25 2017 +0100 @@ -7,8 +7,8 @@ msgstr "" "Project-Id-Version: Sup Clients\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-02-26 19:19+0100\n" -"PO-Revision-Date: 2017-02-23 14:15+0100\n" +"POT-Creation-Date: 2017-02-26 21:09+0100\n" +"PO-Revision-Date: 2017-02-26 21:15+0100\n" "Last-Translator: Christophe Lincoln \n" "Language-Team: French\n" "Language: fr\n" @@ -29,135 +29,169 @@ #: sup:31 msgid "Commands:" -msgstr "" +msgstr "Commandes:" #: sup:32 msgid "Cook a package from the wok" -msgstr "" +msgstr "Cuire un paquet depuis le wok" #: sup:33 msgid "Extract a package to current dir" msgstr "" #: sup:34 -#, fuzzy msgid "Install a sup package" -msgstr "Installation de:" +msgstr "Installe un paquet sup" #: sup:35 +msgid "Remove package files" +msgstr "Supprime un paquet et ses fichiers" + +#: sup:36 msgid "List installed packages and your wok" msgstr "" -#: sup:37 +#: sup:38 msgid "Options:" msgstr "" -#: sup:38 +#: sup:39 msgid "Initialize sup cook environment" msgstr "" -#: sup:39 +#: sup:40 msgid "Display more output messages" msgstr "" -#: sup:91 +#: sup:92 msgid "Initializing sup cook environment..." msgstr "" -#: sup:98 +#: sup:99 msgid "You must specify a package to cook:" msgstr "" -#: sup:102 +#: sup:103 msgid "Can't find receip in wok for:" msgstr "" -#: sup:107 +#: sup:108 msgid "Building package:" msgstr "" -#: sup:112 +#: sup:113 msgid "Checking receip variables..." msgstr "" -#: sup:120 sup:125 +#: sup:121 sup:126 msgid "Empty variable:" msgstr "" -#: sup:126 +#: sup:127 msgid "You can use:" msgstr "" -#: sup:147 +#: sup:148 msgid "Creating compressed archive..." msgstr "" -#: sup:154 sup:177 +#: sup:155 sup:178 msgid "Packages:" msgstr "" -#: sup:164 sup:185 -msgid "Missing package in argument:" +#: sup:165 +msgid "Missing package file in argument:" msgstr "" -#: sup:168 +#: sup:169 msgid "Can't find package file:" msgstr "" -#: sup:172 +#: sup:173 msgid "Extract package:" msgstr "" -#: sup:205 +#: sup:186 +msgid "Missing package name or file in argument:" +msgstr "" + +#: sup:206 msgid "Can't find sup package:" msgstr "" -#: sup:210 +#: sup:213 +msgid "Missing package name in argument:" +msgstr "" + +#: sup:220 sup:265 +msgid "Can't find installed package:" +msgstr "" + +#: sup:227 msgid "Installed sup packages:" msgstr "" -#: sup:218 +#: sup:235 msgid "No sup packages installed" msgstr "" -#: sup:222 +#: sup:239 msgid "Sup packages in your wok:" msgstr "" -#: sup:240 -#, fuzzy +#: sup:257 msgid "Installed package:" -msgstr "Installation de:" +msgstr "Paquet installé:" -#: sup:249 -msgid "Can't find installed package:" -msgstr "" +#: sup:261 +msgid "Installed files:" +msgstr "Fichers installés:" -#: libsup.sh:38 +#: libsup.sh:45 msgid "Uncompressing package tree..." msgstr "" -#: libsup.sh:64 +#: libsup.sh:71 msgid "Checking dependencies for" msgstr "" -#: libsup.sh:78 libsup.sh:79 +#: libsup.sh:85 libsup.sh:86 #, fuzzy msgid "Installing package:" msgstr "Installation de:" -#: libsup.sh:90 +#: libsup.sh:96 msgid "Executing install function:" msgstr "" -#: libsup.sh:97 +#: libsup.sh:103 msgid "Creating the list of installed files..." msgstr "" -#: libsup.sh:119 +#: libsup.sh:115 #, fuzzy -msgid "Installed files:" +msgid "Installing files:" msgstr "Installation de:" +#: libsup.sh:136 libsup.sh:137 +msgid "Removing package:" +msgstr "Suppression du paquet:" + +#: libsup.sh:140 +msgid "Files to remove :" +msgstr "Fichiers à supprimer :" + +#: libsup.sh:149 +msgid "Removing file :" +msgstr "" + +#: libsup.sh:154 +msgid "Removing folder :" +msgstr "" + +#: libsup.sh:165 +msgid "Removing packages from local database..." +msgstr "" + #~ msgid "Missing HOME path!" #~ msgstr "HOME est manquant!" diff -r c0a780b534c2 -r a5e4d133589a po/clients/sup-clients.pot --- a/po/clients/sup-clients.pot Sun Feb 26 21:05:33 2017 +0100 +++ b/po/clients/sup-clients.pot Sun Feb 26 21:20:25 2017 +0100 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: Sup Clients\n" +"Project-Id-Version: SUP Clients\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-02-26 19:19+0100\n" +"POT-Creation-Date: 2017-02-26 21:09+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -42,113 +42,149 @@ msgstr "" #: sup:35 +msgid "Remove package files" +msgstr "" + +#: sup:36 msgid "List installed packages and your wok" msgstr "" -#: sup:37 +#: sup:38 msgid "Options:" msgstr "" -#: sup:38 +#: sup:39 msgid "Initialize sup cook environment" msgstr "" -#: sup:39 +#: sup:40 msgid "Display more output messages" msgstr "" -#: sup:91 +#: sup:92 msgid "Initializing sup cook environment..." msgstr "" -#: sup:98 +#: sup:99 msgid "You must specify a package to cook:" msgstr "" -#: sup:102 +#: sup:103 msgid "Can't find receip in wok for:" msgstr "" -#: sup:107 +#: sup:108 msgid "Building package:" msgstr "" -#: sup:112 +#: sup:113 msgid "Checking receip variables..." msgstr "" -#: sup:120 sup:125 +#: sup:121 sup:126 msgid "Empty variable:" msgstr "" -#: sup:126 +#: sup:127 msgid "You can use:" msgstr "" -#: sup:147 +#: sup:148 msgid "Creating compressed archive..." msgstr "" -#: sup:154 sup:177 +#: sup:155 sup:178 msgid "Packages:" msgstr "" -#: sup:164 sup:185 -msgid "Missing package in argument:" +#: sup:165 +msgid "Missing package file in argument:" msgstr "" -#: sup:168 +#: sup:169 msgid "Can't find package file:" msgstr "" -#: sup:172 +#: sup:173 msgid "Extract package:" msgstr "" -#: sup:205 +#: sup:186 +msgid "Missing package name or file in argument:" +msgstr "" + +#: sup:206 msgid "Can't find sup package:" msgstr "" -#: sup:210 +#: sup:213 +msgid "Missing package name in argument:" +msgstr "" + +#: sup:220 sup:265 +msgid "Can't find installed package:" +msgstr "" + +#: sup:227 msgid "Installed sup packages:" msgstr "" -#: sup:218 +#: sup:235 msgid "No sup packages installed" msgstr "" -#: sup:222 +#: sup:239 msgid "Sup packages in your wok:" msgstr "" -#: sup:240 +#: sup:257 msgid "Installed package:" msgstr "" -#: sup:249 -msgid "Can't find installed package:" +#: sup:261 +msgid "Installed files:" msgstr "" -#: libsup.sh:38 +#: libsup.sh:45 msgid "Uncompressing package tree..." msgstr "" -#: libsup.sh:64 +#: libsup.sh:71 msgid "Checking dependencies for" msgstr "" -#: libsup.sh:78 libsup.sh:79 +#: libsup.sh:85 libsup.sh:86 msgid "Installing package:" msgstr "" -#: libsup.sh:90 +#: libsup.sh:96 msgid "Executing install function:" msgstr "" -#: libsup.sh:97 +#: libsup.sh:103 msgid "Creating the list of installed files..." msgstr "" -#: libsup.sh:119 -msgid "Installed files:" +#: libsup.sh:115 +msgid "Installing files:" msgstr "" + +#: libsup.sh:136 libsup.sh:137 +msgid "Removing package:" +msgstr "" + +#: libsup.sh:140 +msgid "Files to remove :" +msgstr "" + +#: libsup.sh:149 +msgid "Removing file :" +msgstr "" + +#: libsup.sh:154 +msgid "Removing folder :" +msgstr "" + +#: libsup.sh:165 +msgid "Removing packages from local database..." +msgstr "" diff -r c0a780b534c2 -r a5e4d133589a sup --- a/sup Sun Feb 26 21:05:33 2017 +0100 +++ b/sup Sun Feb 26 21:20:25 2017 +0100 @@ -32,7 +32,7 @@ -c cook $(gettext "Cook a package from the wok") -e extract $(gettext "Extract a package to current dir") -i install $(gettext "Install a sup package") - -r remove $(gettext "Install a sup package") + -r remove $(gettext "Remove package files") -l list $(gettext "List installed packages and your wok") $(boldify $(gettext "Options:"))