sup rev 28

Tiny edits and update POT
author Paul Issott <paul@slitaz.org>
date Mon Feb 27 17:44:20 2017 +0000 (2017-02-27)
parents 22ba9f7c9f8d
children 38d6569ce70f
files po/clients/fr.po po/clients/sup-clients.pot server/sup/sup.cgi sup
line diff
     1.1 --- a/po/clients/fr.po	Mon Feb 27 15:49:36 2017 +0100
     1.2 +++ b/po/clients/fr.po	Mon Feb 27 17:44:20 2017 +0000
     1.3 @@ -7,7 +7,7 @@
     1.4  msgstr ""
     1.5  "Project-Id-Version: Sup Clients\n"
     1.6  "Report-Msgid-Bugs-To: \n"
     1.7 -"POT-Creation-Date: 2017-02-26 22:08+0100\n"
     1.8 +"POT-Creation-Date: 2017-02-27 17:38+0000\n"
     1.9  "PO-Revision-Date: 2017-02-26 21:15+0100\n"
    1.10  "Last-Translator: Christophe Lincoln <pankso@slitaz.org>\n"
    1.11  "Language-Team: French\n"
    1.12 @@ -18,183 +18,200 @@
    1.13  "Plural-Forms: nplurals=2; plural=(n > 1);\n"
    1.14  "X-Generator: Poedit 1.8.6\n"
    1.15  
    1.16 -#: sup:18
    1.17 +#: sup:21
    1.18  #, fuzzy
    1.19  msgid "Not a valid user:"
    1.20  msgstr "Utilisateur non valide:"
    1.21  
    1.22 -#: sup:29
    1.23 +#: sup:32
    1.24  msgid "Usage:"
    1.25  msgstr "Utilisation:"
    1.26  
    1.27 -#: sup:31
    1.28 +#: sup:34
    1.29  msgid "Commands:"
    1.30  msgstr "Commandes:"
    1.31  
    1.32 -#: sup:32
    1.33 +#: sup:35
    1.34  msgid "Cook a package from the wok"
    1.35  msgstr "Cuire un paquet depuis le wok"
    1.36  
    1.37 -#: sup:33
    1.38 +#: sup:36
    1.39  msgid "Extract a package to current dir"
    1.40  msgstr ""
    1.41  
    1.42 -#: sup:34
    1.43 +#: sup:37
    1.44  #, fuzzy
    1.45  msgid "Install a new package"
    1.46  msgstr "Installe un paquet sup"
    1.47  
    1.48 -#: sup:35
    1.49 +#: sup:38
    1.50  msgid "Remove package files"
    1.51  msgstr "Supprime un paquet et ses fichiers"
    1.52  
    1.53 -#: sup:36
    1.54 +#: sup:39
    1.55  msgid "Create a new package :-)"
    1.56  msgstr ""
    1.57  
    1.58 -#: sup:37
    1.59 -msgid "List installed packages and your wok"
    1.60 -msgstr ""
    1.61 +#: sup:40
    1.62 +#, fuzzy
    1.63 +msgid "List installed packages in your wok"
    1.64 +msgstr "Paquet installé:"
    1.65  
    1.66 -#: sup:39
    1.67 +#: sup:42
    1.68  msgid "Options:"
    1.69  msgstr ""
    1.70  
    1.71 -#: sup:40
    1.72 +#: sup:43
    1.73  msgid "Initialize sup cook environment"
    1.74  msgstr ""
    1.75  
    1.76 -#: sup:41
    1.77 +#: sup:44
    1.78  msgid "Display more output messages"
    1.79  msgstr ""
    1.80  
    1.81 -#: sup:60
    1.82 +#: sup:63
    1.83  msgid "Missing package name or file path:"
    1.84  msgstr ""
    1.85  
    1.86 -#: sup:104
    1.87 +#: sup:107
    1.88  msgid "Initializing sup cook environment..."
    1.89  msgstr ""
    1.90  
    1.91 -#: sup:112
    1.92 +#: sup:115
    1.93  msgid "Can't find receip in wok for:"
    1.94  msgstr ""
    1.95  
    1.96 -#: sup:117
    1.97 +#: sup:120
    1.98  msgid "Building package:"
    1.99  msgstr ""
   1.100  
   1.101 -#: sup:122
   1.102 +#: sup:125
   1.103  msgid "Checking receip variables..."
   1.104  msgstr ""
   1.105  
   1.106 -#: sup:130 sup:135
   1.107 +#: sup:133 sup:138
   1.108  msgid "Empty variable:"
   1.109  msgstr ""
   1.110  
   1.111 -#: sup:136
   1.112 +#: sup:139
   1.113  msgid "You can use:"
   1.114  msgstr ""
   1.115  
   1.116 -#: sup:157
   1.117 +#: sup:161
   1.118  msgid "Creating compressed archive..."
   1.119  msgstr ""
   1.120  
   1.121 -#: sup:164 sup:200
   1.122 +#: sup:168 sup:208
   1.123  msgid "Packages:"
   1.124  msgstr ""
   1.125  
   1.126 -#: sup:172
   1.127 +#: sup:175
   1.128  msgid "New package name:"
   1.129  msgstr ""
   1.130  
   1.131 -#: sup:176
   1.132 -msgid "Package already exist in wok:"
   1.133 +#: sup:181
   1.134 +msgid "Package already exists in wok:"
   1.135  msgstr ""
   1.136  
   1.137 -#: sup:179
   1.138 +#: sup:184
   1.139  msgid "Creating new package files and tree..."
   1.140  msgstr ""
   1.141  
   1.142 -#: sup:191
   1.143 +#: sup:187
   1.144 +msgid "Executing your favorite editor..."
   1.145 +msgstr ""
   1.146 +
   1.147 +#: sup:189
   1.148 +msgid "To cook your package:"
   1.149 +msgstr ""
   1.150 +
   1.151 +#: sup:199
   1.152  msgid "Can't find package file:"
   1.153  msgstr ""
   1.154  
   1.155 -#: sup:195
   1.156 +#: sup:203
   1.157  msgid "Extract package:"
   1.158  msgstr ""
   1.159  
   1.160 -#: sup:224
   1.161 +#: sup:232
   1.162  msgid "Can't find sup package:"
   1.163  msgstr ""
   1.164  
   1.165 -#: sup:233 sup:278
   1.166 +#: sup:237
   1.167 +msgid "SUP Update"
   1.168 +msgstr ""
   1.169 +
   1.170 +#: sup:242
   1.171 +msgid "Mirror is unreachable"
   1.172 +msgstr ""
   1.173 +
   1.174 +#: sup:254 sup:299
   1.175  msgid "Can't find installed package:"
   1.176  msgstr ""
   1.177  
   1.178 -#: sup:240
   1.179 +#: sup:261
   1.180  msgid "Installed sup packages:"
   1.181  msgstr ""
   1.182  
   1.183 -#: sup:248
   1.184 +#: sup:269
   1.185  msgid "No sup packages installed"
   1.186  msgstr ""
   1.187  
   1.188 -#: sup:252
   1.189 +#: sup:273
   1.190  msgid "Sup packages in your wok:"
   1.191  msgstr ""
   1.192  
   1.193 -#: sup:270
   1.194 +#: sup:291
   1.195  msgid "Installed package:"
   1.196  msgstr "Paquet installé:"
   1.197  
   1.198 -#: sup:274
   1.199 +#: sup:295
   1.200  msgid "Installed files:"
   1.201  msgstr "Fichers installés:"
   1.202  
   1.203 -#: libsup.sh:45
   1.204 +#: libsup.sh:44
   1.205  msgid "Uncompressing package tree..."
   1.206  msgstr ""
   1.207  
   1.208 -#: libsup.sh:71
   1.209 +#: libsup.sh:70
   1.210  msgid "Checking dependencies for"
   1.211  msgstr ""
   1.212  
   1.213 -#: libsup.sh:85 libsup.sh:86
   1.214 +#: libsup.sh:84 libsup.sh:85
   1.215  #, fuzzy
   1.216  msgid "Installing package:"
   1.217  msgstr "Installation de:"
   1.218  
   1.219 -#: libsup.sh:96
   1.220 +#: libsup.sh:95
   1.221  msgid "Executing install function:"
   1.222  msgstr ""
   1.223  
   1.224 -#: libsup.sh:103
   1.225 +#: libsup.sh:102
   1.226  msgid "Creating the list of installed files..."
   1.227  msgstr ""
   1.228  
   1.229 -#: libsup.sh:115
   1.230 +#: libsup.sh:114
   1.231  #, fuzzy
   1.232  msgid "Installing files:"
   1.233  msgstr "Installation de:"
   1.234  
   1.235 -#: libsup.sh:136 libsup.sh:137
   1.236 +#: libsup.sh:135 libsup.sh:136
   1.237  msgid "Removing package:"
   1.238  msgstr "Suppression du paquet:"
   1.239  
   1.240 -#: libsup.sh:140
   1.241 +#: libsup.sh:139
   1.242  msgid "Files to remove :"
   1.243  msgstr "Fichiers à supprimer :"
   1.244  
   1.245 -#: libsup.sh:149
   1.246 +#: libsup.sh:148
   1.247  msgid "Removing file   :"
   1.248  msgstr ""
   1.249  
   1.250 -#: libsup.sh:154
   1.251 +#: libsup.sh:153
   1.252  msgid "Removing folder :"
   1.253  msgstr ""
   1.254  
   1.255 -#: libsup.sh:165
   1.256 +#: libsup.sh:164
   1.257  msgid "Removing packages from local database..."
   1.258  msgstr ""
   1.259  
     2.1 --- a/po/clients/sup-clients.pot	Mon Feb 27 15:49:36 2017 +0100
     2.2 +++ b/po/clients/sup-clients.pot	Mon Feb 27 17:44:20 2017 +0000
     2.3 @@ -8,7 +8,7 @@
     2.4  msgstr ""
     2.5  "Project-Id-Version: SUP Clients\n"
     2.6  "Report-Msgid-Bugs-To: \n"
     2.7 -"POT-Creation-Date: 2017-02-26 22:08+0100\n"
     2.8 +"POT-Creation-Date: 2017-02-27 17:38+0000\n"
     2.9  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    2.10  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    2.11  "Language-Team: LANGUAGE <LL@li.org>\n"
    2.12 @@ -17,178 +17,194 @@
    2.13  "Content-Type: text/plain; charset=CHARSET\n"
    2.14  "Content-Transfer-Encoding: 8bit\n"
    2.15  
    2.16 -#: sup:18
    2.17 +#: sup:21
    2.18  msgid "Not a valid user:"
    2.19  msgstr ""
    2.20  
    2.21 -#: sup:29
    2.22 +#: sup:32
    2.23  msgid "Usage:"
    2.24  msgstr ""
    2.25  
    2.26 -#: sup:31
    2.27 +#: sup:34
    2.28  msgid "Commands:"
    2.29  msgstr ""
    2.30  
    2.31 -#: sup:32
    2.32 +#: sup:35
    2.33  msgid "Cook a package from the wok"
    2.34  msgstr ""
    2.35  
    2.36 -#: sup:33
    2.37 +#: sup:36
    2.38  msgid "Extract a package to current dir"
    2.39  msgstr ""
    2.40  
    2.41 -#: sup:34
    2.42 +#: sup:37
    2.43  msgid "Install a new package"
    2.44  msgstr ""
    2.45  
    2.46 -#: sup:35
    2.47 +#: sup:38
    2.48  msgid "Remove package files"
    2.49  msgstr ""
    2.50  
    2.51 -#: sup:36
    2.52 +#: sup:39
    2.53  msgid "Create a new package :-)"
    2.54  msgstr ""
    2.55  
    2.56 -#: sup:37
    2.57 -msgid "List installed packages and your wok"
    2.58 +#: sup:40
    2.59 +msgid "List installed packages in your wok"
    2.60  msgstr ""
    2.61  
    2.62 -#: sup:39
    2.63 +#: sup:42
    2.64  msgid "Options:"
    2.65  msgstr ""
    2.66  
    2.67 -#: sup:40
    2.68 +#: sup:43
    2.69  msgid "Initialize sup cook environment"
    2.70  msgstr ""
    2.71  
    2.72 -#: sup:41
    2.73 +#: sup:44
    2.74  msgid "Display more output messages"
    2.75  msgstr ""
    2.76  
    2.77 -#: sup:60
    2.78 +#: sup:63
    2.79  msgid "Missing package name or file path:"
    2.80  msgstr ""
    2.81  
    2.82 -#: sup:104
    2.83 +#: sup:107
    2.84  msgid "Initializing sup cook environment..."
    2.85  msgstr ""
    2.86  
    2.87 -#: sup:112
    2.88 +#: sup:115
    2.89  msgid "Can't find receip in wok for:"
    2.90  msgstr ""
    2.91  
    2.92 -#: sup:117
    2.93 +#: sup:120
    2.94  msgid "Building package:"
    2.95  msgstr ""
    2.96  
    2.97 -#: sup:122
    2.98 +#: sup:125
    2.99  msgid "Checking receip variables..."
   2.100  msgstr ""
   2.101  
   2.102 -#: sup:130 sup:135
   2.103 +#: sup:133 sup:138
   2.104  msgid "Empty variable:"
   2.105  msgstr ""
   2.106  
   2.107 -#: sup:136
   2.108 +#: sup:139
   2.109  msgid "You can use:"
   2.110  msgstr ""
   2.111  
   2.112 -#: sup:157
   2.113 +#: sup:161
   2.114  msgid "Creating compressed archive..."
   2.115  msgstr ""
   2.116  
   2.117 -#: sup:164 sup:200
   2.118 +#: sup:168 sup:208
   2.119  msgid "Packages:"
   2.120  msgstr ""
   2.121  
   2.122 -#: sup:172
   2.123 +#: sup:175
   2.124  msgid "New package name:"
   2.125  msgstr ""
   2.126  
   2.127 -#: sup:176
   2.128 -msgid "Package already exist in wok:"
   2.129 +#: sup:181
   2.130 +msgid "Package already exists in wok:"
   2.131  msgstr ""
   2.132  
   2.133 -#: sup:179
   2.134 +#: sup:184
   2.135  msgid "Creating new package files and tree..."
   2.136  msgstr ""
   2.137  
   2.138 -#: sup:191
   2.139 +#: sup:187
   2.140 +msgid "Executing your favorite editor..."
   2.141 +msgstr ""
   2.142 +
   2.143 +#: sup:189
   2.144 +msgid "To cook your package:"
   2.145 +msgstr ""
   2.146 +
   2.147 +#: sup:199
   2.148  msgid "Can't find package file:"
   2.149  msgstr ""
   2.150  
   2.151 -#: sup:195
   2.152 +#: sup:203
   2.153  msgid "Extract package:"
   2.154  msgstr ""
   2.155  
   2.156 -#: sup:224
   2.157 +#: sup:232
   2.158  msgid "Can't find sup package:"
   2.159  msgstr ""
   2.160  
   2.161 -#: sup:233 sup:278
   2.162 +#: sup:237
   2.163 +msgid "SUP Update"
   2.164 +msgstr ""
   2.165 +
   2.166 +#: sup:242
   2.167 +msgid "Mirror is unreachable"
   2.168 +msgstr ""
   2.169 +
   2.170 +#: sup:254 sup:299
   2.171  msgid "Can't find installed package:"
   2.172  msgstr ""
   2.173  
   2.174 -#: sup:240
   2.175 +#: sup:261
   2.176  msgid "Installed sup packages:"
   2.177  msgstr ""
   2.178  
   2.179 -#: sup:248
   2.180 +#: sup:269
   2.181  msgid "No sup packages installed"
   2.182  msgstr ""
   2.183  
   2.184 -#: sup:252
   2.185 +#: sup:273
   2.186  msgid "Sup packages in your wok:"
   2.187  msgstr ""
   2.188  
   2.189 -#: sup:270
   2.190 +#: sup:291
   2.191  msgid "Installed package:"
   2.192  msgstr ""
   2.193  
   2.194 -#: sup:274
   2.195 +#: sup:295
   2.196  msgid "Installed files:"
   2.197  msgstr ""
   2.198  
   2.199 -#: libsup.sh:45
   2.200 +#: libsup.sh:44
   2.201  msgid "Uncompressing package tree..."
   2.202  msgstr ""
   2.203  
   2.204 -#: libsup.sh:71
   2.205 +#: libsup.sh:70
   2.206  msgid "Checking dependencies for"
   2.207  msgstr ""
   2.208  
   2.209 -#: libsup.sh:85 libsup.sh:86
   2.210 +#: libsup.sh:84 libsup.sh:85
   2.211  msgid "Installing package:"
   2.212  msgstr ""
   2.213  
   2.214 -#: libsup.sh:96
   2.215 +#: libsup.sh:95
   2.216  msgid "Executing install function:"
   2.217  msgstr ""
   2.218  
   2.219 -#: libsup.sh:103
   2.220 +#: libsup.sh:102
   2.221  msgid "Creating the list of installed files..."
   2.222  msgstr ""
   2.223  
   2.224 -#: libsup.sh:115
   2.225 +#: libsup.sh:114
   2.226  msgid "Installing files:"
   2.227  msgstr ""
   2.228  
   2.229 -#: libsup.sh:136 libsup.sh:137
   2.230 +#: libsup.sh:135 libsup.sh:136
   2.231  msgid "Removing package:"
   2.232  msgstr ""
   2.233  
   2.234 -#: libsup.sh:140
   2.235 +#: libsup.sh:139
   2.236  msgid "Files to remove :"
   2.237  msgstr ""
   2.238  
   2.239 -#: libsup.sh:149
   2.240 +#: libsup.sh:148
   2.241  msgid "Removing file   :"
   2.242  msgstr ""
   2.243  
   2.244 -#: libsup.sh:154
   2.245 +#: libsup.sh:153
   2.246  msgid "Removing folder :"
   2.247  msgstr ""
   2.248  
   2.249 -#: libsup.sh:165
   2.250 +#: libsup.sh:164
   2.251  msgid "Removing packages from local database..."
   2.252  msgstr ""
     3.1 --- a/server/sup/sup.cgi	Mon Feb 27 15:49:36 2017 +0100
     3.2 +++ b/server/sup/sup.cgi	Mon Feb 27 17:44:20 2017 +0000
     3.3 @@ -5,7 +5,7 @@
     3.4  # This plugin is part of the SPI tools and services. More information
     3.5  # at http://hg.slitaz.org/sup/file/ && http://scn.slitaz.org/?d=en/sup
     3.6  # packages.db is a SQLite table with all mirrored packages info, just
     3.7 -# for the fun of playing witg SQLite :-)
     3.8 +# for the fun of playing with SQLite :-)
     3.9  #
    3.10  # Copyright (C) 2017 SliTaz GNU/Linux - BSD License
    3.11  # Author: Christophe Lincoln <pankso@slitaz.org>
    3.12 @@ -191,7 +191,7 @@
    3.13  		# Show MD5sum
    3.14  		echo -e "MD5sum         : $(md5sum $cache/$supfile | cut -d ' ' -f 1)\n"
    3.15  		
    3.16 -		# Extract receip: sup cook already check vor empty var. Make
    3.17 +		# Extract receip: sup cook already checks for empty var. Make
    3.18  		# sure SCN user name match package MAINTAINER.
    3.19  		gettext "Extracting receip..."
    3.20  		cd ${cache}
    3.21 @@ -225,7 +225,7 @@
    3.22  			gettext "MAINTAINER :"; echo " $MAINTAINER"
    3.23  		fi
    3.24  		
    3.25 -		# Publish and display pkg url's if no error
    3.26 +		# Publish and display pkg urls if no error
    3.27  		if [ "$error" == "0" ]; then
    3.28  			gettext "Moving package to mirror..."
    3.29  			mv -f ${supfile} ${packages}; status
    3.30 @@ -325,7 +325,7 @@
    3.31  		unset IFS
    3.32  		echo "</pre>"
    3.33  		
    3.34 -		# Packages list: if one day, too much packages, then this should
    3.35 +		# Packages list: if one day, too many packages, then this should
    3.36  		# move to ?sup=list
    3.37  		cat << EOT
    3.38  <h3>$(gettext "SUP packages")</h3>
     4.1 --- a/sup	Mon Feb 27 15:49:36 2017 +0100
     4.2 +++ b/sup	Mon Feb 27 17:44:20 2017 +0000
     4.3 @@ -37,7 +37,7 @@
     4.4    -i  install        $(gettext "Install a new package")
     4.5    -r  remove         $(gettext "Remove package files")
     4.6    -n  new            $(gettext "Create a new package :-)")
     4.7 -  -l  list           $(gettext "List installed packages and your wok")
     4.8 +  -l  list           $(gettext "List installed packages in your wok")
     4.9  
    4.10  $(boldify $(gettext "Options:"))
    4.11    --init     cook    $(gettext "Initialize sup cook environment")
    4.12 @@ -97,7 +97,7 @@
    4.13  case "$1" in
    4.14  
    4.15  	-c|cook)
    4.16 -		# Cook in $cache/cook amd mv pkg to a visible dir
    4.17 +		# Cook in $cache/cook and mv pkg to a visible dir
    4.18  		pkg="$2"
    4.19  		receip="$wok/$pkg/receip"
    4.20  		cache="$cache/cook"
    4.21 @@ -178,7 +178,7 @@
    4.22  		[ ! "$pkg" ] && exit 0
    4.23  		[ ! -d "$wok" ] && cook_init
    4.24  		if [ -d "$wok/$pkg" ]; then
    4.25 -			gettext "Package already exist in wok:"; colorize 35 " $pkg"
    4.26 +			gettext "Package already exists in wok:"; colorize 35 " $pkg"
    4.27  			newline && exit 0
    4.28  		fi
    4.29  		gettext "Creating new package files and tree..."