cookutils rev 596

cook: rework and finish i18n (for local use), translate to Russian
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 29 17:05:30 2013 +0000 (2013-03-29)
parents 2bc4a2670e31
children f3eb8e8e9d2e
files Makefile README cook cross.conf po/cook.pot po/ru.po
line diff
     1.1 --- a/Makefile	Tue Mar 19 09:04:37 2013 +0100
     1.2 +++ b/Makefile	Fri Mar 29 17:05:30 2013 +0000
     1.3 @@ -3,6 +3,8 @@
     1.4  
     1.5  PREFIX?=/usr
     1.6  DESTDIR?=
     1.7 +LINGUAS?=ru
     1.8 +VERSION:=$(shell grep ^VERSION cook | cut -d'=' -f2)
     1.9  
    1.10  all:
    1.11  
    1.12 @@ -65,3 +67,40 @@
    1.13  		$(DESTDIR)$(PREFIX)/bin/cross \
    1.14  		$(DESTDIR)/etc/slitaz/cross.conf \
    1.15  		$(DESTDIR)$(PREFIX)/share/doc/cookutils/cross.txt
    1.16 +
    1.17 +# i18n
    1.18 +
    1.19 +pot:
    1.20 +	xgettext -o po/cook.pot -k_ -k_n -L Shell -cL10n \
    1.21 +		--copyright-holder="SliTaz Association" \
    1.22 +		--package-name="Cook" \
    1.23 +		--package-version="$(VERSION)" \
    1.24 +		./cook
    1.25 +
    1.26 +msgmerge:
    1.27 +	@for l in $(LINGUAS); do \
    1.28 +		echo -n "Updating $$l po file."; \
    1.29 +		msgmerge -U po/$$l.po po/cook.pot; \
    1.30 +	done;
    1.31 +
    1.32 +msgfmt:
    1.33 +	@for l in $(LINGUAS); do \
    1.34 +		echo "Compiling $$l mo file..."; \
    1.35 +		mkdir -p po/mo/$$l/LC_MESSAGES; \
    1.36 +		msgfmt -o po/mo/$$l/LC_MESSAGES/cook.mo po/$$l.po; \
    1.37 +	done;
    1.38 +
    1.39 +# Clean source
    1.40 +
    1.41 +clean:
    1.42 +	rm -rf po/mo
    1.43 +	rm -f po/*.mo
    1.44 +	rm -f po/*.*~
    1.45 +
    1.46 +help:
    1.47 +	@echo "make"
    1.48 +	@echo "    install         | uninstall         - all"
    1.49 +	@echo "    install-cook    | uninstall-cook    - cook"
    1.50 +	@echo "    install-libcook | uninstall-libcook - libcook"
    1.51 +	@echo "    install-cross   | uninstall-cross   - cross"
    1.52 +	@echo "    pot | msgmerge | msgfmt | clean     - i18n"
     2.1 --- a/README	Tue Mar 19 09:04:37 2013 +0100
     2.2 +++ b/README	Fri Mar 29 17:05:30 2013 +0000
     2.3 @@ -18,10 +18,10 @@
     2.4  
     2.5  Cook features:
     2.6  
     2.7 -    * Setup a build env
     2.8 -    * Check and install missing build deps
     2.9 +    * Setup a build environment
    2.10 +    * Check and install missing build dependencies
    2.11      * Compile and generate the package
    2.12 -    * Remove installed build deps
    2.13 +    * Remove installed build dependencies
    2.14      * Provide a log for each cook
    2.15      * Clean one or all packages in the wok
    2.16      * Check for receipt and package quality
    2.17 @@ -31,7 +31,7 @@
    2.18  
    2.19      * Depend on Hg but can use it to manage a wok
    2.20      * Do complex work like compiling the whole system from source in
    2.21 -      one command (but it can rebuild the full system step by step).
    2.22 +      one command (but it can rebuild the full system step by step)
    2.23      * Check build deps for you, use: BUILD_DEPENDS
    2.24      * The work of a Build Bot, unix philosophy: one tool for one task
    2.25      * Cook a package if your receipt is crappy :-)
    2.26 @@ -54,12 +54,12 @@
    2.27  Cook also manages packages lists so they can be used for a personal packages
    2.28  repository or sent to the official mirror. We create and use:
    2.29  
    2.30 -    * packages.list    Simple list of package-versions
    2.31 -    * packages.md5     MD5sum list of all packages
    2.32 -    * packages.txt     List of packages with version, desc and sizes
    2.33 -    * packages.desc    Packages with name, version, category, desc
    2.34 -    * packages.equiv   Equivalent packages list
    2.35 -    * files.list.lzma  A list of files provided by all packages
    2.36 +    * packages.list   : Simple list of package-versions
    2.37 +    * packages.md5    : MD5sum list of all packages
    2.38 +    * packages.txt    : List of packages with version, description and sizes
    2.39 +    * packages.desc   : Packages with name, version, category, description
    2.40 +    * packages.equiv  : Equivalent packages list
    2.41 +    * files.list.lzma : A list of files provided by all packages
    2.42  
    2.43  
    2.44  Cooker
    2.45 @@ -77,7 +77,7 @@
    2.46  a nice way. A web interface also highlights success and error and can show
    2.47  receipts and the cooker logs such as the last ordered list or commits check.
    2.48  
    2.49 -Database files in the cache folder
    2.50 +Database files in the cache folder:
    2.51  
    2.52      * activity   : Activity information for the web interface
    2.53      * blocked    : List of manually blocked packages
    2.54 @@ -86,7 +86,7 @@
    2.55      * cooklist   : Cooklist for unbuilt packages or custom commands
    2.56      * cooknotes  : All the notes added with 'cooker -n "My note"
    2.57      * installed* : Lists used to compare installed packages before and after
    2.58 -		   a package is cooked so we can remove them
    2.59 +                   a package is cooked so we can remove them
    2.60  
    2.61  The Cooker web interface can by highly customized through the CSS style and via
    2.62  an optional header.html file that must be in the same directory as the CGI
    2.63 @@ -121,27 +121,28 @@
    2.64  
    2.65  Cross compiling
    2.66  --------------------------------------------------------------------------------
    2.67 -Cookutils lets you cross compile a package for a specific architecture. Say you want
    2.68 -to build ARM binaries from a standard i486 machine. Cookutils provides helpers
    2.69 -for the ARM platform, but the first thing to do is compile a cross toolchain and
    2.70 -modify the main cook.conf variables to use a correct ARCH, CFLAGS and BUILD_SYSTEM
    2.71 +Cookutils lets you cross compile a package for a specific architecture. Say you
    2.72 +want to build ARM binaries from a standard i486 machine. Cookutils provides
    2.73 +helpers for the ARM platform, but the first thing to do is compile a cross
    2.74 +toolchain and modify the main cook.conf variables to use a correct ARCH, CFLAGS
    2.75 +and BUILD_SYSTEM
    2.76  
    2.77 -Cook handles HOST_ARCH and CROSS_* receipt variables. Some packages won't build or
    2.78 -are not packaged for an architecture and so cross compiling will fail if the
    2.79 +Cook handles HOST_ARCH and CROSS_* receipt variables. Some packages won't build
    2.80 +or are not packaged for an architecture and so cross compiling will fail if the
    2.81  package receipt has not been reviewed and includes HOST_ARCH. Here is an example
    2.82  and a list of cross variables:
    2.83  
    2.84  HOST_ARCH="i486 arm"
    2.85  CROSS_BUGS="Bugs description"
    2.86  
    2.87 -Before cross compiling, cook will automatically add cross-tools path to PATH, set
    2.88 -CC, AR, LD, etc and also export CROSS_COMPILE.
    2.89 +Before cross compiling, cook will automatically add cross-tools path to PATH,
    2.90 +set CC, AR, LD, etc and also export CROSS_COMPILE.
    2.91  
    2.92  
    2.93  Toolchain
    2.94  --------------------------------------------------------------------------------
    2.95  To rebuild the full SliTaz toolchain at once - cook and the Cooker will use the
    2.96 -slitaz-toolchain package. No built-in code manages that since it is not a
    2.97 +slitaz-toolchain package. No built-in code manages that since it is not a 
    2.98  common task. The toolchain package will build all needed packages in the correct
    2.99  order, which is very important.
   2.100  
   2.101 @@ -166,8 +167,8 @@
   2.102      * If you add a feature, add also the doc to explain it
   2.103      * Use clean case with space before case end ;;
   2.104        case "$pkg" in
   2.105 -	    a) echo "Hello World" ;;
   2.106 -	    *) continue ;;
   2.107 +        a) echo "Hello World" ;;
   2.108 +        *) continue ;;
   2.109        esac
   2.110      * Make commands and options as short as possible
   2.111      * Think to log everything to help debug
     3.1 --- a/cook	Tue Mar 19 09:04:37 2013 +0100
     3.2 +++ b/cook	Fri Mar 29 17:05:30 2013 +0000
     3.3 @@ -8,6 +8,20 @@
     3.4  #
     3.5  . /usr/lib/slitaz/libcook.sh
     3.6  
     3.7 +VERSION="3.1.4"
     3.8 +
     3.9 +# Internationalization.
    3.10 +. /usr/bin/gettext.sh
    3.11 +TEXTDOMAIN='cook'
    3.12 +export TEXTDOMAIN
    3.13 +
    3.14 +_()  echo -e "$(eval_gettext "$1")"
    3.15 +_n() echo -en "$(eval_gettext "$1")"
    3.16 +# to disable i18n:
    3.17 +# _()  echo -e "$1"
    3.18 +# _n() echo -en "$1"
    3.19 +
    3.20 +
    3.21  #
    3.22  # Functions
    3.23  #
    3.24 @@ -15,35 +29,35 @@
    3.25  usage() {
    3.26  	cat << EOT
    3.27  
    3.28 -$(echo -e "\033[1m$(gettext "Usage:")\033[0m") cook [package|command] [list|--option]
    3.29 +$(_ "\033[1mUsage:\033[0m cook [package|command] [list|--option]")
    3.30  
    3.31 -$(echo -e "\033[1m$(gettext "Commands:")\033[0m")
    3.32 -  usage|help         $(gettext "Display this short usage.")
    3.33 -  setup              $(gettext "Setup your build environment.")
    3.34 -  *-setup            $(gettext "Setup a cross environment.")
    3.35 -  test               $(gettext "Test environment and cook a package.")
    3.36 -  list-wok           $(gettext "List packages in the wok.")
    3.37 -  search             $(gettext "Simple packages search function.")
    3.38 -  new                $(gettext "Create a new package with a receipt".)
    3.39 -  list               $(gettext "Cook a list of packages.")
    3.40 -  clean-wok          $(gettext "Clean-up all packages files.")
    3.41 -  clean-src          $(gettext "Clean-up all packages sources.")
    3.42 -  pkgdb              $(gettext "Create packages DB lists and flavors.")
    3.43 +$(_ "\033[1mCommands:\033[0m")
    3.44 +  usage|help         $(_ "Display this short usage.")
    3.45 +  setup              $(_ "Setup your build environment.")
    3.46 +  *-setup            $(_ "Setup a cross environment.")
    3.47 +  test               $(_ "Test environment and cook a package.")
    3.48 +  list-wok           $(_ "List packages in the wok.")
    3.49 +  search             $(_ "Simple packages search function.")
    3.50 +  new                $(_ "Create a new package with a receipt.")
    3.51 +  list               $(_ "Cook a list of packages.")
    3.52 +  clean-wok          $(_ "Clean-up all packages files.")
    3.53 +  clean-src          $(_ "Clean-up all packages sources.")
    3.54 +  pkgdb              $(_ "Create packages DB lists and flavors.")
    3.55  
    3.56 -$(echo -e "\033[1m$(gettext "Options:")\033[0m")
    3.57 -  --clean|-c         Cook : $(gettext "clean the package in the wok.")
    3.58 -  --install|-i       Cook : $(gettext "cook and install the package.")
    3.59 -  --getsrc|-gs       Cook : $(gettext "get the package source tarball.")
    3.60 -  --block|-b         Cook : $(gettext "Block a package so cook will skip it.")
    3.61 -  --unblock|-ub      Cook : $(gettext "Unblock a blocked package.")
    3.62 -  --pack             Cook : $(gettext "repack an already built package.")
    3.63 -  --interactive|-x   New  : $(gettext "create a receipt interactively.")
    3.64 -  --wok              Setup: $(gettext "clone the cooking wok from Hg repo.")
    3.65 -  --stable           Setup: $(gettext "clone the stable wok from Hg repo.")
    3.66 -  --undigest         Setup: $(gettext "clone the undigest wok from Hg repo.")
    3.67 -  --tiny             Setup: $(gettext "clone the tiny SliTaz wok from Hg repo.")
    3.68 -  --forced           Setup: $(gettext "force reinstall of chroot packages.")
    3.69 -  --flavors          Pkgdb: $(gettext "create up-to-date flavors files.")
    3.70 +$(_ "\033[1mOptions:\033[0m")
    3.71 +  --clean|-c         Cook : $(_ "clean the package in the wok.")
    3.72 +  --install|-i       Cook : $(_ "cook and install the package.")
    3.73 +  --getsrc|-gs       Cook : $(_ "get the package source tarball.")
    3.74 +  --block|-b         Cook : $(_ "block a package so cook will skip it.")
    3.75 +  --unblock|-ub      Cook : $(_ "unblock a blocked package.")
    3.76 +  --pack             Cook : $(_ "repack an already built package.")
    3.77 +  --interactive|-x   New  : $(_ "create a receipt interactively.")
    3.78 +  --wok              Setup: $(_ "clone the cooking wok from Hg repo.")
    3.79 +  --stable           Setup: $(_ "clone the stable wok from Hg repo.")
    3.80 +  --undigest         Setup: $(_ "clone the undigest wok from Hg repo.")
    3.81 +  --tiny             Setup: $(_ "clone the tiny SliTaz wok from Hg repo.")
    3.82 +  --forced           Setup: $(_ "force reinstall of chroot packages.")
    3.83 +  --flavors          Pkgdb: $(_ "create up-to-date flavors files.")
    3.84  
    3.85  EOT
    3.86  	exit 0
    3.87 @@ -58,23 +72,24 @@
    3.88  # Be sure package exists in wok.
    3.89  check_pkg_in_wok() {
    3.90  	if [ ! -d "$WOK/$pkg" ]; then
    3.91 -		gettext -e "\nUnable to find package in the wok:"
    3.92 -		echo -e " $pkg\n" && exit 1
    3.93 +		newline; _ "Unable to find package in the wok: \$pkg"; newline
    3.94 +		exit 1
    3.95  	fi
    3.96  }
    3.97  
    3.98  if_empty_value() {
    3.99  	if [ -z "$value" ]; then
   3.100 -		gettext "QA: empty variable:"; echo -e " ${var}=\"\"\n"
   3.101 +		# L10n: QA is quality assurance
   3.102 +		_ "QA: empty variable: \${var}=\"\""; newline
   3.103  		exit 1
   3.104  	fi
   3.105  }
   3.106  
   3.107  # Initialize files used in $CACHE
   3.108  init_db_files() {
   3.109 -	gettext "Creating directories structure in:"; echo " $SLITAZ"
   3.110 +	_ "Creating directories structure in: \$SLITAZ"
   3.111  	mkdir -p $WOK $PKGS $SRC $CACHE $LOGS $FEEDS
   3.112 -	gettext "Creating DB files in:"; echo " $CACHE"
   3.113 +	_ "Creating DB files in: \$CACHE"
   3.114  	for f in $activity $command $broken $blocked
   3.115  	do
   3.116  		touch $f
   3.117 @@ -83,7 +98,7 @@
   3.118  
   3.119  # QA: check a receipt consistency before building.
   3.120  receipt_quality() {
   3.121 -	gettext -e "QA: checking package receipt...\n"
   3.122 +	_ "QA: checking package receipt..."
   3.123  	unset online
   3.124  	if ifconfig | grep -q -A 1 "^[a-z]*[0-9]" | fgrep 'addr:'; then
   3.125  		online="online"
   3.126 @@ -97,10 +112,11 @@
   3.127  				if_empty_value ;;
   3.128  			CATEGORY)
   3.129  				[ -z "$value" ] && value="empty"
   3.130 -				valid="$PKGS_CATEGORIES"
   3.131 +				valid="$(echo $PKGS_CATEGORIES)" # avoid newlines
   3.132  				if ! echo "$valid" | grep -q -w "$value"; then
   3.133 -					gettext "QA: unknown category:"; echo -e " $value\n"
   3.134 -					exit 1
   3.135 +					_ "QA: unknown category: \$value"
   3.136 +					_ "Please, use one of: \$valid" | busybox fold -s
   3.137 +					newline; exit 1
   3.138  				fi ;;
   3.139  			WEB_SITE)
   3.140  				# We don't check WGET_URL since if dl is needed it will fail.
   3.141 @@ -108,7 +124,7 @@
   3.142  				if_empty_value
   3.143  				[ -z "$online" ] || break
   3.144  				if ! busybox wget -T 12 -s $value 2>/dev/null; then
   3.145 -					gettext "QA: Unable to reach:"; echo -e " $value"
   3.146 +					_ "QA: unable to reach: \$value"
   3.147  				fi ;;
   3.148  		esac
   3.149  	done
   3.150 @@ -161,7 +177,7 @@
   3.151  	local tarball
   3.152  	tarball=$pkgsrc.tar.bz2
   3.153  	[ "$LZMA_SRC" ] && tarball=$lzma_tarball
   3.154 -	gettext "Creating tarball: "; echo "$tarball"
   3.155 +	_ "Creating tarball: \$tarball"
   3.156  	if [ "$LZMA_SRC" ]; then
   3.157  		tar -c $pkgsrc | lzma e $SRC/$tarball -si $LZMA_SET_DIR || exit 1
   3.158  		LZMA_SRC=""
   3.159 @@ -181,35 +197,35 @@
   3.160  		http://*|ftp://*)
   3.161  			# Busybox Wget is better!
   3.162  			busybox wget -T 60 -c -O $SRC/$TARBALL $WGET_URL || \
   3.163 -				(echo -e "ERROR: wget $WGET_URL" && exit 1) ;;
   3.164 +				(_ "ERROR: wget \$WGET_URL" && exit 1) ;;
   3.165  		https://*)
   3.166  			wget -c --no-check-certificate -O $SRC/$TARBALL $WGET_URL || \
   3.167 -				(echo -e "ERROR: wget $WGET_URL" && exit 1) ;;
   3.168 +				(_ "ERROR: wget \$WGET_URL" && exit 1) ;;
   3.169  		hg*|mercurial*)
   3.170  			if $(echo "$WGET_URL" | fgrep -q "hg|"); then
   3.171  				url=${WGET_URL#hg|}
   3.172  			else
   3.173  				url=${WGET_URL#mercurial|}
   3.174  			fi
   3.175 -			gettext -e "Getting source from Hg...\n"
   3.176 -			echo "URL: $url"
   3.177 -			gettext "Cloning to: "; echo "$pwd/$pkgsrc"
   3.178 +			_ "Getting source from Hg..."
   3.179 +			_ "URL: \$url"
   3.180 +			_ "Cloning to: \$pwd/\$pkgsrc"
   3.181  			if [ "$BRANCH" ]; then
   3.182 -				echo "Hg branch: $BRANCH"
   3.183 +				_ "Hg branch: \$BRANCH"
   3.184  				hg clone $url --rev $BRANCH $pkgsrc || \
   3.185 -					(echo "ERROR: hg clone $url --rev $BRANCH" && exit 1)
   3.186 +					(_ "ERROR: hg clone \$url --rev \$BRANCH" && exit 1)
   3.187  			else
   3.188 -				hg clone $url $pkgsrc || (echo "ERROR: hg clone $url" && exit 1)
   3.189 +				hg clone $url $pkgsrc || (_ "ERROR: hg clone \$url" && exit 1)
   3.190  			fi
   3.191  			rm -rf $pkgsrc/.hg
   3.192  			create_tarball ;;
   3.193  		git*)
   3.194  			url=${WGET_URL#git|}
   3.195 -			gettext -e "Getting source from Git...\n"
   3.196 -			echo "URL: $url"
   3.197 -			git clone $url $pkgsrc || (echo "ERROR: git clone $url" && exit 1)
   3.198 +			_ "Getting source from Git..."
   3.199 +			_ "URL: \$url"
   3.200 +			git clone $url $pkgsrc || (_ "ERROR: git clone \$url" && exit 1)
   3.201  			if [ "$BRANCH" ]; then
   3.202 -				echo "Git branch: $BRANCH"
   3.203 +				_ "Git branch: \$BRANCH"
   3.204  				cd $pkgsrc && git checkout $BRANCH && cd ..
   3.205  			fi
   3.206  			create_tarball ;;
   3.207 @@ -217,10 +233,10 @@
   3.208  			url=${WGET_URL#cvs|}
   3.209  			mod=$PACKAGE
   3.210  			[ "$CVS_MODULE" ] && mod=$CVS_MODULE
   3.211 -			gettext -e "Getting source from CVS...\n"
   3.212 -			echo "URL: $url"
   3.213 -			[ "$CVS_MODULE" ] && echo "CVS module: $mod"
   3.214 -			gettext "Cloning to: "; echo "$pwd/$mod"
   3.215 +			_ "Getting source from CVS..."
   3.216 +			_ "URL: \$url"
   3.217 +			[ "$CVS_MODULE" ] && _ "CVS module: \$mod"
   3.218 +			_ "Cloning to: \$pwd/\$mod"
   3.219  			cvs -d:$url co $mod && mv $mod $pkgsrc
   3.220  			create_tarball ;;
   3.221  		svn*|subversion*)
   3.222 @@ -229,8 +245,8 @@
   3.223  			else
   3.224  				url=${WGET_URL#subversion|}
   3.225  			fi
   3.226 -			gettext -e "Getting source from SVN...\n"
   3.227 -			echo "URL: $url"
   3.228 +			_ "Getting source from SVN..."
   3.229 +			_ "URL: \$url"
   3.230  			if [ "$BRANCH" ]; then
   3.231  				echo t | svn co $url -r $BRANCH $pkgsrc
   3.232  			else
   3.233 @@ -239,7 +255,7 @@
   3.234  			create_tarball ;;
   3.235  		bzr*)
   3.236  			url=${WGET_URL#bzr|}
   3.237 -			gettext -e "Getting source from bazaar...\n"
   3.238 +			_ "Getting source from bazaar..."
   3.239  			cd $SRC
   3.240  			pkgsrc=${url#*:}
   3.241  			if [ "$BRANCH" ]; then
   3.242 @@ -249,14 +265,14 @@
   3.243  				echo "bzr -Ossl.cert_reqs=none branch $url"
   3.244  				bzr -Ossl.cert_reqs=none branch $url
   3.245  				cd $pkgsrc && BRANCH=$(bzr revno) && cd ..
   3.246 -				gettext -e "Don't forget to add to receipt:\n"
   3.247 -				echo -e 'BRANCH="'$BRANCH'"'"\n\n"
   3.248 +				_ "Don't forget to add to receipt:"
   3.249 +				echo 'BRANCH="'$BRANCH'"'; newline
   3.250  			fi
   3.251  			mv $pkgsrc $pkgsrc-$BRANCH
   3.252  			pkgsrc=$pkgsrc-$BRANCH
   3.253  			create_tarball ;;
   3.254  		*)
   3.255 -			gettext -e "\nERROR: Unable to handle:"; echo -e " $WGET_URL \n" | \
   3.256 +			(newline; _ "ERROR: Unable to handle: \$WGET_URL"; newline) | \
   3.257  				tee -a $LOGS/$PACKAGE.log
   3.258  			exit 1 ;;
   3.259  	esac
   3.260 @@ -268,10 +284,10 @@
   3.261  		local url
   3.262  		url="$MIRROR_URL/sources/packages"
   3.263  		url=$url/${TARBALL:0:1}/$TARBALL
   3.264 -		gettext "Getting source from mirror:"; echo " $url"
   3.265 -		busybox wget -c -P $SRC $url || echo -e "ERROR: wget $url"
   3.266 +		_ "Getting source from mirror: \$url"
   3.267 +		busybox wget -c -P $SRC $url || _ "ERROR: wget \$url"
   3.268  	fi
   3.269 -	gettext "Extracting:"; echo " $TARBALL"
   3.270 +	_ "Extracting: \$TARBALL"
   3.271  	case "$TARBALL" in
   3.272  		*.tar.gz|*.tgz) tar xzf $SRC/$TARBALL 2>/dev/null ;;
   3.273  		*.tar.bz2|*.tbz|*.tbz2) tar xjf $SRC/$TARBALL 2>/dev/null ;;
   3.274 @@ -295,41 +311,46 @@
   3.275  	size=$(du -sh $PKGS/$pkg-${VERSION}*.tazpkg | awk '{print $1}')
   3.276  	files=$(cat $WOK/$pkg/taz/$pkg-*/files.list | wc -l)
   3.277  	[ "$TARBALL" ] && srcsize=$(du -sh $SRC/$TARBALL | awk '{print $1}')
   3.278 -	cookdate=$(date "+%Y-%m-%d %H:%M")
   3.279 +	cookdate=$(date "$(_ '+%Y-%m-%d %H:%M')")
   3.280  	sec=$time
   3.281  	div=$(( ($time + 30) / 60))
   3.282 -	[ "$div" != 0 ] && min="~ ${div}m"
   3.283 -	gettext "Summary for:"; echo " $PACKAGE $VERSION"
   3.284 +	# L10n: 'm' is for minutes (approximate cooking time)
   3.285 +	min=$(_n "~ \${div}m"); [ "$div" = 0 ] && min=""
   3.286 +	_ "Summary for: \$PACKAGE \$VERSION"
   3.287  	separator
   3.288 -	[ "$srcdir" ] && echo "Source dir  : $srcdir"
   3.289 -	[ "$TARBALL" ] && echo "Src file    : $TARBALL"
   3.290 -	[ "$srcsize" ] && echo "Src size    : $srcsize"
   3.291 -	[ "$prod" ] && echo "Produced    : $prod"
   3.292 -	cat << EOT
   3.293 -Packed      : $fs
   3.294 -Compressed  : $size
   3.295 -Files       : $files
   3.296 -Cook time   : ${sec}s $min
   3.297 -Cook date   : $cookdate
   3.298 -Host arch   : $ARCH
   3.299 -$(separator)
   3.300 -EOT
   3.301 +	# L10n: keep the same width of translations to get a consistent view
   3.302 +	[ "$srcdir" ]  && _ "Source dir  : \$srcdir"
   3.303 +	[ "$TARBALL" ] && _ "Src file    : \$TARBALL"
   3.304 +	[ "$srcsize" ] && _ "Src size    : \$srcsize"
   3.305 +	[ "$prod" ]    && _ "Produced    : \$prod"
   3.306 +	_ "Packed      : \$fs"
   3.307 +	_ "Compressed  : \$size"
   3.308 +	_ "Files       : \$files"
   3.309 +	# L10n: 's' is for seconds (cooking time)
   3.310 +	_ "Cook time   : \${sec}s \$min"
   3.311 +	_ "Cook date   : \$cookdate"
   3.312 +	_ "Host arch   : \$ARCH"
   3.313 +	separator
   3.314  }
   3.315  
   3.316  # Display debugging error info.
   3.317  debug_info() {
   3.318 -	echo -e "\nDebug information"
   3.319 -	separator
   3.320 -	echo "Cook date: $(date '+%Y-%m-%d %H:%M')"
   3.321 +	newline; _ "Debug information"; separator
   3.322 +	# L10n: specify your format of date and time (to help: man date)
   3.323 +	# L10n: not bad one is '+%x %R'
   3.324 +	datenow=$(date "$(_ '+%Y-%m-%d %H:%M')")
   3.325 +	_ "Cook date: \$datenow"
   3.326 +	# L10n: Please, translate all messages beginning with ERROR in a same way
   3.327 +	lerror=$(_n "ERROR")
   3.328  	for error in \
   3.329 -		ERROR "No package" "cp: can't" "can't open" "can't cd" \
   3.330 +		ERROR $lerror "No package" "cp: can't" "can't open" "can't cd" \
   3.331  		"error:" "fatal error:" "undefined reference to" \
   3.332  		"Unable to connect to" "link: cannot find the library" \
   3.333  		"CMake Error"
   3.334  	do
   3.335  		fgrep "$error" $LOGS/$pkg.log
   3.336  	done
   3.337 -	separator && newline
   3.338 +	separator; newline
   3.339  }
   3.340  
   3.341  # Copy all generic files (locale, pixmaps, .desktop). We use standard paths,
   3.342 @@ -395,7 +416,7 @@
   3.343  	fi
   3.344  }
   3.345  
   3.346 -# Find and strip : --strip-all (-s) or --strip-debug on static libs as well
   3.347 +# Find and strip: --strip-all (-s) or --strip-debug on static libs as well
   3.348  # as removing uneeded files like in Python packages. Cross compiled binaries
   3.349  # must be stripped with cross-tools aka $ARCH-slitaz-*-strip
   3.350  strip_package() {
   3.351 @@ -403,7 +424,7 @@
   3.352  		arm|x86_64) export STRIP=${HOST_SYSTEM}-strip ;;
   3.353  		*) export STRIP=strip ;;
   3.354  	esac
   3.355 -	gettext "Executing strip on all files..."
   3.356 +	_n "Executing strip on all files..."
   3.357  	for dir in $fs/bin $fs/sbin $fs/usr/bin $fs/usr/sbin $fs/usr/games
   3.358  	do
   3.359  		if [ -d "$dir" ]; then
   3.360 @@ -416,7 +437,7 @@
   3.361  
   3.362  	# Remove Python .pyc and .pyo from packages.
   3.363  	if echo "$PACKAGE $DEPENDS" | fgrep -q "python"; then
   3.364 -		gettext "Removing Python compiled files..."
   3.365 +		_n "Removing Python compiled files..."
   3.366  		find $fs -type f -name "*.pyc" -delete 2>/dev/null
   3.367  		find $fs -type f -name "*.pyo" -delete 2>/dev/null
   3.368  		status
   3.369 @@ -424,7 +445,7 @@
   3.370  
   3.371  	# Remove Perl perllocal.pod and .packlist from packages.
   3.372  	if echo "$DEPENDS" | fgrep -q "perl"; then
   3.373 -		gettext "Removing Perl compiled files..."
   3.374 +		_n "Removing Perl compiled files..."
   3.375  		find $fs -type f -name "perllocal.pod" -delete 2>/dev/null
   3.376  		find $fs -type f -name ".packlist" -delete 2>/dev/null
   3.377  		status
   3.378 @@ -438,14 +459,14 @@
   3.379  	if [ -s "$CACHE/installed.cook.diff" ]; then
   3.380  		deps=$(cat $diff | grep ^+[a-zA-Z0-9] | sed s/^+//)
   3.381  		nb=$(cat $diff | grep ^+[a-zA-Z0-9] | wc -l)
   3.382 -		gettext "Build dependencies to remove:"; echo " $nb $root"
   3.383 -		gettext "Removing:"
   3.384 +		_n "Build dependencies to remove: "; echo $nb $root
   3.385 +		_n "Removing:"
   3.386  		for dep in $deps
   3.387  		do
   3.388  			echo -n " $dep"
   3.389  			echo 'y' | tazpkg remove $dep --root=$root >/dev/null
   3.390  		done
   3.391 -		echo -e "\n"
   3.392 +		newline; newline
   3.393  		# Keep the last diff for debug and info.
   3.394  		mv -f $CACHE/installed.cook.diff $CACHE/installed.diff
   3.395  	fi
   3.396 @@ -453,27 +474,26 @@
   3.397  
   3.398  # The main cook function.
   3.399  cookit() {
   3.400 -	echo "Cook: $PACKAGE $VERSION"
   3.401 -	separator
   3.402 +	_ "Cook: \$PACKAGE \$VERSION"; separator
   3.403  	set_paths
   3.404  
   3.405  	# Handle cross-tools.
   3.406  	case "$ARCH" in
   3.407  		arm|x86_64)
   3.408  			# CROSS_COMPILE is used by at least Busybox and the kernel to set
   3.409 -			# the cross-tools prefix. Sysroot the the root of our target arch
   3.410 +			# the cross-tools prefix. Sysroot is the root of our target arch
   3.411  			sysroot=$CROSS_TREE/sysroot
   3.412  			tools=$CROSS_TREE/tools
   3.413  			# Set root path when cross compiling. ARM tested but not x86_64
   3.414  			# When cross compiling we must install build deps in $sysroot.
   3.415  			arch="-${ARCH}"
   3.416  			root=$sysroot
   3.417 -			echo "$ARCH sysroot: $sysroot"
   3.418 -			echo "Adding $tools/bin to PATH"
   3.419 +			_ "\$ARCH sysroot: \$sysroot"
   3.420 +			_ "Adding \$tools/bin to PATH"
   3.421  			export PATH=$PATH:$tools/bin
   3.422  			export PKG_CONFIG_PATH=$sysroot/usr/lib/pkgconfig
   3.423  			export CROSS_COMPILE=${HOST_SYSTEM}-
   3.424 -			echo "Using cross-tools: $CROSS_COMPILE"
   3.425 +			_ "Using cross-tools: \$CROSS_COMPILE"
   3.426  			if [ "$ARCH" == "x86_64" ]; then
   3.427  				export CC="${HOST_SYSTEM}-gcc -m64"
   3.428  				export CXX="${HOST_SYSTEM}-g++ -m64"
   3.429 @@ -495,7 +515,7 @@
   3.430  	# Disable -pipe if less than 512Mb free RAM.
   3.431  	free=$(free | fgrep '/+ buffers' | tr -s ' ' | cut -f 4 -d ' ')
   3.432  	if [ "$free" -lt 524288 ] && [ "$CFLAGS" != "${CFLAGS/-pipe}" ]; then
   3.433 -			gettext -e "Disabling -pipe compile flag: $free RAM\n"
   3.434 +			_ "Disabling -pipe compile flag: \$free RAM"
   3.435  			CFLAGS="${CFLAGS/-pipe}" && CFLAGS=$(echo "$CFLAGS" | tr -s ' ')
   3.436  			CXXFLAGS="${CXXFLAGS/-pipe}" && \
   3.437  				CXXFLAGS=$(echo "$CXXFLAGS" | tr -s ' ')
   3.438 @@ -504,6 +524,7 @@
   3.439  
   3.440  	# Export flags and path to be used by make and receipt.
   3.441  	DESTDIR=$pkgdir/install
   3.442 +	# FIXME: L10n: Is this the right time for 'LC_ALL=C LANG=C'?
   3.443  	export DESTDIR MAKEFLAGS CFLAGS CXXFLAGS CONFIG_SITE LC_ALL=C LANG=C
   3.444  	#LDFLAGS
   3.445  
   3.446 @@ -511,8 +532,8 @@
   3.447  	# (ex: libusb-dev :: libusb).
   3.448  	rm -f $CACHE/installed.local $CACHE/installed.web $CACHE/missing.dep
   3.449  	touch $CACHE/installed.local $CACHE/installed.web
   3.450 -	[ "$BUILD_DEPENDS" ] && gettext -e "Checking build dependencies...\n"
   3.451 -	[ "$root" ] && echo "Using packages DB: ${root}$DB"
   3.452 +	[ "$BUILD_DEPENDS" ] && _ "Checking build dependencies..."
   3.453 +	[ "$root" ] && _ "Using packages DB: \${root}\$DB"
   3.454  	for dep in $BUILD_DEPENDS
   3.455  	do
   3.456  		implicit=${dep%-dev}
   3.457 @@ -538,7 +559,7 @@
   3.458  							echo $i >> $CACHE/installed.web
   3.459  						else
   3.460  							# So package exists in wok but not available.
   3.461 -							gettext "Missing dep (wok/pkg):"; echo " $i $vers"
   3.462 +							_ "Missing dep (wok/pkg): \$i \$vers"
   3.463  							echo $i >> $CACHE/missing.dep
   3.464  						fi
   3.465  					else
   3.466 @@ -546,7 +567,7 @@
   3.467  						if fgrep -q $i-${vers}${arch} ${root}$DB/packages.list; then
   3.468  							echo $i >> $CACHE/installed.web
   3.469  						else
   3.470 -							echo "ERROR: unknown dep $i" && exit 1
   3.471 +							_ "ERROR: unknown dep \$i"; exit 1
   3.472  						fi
   3.473  					fi
   3.474  				fi
   3.475 @@ -557,17 +578,20 @@
   3.476  	# Get the list of installed packages
   3.477  	cd ${root}$INSTALLED && ls -1 > $CACHE/installed.list
   3.478  
   3.479 -	# Have we a missing build dep to cook ?
   3.480 +	# Have we a missing build dep to cook?
   3.481  	if [ -s "$CACHE/missing.dep" ] && [ "$AUTO_COOK" ]; then
   3.482 -		gettext -e "Auto cook config is set   : AUTO_COOK\n"
   3.483 +		_ "Auto cook config is set: AUTO_COOK"
   3.484  		cp -f $LOGS/$PACKAGE.log $LOGS/$PACKAGE.log.$$
   3.485  		for i in $(uniq $CACHE/missing.dep)
   3.486  		do
   3.487 -			(gettext "Building dep (wok/pkg)    :"; echo " $i $vers") | \
   3.488 +			(_ "Building dep (wok/pkg)    : \$i \$vers") | \
   3.489  				tee -a $LOGS/$PACKAGE.log.$$
   3.490 -			cook $i || (echo -e "ERROR: can't cook dep '$i'\n" && \
   3.491 -				fgrep "remove: " $LOGS/$i.log && \
   3.492 -				fgrep "Removing: " $LOGS/$i.log && newline) | \
   3.493 +			# programmers: next two messages are exact copy from remove_deps()
   3.494 +			togrep1=$(_n "Build dependencies to remove: ")
   3.495 +			togrep2=$(_n "Removing:")
   3.496 +			cook $i || (_ "ERROR: can't cook dep '\$i'" && newline && \
   3.497 +				fgrep $togrep1 $LOGS/$i.log && \
   3.498 +				fgrep $togrep2 $LOGS/$i.log && newline) | \
   3.499  				tee -a $LOGS/$PACKAGE.log.$$ && break
   3.500  		done
   3.501  		rm -f $CACHE/missing.dep
   3.502 @@ -577,16 +601,17 @@
   3.503  	# QA: Exit on missing dep errors. We exit in both cases, if AUTO_COOK
   3.504  	# is enabled and cook fails we have ERROR in log, if no auto cook we have
   3.505  	# missing dep in cached file.
   3.506 -	if fgrep -q "ERROR:" $LOGS/$pkg.log || [ -s "$CACHE/missing.dep" ]; then
   3.507 +	lerror=$(_n "ERROR")
   3.508 +	if fgrep -q $lerror $LOGS/$pkg.log || [ -s "$CACHE/missing.dep" ]; then
   3.509  		[ -s "$CACHE/missing.dep" ] && nb=$(cat $CACHE/missing.dep | wc -l)
   3.510 -		echo "ERROR: missing dep $nb" && exit 1
   3.511 +		_ "ERROR: missing dep \$nb" && exit 1
   3.512  	fi
   3.513  
   3.514  	# Install local packages: package-version${arch}
   3.515  	cd $PKGS
   3.516  	for i in $(uniq $CACHE/installed.local)
   3.517  	do
   3.518 -		gettext "Installing dep (pkg/local):"; echo " $i"
   3.519 +		_ "Installing dep (pkg/local): \$i"
   3.520  		tazpkg install $i --root=$root >/dev/null
   3.521  	done
   3.522  
   3.523 @@ -594,7 +619,7 @@
   3.524  	# use local packages).
   3.525  	for i in $(uniq $CACHE/installed.web)
   3.526  	do
   3.527 -		gettext "Installing dep (web/cache):"; echo " $i"
   3.528 +		_ "Installing dep (web/cache): \$i"
   3.529  		tazpkg get-install $i --root=$root >/dev/null
   3.530  	done
   3.531  
   3.532 @@ -644,7 +669,7 @@
   3.533  
   3.534  	# Execute receipt rules.
   3.535  	if grep -q ^compile_rules $receipt; then
   3.536 -		echo "Executing: compile_rules"
   3.537 +		_ "Executing: compile_rules"
   3.538  		echo "CFLAGS   : $CFLAGS"
   3.539  		#echo "LDFLAGS  : $LDFLAGS"
   3.540  		[ -d "$src" ] && cd $src
   3.541 @@ -654,27 +679,27 @@
   3.542  		# QA: compile_rules success so valid.
   3.543  		mkdir -p $install
   3.544  	else
   3.545 -		# QA: No compile_rules so no error, valid.
   3.546 +		# QA: no compile_rules so no error, valid.
   3.547  		mkdir -p $install
   3.548  	fi
   3.549 -	separator && newline
   3.550 +	separator; newline
   3.551  
   3.552  	# Execute testsuite.
   3.553  	if grep -q ^testsuite $receipt; then
   3.554 -		echo "Running testsuite"
   3.555 -		separator
   3.556 +		_ "Running testsuite"; separator
   3.557  		testsuite $@ || exit 1
   3.558 -		separator && newline
   3.559 +		separator; newline
   3.560  	fi
   3.561  }
   3.562  
   3.563  # Cook quality assurance.
   3.564  cookit_quality() {
   3.565  	if [ ! -d "$WOK/$pkg/install" ] && [ ! "$WANTED" ]; then
   3.566 -		echo -e "ERROR: cook failed" | tee -a $LOGS/$pkg.log
   3.567 +		_ "ERROR: cook failed" | tee -a $LOGS/$pkg.log
   3.568  	fi
   3.569  	# ERROR can be echoed any time in cookit()
   3.570 -	if grep -Eq '(ERROR:|undefined reference to)' $LOGS/$pkg.log; then
   3.571 +	lerror=$(_n "ERROR")
   3.572 +	if grep -Eq "($lerror|undefined reference to)" $LOGS/$pkg.log; then
   3.573  		debug_info | tee -a $LOGS/$pkg.log
   3.574  		rm -f $command && exit 1
   3.575  	fi
   3.576 @@ -690,21 +715,21 @@
   3.577  		arm|x86_64) arch="-$ARCH" ;;
   3.578  	esac
   3.579  
   3.580 -	echo "Pack: $PACKAGE ${VERSION}${arch}"
   3.581 -	separator
   3.582 +	_ "Pack: \$PACKAGE \${VERSION}\${arch}"; separator
   3.583  
   3.584  	if grep -q ^genpkg_rules $receipt; then
   3.585 -		gettext -e "Executing: genpkg_rules\n"
   3.586 +		_ "Executing: genpkg_rules"
   3.587  		set -e && cd $pkgdir && mkdir -p $fs
   3.588 -		genpkg_rules || echo -e "\nERROR: genpkg_rules failed\n" >> \
   3.589 +		genpkg_rules || (newline; _ "ERROR: genpkg_rules failed"; newline) >> \
   3.590  			$LOGS/$pkg.log
   3.591  	else
   3.592 -		gettext "No packages rules: meta package"; echo
   3.593 +		_ "No packages rules: meta package"
   3.594  		mkdir -p $fs
   3.595  	fi
   3.596  
   3.597  	# First QA check to stop now if genpkg_rules failed.
   3.598 -	if fgrep -q ERROR: $LOGS/$pkg.log; then
   3.599 +	lerror=$(_n "ERROR")
   3.600 +	if fgrep -q $lerror $LOGS/$pkg.log; then
   3.601  		exit 1
   3.602  	fi
   3.603  
   3.604 @@ -712,13 +737,14 @@
   3.605  	for file in receipt description.txt
   3.606  	do
   3.607  		[ ! -f "../$file" ] && continue
   3.608 -		gettext "Copying"; echo -n " $file..."
   3.609 +		_n "Copying \$file..."
   3.610  		cp -f ../$file $pack && chown 0.0 $pack/$file && status
   3.611  	done
   3.612  	copy_generic_files
   3.613  
   3.614  	# Create files.list with redirecting find output.
   3.615 -	gettext "Creating the list of files..." && cd $fs
   3.616 +	_n "Creating the list of files..."
   3.617 +	cd $fs
   3.618  	find . -type f -print > ../files.list
   3.619  	find . -type l -print >> ../files.list
   3.620  	cd .. && sed -i s/'^.'/''/ files.list
   3.621 @@ -728,7 +754,7 @@
   3.622  	strip_package
   3.623  
   3.624  	# Md5sum of files.
   3.625 -	gettext "Creating md5sum of files..."
   3.626 +	_n "Creating md5sum of files..."
   3.627  	while read file; do
   3.628  		[ -L "fs$file" ] && continue
   3.629  		[ -f "fs$file" ] || continue
   3.630 @@ -743,14 +769,14 @@
   3.631  		'{ sz=$1 } END { print sz }')
   3.632  
   3.633  	# Build cpio archives.
   3.634 -	gettext "Compressing the fs... "
   3.635 +	_n "Compressing the fs..."
   3.636  	find fs | cpio -o -H newc --quiet | lzma e fs.cpio.lzma -si
   3.637  	rm -rf fs
   3.638  	status
   3.639  	PACKED_SIZE=$(du -chs fs.cpio.lzma receipt files.list \
   3.640  		md5sum description.txt 2> /dev/null | awk \
   3.641  		'{ sz=$1 } END { print sz }')
   3.642 -	gettext "Updating receipt sizes..."
   3.643 +	_n "Updating receipt sizes..."
   3.644  	sed -i s/^PACKED_SIZE.*$// receipt
   3.645  	sed -i s/^UNPACKED_SIZE.*$// receipt
   3.646  	sed -i "s/^PACKAGE=/PACKED_SIZE=\"$PACKED_SIZE\"\nUNPACKED_SIZE=\"$UNPACKED_SIZE\"\nPACKAGE=/" receipt
   3.647 @@ -758,18 +784,18 @@
   3.648  
   3.649  	# Set extra version.
   3.650  	if [ "$EXTRAVERSION" ]; then
   3.651 -		gettext "Updating receipt EXTRAVERSION: "; echo -n "$EXTRAVERSION"
   3.652 +		_n "Updating receipt EXTRAVERSION: \$EXTRAVERSION"
   3.653  		sed -i s/^EXTRAVERSION.*$// receipt
   3.654  		sed -i "s/^VERSION=/EXTRAVERSION=\"$EXTRAVERSION\"\nVERSION=/" receipt
   3.655  		status
   3.656  	fi
   3.657  
   3.658  	# Compress.
   3.659 -	gettext "Creating full cpio archive... "
   3.660 +	_n "Creating full cpio archive..."
   3.661  	find . -print | cpio -o -H newc --quiet > \
   3.662  		../$PACKAGE-${VERSION}${EXTRAVERSION}${arch}.tazpkg
   3.663  	status
   3.664 -	gettext "Restoring original package tree... "
   3.665 +	_n "Restoring original package tree..."
   3.666  	unlzma -c fs.cpio.lzma | cpio -idm --quiet
   3.667  	status
   3.668  	rm fs.cpio.lzma && cd ..
   3.669 @@ -777,32 +803,34 @@
   3.670  	# QA and give info.
   3.671  	tazpkg=$(ls *.tazpkg)
   3.672  	packit_quality
   3.673 -	separator && gettext "Package:"; echo -e " $tazpkg\n"
   3.674 +	separator; _ "Package: \$tazpkg"; newline
   3.675  }
   3.676  
   3.677  # Verify package quality and consistency.
   3.678  packit_quality() {
   3.679 -	#gettext "QA: Checking for broken link..."
   3.680 +	#gettext "QA: checking for broken link..."
   3.681  	#link=$(find $fs/usr -type l -follow)
   3.682  	#[ "$link" ] && echo -e "\nERROR: broken link in filesystem"
   3.683  	#status
   3.684  
   3.685  	# Exit if any error found in log file.
   3.686 -	if fgrep -q ERROR: $LOGS/$pkg.log; then
   3.687 +	lerror=$(_n "ERROR")
   3.688 +	if fgrep -q $lerror $LOGS/$pkg.log; then
   3.689  		rm -f $command && exit 1
   3.690  	fi
   3.691  
   3.692 -	gettext "QA: Checking for empty package..."
   3.693 +	_n "QA: checking for empty package..."
   3.694  	files=$(cat $WOK/$pkg/taz/$pkg-*/files.list | wc -l)
   3.695  	if [ "$files" == 0 ] && [ "$CATEGORY" != "meta" ]; then
   3.696 -		echo -e "\nERROR: empty package"
   3.697 +		newline; _ "ERROR: empty package"
   3.698  		rm -f $command && exit 1
   3.699  	else
   3.700  		# Ls sort by name so the first file is the one we want.
   3.701  		old=$(ls $PKGS/$pkg-*.tazpkg 2>/dev/null | head -n 1)
   3.702  		status
   3.703  		if [ -f "$old" ]; then
   3.704 -			gettext "Removing old: $(basename $old)"
   3.705 +			old_pkg=$(basename $old)
   3.706 +			_n "Removing old: \$old_pkg"
   3.707  			rm -f $old && status
   3.708  		fi
   3.709  		mv -f $pkgdir/taz/$pkg-*.tazpkg $PKGS
   3.710 @@ -832,7 +860,7 @@
   3.711  			cd $PKGS && tazpkg install \
   3.712  				$PACKAGE-${VERSION}${EXTRAVERSION}.tazpkg --forced
   3.713  		else
   3.714 -			gettext -e "Unable to install package, build has failed.\n\n"
   3.715 +			_ "Unable to install package, build has failed."; newline
   3.716  			exit 1
   3.717  		fi
   3.718  	fi
   3.719 @@ -841,8 +869,8 @@
   3.720  	if [ -d "${root}$INSTALLED/$pkg" ]; then
   3.721  		. /etc/slitaz/cook.conf
   3.722  		. $WOK/$pkg/taz/$pkg-*/receipt
   3.723 -		echo "Updating $ARCH chroot environment..."
   3.724 -		echo "Updating chroot: $pkg (${VERSION}${EXTRAVERSION}${arch})" | log
   3.725 +		_ "Updating \$ARCH chroot environment..."
   3.726 +		_ "Updating chroot: \$pkg (\${VERSION}\${EXTRAVERSION}\${arch})" | log
   3.727  		cd $PKGS && tazpkg install \
   3.728  			$pkg-${VERSION}${EXTRAVERSION}${arch}.tazpkg \
   3.729  			--forced --root=$root
   3.730 @@ -856,14 +884,14 @@
   3.731  
   3.732  	base=/dev/shm/aufsmnt$$
   3.733  
   3.734 -	# Can we setup the chroot ? Is it already done ?
   3.735 +	# Can we setup the chroot? Is it already done?
   3.736  	grep -q ^AUFS_NOT_SUPPORTED $receipt && return
   3.737  	grep -q ^AUFS_NOT_RAMFS $receipt && base=/mnt/aufsmnt$$
   3.738  	[ -n "$AUFS_MOUNTS" -a ! -f /aufs-umount.sh ] || return
   3.739  	lsmod | grep -q aufs || modprobe aufs 2> /dev/null || return
   3.740  	mkdir ${base}root ${base}rw || return
   3.741  
   3.742 -	echo "Setup aufs chroot..."
   3.743 +	_ "Setup aufs chroot..."
   3.744  
   3.745  	# Sanity check
   3.746  	for i in / /proc /sys /dev/shm /home ; do
   3.747 @@ -875,7 +903,7 @@
   3.748  	for mnt in $(echo $AUFS_MOUNTS | sort | uniq); do
   3.749  		mount --bind $mnt ${base}root$mnt
   3.750  		if [ $mnt == / ] && ! mount -t aufs -o br=${base}rw:/ none ${base}root; then
   3.751 -			echo "Aufs mountage failure"
   3.752 +			_ "Aufs mountage failure"
   3.753  			umount ${base}root
   3.754  			rmdir ${base}*
   3.755  			return
   3.756 @@ -886,7 +914,7 @@
   3.757  	chroot ${base}root $(cd $(dirname $0); pwd)/$(basename $0) "$@"
   3.758  	status=$?
   3.759  
   3.760 -	echo "Leaving aufs chroot..."
   3.761 +	_ "Leaving aufs chroot..."
   3.762  	tac ${base}rw/aufs-umount.sh | sh
   3.763  	rm -rf ${base}rw
   3.764  	umount ${base}root
   3.765 @@ -928,40 +956,36 @@
   3.766  	usage|help|-u|-h)
   3.767  		 usage ;;
   3.768  	list-wok)
   3.769 -		gettext -e "\nList of packages in:"; echo " $WOK"
   3.770 -		separator
   3.771 +		newline; _ "List of packages in: \$WOK"; separator
   3.772  		cd $WOK && ls -1
   3.773  		separator
   3.774 -		echo -n "Packages: " && ls | wc -l
   3.775 -		newline ;;
   3.776 +		pkg_total=$(ls | wc -l)
   3.777 +		_ "Packages: \$pkg_total"; newline ;;
   3.778  	activity)
   3.779  		cat $activity ;;
   3.780  	search)
   3.781  		# Just a simple search function, we dont need more actually.
   3.782  		query="$2"
   3.783 -		newline
   3.784 -		gettext "Search results for:"; echo " $query"
   3.785 -		separator
   3.786 +		newline; _ "Search results for: \$query"; separator
   3.787  		cd $WOK && ls -1 | grep "$query"
   3.788 -		separator && newline ;;
   3.789 +		separator; newline ;;
   3.790  	setup)
   3.791  		# Setup a build environment
   3.792  		check_root
   3.793 -		echo "Cook: setup environment" | log
   3.794 -		newline
   3.795 -		gettext "Setting up your environment"; newline
   3.796 -		separator && cd $SLITAZ
   3.797 +		_ "Cook: setup environment" | log
   3.798 +		newline; _ "Setting up your environment"; separator
   3.799 +		cd $SLITAZ
   3.800  		init_db_files
   3.801 -		gettext "Checking for packages to install..."; echo
   3.802 +		_ "Checking for packages to install..."
   3.803  		# Use setup pkgs from cross.conf or cook.conf. When cross compiling
   3.804  		# ARCH-setup or 'cross check-env' should be used before: cook setup
   3.805  		case "$ARCH" in
   3.806  			arm|x86_64)
   3.807  				if [ ! -x "/usr/bin/cross" ]; then
   3.808 -					gettext "ERROR: cross is not installed"; echo
   3.809 +					_ "ERROR: cross is not installed"
   3.810  					exit 1
   3.811  				fi
   3.812 -				gettext "Using config file: /etc/slitaz/cross.conf"; echo
   3.813 +				_ "Using config file: /etc/slitaz/cross.conf"
   3.814  				. /etc/slitaz/cross.conf ;;
   3.815  		esac
   3.816  		for pkg in $SETUP_PKGS; do
   3.817 @@ -986,22 +1010,19 @@
   3.818  
   3.819  		# SliTaz group and permissions
   3.820  		if ! grep -q ^slitaz /etc/group; then
   3.821 -			gettext -e "Adding group: slitaz\n"
   3.822 +			_ "Adding group: slitaz"
   3.823  			addgroup slitaz
   3.824  		fi
   3.825 -		gettext -e "Setting permissions for slitaz group...\n"
   3.826 +		_ "Setting permissions for slitaz group..."
   3.827  		find $SLITAZ -maxdepth 2 -exec chown root.slitaz {} \;
   3.828  		find $SLITAZ -maxdepth 2 -exec chmod g+w {} \;
   3.829 -		separator
   3.830 -		gettext -e "All done, ready to cook packages :-)\n\n" ;;
   3.831 +		separator; _ "All done, ready to cook packages :-)"; newline ;;
   3.832  	*-setup)
   3.833  		# Setup for cross compiling.
   3.834  		arch=${1%-setup}
   3.835  		check_root
   3.836 -		echo "Cook: setup $arch cross environment" | log
   3.837 -		newline
   3.838 -		boldify $(gettext "Setting up your $arch cross environment")
   3.839 -		separator
   3.840 +		_ "Cook: setup \$arch cross environment" | log
   3.841 +		newline; boldify $(_n "Setting up your \$arch cross environment"); separator
   3.842  		init_db_files
   3.843  		sed -i \
   3.844  			-e s"/ARCH=.*/ARCH=\"$arch\"/" \
   3.845 @@ -1026,12 +1047,13 @@
   3.846  		tools=/cross/$arch/tools
   3.847  		root=$sysroot
   3.848  		CC=$tools/bin/${HOST_SYSTEM}-gcc
   3.849 -		echo "Target arch     : $ARCH"
   3.850 -		echo "Configure args  : $CONFIGURE_ARGS"
   3.851 -		echo "Arch sysroot    : $sysroot"
   3.852 -		echo "Tools prefix    : $tools/bin"
   3.853 +		# L10n: keep the same width of translations to get a consistent view
   3.854 +		_ "Target arch     : \$ARCH"
   3.855 +		_ "Configure args  : \$CONFIGURE_ARGS"
   3.856 +		_ "Arch sysroot    : \$sysroot"
   3.857 +		_ "Tools prefix    : \$tools/bin"
   3.858  		# Tell the packages manager where to find packages.
   3.859 -		echo "Packages DB     : ${root}$DB"
   3.860 +		_ "Packages DB     : \${root}\$DB"
   3.861  		mkdir -p ${root}$INSTALLED
   3.862  		cd ${root}$DB && rm -f *.bak
   3.863  		for list in packages.list packages.desc packages.equiv packages.md5
   3.864 @@ -1042,19 +1064,19 @@
   3.865  		# i486 package will be used as dep by tazpkg and then break the
   3.866  		# cross environment
   3.867  		if [ ! -f "${root}$INSTALLED/glibc-base/receipt" ]; then
   3.868 -			colorize 36 "WARNING: (e)glibc-base is not installed in sysroot"
   3.869 +			colorize 36 $(_ "WARNING: (e)glibc-base is not installed in sysroot")
   3.870  		fi
   3.871  		# Show GCC version or warn if not yet compiled.
   3.872  		if [ -x $CC ]; then
   3.873 -			echo "Cross compiler  : ${HOST_SYSTEM}-gcc"
   3.874 +			_ "Cross compiler  : \${HOST_SYSTEM}-gcc"
   3.875  		else
   3.876 -			colorize 36 "C compiler is missing: ${HOST_SYSTEM}-gcc"
   3.877 -			echo "Run 'cross compile' to cook a toolchain"
   3.878 +			colorize 36 $(_ "C compiler is missing: \${HOST_SYSTEM}-gcc")
   3.879 +			_ "Run 'cross compile' to cook a toolchain"
   3.880  		fi
   3.881 -		separator && newline ;;
   3.882 +		separator; newline ;;
   3.883  	test)
   3.884  		# Test a cook environment.
   3.885 -		echo "Cook test: testing the cook environment" | log
   3.886 +		_ "Cook test: testing the cook environment" | log
   3.887  		[ ! -d "$WOK" ] && exit 1
   3.888  		[ ! -d "$WOK/cooktest" ] && cp -r $DATA/cooktest $WOK
   3.889  		cook cooktest ;;
   3.890 @@ -1064,12 +1086,12 @@
   3.891  		[ "$pkg" ] || usage
   3.892  		newline
   3.893  		if [ -d "$WOK/$pkg" ]; then
   3.894 -			echo -n  "$pkg " && gettext "package already exists."
   3.895 -			echo -e "\n" && exit 1
   3.896 +			_ "\$pkg package already exists."
   3.897 +			exit 1
   3.898  		fi
   3.899 -		gettext "Creating"; echo -n " $WOK/$pkg"
   3.900 +		_n "Creating \$WOK/\$pkg"
   3.901  		mkdir $WOK/$pkg && cd $WOK/$pkg && status
   3.902 -		gettext "Preparing the package receipt..."
   3.903 +		_n "Preparing the package receipt..."
   3.904  		cp $DATA/receipt .
   3.905  		sed -i s"/^PACKAGE=.*/PACKAGE=\"$pkg\"/" receipt
   3.906  		status && newline
   3.907 @@ -1077,71 +1099,64 @@
   3.908  		# Interactive mode, asking and seding.
   3.909  		case "$3" in
   3.910  			--interactive|-x)
   3.911 -				gettext -e "Entering interactive mode...\n"
   3.912 +				_ "Entering interactive mode..."
   3.913  				separator
   3.914 -				echo "Package       : $pkg"
   3.915 -				# Version.
   3.916 -				echo -n "Version       : " ; read anser
   3.917 -				sed -i s/'VERSION=\"\"'/"VERSION=\"$anser\""/ receipt
   3.918 -				# Category.
   3.919 -				echo -n "Category      : " ; read anser
   3.920 -				sed -i s/'CATEGORY=\"\"'/"CATEGORY=\"$anser\""/ receipt
   3.921 -				# Short description.
   3.922 -				echo -n "Short desc    : " ; read anser
   3.923 -				sed -i s/'SHORT_DESC=\"\"'/"SHORT_DESC=\"$anser\""/ receipt
   3.924 -				# Maintainer.
   3.925 -				echo -n "Maintainer    : " ; read anser
   3.926 -				sed -i s/'MAINTAINER=\"\"'/"MAINTAINER=\"$anser\""/ receipt
   3.927 -				# License.
   3.928 -				echo -n "License       : " ; read anser
   3.929 -				sed -i s/'LICENSE=\"\"'/"LICENSE=\"$anser\""/ receipt
   3.930 -				# Web site.
   3.931 -				echo -n "Web site      : " ; read anser
   3.932 -				sed -i s#'WEB_SITE=\"\"'#"WEB_SITE=\"$anser\""# receipt
   3.933 +				_ "Package       : \$pkg"
   3.934 +				_n "Version       : " ; read answer
   3.935 +				sed -i s/'VERSION=\"\"'/"VERSION=\"$answer\""/ receipt
   3.936 +				_n "Category      : " ; read answer
   3.937 +				sed -i s/'CATEGORY=\"\"'/"CATEGORY=\"$answer\""/ receipt
   3.938 +				# L10n: Short description
   3.939 +				_n "Short desc    : " ; read answer
   3.940 +				sed -i s/'SHORT_DESC=\"\"'/"SHORT_DESC=\"$answer\""/ receipt
   3.941 +				_n "Maintainer    : " ; read answer
   3.942 +				sed -i s/'MAINTAINER=\"\"'/"MAINTAINER=\"$answer\""/ receipt
   3.943 +				_n "License       : " ; read answer
   3.944 +				sed -i s/'LICENSE=\"\"'/"LICENSE=\"$answer\""/ receipt
   3.945 +				_n "Web site      : " ; read answer
   3.946 +				sed -i s#'WEB_SITE=\"\"'#"WEB_SITE=\"$answer\""# receipt
   3.947  				newline
   3.948  				# Wget URL.
   3.949 -				echo "Wget URL to download source tarball."
   3.950 -				echo "Example  : \$GNU_MIRROR/\$PACKAGE/\$TARBALL"
   3.951 -				echo -n "Wget url : " ; read anser
   3.952 -				sed -i s#'WGET_URL=\"$TARBALL\"'#"WGET_URL=\"$anser\""# receipt
   3.953 +				_ "Wget URL to download source tarball."
   3.954 +				_n "Example  : " ; echo '$GNU_MIRROR/$PACKAGE/$TARBALL'
   3.955 +				_n "Wget url : " ; read answer
   3.956 +				sed -i s#'WGET_URL=\"$TARBALL\"'#"WGET_URL=\"$answer\""# receipt
   3.957  				# Ask for a stuff dir.
   3.958 -				echo -n "Do you need a stuff directory ? (y/N) : " ; read anser
   3.959 -				if [ "$anser" = "y" ]; then
   3.960 -					echo -n "Creating the stuff directory..."
   3.961 +				_n "Do you need a stuff directory? (y/N) : " ; read answer
   3.962 +				if [ "$answer" = "y" ]; then
   3.963 +					_n "Creating the stuff directory..."
   3.964  					mkdir $WOK/$pkg/stuff && status
   3.965  				fi
   3.966  				# Ask for a description file.
   3.967 -				echo -n "Are you going to write a description ? (y/N) : " ; read anser
   3.968 -				if [ "$anser" = "y" ]; then
   3.969 -					echo -n "Creating the description.txt file..."
   3.970 +				_n "Are you going to write a description? (y/N) : " ; read answer
   3.971 +				if [ "$answer" = "y" ]; then
   3.972 +					_n "Creating the description.txt file..."
   3.973  					newline > $WOK/$pkg/description.txt && status
   3.974  				fi
   3.975 -				separator
   3.976 -				gettext -e "Receipt is ready to use.\n"
   3.977 -				newline ;;
   3.978 +				separator; _ "Receipt is ready to use."; newline ;;
   3.979  		esac ;;
   3.980  	list)
   3.981  		# Cook a list of packages (better use the Cooker since it will order
   3.982  		# packages before executing cook).
   3.983  		check_root
   3.984 -		[ -z "$2" ] && gettext -e "\nNo list in argument.\n\n" && exit 1
   3.985 -		[ ! -f "$2" ] && gettext -e "\nNo list found:" && \
   3.986 -			echo -e " $2\n" && exit 1
   3.987 -		echo "Cook list starting: $2" | log
   3.988 +		[ -z "$2" ] && (newline; _ "No list in argument."; newline) && exit 1
   3.989 +		list2=$2
   3.990 +		[ ! -f "$2" ] && (newline; _ "No list found: \$list2"; newline) && exit 1
   3.991 +		_ "Cook list starting: \$list2" | log
   3.992  		for pkg in $(cat $2)
   3.993  		do
   3.994  			cook $pkg || broken
   3.995  		done ;;
   3.996  	clean-wok)
   3.997  		check_root
   3.998 -		gettext -e "\nCleaning all packages files..."
   3.999 +		newline; _n "Cleaning all packages files..."
  3.1000  		rm -rf $WOK/*/taz $WOK/*/install $WOK/*/source
  3.1001 -		status && newline ;;
  3.1002 +		status; newline ;;
  3.1003  	clean-src)
  3.1004  		check_root
  3.1005 -		gettext -e "\nCleaning all packages sources..."
  3.1006 +		newline; _n "Cleaning all packages sources..."
  3.1007  		rm -rf $WOK/*/source
  3.1008 -		status && newline ;;
  3.1009 +		status; newline ;;
  3.1010  	pkgdb)
  3.1011  		# Create suitable packages list for TazPKG and only for built packages
  3.1012  		# as well as flavors files for TazLiTo. We dont need logs since we do it
  3.1013 @@ -1152,25 +1167,25 @@
  3.1014  			*)
  3.1015  				[ "$2" ] && PKGS="$2"
  3.1016  				[ ! -d "$PKGS" ] && \
  3.1017 -					gettext -e "\nPackages directory doesn't exist\n\n" && exit 1 ;;
  3.1018 +					newline && _ "Packages directory doesn't exist" && \
  3.1019 +					newline && exit 1 ;;
  3.1020  		esac
  3.1021  		time=$(date +%s)
  3.1022  		flavors=$SLITAZ/flavors
  3.1023  		live=$SLITAZ/live
  3.1024  		echo "cook:pkgdb" > $command
  3.1025 -		echo "Cook pkgdb: Creating all packages lists" | log
  3.1026 -		newline
  3.1027 -		gettext "Creating lists for: "; echo "$PKGS"
  3.1028 -		separator
  3.1029 -		gettext "Cook pkgdb started: "; date "+%Y-%m-%d %H:%M"
  3.1030 +		_ "Cook pkgdb: Creating all packages lists" | log
  3.1031 +		newline; _ "Creating lists for: \$PKGS"; separator
  3.1032 +		datenow=$(date "$(_ '+%Y-%m-%d %H:%M')")
  3.1033 +		_ "Cook pkgdb started: \$datenow"
  3.1034  		cd $PKGS
  3.1035  		rm -f packages.*
  3.1036 -		gettext -e "Creating: packages.list\n"
  3.1037 +		_ "Creating: packages.list"
  3.1038  		ls -1 *.tazpkg | sed s'/.tazpkg//' > $PKGS/packages.list
  3.1039 -		gettext -e "Creating: packages.md5\n"
  3.1040 +		_ "Creating: packages.md5"
  3.1041  		md5sum *.tazpkg > $PKGS/packages.md5
  3.1042  		md5sum packages.md5 | cut -f1 -d' ' > ID
  3.1043 -		gettext -e "Creating lists from: "; echo "$WOK"
  3.1044 +		_ "Creating lists from: \$WOK"
  3.1045  		cd $WOK
  3.1046  		for pkg in *
  3.1047  		do
  3.1048 @@ -1212,12 +1227,12 @@
  3.1049  		done
  3.1050  
  3.1051  		# Display list size.
  3.1052 -		gettext -e "Done: packages.desc\n"
  3.1053 -		gettext -e "Done: packages.txt\n"
  3.1054 -		gettext -e "Done: packages.equiv\n"
  3.1055 +		_ "Done: packages.desc"
  3.1056 +		_ "Done: packages.txt"
  3.1057 +		_ "Done: packages.equiv"
  3.1058  
  3.1059  		# files.list.lzma
  3.1060 -		gettext -e "Creating: files.list.lzma\n"
  3.1061 +		_ "Creating: files.list.lzma"
  3.1062  		cd $PKGS && lzma e files.list files.list.lzma
  3.1063  		rm -f files.list
  3.1064  
  3.1065 @@ -1225,23 +1240,24 @@
  3.1066  		separator
  3.1067  		nb=$(ls $PKGS/*.tazpkg | wc -l)
  3.1068  		time=$(($(date +%s) - $time))
  3.1069 -		echo -e "Packages: $nb - Time: ${time}s\n"
  3.1070 +		# L10n: 's' is for seconds (cooking time)
  3.1071 +		_ "Packages: \$nb - Time: \${time}s"; newline
  3.1072  
  3.1073  		# Create all flavors files at once. Do we really need code to monitor
  3.1074 -		# flavors changes ? Lets just build them with packages lists before
  3.1075 +		# flavors changes? Lets just build them with packages lists before
  3.1076  		# syncing the mirror.
  3.1077  		[ "$2" == "--flavors" ] || exit 1
  3.1078 -		[ ! -d "$flavors" ] && echo -e "Missing flavors: $flavors\n" && exit 1
  3.1079 +		[ ! -d "$flavors" ] && (_ "Missing flavors: \$flavors"; newline) && exit 1
  3.1080  		[ -d "$live" ] || mkdir -p $live
  3.1081 -		gettext "Creating flavors files in:"; echo " $live"
  3.1082 -		echo "Cook pkgdb: Creating all flavors" | log
  3.1083 +		_ "Creating flavors files in: \$live"
  3.1084 +		_ "Cook pkgdb: Creating all flavors" | log
  3.1085  		separator
  3.1086 -		gettext -e "Recharging lists to use latest packages...\n"
  3.1087 +		_ "Recharging lists to use latest packages..."
  3.1088  		tazpkg recharge >/dev/null 2>/dev/null
  3.1089  
  3.1090  		# We need a custom tazlito config to set working dir to /home/slitaz.
  3.1091  		if [ ! -f "$live/tazlito.conf" ]; then
  3.1092 -			echo "Creating configuration file: tazlito.conf"
  3.1093 +			_ "Creating configuration file: tazlito.conf"
  3.1094  			cp /etc/tazlito/tazlito.conf $live
  3.1095  			sed -i s@WORK_DIR=.*@WORK_DIR=\"/home/slitaz\"@ \
  3.1096  				$live/tazlito.conf
  3.1097 @@ -1251,20 +1267,24 @@
  3.1098  		[ -d "$flavors/.hg" ] && cd $flavors && hg pull -u
  3.1099  
  3.1100  		cd $live
  3.1101 -		echo "Starting to generate flavors..."
  3.1102 +		_ "Starting to generate flavors..."
  3.1103  		rm -f flavors.list *.flavor
  3.1104  		for i in $flavors/*
  3.1105  		do
  3.1106  			fl=$(basename $i)
  3.1107 -			echo "Packing flavor: $(basename $i)"
  3.1108 +			_ "Packing flavor: \$fl"
  3.1109  			tazlito pack-flavor $fl >/dev/null || exit 1
  3.1110  			tazlito show-flavor $fl --brief --noheader 2> \
  3.1111  				/dev/null >> flavors.list
  3.1112  		done
  3.1113  		cp -f $live/*.flavor $live/flavors.list $PKGS
  3.1114 -		separator && gettext "Flavors size: "; du -sh $live | awk '{print $1}'
  3.1115 -		newline && rm -f $command
  3.1116 -		separator && gettext "Cook pkgdb end: "; date "+%Y-%m-%d %H:%M";;
  3.1117 +		separator
  3.1118 +		fl_size=$(du -sh $live | awk '{print $1}')
  3.1119 +		_ "Flavors size: \$fl_size"; newline
  3.1120 +		rm -f $command
  3.1121 +		separator
  3.1122 +		datenow=$(date "$(_ '+%Y-%m-%d %H:%M')")
  3.1123 +		_ "Cook pkgdb end: \$datenow" ;;
  3.1124  	*)
  3.1125  		# Just cook and generate a package.
  3.1126  		check_root
  3.1127 @@ -1284,17 +1304,17 @@
  3.1128  		# the cooker and build each commit in wok is not possible since
  3.1129  		# we dont cook the full wok for this arch. For ARM we need a set
  3.1130  		# of packages to handle a touch screen desktop, servers but not
  3.1131 -		# erland.
  3.1132 +		# erlang.
  3.1133  		#
  3.1134  		# The temporary solution is to build only reviewed and tested
  3.1135  		# packages with HOST_ARCH set in receipt.
  3.1136  		case "$ARCH" in
  3.1137  			arm)
  3.1138  				if [ ! "$HOST_ARCH" ]; then
  3.1139 -					echo "cook: HOST_ARCH is not set in $pkg receipt"
  3.1140 -					echo "cook: This package is not included in: $ARCH"
  3.1141 -					[ "$CROSS_BUGS" ] && echo "bugs: $CROSS_BUGS"
  3.1142 -					echo "Cook skip: $pkg is not included in: $ARCH" | log
  3.1143 +					_ "cook: HOST_ARCH is not set in \$pkg receipt"
  3.1144 +					_ "cook: This package is not included in: \$ARCH"
  3.1145 +					[ "$CROSS_BUGS" ] && _ "bugs: \$CROSS_BUGS"
  3.1146 +					_ "Cook skip: \$pkg is not included in: \$ARCH" | log
  3.1147  					newline && exit 1
  3.1148  				fi ;;
  3.1149  		esac
  3.1150 @@ -1302,46 +1322,49 @@
  3.1151  		# Some packages are not included in some arch or fail to cross compile.
  3.1152  		: ${HOST_ARCH=i486}
  3.1153  		if ! $(echo "$HOST_ARCH" | fgrep -q $ARCH); then
  3.1154 -			echo "cook: HOST_ARCH=$HOST_ARCH"
  3.1155 -			echo "cook: $pkg doesn't cook or is not included in: $ARCH"
  3.1156 -			[ "$CROSS_BUGS" ] && echo "bugs: $CROSS_BUGS"
  3.1157 -			echo "Cook skip: $pkg doesn't cook or is not included in: $ARCH" | log
  3.1158 +			_ "cook: HOST_ARCH=\$HOST_ARCH"
  3.1159 +			_ "cook: \$pkg doesn't cook or is not included in: \$ARCH"
  3.1160 +			[ "$CROSS_BUGS" ] && _ "bugs: \$CROSS_BUGS"
  3.1161 +			_ "Cook skip: \$pkg doesn't cook or is not included in: \$ARCH" | log
  3.1162  			newline && exit 1
  3.1163  		fi
  3.1164  
  3.1165  		# Skip blocked, 3 lines also for the Cooker.
  3.1166  		if grep -q "^$pkg$" $blocked && [ "$2" != "--unblock" ]; then
  3.1167 -			gettext -e "Blocked package:"; echo -e " $pkg\n" && exit 0
  3.1168 +			_ "Blocked package: \$pkg"; newline
  3.1169 +			 exit 0
  3.1170  		fi
  3.1171  
  3.1172  		try_aufs_chroot "$@"
  3.1173  
  3.1174  		# Log and source receipt.
  3.1175 -		echo "Cook started for: <a href='cooker.cgi?pkg=$pkg'>$pkg</a>" | log
  3.1176 +		_ "Cook started for: <a href='cooker.cgi?pkg=\$pkg'>\$pkg</a>" | log
  3.1177  		echo "cook:$pkg" > $command
  3.1178  
  3.1179  		# Display and log info if cook process stopped.
  3.1180 -		trap 'gettext -e "\n\nCook stopped: control-C\n\n" | \
  3.1181 +		# FIXME: gettext not worked (in single quotes) here!
  3.1182 +		trap '_ "\n\nCook stopped: control-C\n\n" | \
  3.1183  			tee -a $LOGS/$pkg.log' INT
  3.1184  
  3.1185  		# Handle --options
  3.1186  		case "$2" in
  3.1187  			--clean|-c)
  3.1188 -				gettext -e "Cleaning:"; echo -n " $pkg"
  3.1189 +				_n "Cleaning: \$pkg"
  3.1190  				cd $WOK/$pkg && rm -rf install taz source
  3.1191  				status && newline && exit 0 ;;
  3.1192  			--install|-i)
  3.1193  				inst='yes' ;;
  3.1194  			--getsrc|-gs)
  3.1195 -				gettext "Getting source for:"; echo " $pkg"
  3.1196 -				separator && get_source
  3.1197 -				echo -e "Tarball: $SRC/$TARBALL\n" && exit 0 ;;
  3.1198 +				_ "Getting source for: \$pkg"; separator
  3.1199 +				get_source
  3.1200 +				_ "Tarball: \$SRC/\$TARBALL"; newline
  3.1201 +				exit 0 ;;
  3.1202  			--block|-b)
  3.1203 -				gettext "Blocking:"; echo -n " $pkg"
  3.1204 +				_n "Blocking: \$pkg"
  3.1205  				[ $(grep "^$pkg$" $blocked) ] || echo "$pkg" >> $blocked
  3.1206  				status && newline && exit 0 ;;
  3.1207  			--unblock|-ub)
  3.1208 -				gettext "Unblocking:"; echo -n " $pkg"
  3.1209 +				_n "Unblocking: \$pkg"
  3.1210  				sed -i "/^${pkg}$/"d $blocked
  3.1211  				status && newline && exit 0 ;;
  3.1212  			--pack)
  3.1213 @@ -1351,7 +1374,7 @@
  3.1214  					packit 2>&1 | tee -a $LOGS/$pkg-pack.log
  3.1215  					clean_log
  3.1216  				else
  3.1217 -					gettext "Need to build $pkg." && exit 0
  3.1218 +					_ "Need to build \$pkg." && exit 0
  3.1219  				fi
  3.1220  				exit 0 ;;
  3.1221  		esac
  3.1222 @@ -1359,11 +1382,11 @@
  3.1223  		# Check if wanted is built now so we have separate log files.
  3.1224  		for wanted in $WANTED ; do
  3.1225  			if grep -q "^$wanted$" $blocked; then
  3.1226 -				echo "WANTED package is blocked: $wanted" | tee $LOGS/$pkg.log
  3.1227 +				_ "WANTED package is blocked: \$wanted" | tee $LOGS/$pkg.log
  3.1228  				newline && rm -f $command && exit 1
  3.1229  			fi
  3.1230  			if grep -q "^$wanted$" $broken; then
  3.1231 -				echo "WANTED package is broken: $wanted" | tee $LOGS/$pkg.log
  3.1232 +				_ "WANTED package is broken: \$wanted" | tee $LOGS/$pkg.log
  3.1233  				newline && rm -f $command && exit 1
  3.1234  			fi
  3.1235  			if [ ! -d "$WOK/$wanted/install" ]; then
  3.1236 @@ -1379,7 +1402,8 @@
  3.1237  		clean_log
  3.1238  
  3.1239  		# Exit if any error in packing.
  3.1240 -		if grep -Eq '(^ERROR|No such file or directory)' $LOGS/$pkg.log; then
  3.1241 +		lerror=$(_n "ERROR")
  3.1242 +		if grep -Eq "(^$lerror|No such file or directory)" $LOGS/$pkg.log; then
  3.1243  			debug_info | tee -a $LOGS/$pkg.log
  3.1244  			rm -f $command && exit 1
  3.1245  		fi
  3.1246 @@ -1395,7 +1419,7 @@
  3.1247  		# We may want to install/update.
  3.1248  		install_package
  3.1249  
  3.1250 -		# Finally we DONT WANT to build the *-dev or packages with WANTED="$pkg"
  3.1251 +		# Finally we DON'T WANT to build the *-dev or packages with WANTED="$pkg"
  3.1252  		# You want automation: use the Cooker Build Bot.
  3.1253  		rm -f $command ;;
  3.1254  esac
     4.1 --- a/cross.conf	Tue Mar 19 09:04:37 2013 +0100
     4.2 +++ b/cross.conf	Fri Mar 29 17:05:30 2013 +0000
     4.3 @@ -23,14 +23,14 @@
     4.4  EGLIBC_TARBALL="eglibc-$EGLIBC_VERSION.tar.bz2"
     4.5  GCC_TARBALL="gcc-$GCC_VERSION.tar.bz2"
     4.6  
     4.7 -# Cross tools urls
     4.8 +# Cross-tools URLs
     4.9  BINUTILS_WGET="http://ftp.gnu.org/gnu/binutils/$BINUTILS_TARBALL"
    4.10  LINUX_WGET="http://www.kernel.org/pub/linux/kernel/v3.x/$LINUX_TARBALL"
    4.11  GLIBC_WGET="http://ftp.gnu.org/gnu/libc/$GLIBC_TARBALL"
    4.12  EGLIBC_WGET="svn://svn.eglibc.org/branches/eglibc-2_13"
    4.13  GCC_WGET="http://ftp.gnu.org/gnu/gcc/gcc-$GCC_VERSION/$GCC_TARBALL"
    4.14  
    4.15 -# Peer package configure arguments
    4.16 +# Per package configure arguments
    4.17  #
    4.18  # x86_64: BINUTILS_ARGS="--disable-multilib --enable-64-bit-bfd"
    4.19  # x86_64: GCC_STATIC_ARGS="--enable-languages=c --disable-multilib"
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/po/cook.pot	Fri Mar 29 17:05:30 2013 +0000
     5.3 @@ -0,0 +1,934 @@
     5.4 +# SOME DESCRIPTIVE TITLE.
     5.5 +# Copyright (C) YEAR SliTaz Association
     5.6 +# This file is distributed under the same license as the PACKAGE package.
     5.7 +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
     5.8 +#
     5.9 +#, fuzzy
    5.10 +msgid ""
    5.11 +msgstr ""
    5.12 +"Project-Id-Version: Cook 3.1.4\n"
    5.13 +"Report-Msgid-Bugs-To: \n"
    5.14 +"POT-Creation-Date: 2013-03-29 17:02+0000\n"
    5.15 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    5.16 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    5.17 +"Language-Team: LANGUAGE <LL@li.org>\n"
    5.18 +"Language: \n"
    5.19 +"MIME-Version: 1.0\n"
    5.20 +"Content-Type: text/plain; charset=CHARSET\n"
    5.21 +"Content-Transfer-Encoding: 8bit\n"
    5.22 +
    5.23 +#: cook:32
    5.24 +msgid "\\033[1mUsage:\\033[0m cook [package|command] [list|--option]"
    5.25 +msgstr ""
    5.26 +
    5.27 +#: cook:34
    5.28 +msgid "\\033[1mCommands:\\033[0m"
    5.29 +msgstr ""
    5.30 +
    5.31 +#: cook:35
    5.32 +msgid "Display this short usage."
    5.33 +msgstr ""
    5.34 +
    5.35 +#: cook:36
    5.36 +msgid "Setup your build environment."
    5.37 +msgstr ""
    5.38 +
    5.39 +#: cook:37
    5.40 +msgid "Setup a cross environment."
    5.41 +msgstr ""
    5.42 +
    5.43 +#: cook:38
    5.44 +msgid "Test environment and cook a package."
    5.45 +msgstr ""
    5.46 +
    5.47 +#: cook:39
    5.48 +msgid "List packages in the wok."
    5.49 +msgstr ""
    5.50 +
    5.51 +#: cook:40
    5.52 +msgid "Simple packages search function."
    5.53 +msgstr ""
    5.54 +
    5.55 +#: cook:41
    5.56 +msgid "Create a new package with a receipt."
    5.57 +msgstr ""
    5.58 +
    5.59 +#: cook:42
    5.60 +msgid "Cook a list of packages."
    5.61 +msgstr ""
    5.62 +
    5.63 +#: cook:43
    5.64 +msgid "Clean-up all packages files."
    5.65 +msgstr ""
    5.66 +
    5.67 +#: cook:44
    5.68 +msgid "Clean-up all packages sources."
    5.69 +msgstr ""
    5.70 +
    5.71 +#: cook:45
    5.72 +msgid "Create packages DB lists and flavors."
    5.73 +msgstr ""
    5.74 +
    5.75 +#: cook:47
    5.76 +msgid "\\033[1mOptions:\\033[0m"
    5.77 +msgstr ""
    5.78 +
    5.79 +#: cook:48
    5.80 +msgid "clean the package in the wok."
    5.81 +msgstr ""
    5.82 +
    5.83 +#: cook:49
    5.84 +msgid "cook and install the package."
    5.85 +msgstr ""
    5.86 +
    5.87 +#: cook:50
    5.88 +msgid "get the package source tarball."
    5.89 +msgstr ""
    5.90 +
    5.91 +#: cook:51
    5.92 +msgid "block a package so cook will skip it."
    5.93 +msgstr ""
    5.94 +
    5.95 +#: cook:52
    5.96 +msgid "unblock a blocked package."
    5.97 +msgstr ""
    5.98 +
    5.99 +#: cook:53
   5.100 +msgid "repack an already built package."
   5.101 +msgstr ""
   5.102 +
   5.103 +#: cook:54
   5.104 +msgid "create a receipt interactively."
   5.105 +msgstr ""
   5.106 +
   5.107 +#: cook:55
   5.108 +msgid "clone the cooking wok from Hg repo."
   5.109 +msgstr ""
   5.110 +
   5.111 +#: cook:56
   5.112 +msgid "clone the stable wok from Hg repo."
   5.113 +msgstr ""
   5.114 +
   5.115 +#: cook:57
   5.116 +msgid "clone the undigest wok from Hg repo."
   5.117 +msgstr ""
   5.118 +
   5.119 +#: cook:58
   5.120 +msgid "clone the tiny SliTaz wok from Hg repo."
   5.121 +msgstr ""
   5.122 +
   5.123 +#: cook:59
   5.124 +msgid "force reinstall of chroot packages."
   5.125 +msgstr ""
   5.126 +
   5.127 +#: cook:60
   5.128 +msgid "create up-to-date flavors files."
   5.129 +msgstr ""
   5.130 +
   5.131 +#: cook:75
   5.132 +#, sh-format
   5.133 +msgid "Unable to find package in the wok: $pkg"
   5.134 +msgstr ""
   5.135 +
   5.136 +#. L10n: QA is quality assurance
   5.137 +#: cook:83
   5.138 +#, sh-format
   5.139 +msgid "QA: empty variable: ${var}=\"\""
   5.140 +msgstr ""
   5.141 +
   5.142 +#: cook:90
   5.143 +#, sh-format
   5.144 +msgid "Creating directories structure in: $SLITAZ"
   5.145 +msgstr ""
   5.146 +
   5.147 +#: cook:92
   5.148 +#, sh-format
   5.149 +msgid "Creating DB files in: $CACHE"
   5.150 +msgstr ""
   5.151 +
   5.152 +#: cook:101
   5.153 +msgid "QA: checking package receipt..."
   5.154 +msgstr ""
   5.155 +
   5.156 +#: cook:117
   5.157 +#, sh-format
   5.158 +msgid "QA: unknown category: $value"
   5.159 +msgstr ""
   5.160 +
   5.161 +#: cook:118
   5.162 +#, sh-format
   5.163 +msgid "Please, use one of: $valid"
   5.164 +msgstr ""
   5.165 +
   5.166 +#: cook:127
   5.167 +#, sh-format
   5.168 +msgid "QA: unable to reach: $value"
   5.169 +msgstr ""
   5.170 +
   5.171 +#: cook:180
   5.172 +#, sh-format
   5.173 +msgid "Creating tarball: $tarball"
   5.174 +msgstr ""
   5.175 +
   5.176 +#: cook:200 cook:203
   5.177 +#, sh-format
   5.178 +msgid "ERROR: wget $WGET_URL"
   5.179 +msgstr ""
   5.180 +
   5.181 +#: cook:210
   5.182 +msgid "Getting source from Hg..."
   5.183 +msgstr ""
   5.184 +
   5.185 +#: cook:211 cook:225 cook:237 cook:249
   5.186 +#, sh-format
   5.187 +msgid "URL: $url"
   5.188 +msgstr ""
   5.189 +
   5.190 +#: cook:212
   5.191 +#, sh-format
   5.192 +msgid "Cloning to: $pwd/$pkgsrc"
   5.193 +msgstr ""
   5.194 +
   5.195 +#: cook:214
   5.196 +#, sh-format
   5.197 +msgid "Hg branch: $BRANCH"
   5.198 +msgstr ""
   5.199 +
   5.200 +#: cook:216
   5.201 +#, sh-format
   5.202 +msgid "ERROR: hg clone $url --rev $BRANCH"
   5.203 +msgstr ""
   5.204 +
   5.205 +#: cook:218
   5.206 +#, sh-format
   5.207 +msgid "ERROR: hg clone $url"
   5.208 +msgstr ""
   5.209 +
   5.210 +#: cook:224
   5.211 +msgid "Getting source from Git..."
   5.212 +msgstr ""
   5.213 +
   5.214 +#: cook:226
   5.215 +#, sh-format
   5.216 +msgid "ERROR: git clone $url"
   5.217 +msgstr ""
   5.218 +
   5.219 +#: cook:228
   5.220 +#, sh-format
   5.221 +msgid "Git branch: $BRANCH"
   5.222 +msgstr ""
   5.223 +
   5.224 +#: cook:236
   5.225 +msgid "Getting source from CVS..."
   5.226 +msgstr ""
   5.227 +
   5.228 +#: cook:238
   5.229 +#, sh-format
   5.230 +msgid "CVS module: $mod"
   5.231 +msgstr ""
   5.232 +
   5.233 +#: cook:239
   5.234 +#, sh-format
   5.235 +msgid "Cloning to: $pwd/$mod"
   5.236 +msgstr ""
   5.237 +
   5.238 +#: cook:248
   5.239 +msgid "Getting source from SVN..."
   5.240 +msgstr ""
   5.241 +
   5.242 +#: cook:258
   5.243 +msgid "Getting source from bazaar..."
   5.244 +msgstr ""
   5.245 +
   5.246 +#: cook:268
   5.247 +msgid "Don't forget to add to receipt:"
   5.248 +msgstr ""
   5.249 +
   5.250 +#: cook:275
   5.251 +#, sh-format
   5.252 +msgid "ERROR: Unable to handle: $WGET_URL"
   5.253 +msgstr ""
   5.254 +
   5.255 +#: cook:287
   5.256 +#, sh-format
   5.257 +msgid "Getting source from mirror: $url"
   5.258 +msgstr ""
   5.259 +
   5.260 +#: cook:288
   5.261 +#, sh-format
   5.262 +msgid "ERROR: wget $url"
   5.263 +msgstr ""
   5.264 +
   5.265 +#: cook:290
   5.266 +#, sh-format
   5.267 +msgid "Extracting: $TARBALL"
   5.268 +msgstr ""
   5.269 +
   5.270 +#. L10n: specify your format of date and time (to help: man date)
   5.271 +#. L10n: not bad one is '+%x %R'
   5.272 +#: cook:314 cook:341 cook:1179 cook:1286
   5.273 +msgid "+%Y-%m-%d %H:%M"
   5.274 +msgstr ""
   5.275 +
   5.276 +#. L10n: 'm' is for minutes (approximate cooking time)
   5.277 +#: cook:318
   5.278 +#, sh-format
   5.279 +msgid "~ ${div}m"
   5.280 +msgstr ""
   5.281 +
   5.282 +#: cook:319
   5.283 +#, sh-format
   5.284 +msgid "Summary for: $PACKAGE $VERSION"
   5.285 +msgstr ""
   5.286 +
   5.287 +#. L10n: keep the same width of translations to get a consistent view
   5.288 +#: cook:322
   5.289 +#, sh-format
   5.290 +msgid "Source dir  : $srcdir"
   5.291 +msgstr ""
   5.292 +
   5.293 +#: cook:323
   5.294 +#, sh-format
   5.295 +msgid "Src file    : $TARBALL"
   5.296 +msgstr ""
   5.297 +
   5.298 +#: cook:324
   5.299 +#, sh-format
   5.300 +msgid "Src size    : $srcsize"
   5.301 +msgstr ""
   5.302 +
   5.303 +#: cook:325
   5.304 +#, sh-format
   5.305 +msgid "Produced    : $prod"
   5.306 +msgstr ""
   5.307 +
   5.308 +#: cook:326
   5.309 +#, sh-format
   5.310 +msgid "Packed      : $fs"
   5.311 +msgstr ""
   5.312 +
   5.313 +#: cook:327
   5.314 +#, sh-format
   5.315 +msgid "Compressed  : $size"
   5.316 +msgstr ""
   5.317 +
   5.318 +#: cook:328
   5.319 +#, sh-format
   5.320 +msgid "Files       : $files"
   5.321 +msgstr ""
   5.322 +
   5.323 +#. L10n: 's' is for seconds (cooking time)
   5.324 +#: cook:330
   5.325 +#, sh-format
   5.326 +msgid "Cook time   : ${sec}s $min"
   5.327 +msgstr ""
   5.328 +
   5.329 +#: cook:331
   5.330 +#, sh-format
   5.331 +msgid "Cook date   : $cookdate"
   5.332 +msgstr ""
   5.333 +
   5.334 +#: cook:332
   5.335 +#, sh-format
   5.336 +msgid "Host arch   : $ARCH"
   5.337 +msgstr ""
   5.338 +
   5.339 +#: cook:338
   5.340 +msgid "Debug information"
   5.341 +msgstr ""
   5.342 +
   5.343 +#: cook:342
   5.344 +#, sh-format
   5.345 +msgid "Cook date: $datenow"
   5.346 +msgstr ""
   5.347 +
   5.348 +#. L10n: Please, translate all messages beginning with ERROR in a same way
   5.349 +#: cook:344 cook:604 cook:701 cook:731 cook:817 cook:1405
   5.350 +msgid "ERROR"
   5.351 +msgstr ""
   5.352 +
   5.353 +#: cook:427
   5.354 +msgid "Executing strip on all files..."
   5.355 +msgstr ""
   5.356 +
   5.357 +#: cook:440
   5.358 +msgid "Removing Python compiled files..."
   5.359 +msgstr ""
   5.360 +
   5.361 +#: cook:448
   5.362 +msgid "Removing Perl compiled files..."
   5.363 +msgstr ""
   5.364 +
   5.365 +#: cook:462 cook:590
   5.366 +msgid "Build dependencies to remove: "
   5.367 +msgstr ""
   5.368 +
   5.369 +#: cook:463 cook:591
   5.370 +msgid "Removing:"
   5.371 +msgstr ""
   5.372 +
   5.373 +#: cook:477
   5.374 +#, sh-format
   5.375 +msgid "Cook: $PACKAGE $VERSION"
   5.376 +msgstr ""
   5.377 +
   5.378 +#: cook:491
   5.379 +#, sh-format
   5.380 +msgid "$ARCH sysroot: $sysroot"
   5.381 +msgstr ""
   5.382 +
   5.383 +#: cook:492
   5.384 +#, sh-format
   5.385 +msgid "Adding $tools/bin to PATH"
   5.386 +msgstr ""
   5.387 +
   5.388 +#: cook:496
   5.389 +#, sh-format
   5.390 +msgid "Using cross-tools: $CROSS_COMPILE"
   5.391 +msgstr ""
   5.392 +
   5.393 +#: cook:518
   5.394 +#, sh-format
   5.395 +msgid "Disabling -pipe compile flag: $free RAM"
   5.396 +msgstr ""
   5.397 +
   5.398 +#: cook:535
   5.399 +msgid "Checking build dependencies..."
   5.400 +msgstr ""
   5.401 +
   5.402 +#: cook:536
   5.403 +#, sh-format
   5.404 +msgid "Using packages DB: ${root}$DB"
   5.405 +msgstr ""
   5.406 +
   5.407 +#: cook:562
   5.408 +#, sh-format
   5.409 +msgid "Missing dep (wok/pkg): $i $vers"
   5.410 +msgstr ""
   5.411 +
   5.412 +#: cook:570
   5.413 +#, sh-format
   5.414 +msgid "ERROR: unknown dep $i"
   5.415 +msgstr ""
   5.416 +
   5.417 +#: cook:583
   5.418 +msgid "Auto cook config is set: AUTO_COOK"
   5.419 +msgstr ""
   5.420 +
   5.421 +#: cook:587
   5.422 +#, sh-format
   5.423 +msgid "Building dep (wok/pkg)    : $i $vers"
   5.424 +msgstr ""
   5.425 +
   5.426 +#: cook:592
   5.427 +#, sh-format
   5.428 +msgid "ERROR: can't cook dep '$i'"
   5.429 +msgstr ""
   5.430 +
   5.431 +#: cook:607
   5.432 +#, sh-format
   5.433 +msgid "ERROR: missing dep $nb"
   5.434 +msgstr ""
   5.435 +
   5.436 +#: cook:614
   5.437 +#, sh-format
   5.438 +msgid "Installing dep (pkg/local): $i"
   5.439 +msgstr ""
   5.440 +
   5.441 +#: cook:622
   5.442 +#, sh-format
   5.443 +msgid "Installing dep (web/cache): $i"
   5.444 +msgstr ""
   5.445 +
   5.446 +#: cook:672
   5.447 +msgid "Executing: compile_rules"
   5.448 +msgstr ""
   5.449 +
   5.450 +#: cook:689
   5.451 +msgid "Running testsuite"
   5.452 +msgstr ""
   5.453 +
   5.454 +#: cook:698
   5.455 +msgid "ERROR: cook failed"
   5.456 +msgstr ""
   5.457 +
   5.458 +#: cook:718
   5.459 +#, sh-format
   5.460 +msgid "Pack: $PACKAGE ${VERSION}${arch}"
   5.461 +msgstr ""
   5.462 +
   5.463 +#: cook:721
   5.464 +msgid "Executing: genpkg_rules"
   5.465 +msgstr ""
   5.466 +
   5.467 +#: cook:723
   5.468 +msgid "ERROR: genpkg_rules failed"
   5.469 +msgstr ""
   5.470 +
   5.471 +#: cook:726
   5.472 +msgid "No packages rules: meta package"
   5.473 +msgstr ""
   5.474 +
   5.475 +#: cook:740
   5.476 +#, sh-format
   5.477 +msgid "Copying $file..."
   5.478 +msgstr ""
   5.479 +
   5.480 +#: cook:746
   5.481 +msgid "Creating the list of files..."
   5.482 +msgstr ""
   5.483 +
   5.484 +#: cook:757
   5.485 +msgid "Creating md5sum of files..."
   5.486 +msgstr ""
   5.487 +
   5.488 +#: cook:772
   5.489 +msgid "Compressing the fs..."
   5.490 +msgstr ""
   5.491 +
   5.492 +#: cook:779
   5.493 +msgid "Updating receipt sizes..."
   5.494 +msgstr ""
   5.495 +
   5.496 +#: cook:787
   5.497 +#, sh-format
   5.498 +msgid "Updating receipt EXTRAVERSION: $EXTRAVERSION"
   5.499 +msgstr ""
   5.500 +
   5.501 +#: cook:794
   5.502 +msgid "Creating full cpio archive..."
   5.503 +msgstr ""
   5.504 +
   5.505 +#: cook:798
   5.506 +msgid "Restoring original package tree..."
   5.507 +msgstr ""
   5.508 +
   5.509 +#: cook:806
   5.510 +#, sh-format
   5.511 +msgid "Package: $tazpkg"
   5.512 +msgstr ""
   5.513 +
   5.514 +#: cook:822
   5.515 +msgid "QA: checking for empty package..."
   5.516 +msgstr ""
   5.517 +
   5.518 +#: cook:825
   5.519 +msgid "ERROR: empty package"
   5.520 +msgstr ""
   5.521 +
   5.522 +#: cook:833
   5.523 +#, sh-format
   5.524 +msgid "Removing old: $old_pkg"
   5.525 +msgstr ""
   5.526 +
   5.527 +#: cook:863
   5.528 +msgid "Unable to install package, build has failed."
   5.529 +msgstr ""
   5.530 +
   5.531 +#: cook:872
   5.532 +#, sh-format
   5.533 +msgid "Updating $ARCH chroot environment..."
   5.534 +msgstr ""
   5.535 +
   5.536 +#: cook:873
   5.537 +#, sh-format
   5.538 +msgid "Updating chroot: $pkg (${VERSION}${EXTRAVERSION}${arch})"
   5.539 +msgstr ""
   5.540 +
   5.541 +#: cook:894
   5.542 +msgid "Setup aufs chroot..."
   5.543 +msgstr ""
   5.544 +
   5.545 +#: cook:906
   5.546 +msgid "Aufs mountage failure"
   5.547 +msgstr ""
   5.548 +
   5.549 +#: cook:917
   5.550 +msgid "Leaving aufs chroot..."
   5.551 +msgstr ""
   5.552 +
   5.553 +#: cook:959
   5.554 +#, sh-format
   5.555 +msgid "List of packages in: $WOK"
   5.556 +msgstr ""
   5.557 +
   5.558 +#: cook:963
   5.559 +#, sh-format
   5.560 +msgid "Packages: $pkg_total"
   5.561 +msgstr ""
   5.562 +
   5.563 +#: cook:969
   5.564 +#, sh-format
   5.565 +msgid "Search results for: $query"
   5.566 +msgstr ""
   5.567 +
   5.568 +#: cook:975
   5.569 +msgid "Cook: setup environment"
   5.570 +msgstr ""
   5.571 +
   5.572 +#: cook:976
   5.573 +msgid "Setting up your environment"
   5.574 +msgstr ""
   5.575 +
   5.576 +#: cook:979
   5.577 +msgid "Checking for packages to install..."
   5.578 +msgstr ""
   5.579 +
   5.580 +#: cook:985
   5.581 +msgid "ERROR: cross is not installed"
   5.582 +msgstr ""
   5.583 +
   5.584 +#: cook:988
   5.585 +msgid "Using config file: /etc/slitaz/cross.conf"
   5.586 +msgstr ""
   5.587 +
   5.588 +#: cook:1013
   5.589 +msgid "Adding group: slitaz"
   5.590 +msgstr ""
   5.591 +
   5.592 +#: cook:1016
   5.593 +msgid "Setting permissions for slitaz group..."
   5.594 +msgstr ""
   5.595 +
   5.596 +#: cook:1019
   5.597 +msgid "All done, ready to cook packages :-)"
   5.598 +msgstr ""
   5.599 +
   5.600 +#: cook:1024
   5.601 +#, sh-format
   5.602 +msgid "Cook: setup $arch cross environment"
   5.603 +msgstr ""
   5.604 +
   5.605 +#: cook:1025
   5.606 +#, sh-format
   5.607 +msgid "Setting up your $arch cross environment"
   5.608 +msgstr ""
   5.609 +
   5.610 +#. L10n: keep the same width of translations to get a consistent view
   5.611 +#: cook:1051
   5.612 +#, sh-format
   5.613 +msgid "Target arch     : $ARCH"
   5.614 +msgstr ""
   5.615 +
   5.616 +#: cook:1052
   5.617 +#, sh-format
   5.618 +msgid "Configure args  : $CONFIGURE_ARGS"
   5.619 +msgstr ""
   5.620 +
   5.621 +#: cook:1053
   5.622 +#, sh-format
   5.623 +msgid "Arch sysroot    : $sysroot"
   5.624 +msgstr ""
   5.625 +
   5.626 +#: cook:1054
   5.627 +#, sh-format
   5.628 +msgid "Tools prefix    : $tools/bin"
   5.629 +msgstr ""
   5.630 +
   5.631 +#: cook:1056
   5.632 +#, sh-format
   5.633 +msgid "Packages DB     : ${root}$DB"
   5.634 +msgstr ""
   5.635 +
   5.636 +#: cook:1067
   5.637 +msgid "WARNING: (e)glibc-base is not installed in sysroot"
   5.638 +msgstr ""
   5.639 +
   5.640 +#: cook:1071
   5.641 +#, sh-format
   5.642 +msgid "Cross compiler  : ${HOST_SYSTEM}-gcc"
   5.643 +msgstr ""
   5.644 +
   5.645 +#: cook:1073
   5.646 +#, sh-format
   5.647 +msgid "C compiler is missing: ${HOST_SYSTEM}-gcc"
   5.648 +msgstr ""
   5.649 +
   5.650 +#: cook:1074
   5.651 +msgid "Run 'cross compile' to cook a toolchain"
   5.652 +msgstr ""
   5.653 +
   5.654 +#: cook:1079
   5.655 +msgid "Cook test: testing the cook environment"
   5.656 +msgstr ""
   5.657 +
   5.658 +#: cook:1089
   5.659 +#, sh-format
   5.660 +msgid "$pkg package already exists."
   5.661 +msgstr ""
   5.662 +
   5.663 +#: cook:1092
   5.664 +#, sh-format
   5.665 +msgid "Creating $WOK/$pkg"
   5.666 +msgstr ""
   5.667 +
   5.668 +#: cook:1094
   5.669 +msgid "Preparing the package receipt..."
   5.670 +msgstr ""
   5.671 +
   5.672 +#: cook:1102
   5.673 +msgid "Entering interactive mode..."
   5.674 +msgstr ""
   5.675 +
   5.676 +#: cook:1104
   5.677 +#, sh-format
   5.678 +msgid "Package       : $pkg"
   5.679 +msgstr ""
   5.680 +
   5.681 +#: cook:1105
   5.682 +msgid "Version       : "
   5.683 +msgstr ""
   5.684 +
   5.685 +#: cook:1107
   5.686 +msgid "Category      : "
   5.687 +msgstr ""
   5.688 +
   5.689 +#. L10n: Short description
   5.690 +#: cook:1110
   5.691 +msgid "Short desc    : "
   5.692 +msgstr ""
   5.693 +
   5.694 +#: cook:1112
   5.695 +msgid "Maintainer    : "
   5.696 +msgstr ""
   5.697 +
   5.698 +#: cook:1114
   5.699 +msgid "License       : "
   5.700 +msgstr ""
   5.701 +
   5.702 +#: cook:1116
   5.703 +msgid "Web site      : "
   5.704 +msgstr ""
   5.705 +
   5.706 +#: cook:1120
   5.707 +msgid "Wget URL to download source tarball."
   5.708 +msgstr ""
   5.709 +
   5.710 +#: cook:1121
   5.711 +msgid "Example  : "
   5.712 +msgstr ""
   5.713 +
   5.714 +#: cook:1122
   5.715 +msgid "Wget url : "
   5.716 +msgstr ""
   5.717 +
   5.718 +#: cook:1125
   5.719 +msgid "Do you need a stuff directory? (y/N) : "
   5.720 +msgstr ""
   5.721 +
   5.722 +#: cook:1127
   5.723 +msgid "Creating the stuff directory..."
   5.724 +msgstr ""
   5.725 +
   5.726 +#: cook:1131
   5.727 +msgid "Are you going to write a description? (y/N) : "
   5.728 +msgstr ""
   5.729 +
   5.730 +#: cook:1133
   5.731 +msgid "Creating the description.txt file..."
   5.732 +msgstr ""
   5.733 +
   5.734 +#: cook:1136
   5.735 +msgid "Receipt is ready to use."
   5.736 +msgstr ""
   5.737 +
   5.738 +#: cook:1142
   5.739 +msgid "No list in argument."
   5.740 +msgstr ""
   5.741 +
   5.742 +#: cook:1144
   5.743 +#, sh-format
   5.744 +msgid "No list found: $list2"
   5.745 +msgstr ""
   5.746 +
   5.747 +#: cook:1145
   5.748 +#, sh-format
   5.749 +msgid "Cook list starting: $list2"
   5.750 +msgstr ""
   5.751 +
   5.752 +#: cook:1152
   5.753 +msgid "Cleaning all packages files..."
   5.754 +msgstr ""
   5.755 +
   5.756 +#: cook:1157
   5.757 +msgid "Cleaning all packages sources..."
   5.758 +msgstr ""
   5.759 +
   5.760 +#: cook:1170
   5.761 +msgid "Packages directory doesn't exist"
   5.762 +msgstr ""
   5.763 +
   5.764 +#: cook:1177
   5.765 +msgid "Cook pkgdb: Creating all packages lists"
   5.766 +msgstr ""
   5.767 +
   5.768 +#: cook:1178
   5.769 +#, sh-format
   5.770 +msgid "Creating lists for: $PKGS"
   5.771 +msgstr ""
   5.772 +
   5.773 +#: cook:1180
   5.774 +#, sh-format
   5.775 +msgid "Cook pkgdb started: $datenow"
   5.776 +msgstr ""
   5.777 +
   5.778 +#: cook:1183
   5.779 +msgid "Creating: packages.list"
   5.780 +msgstr ""
   5.781 +
   5.782 +#: cook:1185
   5.783 +msgid "Creating: packages.md5"
   5.784 +msgstr ""
   5.785 +
   5.786 +#: cook:1188
   5.787 +#, sh-format
   5.788 +msgid "Creating lists from: $WOK"
   5.789 +msgstr ""
   5.790 +
   5.791 +#: cook:1230
   5.792 +msgid "Done: packages.desc"
   5.793 +msgstr ""
   5.794 +
   5.795 +#: cook:1231
   5.796 +msgid "Done: packages.txt"
   5.797 +msgstr ""
   5.798 +
   5.799 +#: cook:1232
   5.800 +msgid "Done: packages.equiv"
   5.801 +msgstr ""
   5.802 +
   5.803 +#: cook:1235
   5.804 +msgid "Creating: files.list.lzma"
   5.805 +msgstr ""
   5.806 +
   5.807 +#. L10n: 's' is for seconds (cooking time)
   5.808 +#: cook:1244
   5.809 +#, sh-format
   5.810 +msgid "Packages: $nb - Time: ${time}s"
   5.811 +msgstr ""
   5.812 +
   5.813 +#: cook:1250
   5.814 +#, sh-format
   5.815 +msgid "Missing flavors: $flavors"
   5.816 +msgstr ""
   5.817 +
   5.818 +#: cook:1252
   5.819 +#, sh-format
   5.820 +msgid "Creating flavors files in: $live"
   5.821 +msgstr ""
   5.822 +
   5.823 +#: cook:1253
   5.824 +msgid "Cook pkgdb: Creating all flavors"
   5.825 +msgstr ""
   5.826 +
   5.827 +#: cook:1255
   5.828 +msgid "Recharging lists to use latest packages..."
   5.829 +msgstr ""
   5.830 +
   5.831 +#: cook:1260
   5.832 +msgid "Creating configuration file: tazlito.conf"
   5.833 +msgstr ""
   5.834 +
   5.835 +#: cook:1270
   5.836 +msgid "Starting to generate flavors..."
   5.837 +msgstr ""
   5.838 +
   5.839 +#: cook:1275
   5.840 +#, sh-format
   5.841 +msgid "Packing flavor: $fl"
   5.842 +msgstr ""
   5.843 +
   5.844 +#: cook:1283
   5.845 +#, sh-format
   5.846 +msgid "Flavors size: $fl_size"
   5.847 +msgstr ""
   5.848 +
   5.849 +#: cook:1287
   5.850 +#, sh-format
   5.851 +msgid "Cook pkgdb end: $datenow"
   5.852 +msgstr ""
   5.853 +
   5.854 +#: cook:1314
   5.855 +#, sh-format
   5.856 +msgid "cook: HOST_ARCH is not set in $pkg receipt"
   5.857 +msgstr ""
   5.858 +
   5.859 +#: cook:1315
   5.860 +#, sh-format
   5.861 +msgid "cook: This package is not included in: $ARCH"
   5.862 +msgstr ""
   5.863 +
   5.864 +#: cook:1316 cook:1327
   5.865 +#, sh-format
   5.866 +msgid "bugs: $CROSS_BUGS"
   5.867 +msgstr ""
   5.868 +
   5.869 +#: cook:1317
   5.870 +#, sh-format
   5.871 +msgid "Cook skip: $pkg is not included in: $ARCH"
   5.872 +msgstr ""
   5.873 +
   5.874 +#: cook:1325
   5.875 +#, sh-format
   5.876 +msgid "cook: HOST_ARCH=$HOST_ARCH"
   5.877 +msgstr ""
   5.878 +
   5.879 +#: cook:1326
   5.880 +#, sh-format
   5.881 +msgid "cook: $pkg doesn't cook or is not included in: $ARCH"
   5.882 +msgstr ""
   5.883 +
   5.884 +#: cook:1328
   5.885 +#, sh-format
   5.886 +msgid "Cook skip: $pkg doesn't cook or is not included in: $ARCH"
   5.887 +msgstr ""
   5.888 +
   5.889 +#: cook:1334
   5.890 +#, sh-format
   5.891 +msgid "Blocked package: $pkg"
   5.892 +msgstr ""
   5.893 +
   5.894 +#: cook:1341
   5.895 +#, sh-format
   5.896 +msgid "Cook started for: <a href='cooker.cgi?pkg=$pkg'>$pkg</a>"
   5.897 +msgstr ""
   5.898 +
   5.899 +#: cook:1352
   5.900 +#, sh-format
   5.901 +msgid "Cleaning: $pkg"
   5.902 +msgstr ""
   5.903 +
   5.904 +#: cook:1358
   5.905 +#, sh-format
   5.906 +msgid "Getting source for: $pkg"
   5.907 +msgstr ""
   5.908 +
   5.909 +#: cook:1360
   5.910 +#, sh-format
   5.911 +msgid "Tarball: $SRC/$TARBALL"
   5.912 +msgstr ""
   5.913 +
   5.914 +#: cook:1363
   5.915 +#, sh-format
   5.916 +msgid "Blocking: $pkg"
   5.917 +msgstr ""
   5.918 +
   5.919 +#: cook:1367
   5.920 +#, sh-format
   5.921 +msgid "Unblocking: $pkg"
   5.922 +msgstr ""
   5.923 +
   5.924 +#: cook:1377
   5.925 +#, sh-format
   5.926 +msgid "Need to build $pkg."
   5.927 +msgstr ""
   5.928 +
   5.929 +#: cook:1385
   5.930 +#, sh-format
   5.931 +msgid "WANTED package is blocked: $wanted"
   5.932 +msgstr ""
   5.933 +
   5.934 +#: cook:1389
   5.935 +#, sh-format
   5.936 +msgid "WANTED package is broken: $wanted"
   5.937 +msgstr ""
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/po/ru.po	Fri Mar 29 17:05:30 2013 +0000
     6.3 @@ -0,0 +1,941 @@
     6.4 +# Russian translations for Cook package
     6.5 +# Copyright (C) 2013 THE Cook'S COPYRIGHT HOLDER
     6.6 +# This file is distributed under the same license as the Cook package.
     6.7 +# Aleksej Bobylev <al.bobylev@gmail.com>, 2013.
     6.8 +#
     6.9 +msgid ""
    6.10 +msgstr ""
    6.11 +"Project-Id-Version: Cook 3.1.4\n"
    6.12 +"Report-Msgid-Bugs-To: \n"
    6.13 +"POT-Creation-Date: 2013-03-29 17:02+0000\n"
    6.14 +"PO-Revision-Date: 2013-03-29 16:52-0000\n"
    6.15 +"Last-Translator: Aleksej Bobylev <al.bobylev@gmail.com>\n"
    6.16 +"Language-Team: Russian\n"
    6.17 +"Language: ru\n"
    6.18 +"MIME-Version: 1.0\n"
    6.19 +"Content-Type: text/plain; charset=utf-8\n"
    6.20 +"Content-Transfer-Encoding: 8bit\n"
    6.21 +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
    6.22 +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
    6.23 +"X-Poedit-Language: Russian\n"
    6.24 +"X-Poedit-SourceCharset: utf-8\n"
    6.25 +"X-Poedit-KeywordsList: _;_n\n"
    6.26 +"X-Poedit-Basepath: ..\n"
    6.27 +"X-Poedit-SearchPath-0: .\n"
    6.28 +
    6.29 +#: cook:32
    6.30 +msgid "\\033[1mUsage:\\033[0m cook [package|command] [list|--option]"
    6.31 +msgstr ""
    6.32 +"\\033[1mИспользование:\\033[0m cook [пакет|команда] [список|--параметр]"
    6.33 +
    6.34 +#: cook:34
    6.35 +msgid "\\033[1mCommands:\\033[0m"
    6.36 +msgstr "\\033[1mКоманды:\\033[0m"
    6.37 +
    6.38 +#: cook:35
    6.39 +msgid "Display this short usage."
    6.40 +msgstr "Показать эту краткую справку."
    6.41 +
    6.42 +#: cook:36
    6.43 +msgid "Setup your build environment."
    6.44 +msgstr "Настроить сборочное окружение."
    6.45 +
    6.46 +#: cook:37
    6.47 +msgid "Setup a cross environment."
    6.48 +msgstr "Настроить кросс-сборочное окружение."
    6.49 +
    6.50 +#: cook:38
    6.51 +msgid "Test environment and cook a package."
    6.52 +msgstr "Тестировать окружение и приготовить пакет."
    6.53 +
    6.54 +#: cook:39
    6.55 +msgid "List packages in the wok."
    6.56 +msgstr "Список пакетов в wok."
    6.57 +
    6.58 +#: cook:40
    6.59 +msgid "Simple packages search function."
    6.60 +msgstr "Простой поиск по пакетам."
    6.61 +
    6.62 +#: cook:41
    6.63 +msgid "Create a new package with a receipt."
    6.64 +msgstr "Создать новый пакет с рецептом."
    6.65 +
    6.66 +#: cook:42
    6.67 +msgid "Cook a list of packages."
    6.68 +msgstr "Приготовить список пакетов."
    6.69 +
    6.70 +#: cook:43
    6.71 +msgid "Clean-up all packages files."
    6.72 +msgstr "Очистить все файлы пакета."
    6.73 +
    6.74 +#: cook:44
    6.75 +msgid "Clean-up all packages sources."
    6.76 +msgstr "Очистить все исходники пакета."
    6.77 +
    6.78 +#: cook:45
    6.79 +msgid "Create packages DB lists and flavors."
    6.80 +msgstr "Создать базу данных пакетов и редакций."
    6.81 +
    6.82 +#: cook:47
    6.83 +msgid "\\033[1mOptions:\\033[0m"
    6.84 +msgstr "\\033[1mПараметры:\\033[0m"
    6.85 +
    6.86 +#: cook:48
    6.87 +msgid "clean the package in the wok."
    6.88 +msgstr "очистить пакет в wok."
    6.89 +
    6.90 +#: cook:49
    6.91 +msgid "cook and install the package."
    6.92 +msgstr "приготовить и установить пакет."
    6.93 +
    6.94 +#: cook:50
    6.95 +msgid "get the package source tarball."
    6.96 +msgstr "загрузить архив исходников пакета."
    6.97 +
    6.98 +#: cook:51
    6.99 +msgid "block a package so cook will skip it."
   6.100 +msgstr "блокировать пакет, чтобы cook пропускал его."
   6.101 +
   6.102 +#: cook:52
   6.103 +msgid "unblock a blocked package."
   6.104 +msgstr "разблокировать заблокированный пакет."
   6.105 +
   6.106 +#: cook:53
   6.107 +msgid "repack an already built package."
   6.108 +msgstr "повторно упаковать созданный пакет."
   6.109 +
   6.110 +#: cook:54
   6.111 +msgid "create a receipt interactively."
   6.112 +msgstr "интерактивно создать рецепт."
   6.113 +
   6.114 +#: cook:55
   6.115 +msgid "clone the cooking wok from Hg repo."
   6.116 +msgstr "клонировать cooking wok из репозитория Hg."
   6.117 +
   6.118 +#: cook:56
   6.119 +msgid "clone the stable wok from Hg repo."
   6.120 +msgstr "клонировать стабильный wok из репозитория Hg."
   6.121 +
   6.122 +#: cook:57
   6.123 +msgid "clone the undigest wok from Hg repo."
   6.124 +msgstr "клонировать undigest wok из репозитория Hg."
   6.125 +
   6.126 +#: cook:58
   6.127 +msgid "clone the tiny SliTaz wok from Hg repo."
   6.128 +msgstr "клонировать tiny SliTaz wok из репозитория Hg."
   6.129 +
   6.130 +#: cook:59
   6.131 +msgid "force reinstall of chroot packages."
   6.132 +msgstr "принудительная переустановка пакетов в chroot."
   6.133 +
   6.134 +#: cook:60
   6.135 +msgid "create up-to-date flavors files."
   6.136 +msgstr "создать актуальные файлы редакций (flavors)."
   6.137 +
   6.138 +#: cook:75
   6.139 +#, sh-format
   6.140 +msgid "Unable to find package in the wok: $pkg"
   6.141 +msgstr "Не удалось найти пакет «$pkg» в wok."
   6.142 +
   6.143 +#. L10n: QA is quality assurance
   6.144 +#: cook:83
   6.145 +#, sh-format
   6.146 +msgid "QA: empty variable: ${var}=\"\""
   6.147 +msgstr "ОТК: пустая переменная: ${var}=\"\""
   6.148 +
   6.149 +#: cook:90
   6.150 +#, sh-format
   6.151 +msgid "Creating directories structure in: $SLITAZ"
   6.152 +msgstr "Создание структуры папок в $SLITAZ"
   6.153 +
   6.154 +#: cook:92
   6.155 +#, sh-format
   6.156 +msgid "Creating DB files in: $CACHE"
   6.157 +msgstr "Создание файлов базы данных в $CACHE"
   6.158 +
   6.159 +#: cook:101
   6.160 +msgid "QA: checking package receipt..."
   6.161 +msgstr "ОТК: проверка рецепта пакета…"
   6.162 +
   6.163 +#: cook:117
   6.164 +#, sh-format
   6.165 +msgid "QA: unknown category: $value"
   6.166 +msgstr "ОТК: неизвестная категория «$value»"
   6.167 +
   6.168 +#: cook:118
   6.169 +#, sh-format
   6.170 +msgid "Please, use one of: $valid"
   6.171 +msgstr "Используйте одну из: $valid"
   6.172 +
   6.173 +#: cook:127
   6.174 +#, sh-format
   6.175 +msgid "QA: unable to reach: $value"
   6.176 +msgstr "ОТК: не удалось подключиться к $value"
   6.177 +
   6.178 +#: cook:180
   6.179 +#, sh-format
   6.180 +msgid "Creating tarball: $tarball"
   6.181 +msgstr "Создание архива: $tarball"
   6.182 +
   6.183 +#: cook:200 cook:203
   6.184 +#, sh-format
   6.185 +msgid "ERROR: wget $WGET_URL"
   6.186 +msgstr "ОШИБКА: wget $WGET_URL"
   6.187 +
   6.188 +#: cook:210
   6.189 +msgid "Getting source from Hg..."
   6.190 +msgstr "Загрузка исходников с Hg…"
   6.191 +
   6.192 +#: cook:211 cook:225 cook:237 cook:249
   6.193 +#, sh-format
   6.194 +msgid "URL: $url"
   6.195 +msgstr "Адрес: $url"
   6.196 +
   6.197 +#: cook:212
   6.198 +#, sh-format
   6.199 +msgid "Cloning to: $pwd/$pkgsrc"
   6.200 +msgstr "Клонирование в $pwd/$pkgsrc"
   6.201 +
   6.202 +#: cook:214
   6.203 +#, sh-format
   6.204 +msgid "Hg branch: $BRANCH"
   6.205 +msgstr "Ветвь Hg: $BRANCH"
   6.206 +
   6.207 +#: cook:216
   6.208 +#, sh-format
   6.209 +msgid "ERROR: hg clone $url --rev $BRANCH"
   6.210 +msgstr "ОШИБКА: hg clone $url --rev $BRANCH"
   6.211 +
   6.212 +#: cook:218
   6.213 +#, sh-format
   6.214 +msgid "ERROR: hg clone $url"
   6.215 +msgstr "ОШИБКА: hg clone $url"
   6.216 +
   6.217 +#: cook:224
   6.218 +msgid "Getting source from Git..."
   6.219 +msgstr "Загрузка исходников с Git…"
   6.220 +
   6.221 +#: cook:226
   6.222 +#, sh-format
   6.223 +msgid "ERROR: git clone $url"
   6.224 +msgstr "ОШИБКА: git clone $url"
   6.225 +
   6.226 +#: cook:228
   6.227 +#, sh-format
   6.228 +msgid "Git branch: $BRANCH"
   6.229 +msgstr "Ветвь Git: $BRANCH"
   6.230 +
   6.231 +#: cook:236
   6.232 +msgid "Getting source from CVS..."
   6.233 +msgstr "Загрузка исходников с CVS…"
   6.234 +
   6.235 +#: cook:238
   6.236 +#, sh-format
   6.237 +msgid "CVS module: $mod"
   6.238 +msgstr "Модуль CVS: $mod"
   6.239 +
   6.240 +#: cook:239
   6.241 +#, sh-format
   6.242 +msgid "Cloning to: $pwd/$mod"
   6.243 +msgstr "Клонирование в $pwd/$mod"
   6.244 +
   6.245 +#: cook:248
   6.246 +msgid "Getting source from SVN..."
   6.247 +msgstr "Загрузка исходников с SVN…"
   6.248 +
   6.249 +#: cook:258
   6.250 +msgid "Getting source from bazaar..."
   6.251 +msgstr "Загрузка исходников с bazaar…"
   6.252 +
   6.253 +#: cook:268
   6.254 +msgid "Don't forget to add to receipt:"
   6.255 +msgstr "Не забудьте добавить в рецепт:"
   6.256 +
   6.257 +#: cook:275
   6.258 +#, sh-format
   6.259 +msgid "ERROR: Unable to handle: $WGET_URL"
   6.260 +msgstr "ОШИБКА: Не удалось обработать $WGET_URL"
   6.261 +
   6.262 +#: cook:287
   6.263 +#, sh-format
   6.264 +msgid "Getting source from mirror: $url"
   6.265 +msgstr "Загрузка исходников из репозитария mirror: $url"
   6.266 +
   6.267 +#: cook:288
   6.268 +#, sh-format
   6.269 +msgid "ERROR: wget $url"
   6.270 +msgstr "ОШИБКА: wget $url"
   6.271 +
   6.272 +#: cook:290
   6.273 +#, sh-format
   6.274 +msgid "Extracting: $TARBALL"
   6.275 +msgstr "Распаковка архива $TARBALL"
   6.276 +
   6.277 +#. L10n: specify your format of date and time (to help: man date)
   6.278 +#. L10n: not bad one is '+%x %R'
   6.279 +#: cook:314 cook:341 cook:1179 cook:1286
   6.280 +msgid "+%Y-%m-%d %H:%M"
   6.281 +msgstr "+%x %R"
   6.282 +
   6.283 +#. L10n: 'm' is for minutes (approximate cooking time)
   6.284 +#: cook:318
   6.285 +#, sh-format
   6.286 +msgid "~ ${div}m"
   6.287 +msgstr "(около $div мин)"
   6.288 +
   6.289 +#: cook:319
   6.290 +#, sh-format
   6.291 +msgid "Summary for: $PACKAGE $VERSION"
   6.292 +msgstr "Сводка по пакету $PACKAGE $VERSION"
   6.293 +
   6.294 +#. L10n: keep the same width of translations to get a consistent view
   6.295 +#: cook:322
   6.296 +#, sh-format
   6.297 +msgid "Source dir  : $srcdir"
   6.298 +msgstr "Папка исходников     : $srcdir"
   6.299 +
   6.300 +#: cook:323
   6.301 +#, sh-format
   6.302 +msgid "Src file    : $TARBALL"
   6.303 +msgstr "Имя архива исходников: $TARBALL"
   6.304 +
   6.305 +#: cook:324
   6.306 +#, sh-format
   6.307 +msgid "Src size    : $srcsize"
   6.308 +msgstr "Размер архива        : $srcsize"
   6.309 +
   6.310 +#: cook:325
   6.311 +#, sh-format
   6.312 +msgid "Produced    : $prod"
   6.313 +msgstr "Скомпилировано       : $prod"
   6.314 +
   6.315 +#: cook:326
   6.316 +#, sh-format
   6.317 +msgid "Packed      : $fs"
   6.318 +msgstr "Помещено в пакет     : $fs"
   6.319 +
   6.320 +#: cook:327
   6.321 +#, sh-format
   6.322 +msgid "Compressed  : $size"
   6.323 +msgstr "Размер сжатого пакета: $size"
   6.324 +
   6.325 +#: cook:328
   6.326 +#, sh-format
   6.327 +msgid "Files       : $files"
   6.328 +msgstr "Количество файлов    : $files"
   6.329 +
   6.330 +#. L10n: 's' is for seconds (cooking time)
   6.331 +#: cook:330
   6.332 +#, sh-format
   6.333 +msgid "Cook time   : ${sec}s $min"
   6.334 +msgstr "Время приготовления  : $sec с $min"
   6.335 +
   6.336 +#: cook:331
   6.337 +#, sh-format
   6.338 +msgid "Cook date   : $cookdate"
   6.339 +msgstr "Дата приготовления   : $cookdate"
   6.340 +
   6.341 +#: cook:332
   6.342 +#, sh-format
   6.343 +msgid "Host arch   : $ARCH"
   6.344 +msgstr "Архитектура хоста    : $ARCH"
   6.345 +
   6.346 +#: cook:338
   6.347 +msgid "Debug information"
   6.348 +msgstr "Отладочная информация"
   6.349 +
   6.350 +#: cook:342
   6.351 +#, sh-format
   6.352 +msgid "Cook date: $datenow"
   6.353 +msgstr "Дата приготовления: $datenow"
   6.354 +
   6.355 +#. L10n: Please, translate all messages beginning with ERROR in a same way
   6.356 +#: cook:344 cook:604 cook:701 cook:731 cook:817 cook:1405
   6.357 +msgid "ERROR"
   6.358 +msgstr "ОШИБКА"
   6.359 +
   6.360 +#: cook:427
   6.361 +msgid "Executing strip on all files..."
   6.362 +msgstr "Выполнение команды strip для всех файлов…"
   6.363 +
   6.364 +#: cook:440
   6.365 +msgid "Removing Python compiled files..."
   6.366 +msgstr "Удаление скомпилированных файлов Python…"
   6.367 +
   6.368 +#: cook:448
   6.369 +msgid "Removing Perl compiled files..."
   6.370 +msgstr "Удаление скомпилированных файлов Perl…"
   6.371 +
   6.372 +#: cook:462 cook:590
   6.373 +msgid "Build dependencies to remove: "
   6.374 +msgstr "Будут удалены зависимости сборки: "
   6.375 +
   6.376 +#: cook:463 cook:591
   6.377 +msgid "Removing:"
   6.378 +msgstr "Удаление:"
   6.379 +
   6.380 +#: cook:477
   6.381 +#, sh-format
   6.382 +msgid "Cook: $PACKAGE $VERSION"
   6.383 +msgstr "Приготовление пакета: $PACKAGE $VERSION"
   6.384 +
   6.385 +#: cook:491
   6.386 +#, sh-format
   6.387 +msgid "$ARCH sysroot: $sysroot"
   6.388 +msgstr "Корень $ARCH: $sysroot"
   6.389 +
   6.390 +#: cook:492
   6.391 +#, sh-format
   6.392 +msgid "Adding $tools/bin to PATH"
   6.393 +msgstr "Добавление «$tools/bin» в PATH"
   6.394 +
   6.395 +#: cook:496
   6.396 +#, sh-format
   6.397 +msgid "Using cross-tools: $CROSS_COMPILE"
   6.398 +msgstr "Используемые кросс-инструменты: $CROSS_COMPILE"
   6.399 +
   6.400 +#: cook:518
   6.401 +#, sh-format
   6.402 +msgid "Disabling -pipe compile flag: $free RAM"
   6.403 +msgstr "Отключение флага компиляции «-pipe»: свободно $free КБ RAM"
   6.404 +
   6.405 +#: cook:535
   6.406 +msgid "Checking build dependencies..."
   6.407 +msgstr "Проверка зависимостей сборки…"
   6.408 +
   6.409 +#: cook:536
   6.410 +#, sh-format
   6.411 +msgid "Using packages DB: ${root}$DB"
   6.412 +msgstr "Используемая база данных пакетов: ${root}$DB"
   6.413 +
   6.414 +#: cook:562
   6.415 +#, sh-format
   6.416 +msgid "Missing dep (wok/pkg): $i $vers"
   6.417 +msgstr "Отсутствует зависимость (wok/пакет): $i $vers"
   6.418 +
   6.419 +#: cook:570
   6.420 +#, sh-format
   6.421 +msgid "ERROR: unknown dep $i"
   6.422 +msgstr "ОШИБКА: неизвестная зависимость «$i»"
   6.423 +
   6.424 +#: cook:583
   6.425 +msgid "Auto cook config is set: AUTO_COOK"
   6.426 +msgstr "Авто-приготовление включено: AUTO_COOK"
   6.427 +
   6.428 +#: cook:587
   6.429 +#, sh-format
   6.430 +msgid "Building dep (wok/pkg)    : $i $vers"
   6.431 +msgstr "Приготовление зависимости (wok/пакет): $i $vers"
   6.432 +
   6.433 +#: cook:592
   6.434 +#, sh-format
   6.435 +msgid "ERROR: can't cook dep '$i'"
   6.436 +msgstr "ОШИБКА: не удалось приготовить зависимость «$i»"
   6.437 +
   6.438 +#: cook:607
   6.439 +#, sh-format
   6.440 +msgid "ERROR: missing dep $nb"
   6.441 +msgstr "ОШИБКА: отсутствует зависимость «$nb»"
   6.442 +
   6.443 +#: cook:614
   6.444 +#, sh-format
   6.445 +msgid "Installing dep (pkg/local): $i"
   6.446 +msgstr "Установка зависимости (пакет/локальный): $i"
   6.447 +
   6.448 +#: cook:622
   6.449 +#, sh-format
   6.450 +msgid "Installing dep (web/cache): $i"
   6.451 +msgstr "Установка зависимости (веб/кеш): $i"
   6.452 +
   6.453 +#: cook:672
   6.454 +msgid "Executing: compile_rules"
   6.455 +msgstr "Выполнение правил компиляции исходников"
   6.456 +
   6.457 +#: cook:689
   6.458 +msgid "Running testsuite"
   6.459 +msgstr "Запуск набора тестов"
   6.460 +
   6.461 +#: cook:698
   6.462 +msgid "ERROR: cook failed"
   6.463 +msgstr "ОШИБКА: приготовление не удалось"
   6.464 +
   6.465 +#: cook:718
   6.466 +#, sh-format
   6.467 +msgid "Pack: $PACKAGE ${VERSION}${arch}"
   6.468 +msgstr "Упаковка: $PACKAGE ${VERSION}${arch}"
   6.469 +
   6.470 +#: cook:721
   6.471 +msgid "Executing: genpkg_rules"
   6.472 +msgstr "Выполнение правил создания пакета"
   6.473 +
   6.474 +#: cook:723
   6.475 +msgid "ERROR: genpkg_rules failed"
   6.476 +msgstr "ОШИБКА: не удалось выполнить правила создания пакета"
   6.477 +
   6.478 +#: cook:726
   6.479 +msgid "No packages rules: meta package"
   6.480 +msgstr "Для пакета отсутствуют правила, это мета-пакет"
   6.481 +
   6.482 +#: cook:740
   6.483 +#, sh-format
   6.484 +msgid "Copying $file..."
   6.485 +msgstr "Копирование файла $file…"
   6.486 +
   6.487 +#: cook:746
   6.488 +msgid "Creating the list of files..."
   6.489 +msgstr "Создание списка файлов…"
   6.490 +
   6.491 +#: cook:757
   6.492 +msgid "Creating md5sum of files..."
   6.493 +msgstr "Расчёт контрольных сумм файлов…"
   6.494 +
   6.495 +#: cook:772
   6.496 +msgid "Compressing the fs..."
   6.497 +msgstr "Сжатие файловой системы…"
   6.498 +
   6.499 +#: cook:779
   6.500 +msgid "Updating receipt sizes..."
   6.501 +msgstr "Обновление размеров в рецепте…"
   6.502 +
   6.503 +#: cook:787
   6.504 +#, sh-format
   6.505 +msgid "Updating receipt EXTRAVERSION: $EXTRAVERSION"
   6.506 +msgstr "Обновление EXTRAVERSION в рецепте: $EXTRAVERSION"
   6.507 +
   6.508 +#: cook:794
   6.509 +msgid "Creating full cpio archive..."
   6.510 +msgstr "Создание полного архива CPIO…"
   6.511 +
   6.512 +#: cook:798
   6.513 +msgid "Restoring original package tree..."
   6.514 +msgstr "Восстановление оригинального дерева пакета…"
   6.515 +
   6.516 +#: cook:806
   6.517 +#, sh-format
   6.518 +msgid "Package: $tazpkg"
   6.519 +msgstr "Создан пакет «$tazpkg»"
   6.520 +
   6.521 +#: cook:822
   6.522 +msgid "QA: checking for empty package..."
   6.523 +msgstr "ОТК: проверка на пустой пакет…"
   6.524 +
   6.525 +#: cook:825
   6.526 +msgid "ERROR: empty package"
   6.527 +msgstr "ОШИБКА: пустой пакет"
   6.528 +
   6.529 +#: cook:833
   6.530 +#, sh-format
   6.531 +msgid "Removing old: $old_pkg"
   6.532 +msgstr "Удаление старого пакета «$old_pkg»…"
   6.533 +
   6.534 +#: cook:863
   6.535 +msgid "Unable to install package, build has failed."
   6.536 +msgstr "Не удалось установить пакет, сборка завершилась неудачей."
   6.537 +
   6.538 +#: cook:872
   6.539 +#, sh-format
   6.540 +msgid "Updating $ARCH chroot environment..."
   6.541 +msgstr "Обновление окружения chroot $ARCH…"
   6.542 +
   6.543 +#: cook:873
   6.544 +#, sh-format
   6.545 +msgid "Updating chroot: $pkg (${VERSION}${EXTRAVERSION}${arch})"
   6.546 +msgstr "Обновление пакета $pkg (${VERSION}${EXTRAVERSION}${arch}) в chroot"
   6.547 +
   6.548 +#: cook:894
   6.549 +msgid "Setup aufs chroot..."
   6.550 +msgstr "Настройка chroot AUFS…"
   6.551 +
   6.552 +#: cook:906
   6.553 +msgid "Aufs mountage failure"
   6.554 +msgstr "Не удалось смонтировать AUFS"
   6.555 +
   6.556 +#: cook:917
   6.557 +msgid "Leaving aufs chroot..."
   6.558 +msgstr "Выход из chroot AUFS…"
   6.559 +
   6.560 +#: cook:959
   6.561 +#, sh-format
   6.562 +msgid "List of packages in: $WOK"
   6.563 +msgstr "Список пакетов в $WOK"
   6.564 +
   6.565 +#: cook:963
   6.566 +#, sh-format
   6.567 +msgid "Packages: $pkg_total"
   6.568 +msgstr "Пакетов: $pkg_total"
   6.569 +
   6.570 +#: cook:969
   6.571 +#, sh-format
   6.572 +msgid "Search results for: $query"
   6.573 +msgstr "Результаты поиска «$query»"
   6.574 +
   6.575 +#: cook:975
   6.576 +msgid "Cook: setup environment"
   6.577 +msgstr "Cook: настройка окружения"
   6.578 +
   6.579 +#: cook:976
   6.580 +msgid "Setting up your environment"
   6.581 +msgstr "Настройка окружения"
   6.582 +
   6.583 +#: cook:979
   6.584 +msgid "Checking for packages to install..."
   6.585 +msgstr "Подготовка к установке пакетов…"
   6.586 +
   6.587 +#: cook:985
   6.588 +msgid "ERROR: cross is not installed"
   6.589 +msgstr "ОШИБКА: cross не установлен"
   6.590 +
   6.591 +#: cook:988
   6.592 +msgid "Using config file: /etc/slitaz/cross.conf"
   6.593 +msgstr "Использование файла параметров: /etc/slitaz/cross.conf"
   6.594 +
   6.595 +#: cook:1013
   6.596 +msgid "Adding group: slitaz"
   6.597 +msgstr "Добавление группы «slitaz»"
   6.598 +
   6.599 +#: cook:1016
   6.600 +msgid "Setting permissions for slitaz group..."
   6.601 +msgstr "Установка прав доступа для группы slitaz…"
   6.602 +
   6.603 +#: cook:1019
   6.604 +msgid "All done, ready to cook packages :-)"
   6.605 +msgstr "Хорошо, теперь можно готовить пакеты :-)"
   6.606 +
   6.607 +#: cook:1024
   6.608 +#, sh-format
   6.609 +msgid "Cook: setup $arch cross environment"
   6.610 +msgstr "Cook: настройка кросс-окружения $arch"
   6.611 +
   6.612 +#: cook:1025
   6.613 +#, sh-format
   6.614 +msgid "Setting up your $arch cross environment"
   6.615 +msgstr "Настройка кросс-окружения $arch"
   6.616 +
   6.617 +#. L10n: keep the same width of translations to get a consistent view
   6.618 +#: cook:1051
   6.619 +#, sh-format
   6.620 +msgid "Target arch     : $ARCH"
   6.621 +msgstr "Целевая архитектура   : $ARCH"
   6.622 +
   6.623 +#: cook:1052
   6.624 +#, sh-format
   6.625 +msgid "Configure args  : $CONFIGURE_ARGS"
   6.626 +msgstr "Параметры конфигурации: $CONFIGURE_ARGS"
   6.627 +
   6.628 +#: cook:1053
   6.629 +#, sh-format
   6.630 +msgid "Arch sysroot    : $sysroot"
   6.631 +msgstr "Sysroot архитектуры   : $sysroot"
   6.632 +
   6.633 +#: cook:1054
   6.634 +#, sh-format
   6.635 +msgid "Tools prefix    : $tools/bin"
   6.636 +msgstr "Префикс инструментов  : $tools/bin"
   6.637 +
   6.638 +#: cook:1056
   6.639 +#, sh-format
   6.640 +msgid "Packages DB     : ${root}$DB"
   6.641 +msgstr "База данных пакетов   : ${root}$DB"
   6.642 +
   6.643 +#: cook:1067
   6.644 +msgid "WARNING: (e)glibc-base is not installed in sysroot"
   6.645 +msgstr "ПРЕДУПРЕЖДЕНИЕ: пакет (e)glibc-base не установлен в sysroot"
   6.646 +
   6.647 +#: cook:1071
   6.648 +#, sh-format
   6.649 +msgid "Cross compiler  : ${HOST_SYSTEM}-gcc"
   6.650 +msgstr "Кросс-компилятор      : ${HOST_SYSTEM}-gcc"
   6.651 +
   6.652 +#: cook:1073
   6.653 +#, sh-format
   6.654 +msgid "C compiler is missing: ${HOST_SYSTEM}-gcc"
   6.655 +msgstr "Отсутствует компилятор C «${HOST_SYSTEM}-gcc»"
   6.656 +
   6.657 +#: cook:1074
   6.658 +msgid "Run 'cross compile' to cook a toolchain"
   6.659 +msgstr "Запустите «cross compile» для приготовления тулчейна"
   6.660 +
   6.661 +#: cook:1079
   6.662 +msgid "Cook test: testing the cook environment"
   6.663 +msgstr "Тест cook: проверка окружения cook"
   6.664 +
   6.665 +#: cook:1089
   6.666 +#, sh-format
   6.667 +msgid "$pkg package already exists."
   6.668 +msgstr "Пакет $pkg уже существует."
   6.669 +
   6.670 +#: cook:1092
   6.671 +#, sh-format
   6.672 +msgid "Creating $WOK/$pkg"
   6.673 +msgstr "Создание папки $WOK/$pkg"
   6.674 +
   6.675 +#: cook:1094
   6.676 +msgid "Preparing the package receipt..."
   6.677 +msgstr "Подготовка рецепта пакета…"
   6.678 +
   6.679 +#: cook:1102
   6.680 +msgid "Entering interactive mode..."
   6.681 +msgstr "Интерактивный режим создания рецепта"
   6.682 +
   6.683 +#: cook:1104
   6.684 +#, sh-format
   6.685 +msgid "Package       : $pkg"
   6.686 +msgstr "Пакет         : $pkg"
   6.687 +
   6.688 +#: cook:1105
   6.689 +msgid "Version       : "
   6.690 +msgstr "Версия        : "
   6.691 +
   6.692 +#: cook:1107
   6.693 +msgid "Category      : "
   6.694 +msgstr "Категория     : "
   6.695 +
   6.696 +#. L10n: Short description
   6.697 +#: cook:1110
   6.698 +msgid "Short desc    : "
   6.699 +msgstr "Кратк.описание: "
   6.700 +
   6.701 +#: cook:1112
   6.702 +msgid "Maintainer    : "
   6.703 +msgstr "Мейнтейнер    : "
   6.704 +
   6.705 +#: cook:1114
   6.706 +msgid "License       : "
   6.707 +msgstr "Лицензия      : "
   6.708 +
   6.709 +#: cook:1116
   6.710 +msgid "Web site      : "
   6.711 +msgstr "Сайт          : "
   6.712 +
   6.713 +#: cook:1120
   6.714 +msgid "Wget URL to download source tarball."
   6.715 +msgstr "Адрес загрузки архива с исходниками."
   6.716 +
   6.717 +#: cook:1121
   6.718 +msgid "Example  : "
   6.719 +msgstr "Пример        : "
   6.720 +
   6.721 +#: cook:1122
   6.722 +msgid "Wget url : "
   6.723 +msgstr "Исходники     : "
   6.724 +
   6.725 +#: cook:1125
   6.726 +msgid "Do you need a stuff directory? (y/N) : "
   6.727 +msgstr "Нужна ли папка stuff? (y/N) : "
   6.728 +
   6.729 +#: cook:1127
   6.730 +msgid "Creating the stuff directory..."
   6.731 +msgstr "Создание папки stuff…"
   6.732 +
   6.733 +#: cook:1131
   6.734 +msgid "Are you going to write a description? (y/N) : "
   6.735 +msgstr "Хотите ли написать расширенное описание? (y/N) : "
   6.736 +
   6.737 +#: cook:1133
   6.738 +msgid "Creating the description.txt file..."
   6.739 +msgstr "Создание файла description.txt…"
   6.740 +
   6.741 +#: cook:1136
   6.742 +msgid "Receipt is ready to use."
   6.743 +msgstr "Рецепт готов к использованию."
   6.744 +
   6.745 +#: cook:1142
   6.746 +msgid "No list in argument."
   6.747 +msgstr "Не указан файл списка."
   6.748 +
   6.749 +#: cook:1144
   6.750 +#, sh-format
   6.751 +msgid "No list found: $list2"
   6.752 +msgstr "Список «$list2» не обнаружен."
   6.753 +
   6.754 +#: cook:1145
   6.755 +#, sh-format
   6.756 +msgid "Cook list starting: $list2"
   6.757 +msgstr "Приготовление пакетов из списка «$list2»"
   6.758 +
   6.759 +#: cook:1152
   6.760 +msgid "Cleaning all packages files..."
   6.761 +msgstr "Очистка файлов всех пакетов…"
   6.762 +
   6.763 +#: cook:1157
   6.764 +msgid "Cleaning all packages sources..."
   6.765 +msgstr "Очистка распакованных исходников всех пакетов…"
   6.766 +
   6.767 +#: cook:1170
   6.768 +msgid "Packages directory doesn't exist"
   6.769 +msgstr "Папка пакета не существует"
   6.770 +
   6.771 +#: cook:1177
   6.772 +msgid "Cook pkgdb: Creating all packages lists"
   6.773 +msgstr "Cook pkgdb: создание списков всех пакетов"
   6.774 +
   6.775 +#: cook:1178
   6.776 +#, sh-format
   6.777 +msgid "Creating lists for: $PKGS"
   6.778 +msgstr "Создание списков для «$PKGS»"
   6.779 +
   6.780 +#: cook:1180
   6.781 +#, sh-format
   6.782 +msgid "Cook pkgdb started: $datenow"
   6.783 +msgstr "Начало создания базы данных пакетов: $datenow"
   6.784 +
   6.785 +#: cook:1183
   6.786 +msgid "Creating: packages.list"
   6.787 +msgstr "Создание «packages.list»"
   6.788 +
   6.789 +#: cook:1185
   6.790 +msgid "Creating: packages.md5"
   6.791 +msgstr "Создание «packages.md5»"
   6.792 +
   6.793 +#: cook:1188
   6.794 +#, sh-format
   6.795 +msgid "Creating lists from: $WOK"
   6.796 +msgstr "Создание списков пакетов из $WOK"
   6.797 +
   6.798 +#: cook:1230
   6.799 +msgid "Done: packages.desc"
   6.800 +msgstr "Файл «packages.desc» готов."
   6.801 +
   6.802 +#: cook:1231
   6.803 +msgid "Done: packages.txt"
   6.804 +msgstr "Файл «packages.txt» готов."
   6.805 +
   6.806 +#: cook:1232
   6.807 +msgid "Done: packages.equiv"
   6.808 +msgstr "Файл «packages.equiv» готов."
   6.809 +
   6.810 +#: cook:1235
   6.811 +msgid "Creating: files.list.lzma"
   6.812 +msgstr "Создание файла «files.list.lzma»"
   6.813 +
   6.814 +#. L10n: 's' is for seconds (cooking time)
   6.815 +#: cook:1244
   6.816 +#, sh-format
   6.817 +msgid "Packages: $nb - Time: ${time}s"
   6.818 +msgstr "Пакетов: $nb - время: $time с"
   6.819 +
   6.820 +#: cook:1250
   6.821 +#, sh-format
   6.822 +msgid "Missing flavors: $flavors"
   6.823 +msgstr "Отсутствуют редакции $flavors"
   6.824 +
   6.825 +#: cook:1252
   6.826 +#, sh-format
   6.827 +msgid "Creating flavors files in: $live"
   6.828 +msgstr "Создание редакций в $live"
   6.829 +
   6.830 +#: cook:1253
   6.831 +msgid "Cook pkgdb: Creating all flavors"
   6.832 +msgstr "Cook pkgdb: создание всех редакций"
   6.833 +
   6.834 +#: cook:1255
   6.835 +msgid "Recharging lists to use latest packages..."
   6.836 +msgstr "Обновление списков для использования свежих пакетов…"
   6.837 +
   6.838 +#: cook:1260
   6.839 +msgid "Creating configuration file: tazlito.conf"
   6.840 +msgstr "Создание файла концигурации «tazlito.conf»"
   6.841 +
   6.842 +#: cook:1270
   6.843 +msgid "Starting to generate flavors..."
   6.844 +msgstr "Начало создания редакций…"
   6.845 +
   6.846 +#: cook:1275
   6.847 +#, sh-format
   6.848 +msgid "Packing flavor: $fl"
   6.849 +msgstr "Упаковка редакции «$fl»"
   6.850 +
   6.851 +#: cook:1283
   6.852 +#, sh-format
   6.853 +msgid "Flavors size: $fl_size"
   6.854 +msgstr "Размер редакции: $fl_size"
   6.855 +
   6.856 +#: cook:1287
   6.857 +#, sh-format
   6.858 +msgid "Cook pkgdb end: $datenow"
   6.859 +msgstr "База данных пакетов создана: $datenow"
   6.860 +
   6.861 +#: cook:1314
   6.862 +#, sh-format
   6.863 +msgid "cook: HOST_ARCH is not set in $pkg receipt"
   6.864 +msgstr "cook: переменная HOST_ARCH не указана в рецепте пакета «$pkg»"
   6.865 +
   6.866 +#: cook:1315
   6.867 +#, sh-format
   6.868 +msgid "cook: This package is not included in: $ARCH"
   6.869 +msgstr "cook: этот пакет не включен в $ARCH"
   6.870 +
   6.871 +#: cook:1316 cook:1327
   6.872 +#, sh-format
   6.873 +msgid "bugs: $CROSS_BUGS"
   6.874 +msgstr "bugs: $CROSS_BUGS"
   6.875 +
   6.876 +#: cook:1317
   6.877 +#, sh-format
   6.878 +msgid "Cook skip: $pkg is not included in: $ARCH"
   6.879 +msgstr "Пропуск: пакет $pkg не включен в $ARCH"
   6.880 +
   6.881 +#: cook:1325
   6.882 +#, sh-format
   6.883 +msgid "cook: HOST_ARCH=$HOST_ARCH"
   6.884 +msgstr "cook: HOST_ARCH=$HOST_ARCH"
   6.885 +
   6.886 +#: cook:1326
   6.887 +#, sh-format
   6.888 +msgid "cook: $pkg doesn't cook or is not included in: $ARCH"
   6.889 +msgstr "cook: пакет $pkg не приготовлен либо не включен в $ARCH"
   6.890 +
   6.891 +#: cook:1328
   6.892 +#, sh-format
   6.893 +msgid "Cook skip: $pkg doesn't cook or is not included in: $ARCH"
   6.894 +msgstr "Пропуск: пакет $pkg не приготовлен либо не включен в $ARCH"
   6.895 +
   6.896 +#: cook:1334
   6.897 +#, sh-format
   6.898 +msgid "Blocked package: $pkg"
   6.899 +msgstr "Пакет $pkg заблокирован"
   6.900 +
   6.901 +#: cook:1341
   6.902 +#, sh-format
   6.903 +msgid "Cook started for: <a href='cooker.cgi?pkg=$pkg'>$pkg</a>"
   6.904 +msgstr "Начато приготовление <a href='cooker.cgi?pkg=$pkg'>$pkg</a>"
   6.905 +
   6.906 +#: cook:1352
   6.907 +#, sh-format
   6.908 +msgid "Cleaning: $pkg"
   6.909 +msgstr "Очистка пакета «$pkg»"
   6.910 +
   6.911 +#: cook:1358
   6.912 +#, sh-format
   6.913 +msgid "Getting source for: $pkg"
   6.914 +msgstr "Загрузка исходников для «$pkg»"
   6.915 +
   6.916 +#: cook:1360
   6.917 +#, sh-format
   6.918 +msgid "Tarball: $SRC/$TARBALL"
   6.919 +msgstr "Архив исходников: $SRC/$TARBALL"
   6.920 +
   6.921 +#: cook:1363
   6.922 +#, sh-format
   6.923 +msgid "Blocking: $pkg"
   6.924 +msgstr "Блокировка пакета «$pkg»"
   6.925 +
   6.926 +#: cook:1367
   6.927 +#, sh-format
   6.928 +msgid "Unblocking: $pkg"
   6.929 +msgstr "Снятие блокировки пакета «$pkg»"
   6.930 +
   6.931 +#: cook:1377
   6.932 +#, sh-format
   6.933 +msgid "Need to build $pkg."
   6.934 +msgstr "Пакет $pkg сначала нужно собрать."
   6.935 +
   6.936 +#: cook:1385
   6.937 +#, sh-format
   6.938 +msgid "WANTED package is blocked: $wanted"
   6.939 +msgstr "Требуемый пакет «$wanted» заблокирован"
   6.940 +
   6.941 +#: cook:1389
   6.942 +#, sh-format
   6.943 +msgid "WANTED package is broken: $wanted"
   6.944 +msgstr "Требуемый пакет «$wanted» сломан"