tazpkg rev 388
Improvements: gettextize missing strings and some typos.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Dec 09 00:53:05 2010 +0100 (2010-12-09) |
parents | 9cf5ea2f246e |
children | 55b722149e3b |
files | po/tazpkg/tazpkg.pot tazpkg |
line diff
1.1 --- a/po/tazpkg/tazpkg.pot Wed Dec 08 18:37:58 2010 +0100 1.2 +++ b/po/tazpkg/tazpkg.pot Thu Dec 09 00:53:05 2010 +0100 1.3 @@ -6,671 +6,1116 @@ 1.4 #, fuzzy 1.5 msgid "" 1.6 msgstr "" 1.7 -"Project-Id-Version: Tazpkg\n" 1.8 +"Project-Id-Version: PACKAGE VERSION\n" 1.9 "Report-Msgid-Bugs-To: \n" 1.10 -"POT-Creation-Date: 2010-06-21 00:11+0200\n" 1.11 +"POT-Creation-Date: 2010-12-09 00:25+0100\n" 1.12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 1.13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 1.14 "Language-Team: LANGUAGE <LL@li.org>\n" 1.15 +"Language: \n" 1.16 "MIME-Version: 1.0\n" 1.17 "Content-Type: text/plain; charset=CHARSET\n" 1.18 "Content-Transfer-Encoding: 8bit\n" 1.19 1.20 -#: tazpkg:146 1.21 +#: tazpkg:79 1.22 +msgid "SliTaz package manager - Version" 1.23 +msgstr "" 1.24 + 1.25 +#: tazpkg:80 1.26 +msgid "Usage" 1.27 +msgstr "" 1.28 + 1.29 +#: tazpkg:80 1.30 +msgid "tazpkg [command] [package|dir|pattern|list|cat|--opt] [dir|--opt]" 1.31 +msgstr "" 1.32 + 1.33 +#: tazpkg:82 1.34 +msgid "Commands" 1.35 +msgstr "" 1.36 + 1.37 +#: tazpkg:83 1.38 +msgid "Print this short usage." 1.39 +msgstr "" 1.40 + 1.41 +#: tazpkg:84 1.42 +msgid "Show known bugs in packages." 1.43 +msgstr "" 1.44 + 1.45 +#: tazpkg:85 1.46 +msgid "List installed packages on the system by category or all." 1.47 +msgstr "" 1.48 + 1.49 +#: tazpkg:86 1.50 +msgid "Create a xHTML list of installed packages." 1.51 +msgstr "" 1.52 + 1.53 +#: tazpkg:87 1.54 +msgid "List all available packages on the mirror (--diff for new)." 1.55 +msgstr "" 1.56 + 1.57 +#: tazpkg:88 1.58 +msgid "Print information about a package." 1.59 +msgstr "" 1.60 + 1.61 +#: tazpkg:89 1.62 +msgid "Print description of a package (if it exists)." 1.63 +msgstr "" 1.64 + 1.65 +#: tazpkg:90 1.66 +msgid "List the files installed with a package." 1.67 +msgstr "" 1.68 + 1.69 +#: tazpkg:91 1.70 +msgid "List the configuration files." 1.71 +msgstr "" 1.72 + 1.73 +#: tazpkg:92 1.74 +msgid "Search for a package by pattern or name (options: -i|-l|-m)." 1.75 +msgstr "" 1.76 + 1.77 +#: tazpkg:93 1.78 +msgid "Search on mirror for package having a particular file." 1.79 +msgstr "" 1.80 + 1.81 +#: tazpkg:94 1.82 +msgid "Search for file(s) in all installed packages files." 1.83 +msgstr "" 1.84 + 1.85 +#: tazpkg:95 1.86 +msgid "Install a local (*.tazpkg) package (--forced to force)." 1.87 +msgstr "" 1.88 + 1.89 +#: tazpkg:96 1.90 +msgid "Install all packages from a list of packages." 1.91 +msgstr "" 1.92 + 1.93 +#: tazpkg:97 1.94 +msgid "Remove the specified package and all installed files." 1.95 +msgstr "" 1.96 + 1.97 +#: tazpkg:98 1.98 +msgid "Extract a (*.tazpkg) package into a directory." 1.99 +msgstr "" 1.100 + 1.101 +#: tazpkg:99 1.102 +msgid "Pack an unpacked or prepared package tree." 1.103 +msgstr "" 1.104 + 1.105 +#: tazpkg:100 1.106 +msgid "Recharge your packages.list from the mirror." 1.107 +msgstr "" 1.108 + 1.109 +#: tazpkg:101 1.110 +msgid "Create a package archive from an installed package." 1.111 +msgstr "" 1.112 + 1.113 +#: tazpkg:102 1.114 +msgid "Create a package archive with configuration files." 1.115 +msgstr "" 1.116 + 1.117 +#: tazpkg:103 1.118 +msgid "Rebuild a package with the better compression ratio." 1.119 +msgstr "" 1.120 + 1.121 +#: tazpkg:104 1.122 +msgid "Upgrade one or all installed/listed package(s) on the mirror." 1.123 +msgstr "" 1.124 + 1.125 +#: tazpkg:105 1.126 +msgid "Build upgradeable packages list quickly." 1.127 +msgstr "" 1.128 + 1.129 +#: tazpkg:106 1.130 +msgid "Block an installed package version or unblock it for upgrade." 1.131 +msgstr "" 1.132 + 1.133 +#: tazpkg:107 1.134 +msgid "Download a package into the current directory." 1.135 +msgstr "" 1.136 + 1.137 +#: tazpkg:108 1.138 +msgid "Download and install a package from the mirror." 1.139 +msgstr "" 1.140 + 1.141 +#: tazpkg:109 1.142 +msgid "Download and install a list of packages from the mirror." 1.143 +msgstr "" 1.144 + 1.145 +#: tazpkg:110 1.146 +msgid "Verify consistency of installed packages." 1.147 +msgstr "" 1.148 + 1.149 +#: tazpkg:111 1.150 +msgid "Install the flavor list of packages." 1.151 +msgstr "" 1.152 + 1.153 +#: tazpkg:112 1.154 +msgid "Install the flavor list of packages and remove other ones." 1.155 +msgstr "" 1.156 + 1.157 +#: tazpkg:113 1.158 +msgid "Change release and update packages." 1.159 +msgstr "" 1.160 + 1.161 +#: tazpkg:114 1.162 +msgid "Clean all packages downloaded in cache directory." 1.163 +msgstr "" 1.164 + 1.165 +#: tazpkg:115 1.166 +msgid "Display dependencies tree." 1.167 +msgstr "" 1.168 + 1.169 +#: tazpkg:116 1.170 +msgid "Display reverse dependencies tree." 1.171 +msgstr "" 1.172 + 1.173 +#: tazpkg:117 1.174 +msgid "Convert a deb/rpm/tgz/arch package to a slitaz (.tazpkg)." 1.175 +msgstr "" 1.176 + 1.177 +#: tazpkg:118 1.178 +msgid "Link a package from another slitaz installation." 1.179 +msgstr "" 1.180 + 1.181 +#: tazpkg:119 1.182 +msgid "Change the mirror url configuration." 1.183 +msgstr "" 1.184 + 1.185 +#: tazpkg:120 1.186 +msgid "List undigest mirrors." 1.187 +msgstr "" 1.188 + 1.189 +#: tazpkg:121 1.190 +msgid "Remove an undigest mirror." 1.191 +msgstr "" 1.192 + 1.193 +#: tazpkg:122 1.194 +msgid "Add an undigest mirror." 1.195 +msgstr "" 1.196 + 1.197 +#: tazpkg:123 1.198 +msgid "Update an undigest mirror." 1.199 +msgstr "" 1.200 + 1.201 +#: tazpkg:124 1.202 +msgid "Replay post install script from package." 1.203 +msgstr "" 1.204 + 1.205 +#: tazpkg:133 1.206 +msgid "OK" 1.207 +msgstr "" 1.208 + 1.209 +#: tazpkg:135 1.210 +msgid "Failed" 1.211 +msgstr "" 1.212 + 1.213 +#: tazpkg:147 1.214 msgid "" 1.215 "You must be root to run tazpkg with this option. Please use the command:\n" 1.216 "su followed by the root password to become super-user." 1.217 msgstr "" 1.218 1.219 -#: tazpkg:157 1.220 +#: tazpkg:158 1.221 msgid "Please specify a package name on the command line." 1.222 msgstr "" 1.223 1.224 -#: tazpkg:168 1.225 +#: tazpkg:169 1.226 #, sh-format 1.227 msgid "Unable to find: $PACKAGE_FILE" 1.228 msgstr "" 1.229 1.230 -#: tazpkg:179 1.231 +#: tazpkg:180 1.232 #, sh-format 1.233 msgid "Unable to find the receipt: $FS$INSTALLED/$PACKAGE/receipt" 1.234 msgstr "" 1.235 1.236 -#: tazpkg:210 1.237 +#: tazpkg:233 1.238 #, sh-format 1.239 msgid "" 1.240 "$PACKAGE package is already installed. You can\n" 1.241 "use the --forced option to force installation or remove it and reinstall." 1.242 msgstr "" 1.243 1.244 -#: tazpkg:224 1.245 +#: tazpkg:247 1.246 #, sh-format 1.247 msgid "Unable to find the list: $LOCALSTATE/packages.list" 1.248 msgstr "" 1.249 1.250 -#: tazpkg:226 1.251 +#: tazpkg:249 1.252 msgid "" 1.253 "You must probably run 'tazpkg recharge' as root to get the latest list of\n" 1.254 "packages available on the mirror." 1.255 msgstr "" 1.256 1.257 -#: tazpkg:321 1.258 +#: tazpkg:348 1.259 #, sh-format 1.260 msgid "Unable to find: $PACKAGE in the mirrored packages list." 1.261 msgstr "" 1.262 1.263 -#: tazpkg:376 1.264 +#: tazpkg:402 1.265 +#, sh-format 1.266 +msgid "Extracting $PACKAGE... " 1.267 +msgstr "" 1.268 + 1.269 +#: tazpkg:406 tazpkg:411 1.270 msgid "Extracting the pseudo fs... " 1.271 msgstr "" 1.272 1.273 -#: tazpkg:435 1.274 +#: tazpkg:475 1.275 msgid "Installation of :" 1.276 msgstr "" 1.277 1.278 -#: tazpkg:437 1.279 +#: tazpkg:477 1.280 #, sh-format 1.281 msgid "Copying $PACKAGE... " 1.282 msgstr "" 1.283 1.284 -#: tazpkg:449 1.285 +#: tazpkg:489 1.286 msgid "Checking post install dependencies... " 1.287 msgstr "" 1.288 1.289 -#: tazpkg:452 1.290 +#: tazpkg:492 1.291 #, sh-format 1.292 msgid "Please run 'tazpkg install $PACKAGE_FILE' in / and retry." 1.293 msgstr "" 1.294 1.295 -#: tazpkg:526 1.296 +#: tazpkg:566 1.297 #, sh-format 1.298 msgid "Saving configuration files for $PACKAGE... " 1.299 msgstr "" 1.300 1.301 -#: tazpkg:540 1.302 +#: tazpkg:580 1.303 #, sh-format 1.304 msgid "Installing $PACKAGE... " 1.305 msgstr "" 1.306 1.307 -#: tazpkg:544 1.308 +#: tazpkg:584 1.309 #, sh-format 1.310 msgid "Removing old $PACKAGE... " 1.311 msgstr "" 1.312 1.313 -#: tazpkg:552 1.314 +#: tazpkg:592 1.315 msgid "Removing all tmp files... " 1.316 msgstr "" 1.317 1.318 -#: tazpkg:561 1.319 +#: tazpkg:609 1.320 #, sh-format 1.321 msgid "$PACKAGE ($VERSION$EXTRAVERSION) is installed." 1.322 msgstr "" 1.323 1.324 -#: tazpkg:612 1.325 +#: tazpkg:660 1.326 #, sh-format 1.327 msgid "WARNING Dependency loop between $PACKAGE and $i." 1.328 msgstr "" 1.329 1.330 -#: tazpkg:616 1.331 +#: tazpkg:664 1.332 msgid "Tracking dependencies for :" 1.333 msgstr "" 1.334 1.335 -#: tazpkg:623 1.336 +#: tazpkg:671 1.337 #, sh-format 1.338 msgid "Missing: $MISSING_PACKAGE" 1.339 msgstr "" 1.340 1.341 -#: tazpkg:627 1.342 +#: tazpkg:675 1.343 #, sh-format 1.344 msgid "$deps missing package(s) to install." 1.345 msgstr "" 1.346 1.347 -#: tazpkg:643 1.348 -msgid "Install all missing dependencies (y/N) ? " 1.349 +#: tazpkg:691 1.350 +msgid "Install all missing dependencies" 1.351 msgstr "" 1.352 1.353 -#: tazpkg:658 1.354 +#: tazpkg:708 1.355 #, sh-format 1.356 msgid "Checking if $pkg exists in local list... " 1.357 msgstr "" 1.358 1.359 -#: tazpkg:685 1.360 +#: tazpkg:735 1.361 #, sh-format 1.362 msgid "" 1.363 "Leaving dependencies for $PACKAGE unsolved. The package is installed but\n" 1.364 "will probably not work." 1.365 msgstr "" 1.366 1.367 -#: tazpkg:762 1.368 +#: tazpkg:812 1.369 msgid "Installed packages" 1.370 msgstr "" 1.371 1.372 -#: tazpkg:777 1.373 +#: tazpkg:827 1.374 #, sh-format 1.375 msgid "0 installed packages found for : $PATTERN" 1.376 msgstr "" 1.377 1.378 -#: tazpkg:781 1.379 +#: tazpkg:831 1.380 #, sh-format 1.381 msgid "$packages installed package(s) found for : $PATTERN" 1.382 msgstr "" 1.383 1.384 -#: tazpkg:789 1.385 +#: tazpkg:839 1.386 msgid "Available packages name-version" 1.387 msgstr "" 1.388 1.389 -#: tazpkg:799 1.390 +#: tazpkg:849 1.391 msgid "" 1.392 "No 'packages.list' found to check for mirrored packages. For more results,\n" 1.393 "please run 'tazpkg recharge' once as root before searching." 1.394 msgstr "" 1.395 1.396 -#: tazpkg:804 tazpkg:832 1.397 +#: tazpkg:854 tazpkg:882 1.398 #, sh-format 1.399 msgid "0 available packages found for : $PATTERN" 1.400 msgstr "" 1.401 1.402 -#: tazpkg:808 tazpkg:836 1.403 +#: tazpkg:858 tazpkg:886 1.404 #, sh-format 1.405 msgid "$packages available package(s) found for : $PATTERN" 1.406 msgstr "" 1.407 1.408 -#: tazpkg:817 1.409 +#: tazpkg:867 1.410 msgid "Matching packages name with version and desc" 1.411 msgstr "" 1.412 1.413 -#: tazpkg:827 1.414 +#: tazpkg:877 1.415 msgid "" 1.416 "No 'packages.txt' found to check for mirrored packages. For more results,\n" 1.417 "please run 'tazpkg recharge' once as root before searching." 1.418 msgstr "" 1.419 1.420 -#: tazpkg:879 1.421 +#: tazpkg:933 1.422 #, sh-format 1.423 msgid "Can't find flavor $FLAVOR. Aborting." 1.424 msgstr "" 1.425 1.426 -#: tazpkg:893 1.427 +#: tazpkg:947 1.428 msgid "Current mirror(s)" 1.429 msgstr "" 1.430 1.431 -#: tazpkg:897 1.432 +#: tazpkg:951 1.433 msgid "" 1.434 "Please enter URL of the new mirror (http, ftp or local path). You must " 1.435 "specify\n" 1.436 "the complete address to the directory of the packages and packages.list file." 1.437 msgstr "" 1.438 1.439 -#: tazpkg:900 1.440 +#: tazpkg:954 1.441 msgid "New mirror(s) URL : " 1.442 msgstr "" 1.443 1.444 -#: tazpkg:908 1.445 +#: tazpkg:962 1.446 msgid "Nothing has been changed." 1.447 msgstr "" 1.448 1.449 -#: tazpkg:1137 1.450 +#: tazpkg:1085 1.451 +msgid "No dependency for" 1.452 +msgstr "" 1.453 + 1.454 +#: tazpkg:1087 1.455 +#, sh-format 1.456 +msgid "WARNING: unknown dependency for $lib" 1.457 +msgstr "" 1.458 + 1.459 +#: tazpkg:1191 1.460 #, sh-format 1.461 msgid "$PACKAGE_FILE does not look like a Archlinux package !" 1.462 msgstr "" 1.463 1.464 -#: tazpkg:1188 1.465 +#: tazpkg:1242 1.466 #, sh-format 1.467 msgid "$PACKAGE_FILE does not look like a Slackware package !" 1.468 msgstr "" 1.469 1.470 -#: tazpkg:1304 1.471 +#: tazpkg:1365 tazpkg:1389 1.472 +msgid "base-system" 1.473 +msgstr "" 1.474 + 1.475 +#: tazpkg:1366 tazpkg:1390 1.476 +msgid "x-window" 1.477 +msgstr "" 1.478 + 1.479 +#: tazpkg:1367 tazpkg:1391 1.480 +msgid "utilities" 1.481 +msgstr "" 1.482 + 1.483 +#: tazpkg:1368 tazpkg:1392 1.484 +msgid "network" 1.485 +msgstr "" 1.486 + 1.487 +#: tazpkg:1369 tazpkg:1393 1.488 +msgid "graphics" 1.489 +msgstr "" 1.490 + 1.491 +#: tazpkg:1370 tazpkg:1394 1.492 +msgid "multimedia" 1.493 +msgstr "" 1.494 + 1.495 +#: tazpkg:1371 tazpkg:1395 1.496 +msgid "office" 1.497 +msgstr "" 1.498 + 1.499 +#: tazpkg:1372 tazpkg:1396 1.500 +msgid "development" 1.501 +msgstr "" 1.502 + 1.503 +#: tazpkg:1373 tazpkg:1397 1.504 +msgid "system-tools" 1.505 +msgstr "" 1.506 + 1.507 +#: tazpkg:1374 tazpkg:1398 1.508 +msgid "security" 1.509 +msgstr "" 1.510 + 1.511 +#: tazpkg:1375 tazpkg:1399 1.512 +msgid "games" 1.513 +msgstr "" 1.514 + 1.515 +#: tazpkg:1376 tazpkg:1400 1.516 +msgid "misc" 1.517 +msgstr "" 1.518 + 1.519 +#: tazpkg:1377 tazpkg:1401 1.520 +msgid "meta" 1.521 +msgstr "" 1.522 + 1.523 +#: tazpkg:1378 tazpkg:1402 1.524 +msgid "non-free" 1.525 +msgstr "" 1.526 + 1.527 +#: tazpkg:1415 1.528 +msgid "y" 1.529 +msgstr "" 1.530 + 1.531 +#: tazpkg:1416 1.532 +msgid "Y" 1.533 +msgstr "" 1.534 + 1.535 +#: tazpkg:1417 1.536 +msgid "n" 1.537 +msgstr "" 1.538 + 1.539 +#: tazpkg:1418 1.540 +msgid "N" 1.541 +msgstr "" 1.542 + 1.543 +#: tazpkg:1437 1.544 msgid "Blocked packages" 1.545 msgstr "" 1.546 1.547 -#: tazpkg:1309 1.548 +#: tazpkg:1442 1.549 msgid "No blocked packages found." 1.550 msgstr "" 1.551 1.552 -#: tazpkg:1316 1.553 +#: tazpkg:1449 1.554 msgid "Packages categories" 1.555 msgstr "" 1.556 1.557 -#: tazpkg:1332 1.558 +#: tazpkg:1457 1.559 +#, sh-format 1.560 +msgid "$categories categories" 1.561 +msgstr "" 1.562 + 1.563 +#: tazpkg:1466 1.564 msgid "Installed packages of category:" 1.565 msgstr "" 1.566 1.567 -#: tazpkg:1346 1.568 +#: tazpkg:1480 1.569 #, sh-format 1.570 -msgid "$packages packages installed of category $ASKED_CATEGORY." 1.571 +msgid "$packages packages installed of category $ASKED_CATEGORY_I18N." 1.572 msgstr "" 1.573 1.574 -#: tazpkg:1351 1.575 +#: tazpkg:1485 1.576 msgid "List of all installed packages" 1.577 msgstr "" 1.578 1.579 -#: tazpkg:1364 1.580 +#: tazpkg:1498 1.581 #, sh-format 1.582 msgid "$packages packages installed." 1.583 msgstr "" 1.584 1.585 -#: tazpkg:1376 1.586 +#: tazpkg:1510 1.587 msgid "Creating xHTML list of installed packages" 1.588 msgstr "" 1.589 1.590 -#: tazpkg:1378 1.591 +#: tazpkg:1512 1.592 msgid "Generating xHTML header..." 1.593 msgstr "" 1.594 1.595 -#: tazpkg:1382 1.596 +#: tazpkg:1516 1.597 msgid "Creating packages information..." 1.598 msgstr "" 1.599 1.600 -#: tazpkg:1392 1.601 +#: tazpkg:1526 1.602 msgid "Generating xHTML footer..." 1.603 msgstr "" 1.604 1.605 -#: tazpkg:1408 tazpkg:2114 1.606 +#: tazpkg:1542 tazpkg:2276 1.607 msgid "Mirrored packages diff" 1.608 msgstr "" 1.609 1.610 -#: tazpkg:1413 1.611 +#: tazpkg:1547 1.612 #, sh-format 1.613 msgid "$pkgs new packages listed on the mirror." 1.614 msgstr "" 1.615 1.616 -#: tazpkg:1417 1.617 +#: tazpkg:1551 1.618 msgid "Unable to list anything, no packages.diff found." 1.619 msgstr "" 1.620 1.621 -#: tazpkg:1418 1.622 +#: tazpkg:1552 1.623 msgid "Recharge your current list to create a first diff." 1.624 msgstr "" 1.625 1.626 -#: tazpkg:1423 tazpkg:1428 1.627 +#: tazpkg:1557 tazpkg:1562 1.628 msgid "List of available packages on the mirror" 1.629 msgstr "" 1.630 1.631 -#: tazpkg:1434 1.632 +#: tazpkg:1568 1.633 #, sh-format 1.634 msgid "$pkgs packages in the last recharged list." 1.635 msgstr "" 1.636 1.637 -#: tazpkg:1442 1.638 +#: tazpkg:1576 1.639 msgid "Installed files with:" 1.640 msgstr "" 1.641 1.642 -#: tazpkg:1457 1.643 +#: tazpkg:1581 1.644 +#, sh-format 1.645 +msgid "$files files installed with $PACKAGE." 1.646 +msgstr "" 1.647 + 1.648 +#: tazpkg:1591 1.649 msgid "Tazpkg information" 1.650 msgstr "" 1.651 1.652 -#: tazpkg:1485 1.653 +#: tazpkg:1593 1.654 +msgid "Package :" 1.655 +msgstr "" 1.656 + 1.657 +#: tazpkg:1594 1.658 +msgid "Version :" 1.659 +msgstr "" 1.660 + 1.661 +#: tazpkg:1595 1.662 +msgid "Category :" 1.663 +msgstr "" 1.664 + 1.665 +#: tazpkg:1596 1.666 +msgid "Short desc :" 1.667 +msgstr "" 1.668 + 1.669 +#: tazpkg:1597 1.670 +msgid "Maintainer :" 1.671 +msgstr "" 1.672 + 1.673 +#: tazpkg:1599 1.674 +msgid "Depends :" 1.675 +msgstr "" 1.676 + 1.677 +#: tazpkg:1602 1.678 +msgid "Suggested :" 1.679 +msgstr "" 1.680 + 1.681 +#: tazpkg:1605 1.682 +msgid "Build deps :" 1.683 +msgstr "" 1.684 + 1.685 +#: tazpkg:1608 1.686 +msgid "Wanted src :" 1.687 +msgstr "" 1.688 + 1.689 +#: tazpkg:1611 1.690 +msgid "Web site :" 1.691 +msgstr "" 1.692 + 1.693 +#: tazpkg:1619 1.694 msgid "Description of:" 1.695 msgstr "" 1.696 1.697 -#: tazpkg:1492 1.698 +#: tazpkg:1626 1.699 msgid "Sorry, no description available for this package." 1.700 msgstr "" 1.701 1.702 -#: tazpkg:1501 1.703 +#: tazpkg:1635 1.704 msgid "Please specify a pattern or package name to search for." 1.705 msgstr "" 1.706 1.707 -#: tazpkg:1502 1.708 +#: tazpkg:1636 1.709 msgid "Example : 'tazpkg search paint'" 1.710 msgstr "" 1.711 1.712 -#: tazpkg:1507 1.713 +#: tazpkg:1641 1.714 msgid "Search result for:" 1.715 msgstr "" 1.716 1.717 -#: tazpkg:1526 tazpkg:1586 1.718 +#: tazpkg:1660 tazpkg:1720 1.719 msgid "Please specify a pattern or file name to search for." 1.720 msgstr "" 1.721 1.722 -#: tazpkg:1527 1.723 +#: tazpkg:1661 1.724 msgid "Example : 'tazpkg search-file libnss'" 1.725 msgstr "" 1.726 1.727 -#: tazpkg:1532 tazpkg:1592 1.728 +#: tazpkg:1666 tazpkg:1726 1.729 msgid "Search result for file" 1.730 msgstr "" 1.731 1.732 -#: tazpkg:1564 1.733 +#: tazpkg:1698 1.734 msgid "Package" 1.735 msgstr "" 1.736 1.737 -#: tazpkg:1574 1.738 +#: tazpkg:1708 1.739 #, sh-format 1.740 msgid "0 file found for: $pkg" 1.741 msgstr "" 1.742 1.743 -#: tazpkg:1579 1.744 +#: tazpkg:1713 1.745 #, sh-format 1.746 msgid "$match file(s) found for: $pkg" 1.747 msgstr "" 1.748 1.749 -#: tazpkg:1587 1.750 +#: tazpkg:1721 1.751 msgid "Example : 'tazpkg search-pkgname libnss'" 1.752 msgstr "" 1.753 1.754 -#: tazpkg:1605 1.755 +#: tazpkg:1739 1.756 #, sh-format 1.757 msgid "0 file found for : $file" 1.758 msgstr "" 1.759 1.760 -#: tazpkg:1652 1.761 +#: tazpkg:1773 tazpkg:1882 tazpkg:2653 tazpkg:2783 1.762 +msgid "Unknow option" 1.763 +msgstr "" 1.764 + 1.765 +#: tazpkg:1792 1.766 msgid "" 1.767 "Please change directory (cd) to the packages repository and specify the\n" 1.768 "list of packages to install. Example : tazpkg install-list packages.list" 1.769 msgstr "" 1.770 1.771 -#: tazpkg:1707 1.772 +#: tazpkg:1822 1.773 +#, sh-format 1.774 +msgid "Adding implicit depends $pkg ..." 1.775 +msgstr "" 1.776 + 1.777 +#: tazpkg:1847 1.778 msgid "Please specify the release you want on the command line." 1.779 msgstr "" 1.780 1.781 -#: tazpkg:1708 1.782 +#: tazpkg:1848 1.783 msgid "Example: tazpkg set-release cooking" 1.784 msgstr "" 1.785 1.786 -#: tazpkg:1732 1.787 +#: tazpkg:1890 1.788 #, sh-format 1.789 msgid "$PACKAGE is not installed." 1.790 msgstr "" 1.791 1.792 -#: tazpkg:1750 1.793 +#: tazpkg:1908 1.794 #, sh-format 1.795 msgid "The following packages depend on $PACKAGE:" 1.796 msgstr "" 1.797 1.798 -#: tazpkg:1757 1.799 +#: tazpkg:1915 1.800 #, sh-format 1.801 msgid "The following packages have been modified by $PACKAGE:" 1.802 msgstr "" 1.803 1.804 -#: tazpkg:1762 1.805 +#: tazpkg:1920 1.806 #, sh-format 1.807 msgid "Remove $PACKAGE ($VERSION$EXTRAVERSION) ?" 1.808 msgstr "" 1.809 1.810 -#: tazpkg:1763 1.811 -msgid "Please confirm uninstallation (y/N) : " 1.812 +#: tazpkg:1921 1.813 +msgid "Please confirm uninstallation" 1.814 msgstr "" 1.815 1.816 -#: tazpkg:1766 1.817 +#: tazpkg:1925 1.818 msgid "Removing:" 1.819 msgstr "" 1.820 1.821 -#: tazpkg:1772 1.822 +#: tazpkg:1931 1.823 msgid "Removing all files installed..." 1.824 msgstr "" 1.825 1.826 -#: tazpkg:1793 1.827 +#: tazpkg:1952 1.828 msgid "Removing package receipt..." 1.829 msgstr "" 1.830 1.831 -#: tazpkg:1801 1.832 +#: tazpkg:1960 1.833 #, sh-format 1.834 msgid "Remove packages depending on $PACKAGE" 1.835 msgstr "" 1.836 1.837 -#: tazpkg:1812 1.838 +#: tazpkg:1972 1.839 #, sh-format 1.840 msgid "Reinstall packages modified by $PACKAGE" 1.841 msgstr "" 1.842 1.843 -#: tazpkg:1817 1.844 +#: tazpkg:1978 1.845 #, sh-format 1.846 msgid "Check $INSTALLED/$i for reinstallation" 1.847 msgstr "" 1.848 1.849 -#: tazpkg:1827 1.850 +#: tazpkg:1988 1.851 #, sh-format 1.852 msgid "Uninstallation of $PACKAGE cancelled." 1.853 msgstr "" 1.854 1.855 -#: tazpkg:1836 1.856 +#: tazpkg:1997 1.857 msgid "Extracting:" 1.858 msgstr "" 1.859 1.860 -#: tazpkg:1846 tazpkg:1863 1.861 +#: tazpkg:2007 tazpkg:2024 1.862 msgid "Copying original package..." 1.863 msgstr "" 1.864 1.865 -#: tazpkg:1852 1.866 +#: tazpkg:2013 1.867 #, sh-format 1.868 msgid "$PACKAGE is extracted to: $DESTDIR" 1.869 msgstr "" 1.870 1.871 -#: tazpkg:1860 1.872 +#: tazpkg:2021 1.873 msgid "Recompressing:" 1.874 msgstr "" 1.875 1.876 -#: tazpkg:1868 1.877 +#: tazpkg:2029 1.878 msgid "Recompressing the fs... " 1.879 msgstr "" 1.880 1.881 -#: tazpkg:1872 1.882 +#: tazpkg:2033 1.883 msgid "Creating new package... " 1.884 msgstr "" 1.885 1.886 -#: tazpkg:1905 1.887 +#: tazpkg:2052 1.888 +msgid "File lost" 1.889 +msgstr "" 1.890 + 1.891 +#: tazpkg:2066 1.892 msgid "Configuration files" 1.893 msgstr "" 1.894 1.895 -#: tazpkg:1966 1.896 +#: tazpkg:2103 1.897 +msgid "User configuration backup on " 1.898 +msgstr "" 1.899 + 1.900 +#: tazpkg:2123 1.901 +#, sh-format 1.902 +msgid "Can't repack $PACKAGE" 1.903 +msgstr "" 1.904 + 1.905 +#: tazpkg:2127 1.906 #, sh-format 1.907 msgid "Can't repack, $PACKAGE files have been modified by:" 1.908 msgstr "" 1.909 1.910 -#: tazpkg:1978 1.911 +#: tazpkg:2139 1.912 msgid "Can't repack, the following files are lost:" 1.913 msgstr "" 1.914 1.915 -#: tazpkg:2016 1.916 +#: tazpkg:2166 1.917 +msgid "Can't repack, md5sum error." 1.918 +msgstr "" 1.919 + 1.920 +#: tazpkg:2177 1.921 #, sh-format 1.922 msgid "Package $PACKAGE repacked successfully." 1.923 msgstr "" 1.924 1.925 -#: tazpkg:2025 1.926 +#: tazpkg:2178 tazpkg:2233 1.927 +msgid "Size" 1.928 +msgstr "" 1.929 + 1.930 +#: tazpkg:2186 1.931 msgid "Receipt is missing. Please read the documentation." 1.932 msgstr "" 1.933 1.934 -#: tazpkg:2032 1.935 +#: tazpkg:2193 1.936 msgid "Creating the list of files..." 1.937 msgstr "" 1.938 1.939 -#: tazpkg:2037 1.940 +#: tazpkg:2198 1.941 msgid "Creating md5sum of files..." 1.942 msgstr "" 1.943 1.944 -#: tazpkg:2051 1.945 +#: tazpkg:2212 1.946 msgid "Compressing the fs... " 1.947 msgstr "" 1.948 1.949 -#: tazpkg:2058 1.950 +#: tazpkg:2219 1.951 msgid "Updating receipt sizes..." 1.952 msgstr "" 1.953 1.954 -#: tazpkg:2063 1.955 +#: tazpkg:2224 1.956 msgid "Creating full cpio archive... " 1.957 msgstr "" 1.958 1.959 -#: tazpkg:2066 1.960 +#: tazpkg:2227 1.961 msgid "Restoring original package tree... " 1.962 msgstr "" 1.963 1.964 -#: tazpkg:2071 1.965 +#: tazpkg:2232 1.966 #, sh-format 1.967 msgid "Package $PACKAGE compressed successfully." 1.968 msgstr "" 1.969 1.970 -#: tazpkg:2087 1.971 +#: tazpkg:2245 1.972 +msgid "Recharging undigest" 1.973 +msgstr "" 1.974 + 1.975 +#: tazpkg:2249 1.976 msgid "Creating backup of the last packages list..." 1.977 msgstr "" 1.978 1.979 -#: tazpkg:2120 1.980 +#: tazpkg:2282 1.981 #, sh-format 1.982 msgid "$new_pkgs new packages on the mirror." 1.983 msgstr "" 1.984 1.985 -#: tazpkg:2123 1.986 +#: tazpkg:2285 1.987 msgid "No new packages on the mirror." 1.988 msgstr "" 1.989 1.990 -#: tazpkg:2130 1.991 +#: tazpkg:2292 1.992 msgid "" 1.993 "Last packages.list is ready to use. Note that next time you recharge the\n" 1.994 "list, a list of differences will be displayed to show new and upgradeable\n" 1.995 "packages." 1.996 msgstr "" 1.997 1.998 -#: tazpkg:2161 1.999 +#: tazpkg:2327 1.1000 msgid "Available upgrades" 1.1001 msgstr "" 1.1002 1.1003 -#: tazpkg:2259 1.1004 +#: tazpkg:2382 1.1005 +msgid "minor" 1.1006 +msgstr "" 1.1007 + 1.1008 +#: tazpkg:2385 tazpkg:2394 1.1009 +msgid "WARNING" 1.1010 +msgstr "" 1.1011 + 1.1012 +#: tazpkg:2390 1.1013 +msgid "major" 1.1014 +msgstr "" 1.1015 + 1.1016 +#: tazpkg:2399 1.1017 +msgid "revision" 1.1018 +msgstr "" 1.1019 + 1.1020 +#: tazpkg:2425 1.1021 #, sh-format 1.1022 msgid "" 1.1023 "$packages installed and listed packages to consider, $up to upgrade, " 1.1024 "$blocked blocked." 1.1025 msgstr "" 1.1026 1.1027 -#: tazpkg:2262 1.1028 +#: tazpkg:2428 1.1029 msgid "System is up-to-date." 1.1030 msgstr "" 1.1031 1.1032 -#: tazpkg:2265 1.1033 +#: tazpkg:2431 1.1034 #, sh-format 1.1035 msgid "" 1.1036 "$packages installed and listed packages to consider, 0 to upgrade, $blocked " 1.1037 "blocked." 1.1038 msgstr "" 1.1039 1.1040 -#: tazpkg:2272 1.1041 +#: tazpkg:2438 1.1042 msgid "" 1.1043 "WARNING ---> Installed package seems more recent than the mirrored\n" 1.1044 "one. You can block packages using the command : 'tazpkg block package'.\n" 1.1045 "Or upgrade packages at your own risk." 1.1046 msgstr "" 1.1047 1.1048 -#: tazpkg:2281 1.1049 +#: tazpkg:2444 1.1050 +msgid "Upgrade now" 1.1051 +msgstr "" 1.1052 + 1.1053 +#: tazpkg:2449 1.1054 msgid "Exiting. No package upgraded." 1.1055 msgstr "" 1.1056 1.1057 -#: tazpkg:2298 1.1058 +#: tazpkg:2466 1.1059 msgid "No known bugs." 1.1060 msgstr "" 1.1061 1.1062 -#: tazpkg:2304 1.1063 +#: tazpkg:2472 1.1064 msgid "Bug list completed" 1.1065 msgstr "" 1.1066 1.1067 -#: tazpkg:2306 1.1068 +#: tazpkg:2474 1.1069 #, sh-format 1.1070 msgid "Bugs in package $PACKAGE version $VERSION$EXTRAVERSION:" 1.1071 msgstr "" 1.1072 1.1073 -#: tazpkg:2320 1.1074 +#: tazpkg:2492 1.1075 #, sh-format 1.1076 msgid "The package $PACKAGE installation has not completed" 1.1077 msgstr "" 1.1078 1.1079 -#: tazpkg:2328 1.1080 +#: tazpkg:2500 1.1081 #, sh-format 1.1082 msgid "The package $PACKAGE $VERSION$EXTRAVERSION has been modified by:" 1.1083 msgstr "" 1.1084 1.1085 -#: tazpkg:2406 1.1086 +#: tazpkg:2505 1.1087 +#, sh-format 1.1088 +msgid "Files lost from $PACKAGE $VERSION$EXTRAVERSION :" 1.1089 +msgstr "" 1.1090 + 1.1091 +#: tazpkg:2509 1.1092 +msgid "target of symlink" 1.1093 +msgstr "" 1.1094 + 1.1095 +#: tazpkg:2514 1.1096 +msgid "Missing dependencies for" 1.1097 +msgstr "" 1.1098 + 1.1099 +#: tazpkg:2521 1.1100 +msgid "Dependencies loop between" 1.1101 +msgstr "" 1.1102 + 1.1103 +#: tazpkg:2525 1.1104 +msgid "Looking for known bugs... " 1.1105 +msgstr "" 1.1106 + 1.1107 +#: tazpkg:2550 1.1108 +#, sh-format 1.1109 +msgid "The following packages provide $file :" 1.1110 +msgstr "" 1.1111 + 1.1112 +#: tazpkg:2556 1.1113 +msgid "overridden by" 1.1114 +msgstr "" 1.1115 + 1.1116 +#: tazpkg:2561 1.1117 +msgid "No package has installed the following files" 1.1118 +msgstr "" 1.1119 + 1.1120 +#: tazpkg:2570 1.1121 +msgid "Check completed." 1.1122 +msgstr "" 1.1123 + 1.1124 +#: tazpkg:2578 1.1125 #, sh-format 1.1126 msgid "$PACKAGE is already in the blocked packages list." 1.1127 msgstr "" 1.1128 1.1129 -#: tazpkg:2410 1.1130 +#: tazpkg:2582 1.1131 #, sh-format 1.1132 msgid "Add $PACKAGE to : $BLOCKED..." 1.1133 msgstr "" 1.1134 1.1135 -#: tazpkg:2425 1.1136 +#: tazpkg:2597 1.1137 #, sh-format 1.1138 msgid "Removing $PACKAGE from : $BLOCKED..." 1.1139 msgstr "" 1.1140 1.1141 -#: tazpkg:2433 1.1142 +#: tazpkg:2605 1.1143 #, sh-format 1.1144 msgid "$PACKAGE is not in the blocked packages list." 1.1145 msgstr "" 1.1146 1.1147 -#: tazpkg:2493 1.1148 +#: tazpkg:2677 1.1149 +#, sh-format 1.1150 +msgid "$PACKAGE already in the cache : $CACHE_DIR" 1.1151 +msgstr "" 1.1152 + 1.1153 +#: tazpkg:2680 1.1154 #, sh-format 1.1155 msgid "Continuing $PACKAGE download" 1.1156 msgstr "" 1.1157 1.1158 -#: tazpkg:2509 1.1159 +#: tazpkg:2702 1.1160 msgid "Clean cache:" 1.1161 msgstr "" 1.1162 1.1163 -#: tazpkg:2511 1.1164 +#: tazpkg:2704 1.1165 msgid "Cleaning cache directory..." 1.1166 msgstr "" 1.1167 1.1168 -#: tazpkg:2515 1.1169 +#: tazpkg:2708 1.1170 #, sh-format 1.1171 msgid "$files file(s) removed from cache." 1.1172 msgstr "" 1.1173 1.1174 -#: tazpkg:2527 1.1175 +#: tazpkg:2720 1.1176 msgid "Current undigest(s)" 1.1177 msgstr "" 1.1178 1.1179 -#: tazpkg:2531 1.1180 +#: tazpkg:2724 1.1181 msgid "No undigest mirror found." 1.1182 msgstr "" 1.1183 1.1184 -#: tazpkg:2567 1.1185 +#: tazpkg:2737 1.1186 +#, sh-format 1.1187 +msgid "Remove $undigest undigest" 1.1188 +msgstr "" 1.1189 + 1.1190 +#: tazpkg:2741 1.1191 +#, sh-format 1.1192 +msgid "Removing $undigest undigest..." 1.1193 +msgstr "" 1.1194 + 1.1195 +#: tazpkg:2747 1.1196 +#, sh-format 1.1197 +msgid "Undigest $undigest not found" 1.1198 +msgstr "" 1.1199 + 1.1200 +#: tazpkg:2763 1.1201 #, sh-format 1.1202 msgid "Creating new undigest $undigest." 1.1203 msgstr "" 1.1204 1.1205 -#: tazpkg:2602 1.1206 +#: tazpkg:2798 1.1207 #, sh-format 1.1208 msgid "Nothing to do for $PACKAGE." 1.1209 msgstr "" 1.1210 1.1211 -#: tazpkg:2606 1.1212 +#: tazpkg:2802 1.1213 #, sh-format 1.1214 msgid "Package $PACKAGE is not installed." 1.1215 msgstr "" 1.1216 1.1217 -#: tazpkg:2607 1.1218 +#: tazpkg:2803 1.1219 msgid "Install package with 'tazpkg install' or 'tazpkg get-install'" 1.1220 msgstr "" 1.1221 1.1222 -#: tazpkg:2623 1.1223 +#: tazpkg:2817 1.1224 +msgid "Tazpkg SHell" 1.1225 +msgstr "" 1.1226 + 1.1227 +#: tazpkg:2819 1.1228 msgid "Type 'usage' to list all available commands or 'quit' or 'q' to exit." 1.1229 msgstr "" 1.1230 1.1231 -#: tazpkg:2633 1.1232 +#: tazpkg:2829 1.1233 msgid "You are already running a Tazpkg SHell." 1.1234 msgstr "" 1.1235 1.1236 -#: tazpkg:2671 1.1237 +#: tazpkg:2867 1.1238 msgid "Unsupported format" 1.1239 msgstr "" 1.1240 1.1241 -#: tazpkg:2686 1.1242 +#: tazpkg:2882 1.1243 #, sh-format 1.1244 msgid "$PACKAGE is already installed." 1.1245 msgstr "" 1.1246 1.1247 -#: tazpkg:2695 1.1248 +#: tazpkg:2891 1.1249 #, sh-format 1.1250 msgid "Missing : $i" 1.1251 msgstr "" 1.1252 1.1253 -#: tazpkg:2699 1.1254 -msgid "Link all missing dependencies (y/N) ? " 1.1255 +#: tazpkg:2895 1.1256 +msgid "Link all missing dependencies" 1.1257 msgstr "" 1.1258 1.1259 -#: tazpkg:2707 1.1260 +#: tazpkg:2905 1.1261 #, sh-format 1.1262 msgid "Leaving dependencies for $PACKAGE unsolved." 1.1263 msgstr "" 1.1264 1.1265 -#: tazpkg:2708 1.1266 +#: tazpkg:2906 1.1267 msgid "The package is installed but will probably not work." 1.1268 msgstr ""
2.1 --- a/tazpkg Wed Dec 08 18:37:58 2010 +0100 2.2 +++ b/tazpkg Thu Dec 09 00:53:05 2010 +0100 2.3 @@ -76,52 +76,52 @@ 2.4 # Print the usage. 2.5 usage () 2.6 { 2.7 - echo -e "SliTaz package manager - Version: $VERSION\n 2.8 -\033[1mUsage:\033[0m tazpkg [command] [package|dir|pattern|list|cat|--opt] [dir|--opt] 2.9 - tazpkg shell\n 2.10 -\033[1mCommands: \033[0m 2.11 - usage Print this short usage. 2.12 - bugs Show known bugs in packages. 2.13 - list List installed packages on the system by category or all. 2.14 - xhtml-list Create a xHTML list of installed packages. 2.15 - list-mirror List all available packages on the mirror (--diff for new). 2.16 - info Print information about a package. 2.17 - desc Print description of a package (if it exists). 2.18 - list-files List the files installed with a package. 2.19 - list-config List the configuration files. 2.20 - search Search for a package by pattern or name (options: -i|-l|-m). 2.21 - search-pkgname Search on mirror for package having a particular file. 2.22 - search-file Search for file(s) in all installed packages files. 2.23 - install Install a local (*.tazpkg) package (--forced to force). 2.24 - install-list Install all packages from a list of packages. 2.25 - remove Remove the specified package and all installed files. 2.26 - extract Extract a (*.tazpkg) package into a directory. 2.27 - pack Pack an unpacked or prepared package tree. 2.28 - recharge Recharge your packages.list from the mirror. 2.29 - repack Create a package archive from an installed package. 2.30 - repack-config Create a package archive with configuration files. 2.31 - recompress Rebuild a package with the better compression ratio. 2.32 - upgrade Upgrade one or all installed/listed package(s) on the mirror. 2.33 - upgradeable Build upgradeable packages list quickly. 2.34 - block|unblock Block an installed package version or unblock it for upgrade. 2.35 - get Download a package into the current directory. 2.36 - get-install Download and install a package from the mirror. 2.37 - get-install-list Download and install a list of packages from the mirror. 2.38 - check Verify consistency of installed packages. 2.39 - add-flavor Install the flavor list of packages. 2.40 - install-flavor Install the flavor list of packages and remove other ones. 2.41 - set-release Change release and update packages. 2.42 - clean-cache Clean all packages downloaded in cache directory. 2.43 - depends Display dependencies tree. 2.44 - rdepends Display reverse dependencies tree. 2.45 - convert Convert a deb/rpm/tgz/arch package to a slitaz (.tazpkg). 2.46 - link Link a package from another slitaz installation. 2.47 - setup-mirror Change the mirror url configuration. 2.48 - list-undigest List undigest mirrors. 2.49 - remove-undigest Remove an undigest mirror. 2.50 - add-undigest Add an undigest mirror. 2.51 - setup-undigest Update an undigest mirror. 2.52 - reconfigure Replay post install script from package." 2.53 + echo -e "`gettext \"SliTaz package manager - Version\"`: $VERSION 2.54 +\033[1m`gettext \"Usage\"`:\033[0m `gettext \"tazpkg [command] [package|dir|pattern|list|cat|--opt] [dir|--opt]\"` 2.55 + tazpkg shell\n 2.56 +\033[1m`gettext \"Commands\"`: \033[0m 2.57 + usage `gettext \"Print this short usage.\"` 2.58 + bugs `gettext \"Show known bugs in packages.\"` 2.59 + list `gettext \"List installed packages on the system by category or all.\"` 2.60 + xhtml-list `gettext \"Create a xHTML list of installed packages.\"` 2.61 + list-mirror `gettext \"List all available packages on the mirror (--diff for new).\"` 2.62 + info `gettext \"Print information about a package.\"` 2.63 + desc `gettext \"Print description of a package (if it exists).\"` 2.64 + list-files `gettext \"List the files installed with a package.\"` 2.65 + list-config `gettext \"List the configuration files.\"` 2.66 + search `gettext \"Search for a package by pattern or name (options: -i|-l|-m).\"` 2.67 + search-pkgname `gettext \"Search on mirror for package having a particular file.\"` 2.68 + search-file `gettext \"Search for file(s) in all installed packages files.\"` 2.69 + install `gettext \"Install a local (*.tazpkg) package (--forced to force).\"` 2.70 + install-list `gettext \"Install all packages from a list of packages.\"` 2.71 + remove `gettext \"Remove the specified package and all installed files.\"` 2.72 + extract `gettext \"Extract a (*.tazpkg) package into a directory.\"` 2.73 + pack `gettext \"Pack an unpacked or prepared package tree.\"` 2.74 + recharge `gettext \"Recharge your packages.list from the mirror.\"` 2.75 + repack `gettext \"Create a package archive from an installed package.\"` 2.76 + repack-config `gettext \"Create a package archive with configuration files.\"` 2.77 + recompress `gettext \"Rebuild a package with the better compression ratio.\"` 2.78 + upgrade `gettext \"Upgrade one or all installed/listed package(s) on the mirror.\"` 2.79 + upgradeable `gettext \"Build upgradeable packages list quickly.\"` 2.80 + block|unblock `gettext \"Block an installed package version or unblock it for upgrade.\"` 2.81 + get `gettext \"Download a package into the current directory.\"` 2.82 + get-install `gettext \"Download and install a package from the mirror.\"` 2.83 + get-install-list `gettext \"Download and install a list of packages from the mirror.\"` 2.84 + check `gettext \"Verify consistency of installed packages.\"` 2.85 + add-flavor `gettext \"Install the flavor list of packages.\"` 2.86 + install-flavor `gettext \"Install the flavor list of packages and remove other ones.\"` 2.87 + set-release `gettext \"Change release and update packages.\"` 2.88 + clean-cache `gettext \"Clean all packages downloaded in cache directory.\"` 2.89 + depends `gettext \"Display dependencies tree.\"` 2.90 + rdepends `gettext \"Display reverse dependencies tree.\"` 2.91 + convert `gettext \"Convert a deb/rpm/tgz/arch package to a slitaz (.tazpkg).\"` 2.92 + link `gettext \"Link a package from another slitaz installation.\"` 2.93 + setup-mirror `gettext \"Change the mirror url configuration.\"` 2.94 + list-undigest `gettext \"List undigest mirrors.\"` 2.95 + remove-undigest `gettext \"Remove an undigest mirror.\"` 2.96 + add-undigest `gettext \"Add an undigest mirror.\"` 2.97 + setup-undigest `gettext \"Update an undigest mirror.\"` 2.98 + reconfigure `gettext \"Replay post install script from package.\"`" 2.99 } 2.100 2.101 # Status function with color (supported by Ash). 2.102 @@ -130,9 +130,9 @@ 2.103 local CHECK=$? 2.104 echo -en "\\033[70G[ " 2.105 if [ $CHECK = 0 ]; then 2.106 - echo -en "\\033[1;33mOK" 2.107 + echo -en "\\033[1;33m`gettext \"OK\"`" 2.108 else 2.109 - echo -en "\\033[1;31mFailed" 2.110 + echo -en "\\033[1;31m`gettext \"Failed\"`" 2.111 fi 2.112 echo -e "\\033[0;39m ]" 2.113 return $CHECK 2.114 @@ -142,6 +142,7 @@ 2.115 check_root() 2.116 { 2.117 if test $(id -u) != 0 ; then 2.118 + echo 2.119 gettext \ 2.120 "You must be root to run tazpkg with this option. Please use the command: 2.121 su followed by the root password to become super-user."; echo 2.122 @@ -398,7 +399,7 @@ 2.123 # Extract a package with cpio and gzip/lzma. 2.124 extract_package() 2.125 { 2.126 - gettext "Extracting $PACKAGE... " 2.127 + eval_gettext "Extracting \$PACKAGE... " 2.128 cpio -idm --quiet < $PACKAGE.tazpkg && rm -f $PACKAGE.tazpkg 2.129 status 2.130 if [ -f fs.cpio.lzma ]; then 2.131 @@ -684,13 +685,15 @@ 2.132 root="" 2.133 [ -n "$1" ] && root="--root=$1" 2.134 if [ "$AUTO_INSTALL_DEPS" == "yes" ]; then 2.135 - anser="y" 2.136 + answer="y" 2.137 else 2.138 echo "" 2.139 - gettext "Install all missing dependencies (y/N) ? "; read anser 2.140 + gettext "Install all missing dependencies" 2.141 + echo -n " (`translate_querry y`/`translate_querry N`) ? " 2.142 + read answer 2.143 echo "" 2.144 fi 2.145 - if [ "$anser" == "y" ]; then 2.146 + if [ "$answer" == "$(translate_querry y)" ]; then 2.147 for pkgorg in $DEPENDS 2.148 do 2.149 pkg=$(equivalent_pkg $pkgorg $1) 2.150 @@ -816,7 +819,7 @@ 2.151 . $INSTALLED/$pkg/receipt 2.152 echo -n "$PACKAGE " 2.153 echo -en "\033[24G $VERSION$EXTRAVERSION" 2.154 - echo -e "\033[42G $CATEGORY" 2.155 + echo -e "\033[42G `translate_category $CATEGORY`." 2.156 packages=$(($packages+1)) 2.157 done 2.158 # Set correct ending messages. 2.159 @@ -1079,9 +1082,9 @@ 2.160 show_unresolved_lib() 2.161 { 2.162 if [ -s $TMP_DIR/unresolved ]; then 2.163 - echo "BUGS=\"No dependency for" >> $1 2.164 + echo -e "BUGS=\"`gettext \"No dependency for\"`" >> $1 2.165 cat $TMP_DIR/unresolved | sort | uniq | while read file; do 2.166 - echo -e "$WARNING: unknown dependency for $lib" 2.167 + eval_gettext "WARNING: unknown dependency for \$lib"; echo 2.168 echo -n " $file" >> $1 2.169 done 2.170 echo "\"" >> $1 2.171 @@ -1356,6 +1359,71 @@ 2.172 fi 2.173 } 2.174 2.175 +translate_category() 2.176 +{ 2.177 + case $1 in 2.178 + base-system) gettext "base-system" ;; 2.179 + x-window) gettext "x-window" ;; 2.180 + utilities) gettext "utilities" ;; 2.181 + network) gettext "network" ;; 2.182 + graphics) gettext "graphics" ;; 2.183 + multimedia) gettext "multimedia" ;; 2.184 + office) gettext "office" ;; 2.185 + development) gettext "development" ;; 2.186 + system-tools) gettext "system-tools" ;; 2.187 + security) gettext "security" ;; 2.188 + games) gettext "games" ;; 2.189 + misc) gettext "misc" ;; 2.190 + meta) gettext "meta" ;; 2.191 + non-free) gettext "non-free" ;; 2.192 + 2.193 + # Support custom categories by keeping them untranslated. 2.194 + *) echo "$1" ;; 2.195 + 2.196 + esac 2.197 +} 2.198 + 2.199 +reverse_translate_category() 2.200 +{ 2.201 + case $1 in 2.202 + `gettext "base-system"`) echo "base-system" ;; 2.203 + `gettext "x-window"`) echo "x-window" ;; 2.204 + `gettext "utilities"`) echo "utilities" ;; 2.205 + `gettext "network"`) echo "network" ;; 2.206 + `gettext "graphics"`) echo "graphics" ;; 2.207 + `gettext "multimedia"`) echo "multimedia" ;; 2.208 + `gettext "office"`) echo "office" ;; 2.209 + `gettext "development"`) echo "development" ;; 2.210 + `gettext "system-tools"`) echo "system-tools" ;; 2.211 + `gettext "security"`) echo "security" ;; 2.212 + `gettext "games"`) echo "games" ;; 2.213 + `gettext "misc"`) echo "misc" ;; 2.214 + `gettext "meta"`) echo "meta" ;; 2.215 + `gettext "non-free"`) echo "non-free" ;; 2.216 + 2.217 + # If gategory isn't one of thoses traduced in native language, 2.218 + # keep it untranslated. This allow both native and english 2.219 + # language support. This also support custom categories. 2.220 + *) echo "$1" ;; 2.221 + 2.222 + esac 2.223 +} 2.224 + 2.225 +translate_querry() 2.226 +{ 2.227 + case $1 in 2.228 + y) gettext "y" ;; 2.229 + Y) gettext "Y" ;; 2.230 + n) gettext "n" ;; 2.231 + N) gettext "N" ;; 2.232 + 2.233 + # Support other cases but keep them untranslated. 2.234 + *) echo "$1" ;; 2.235 + 2.236 + esac 2.237 +} 2.238 + 2.239 + 2.240 ################### 2.241 # Tazpkg commands # 2.242 ################### 2.243 @@ -1371,7 +1439,7 @@ 2.244 if [ -s "$BLOCKED" ];then 2.245 cat $BLOCKED 2.246 else 2.247 - gettext "No blocked packages found." 2.248 + gettext "No blocked packages found."; echo 2.249 fi 2.250 echo "" && exit 0 2.251 fi 2.252 @@ -1382,19 +1450,20 @@ 2.253 echo "================================================================================" 2.254 for i in $CATEGORIES 2.255 do 2.256 - echo $i 2.257 + translate_category $i; echo 2.258 categories=$(($categories+1)) 2.259 done 2.260 echo "================================================================================" 2.261 - echo "$categories categories" 2.262 + eval_gettext "\$categories categories"; echo 2.263 echo "" 2.264 exit 0 2.265 fi 2.266 # Check for an asked category. 2.267 if [ -n "$2" ]; then 2.268 - ASKED_CATEGORY=$2 2.269 + ASKED_CATEGORY_I18N=$2 2.270 + ASKED_CATEGORY=$(reverse_translate_category $2) 2.271 echo "" 2.272 - echo -e "\033[1m`gettext \"Installed packages of category:\"`\033[0m $ASKED_CATEGORY" 2.273 + echo -e "\033[1m`gettext \"Installed packages of category:\"`\033[0m $ASKED_CATEGORY_I18N" 2.274 echo "================================================================================" 2.275 for pkg in $INSTALLED/* 2.276 do 2.277 @@ -1408,7 +1477,7 @@ 2.278 fi 2.279 done 2.280 echo "================================================================================" 2.281 - eval_gettext "\$packages packages installed of category \$ASKED_CATEGORY."; echo 2.282 + eval_gettext "\$packages packages installed of category \$ASKED_CATEGORY_I18N."; echo 2.283 echo "" 2.284 else 2.285 # By default list all packages and versions. 2.286 @@ -1422,7 +1491,7 @@ 2.287 . $pkg/receipt 2.288 echo -n "$PACKAGE" 2.289 echo -en "\033[24G $VERSION$EXTRAVERSION" 2.290 - echo -e "\033[42G $CATEGORY" 2.291 + echo -e "\033[42G `translate_category $CATEGORY`" 2.292 packages=$(($packages+1)) 2.293 done 2.294 echo "================================================================================" 2.295 @@ -1509,7 +1578,7 @@ 2.296 cat $INSTALLED/$PACKAGE/files.list | sort 2.297 echo "================================================================================" 2.298 files=`cat $INSTALLED/$PACKAGE/files.list | wc -l` 2.299 - echo "$files files installed with $PACKAGE." 2.300 + eval_gettext "\$files files installed with \$PACKAGE."; echo 2.301 echo "" ;; 2.302 info) 2.303 # Information about package. 2.304 @@ -1521,25 +1590,25 @@ 2.305 echo "" 2.306 echo -e "\033[1m`gettext \"Tazpkg information\"`\033[0m 2.307 ================================================================================ 2.308 -Package : $PACKAGE 2.309 -Version : $VERSION$EXTRAVERSION 2.310 -Category : $CATEGORY 2.311 -Short desc : $SHORT_DESC 2.312 -Maintainer : $MAINTAINER" 2.313 - if [ ! "$DEPENDS" = "" ]; then 2.314 - echo -e "Depends : $DEPENDS" 2.315 +`gettext \"Package :\"` $PACKAGE 2.316 +`gettext \"Version :\"` $VERSION$EXTRAVERSION 2.317 +`gettext \"Category :\"` `translate_category $CATEGORY` 2.318 +`gettext \"Short desc :\"` $SHORT_DESC 2.319 +`gettext \"Maintainer :\"` $MAINTAINER" 2.320 + if [ "$DEPENDS" ]; then 2.321 + echo -e "`gettext \"Depends :\"` $DEPENDS" 2.322 fi 2.323 - if [ ! "$SUGGESTED" = "" ]; then 2.324 - echo -e "Suggested : $SUGGESTED" 2.325 + if [ "$SUGGESTED" ]; then 2.326 + echo -e "`gettext \"Suggested :\"` $SUGGESTED" 2.327 fi 2.328 - if [ ! "$BUILD_DEPENDS" = "" ]; then 2.329 - echo -e "Build deps : $BUILD_DEPENDS" 2.330 + if [ "$BUILD_DEPENDS" ]; then 2.331 + echo -e "`gettext \"Build deps :\"` $BUILD_DEPENDS" 2.332 fi 2.333 - if [ ! "$WANTED" = "" ]; then 2.334 - echo -e "Wanted src : $WANTED" 2.335 + if [ "$WANTED" ]; then 2.336 + echo -e "`gettext \"Wanted src :\"` $WANTED" 2.337 fi 2.338 - if [ ! "$WEB_SITE" = "" ]; then 2.339 - echo -e "Web site : $WEB_SITE" 2.340 + if [ "$WEB_SITE" ]; then 2.341 + echo -e "`gettext \"Web site :\"` $WEB_SITE" 2.342 fi 2.343 echo "================================================================================" 2.344 echo "" ;; 2.345 @@ -1701,7 +1770,7 @@ 2.346 INSTALL_LIST="${3#--list=}" 2.347 ;; 2.348 *) shift 2 2.349 - echo -e "\nUnknown option $*.\n" 2.350 + echo -e "\n`gettext \"Unknow option\"` $*.\n" >&2 2.351 exit 1 2.352 ;; 2.353 esac 2.354 @@ -1750,7 +1819,7 @@ 2.355 slitaz-base-files tazpkg ; do 2.356 pkg=$(egrep $pkg-[0-9] $INSTALL_LIST) 2.357 [ -n "$pkg" ] || continue 2.358 - echo "Adding implicit depends $pkg ..." 2.359 + eval_gettext "Adding implicit depends \$pkg ..."; echo 2.360 LIST="$pkg 2.361 $LIST" 2.362 done 2.363 @@ -1810,7 +1879,7 @@ 2.364 fi 2.365 ;; 2.366 *) shift 2 2.367 - echo -e "\nUnknown option $*.\n" 2.368 + echo -e "\n`gettext \"Unknow option\"` $*.\n" >&2 2.369 exit 1 2.370 ;; 2.371 esac 2.372 @@ -1849,8 +1918,9 @@ 2.373 done 2.374 fi 2.375 eval_gettext "Remove \$PACKAGE (\$VERSION\$EXTRAVERSION) ?"; echo 2.376 - gettext "Please confirm uninstallation (y/N) : "; read anser 2.377 - if [ "$anser" = "y" ]; then 2.378 + gettext "Please confirm uninstallation" 2.379 + echo -n " (`translate_querry y`/`translate_querry N`) : "; read answer 2.380 + if [ "$answer" = "$(translate_querry y)" ]; then 2.381 echo "" 2.382 echo -e "\033[1m`gettext \"Removing:\"`\033[0m $PACKAGE" 2.383 echo "================================================================================" 2.384 @@ -1888,8 +1958,9 @@ 2.385 log Removed 2.386 if [ -n "$ALTERED" ]; then 2.387 eval_gettext "Remove packages depending on \$PACKAGE" 2.388 - echo -n " (y/N) ? "; read anser 2.389 - if [ "$anser" = "y" ]; then 2.390 + echo -n " (`translate_querry y`/`translate_querry N`) ? " 2.391 + read answer 2.392 + if [ "$answer" = "$(translate_querry y)" ]; then 2.393 for i in $ALTERED; do 2.394 if [ -d "$ROOT$INSTALLED/$i" ]; then 2.395 tazpkg remove $i $ROOTOPTS 2.396 @@ -1899,8 +1970,9 @@ 2.397 fi 2.398 if [ -n "$REFRESH" ]; then 2.399 eval_gettext "Reinstall packages modified by \$PACKAGE" 2.400 - echo -n " (y/N) ? "; read anser 2.401 - if [ "$anser" = "y" ]; then 2.402 + echo -n " (`translate_querry y`/`translate_querry N`) ? " 2.403 + read answer 2.404 + if [ "$answer" = "$(translate_querry y)" ]; then 2.405 for i in $REFRESH; do 2.406 if [ $(wc -l < $ROOT$INSTALLED/$i) -gt 1 ]; then 2.407 eval_gettext "Check \$INSTALLED/\$i for reinstallation"; echo 2.408 @@ -1977,7 +2049,7 @@ 2.409 zcat $i | cpio -idm --quiet > /dev/null 2.410 find * -type f 2>/dev/null | while read file; do 2.411 if [ ! -e /$file ]; then 2.412 - echo -n "|--|--|--|File lost" 2.413 + echo -en "|--|--|--|`gettext \"File lost\"`" 2.414 else 2.415 echo -n "$(stat -c "%A|%U|%G|%s|" /$file)" 2.416 cmp $file /$file > /dev/null 2>&1 || \ 2.417 @@ -1991,7 +2063,7 @@ 2.418 rm -rf $TMP_DIR 2.419 else 2.420 echo "" 2.421 - echo -e "\033[1m`gettext \"Configuration files\"`" 2.422 + echo -e "\033[1m`gettext \"Configuration files\"`\033[0m" 2.423 echo "================================================================================" 2.424 for i in $INSTALLED/*/volatile.cpio.gz; do 2.425 [ -n "$2" -a "$i" != "$INSTALLED/$2/volatile.cpio.gz" ] && continue 2.426 @@ -2028,7 +2100,7 @@ 2.427 PACKAGE="config" 2.428 VERSION="$CONFIG_VERSION" 2.429 CATEGORY="base-system" 2.430 -SHORT_DESC="User configuration backup on $(date)" 2.431 +SHORT_DESC="$(gettext "User configuration backup on ")$(date)" 2.432 DEPENDS="$(ls $INSTALLED)" 2.433 EOT 2.434 cd .. 2.435 @@ -2048,7 +2120,7 @@ 2.436 echo -e "\033[1mRepacking :\033[0m $PACKAGE-$VERSION$EXTRAVERSION.tazpkg" 2.437 echo "================================================================================" 2.438 if grep -qs ^NO_REPACK= $INSTALLED/$PACKAGE/receipt; then 2.439 - echo "Can't repack $PACKAGE" 2.440 + eval_gettext "Can't repack \$PACKAGE"; echo 2.441 exit 1 2.442 fi 2.443 if [ -s $INSTALLED/$PACKAGE/modifiers ]; then 2.444 @@ -2091,7 +2163,7 @@ 2.445 if [ -f $INSTALLED/$PACKAGE/md5sum ]; then 2.446 sed 's, , fs,' < $INSTALLED/$PACKAGE/md5sum | \ 2.447 md5sum -s -c || { 2.448 - echo "Can't repack, md5sum error." 2.449 + gettext "Can't repack, md5sum error."; echo 2.450 cd $TOP_DIR 2.451 rm -rf $TMP_DIR 2.452 exit 1 2.453 @@ -2103,7 +2175,7 @@ 2.454 cd $TOP_DIR 2.455 \rm -R $TMP_DIR 2.456 eval_gettext "Package \$PACKAGE repacked successfully."; echo 2.457 - echo "Size : `du -sh $PACKAGE-$VERSION$EXTRAVERSION.tazpkg`" 2.458 + echo -e "`gettext \"Size\"` : `du -sh $PACKAGE-$VERSION$EXTRAVERSION.tazpkg`" 2.459 echo "" ;; 2.460 pack) 2.461 # Create SliTaz package archive using cpio and gzip. 2.462 @@ -2158,7 +2230,7 @@ 2.463 rm fs.cpio.lzma && cd .. 2.464 echo "================================================================================" 2.465 eval_gettext "Package \$PACKAGE compressed successfully."; echo 2.466 - echo "Size : `du -sh $PACKAGE.tazpkg`" 2.467 + echo "`gettext \"Size\"` : `du -sh $PACKAGE.tazpkg`" 2.468 echo "" 2.469 fi ;; 2.470 recharge) 2.471 @@ -2170,7 +2242,7 @@ 2.472 [ -f $path/mirror ] || continue 2.473 echo "" 2.474 if [ "$path" != "$LOCALSTATE" ]; then 2.475 - echo "Recharging undigest $(basename $path):" 2.476 + echo -e "`gettext \"Recharging undigest\"` $(basename $path):" 2.477 fi 2.478 cd $path 2.479 if [ -f "packages.list" ]; then 2.480 @@ -2296,7 +2368,7 @@ 2.481 current_md5=$(grep -s " $PACKAGE-$VERSION" installed.md5 | awk '{ print $1 }') 2.482 new_md5=$(grep -hs " $PACKAGE-$VERSION" packages.md5 undigest/*/packages.md5 | head -1 | awk '{ print $1 }') 2.483 [ -n "$current_md5" ] && [ -n "$new_md5" ] && 2.484 - [ "$current_md5" != "$new_md5" ] && RELEASE=build 2.485 + [ "$current_md5" != "$new_md5" ] && RELEASE=$(gettext "build") 2.486 fi 2.487 if [ "$VERSION" != "$NEW_VERSION" -o -n "$RELEASE" ]; then 2.488 # Version seems different. Check for major, minor or 2.489 @@ -2307,30 +2379,30 @@ 2.490 NEW_MINOR=`echo ${NEW_VERSION%_*} | cut -f2 -d"."` 2.491 # Minor 2.492 if [ "$NEW_MINOR" -gt "$PKG_MINOR" ] 2> /dev/null; then 2.493 - RELEASE=minor 2.494 + RELEASE=$(gettext "minor") 2.495 fi 2.496 if [ "$NEW_MINOR" -lt "$PKG_MINOR" ] 2> /dev/null; then 2.497 - RELEASE=$WARNING 2.498 + RELEASE=$(gettext "WARNING") 2.499 FIXE=yes 2.500 fi 2.501 # Major 2.502 if [ "$NEW_MAJOR" -gt "$PKG_MAJOR" ] 2> /dev/null; then 2.503 - RELEASE=major 2.504 + RELEASE=$(gettext "major") 2.505 FIXE="" 2.506 fi 2.507 if [ "$NEW_MAJOR" -lt "$PKG_MAJOR" ] 2> /dev/null; then 2.508 - RELEASE=WARNING 2.509 + RELEASE=$(gettext "WARNING") 2.510 FIXE=yes 2.511 fi 2.512 # Default to revision. 2.513 if [ -z $RELEASE ]; then 2.514 - RELEASE=revision 2.515 + RELEASE=$(gettext "revision") 2.516 fi 2.517 # Pkg name is already displayed by the check process. 2.518 echo -en "\033[24G $VERSION" 2.519 echo -en "\033[38G --->" 2.520 echo -en "\033[43G $NEW_VERSION" 2.521 - echo -en "\033[58G $CATEGORY" 2.522 + echo -en "\033[58G `translate_category $CATEGORY`" 2.523 echo -e "\033[72G $RELEASE" 2.524 up=$(($up+1)) 2.525 echo "$PACKAGE" >> upgradeable-packages.list 2.526 @@ -2369,14 +2441,16 @@ 2.527 echo "" 2.528 fi 2.529 # Ask for upgrade, it can be done another time. 2.530 - echo -n "Upgrade now (y/N) ? "; read anser 2.531 - if [ ! "$anser" = "y" ]; then 2.532 + gettext "Upgrade now" 2.533 + echo -n " (`translate_querry y`/`translate_querry N`) ? " 2.534 + read answer 2.535 + if [ ! "$answer" = "$(translate_querry y)" ]; then 2.536 echo "" 2.537 gettext "Exiting. No package upgraded."; echo 2.538 echo "" 2.539 exit 0 2.540 fi 2.541 - # If anser is yes (y). Install all new versions. 2.542 + # If answer is yes (y). Install all new versions. 2.543 cat upgradeable-packages.list >> upgradeable-packages.list$$ 2.544 mv -f upgradeable-packages.list$$ upgradeable-packages.list 2.545 yes y | tazpkg get-install-list upgradeable-packages.list --forced 2.546 @@ -2389,13 +2463,13 @@ 2.547 shift 2.548 LIST=$@ 2.549 [ -n "$LIST" ] || LIST=`ls` 2.550 - MSG=`gettext "No known bugs."` 2.551 + MSG=$(gettext "No known bugs.") 2.552 for PACKAGE in $LIST; do 2.553 BUGS="" 2.554 EXTRAVERSION="" 2.555 . $PACKAGE/receipt 2.556 if [ -n "$BUGS" ]; then 2.557 - MSG=`gettext "Bug list completed"` 2.558 + MSG=$(gettext "Bug list completed") 2.559 echo "" 2.560 eval_gettext "Bugs in package \$PACKAGE version \$VERSION\$EXTRAVERSION:"; echo 2.561 cat <<EOT 2.562 @@ -2428,27 +2502,27 @@ 2.563 echo " $i" 2.564 done 2.565 fi 2.566 - MSG="Files lost from $PACKAGE $VERSION$EXTRAVERSION :\n" 2.567 + MSG="$(eval_gettext "Files lost from \$PACKAGE \$VERSION\$EXTRAVERSION :")\n" 2.568 while read file; do 2.569 [ -e "$file" ] && continue 2.570 if [ -L "$file" ]; then 2.571 - MSG="$MSG target of symlink" 2.572 + MSG="$MSG $(gettext "target of symlink")" 2.573 fi 2.574 echo -e "$MSG $file" 2.575 MSG="" 2.576 done < $PACKAGE/files.list 2.577 - MSG="Missing dependencies for $PACKAGE $VERSION$EXTRAVERSION :\n" 2.578 + MSG="$(gettext "Missing dependencies for") $PACKAGE $VERSION$EXTRAVERSION :\n" 2.579 for i in $DEPENDS; do 2.580 [ -d $i ] && continue 2.581 [ -d $(equivalent_pkg $i) ] && continue 2.582 echo -e "$MSG $i" 2.583 MSG="" 2.584 done 2.585 - MSG="Dependencies loop between $PACKAGE and :\n" 2.586 + MSG="$(gettext "Dependencies loop between") $PACKAGE and :\n" 2.587 ALL_DEPS="" 2.588 check_for_deps_loop $PACKAGE $DEPENDS 2.589 done 2.590 - echo -n "Looking for known bugs... " 2.591 + gettext "Looking for known bugs... "; echo 2.592 tazpkg bugs 2.593 if [ "$PACKAGE_FILE" = "--full" ]; then 2.594 for file in */md5sum; do 2.595 @@ -2473,18 +2547,18 @@ 2.596 [ $(grep "^$(echo $file | grepesc)$" */files.list 2> /dev/null | \ 2.597 wc -l) -gt 1 ] || continue 2.598 FILES="$FILES$file " 2.599 - echo "The following packages provide $file :" 2.600 + eval_gettext "The following packages provide \$file :"; echo 2.601 grep -l "^$(echo $file | grepesc)$" */files.list | while read f 2.602 do 2.603 pkg=${f%/files.list} 2.604 echo -n " $pkg" 2.605 if [ -f $pkg/modifiers ]; then 2.606 - echo -n " (overridden by $(echo "$(cat $pkg/modifiers)"))" 2.607 + echo -en " (`gettext \"overridden by\"`) $(echo "$(cat $pkg/modifiers)"))" 2.608 fi 2.609 echo "" 2.610 done 2.611 done 2.612 - MSG="No package has installed the following files:\n" 2.613 + MSG="$(gettext "No package has installed the following files"):\n" 2.614 find /etc /bin /sbin /lib /usr /var/www \ 2.615 -not -type d 2> /dev/null | while read file; do 2.616 case "$file" in *\[*) continue;; esac 2.617 @@ -2493,7 +2567,7 @@ 2.618 MSG="" 2.619 done 2.620 fi 2.621 - echo "Check completed." ;; 2.622 + gettext "Check completed."; echo ;; 2.623 block) 2.624 # Add a pkg name to the list of blocked packages. 2.625 # 2.626 @@ -2528,7 +2602,7 @@ 2.627 . $INSTALLED/$PACKAGE/receipt 2.628 log Unblocked 2.629 else 2.630 - eval_gettext "\$PACKAGE is not in the blocked packages list." 2.631 + eval_gettext "\$PACKAGE is not in the blocked packages list."; echo 2.632 echo "" 2.633 exit 0 2.634 fi 2.635 @@ -2576,7 +2650,7 @@ 2.636 INSTALL_LIST="${3#--list=}" 2.637 ;; 2.638 *) shift 2 2.639 - echo -e "\nUnknown option $*.\n" 2.640 + echo -e "\n`gettext \"Unknow option\"` $*.\n" >&2 2.641 exit 1 2.642 ;; 2.643 esac 2.644 @@ -2600,7 +2674,7 @@ 2.645 fi 2.646 cd $CACHE_DIR 2.647 if [ -f "$PACKAGE.tazpkg" ]; then 2.648 - echo "$PACKAGE already in the cache : $CACHE_DIR" 2.649 + eval_gettext "\$PACKAGE already in the cache : \$CACHE_DIR"; echo 2.650 # Check package download was finished 2.651 tail -c 2k $PACKAGE.tazpkg | grep -q 00000000TRAILER || { 2.652 eval_gettext "Continuing \$PACKAGE download"; echo 2.653 @@ -2627,7 +2701,7 @@ 2.654 echo "" 2.655 echo -e "\033[1m`gettext \"Clean cache:\"`\033[0m $CACHE_DIR" 2.656 echo "================================================================================" 2.657 - gettext "Cleaning cache directory..." 2.658 + gettext "Cleaning cache directory..."; echo 2.659 rm -rf $CACHE_DIR/* 2.660 status 2.661 echo "================================================================================" 2.662 @@ -2658,16 +2732,19 @@ 2.663 # remove undigest URL. 2.664 # 2.665 check_root 2.666 + undigest="$2" 2.667 if [ -d $LOCALSTATE/undigest/$2 ]; then 2.668 - echo -n "Remove $2 undigest (y/N) ? "; read anser 2.669 - if [ "$anser" = "y" ]; then 2.670 - echo -n "Removing $2 undigest..." 2.671 + eval_gettext "Remove \$undigest undigest" 2.672 + echo -n " (`translate_querry y`/`translate_querry N`) ? " 2.673 + read answer 2.674 + if [ "$answer" = "$(translate_querry y)" ]; then 2.675 + eval_gettext "Removing \$undigest undigest..." 2.676 rm -rf $LOCALSTATE/undigest/$2 2.677 status 2.678 rmdir $LOCALSTATE/undigest 2> /dev/null 2.679 fi 2.680 else 2.681 - echo "Undigest $2 not found" 2.682 + eval_gettext "Undigest \$undigest not found"; echo 2.683 fi ;; 2.684 add-undigest|setup-undigest) 2.685 # Add undigest URL. 2.686 @@ -2703,7 +2780,7 @@ 2.687 --root=*) 2.688 ROOT="${3#--root=}/" ;; 2.689 *) shift 2 2.690 - echo -e "\nUnknown option $*.\n" 2.691 + echo -e "\n`gettext \"Unknow option\"` $*.\n" >&2 2.692 exit 1 ;; 2.693 esac 2.694 shift 2.695 @@ -2737,7 +2814,7 @@ 2.696 if [ ! "$2" = "--noheader" ]; then 2.697 clear 2.698 echo "" 2.699 - echo -e "\033[1mTazpkg SHell.\033[0m" 2.700 + echo -e "\033[1m`gettext \"Tazpkg SHell\"`.\033[0m" 2.701 echo "================================================================================" 2.702 gettext "Type 'usage' to list all available commands or 'quit' or 'q' to exit."; echo 2.703 echo "" 2.704 @@ -2815,9 +2892,11 @@ 2.705 done 2.706 if [ -n "$MISSING" ]; then 2.707 echo "" 2.708 - gettext "Link all missing dependencies (y/N) ? "; read answer 2.709 + gettext "Link all missing dependencies" 2.710 + echo -n " (`translate_querry y`/`translate_querry N`) ? " 2.711 + read answer 2.712 echo "" 2.713 - if [ "$answer" = "y" ]; then 2.714 + if [ "$answer" = "$(translate_querry y)" ]; then 2.715 for i in $MISSING; do 2.716 tazpkg link $i $TARGET_DIR 2.717 done