# HG changeset patch # User Christophe Lincoln # Date 1287784731 -7200 # Node ID d9b27dc2fb9bb884b5711563f0c9f03490da27a5 # Parent 16a745632de518e3567580183779d8d13c65780b Gettextized tazctrlbox, add pot file and up Makefile diff -r 16a745632de5 -r d9b27dc2fb9b Makefile --- a/Makefile Fri Oct 22 22:38:46 2010 +0200 +++ b/Makefile Fri Oct 22 23:58:51 2010 +0200 @@ -4,7 +4,7 @@ PREFIX?=/usr DOCDIR?=/usr/share/doc DESTDIR?= -TINYUTILS?=subox scpbox +TINYUTILS?=subox scpbox tazctrlbox LINGUAS?=fr pt all: diff -r 16a745632de5 -r d9b27dc2fb9b po/scpbox/scpbox.pot --- a/po/scpbox/scpbox.pot Fri Oct 22 22:38:46 2010 +0200 +++ b/po/scpbox/scpbox.pot Fri Oct 22 23:58:51 2010 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: scpbox\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-03-24 22:10+0100\n" +"POT-Creation-Date: 2010-10-22 23:40+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff -r 16a745632de5 -r d9b27dc2fb9b po/subox/subox.pot --- a/po/subox/subox.pot Fri Oct 22 22:38:46 2010 +0200 +++ b/po/subox/subox.pot Fri Oct 22 23:58:51 2010 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: subox\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-03-24 22:10+0100\n" +"POT-Creation-Date: 2010-10-22 23:40+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -17,15 +17,19 @@ "Content-Transfer-Encoding: 8bit\n" #: tinyutils/subox:39 +msgid "Error: wrong password!" +msgstr "" + +#: tinyutils/subox:60 msgid "" "\n" "Please enter root password (default root) to execute :" msgstr "" -#: tinyutils/subox:48 +#: tinyutils/subox:69 msgid "Admin password :" msgstr "" -#: tinyutils/subox:65 +#: tinyutils/subox:88 msgid "Autosave password" msgstr "" diff -r 16a745632de5 -r d9b27dc2fb9b po/tazctrlbox/tazctrlbox.pot --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/po/tazctrlbox/tazctrlbox.pot Fri Oct 22 23:58:51 2010 +0200 @@ -0,0 +1,104 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: tazctrlbox\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-10-22 23:40+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: tinyutils/tazctrlbox:91 +msgid "Manage user: " +msgstr "" + +#: tinyutils/tazctrlbox:102 +msgid "New password:" +msgstr "" + +#: tinyutils/tazctrlbox:116 +msgid "Delete user" +msgstr "" + +#: tinyutils/tazctrlbox:139 +msgid "" +"\n" +"New account information" +msgstr "" + +#: tinyutils/tazctrlbox:146 +msgid "Login:" +msgstr "" + +#: tinyutils/tazctrlbox:154 +msgid "Password:" +msgstr "" + +#: tinyutils/tazctrlbox:205 +msgid "SliTaz Control Box" +msgstr "" + +#: tinyutils/tazctrlbox:210 +msgid "SliTaz Control Box" +msgstr "" + +#: tinyutils/tazctrlbox:217 +msgid "Boot loader|Initialization|Login manager|Time|Language|Users" +msgstr "" + +#: tinyutils/tazctrlbox:222 +msgid "Grub boot loader" +msgstr "" + +#: tinyutils/tazctrlbox:225 +msgid "Timeout:" +msgstr "" + +#: tinyutils/tazctrlbox:232 tinyutils/tazctrlbox:246 tinyutils/tazctrlbox:292 +#: tinyutils/tazctrlbox:306 +msgid "Change" +msgstr "" + +#: tinyutils/tazctrlbox:239 +msgid "Color:" +msgstr "" + +#: tinyutils/tazctrlbox:253 +msgid "Configuration file:" +msgstr "" + +#: tinyutils/tazctrlbox:268 +msgid "rcS init scripts" +msgstr "" + +#: tinyutils/tazctrlbox:271 +msgid "Check filesystems:" +msgstr "" + +#: tinyutils/tazctrlbox:285 +msgid "Load modules:" +msgstr "" + +#: tinyutils/tazctrlbox:299 +msgid "Run daemons:" +msgstr "" + +#: tinyutils/tazctrlbox:313 +msgid "Add local commands:" +msgstr "" + +#: tinyutils/tazctrlbox:326 +msgid "Slim settings" +msgstr "" + +#: tinyutils/tazctrlbox:329 +msgid "Sessions:" +msgstr "" diff -r 16a745632de5 -r d9b27dc2fb9b tinyutils/tazctrlbox --- a/tinyutils/tazctrlbox Fri Oct 22 22:38:46 2010 +0200 +++ b/tinyutils/tazctrlbox Fri Oct 22 23:58:51 2010 +0200 @@ -8,7 +8,14 @@ # (C) GNU gpl v3 - SliTaz GNU/Linux 2010. # Author: Christophe Lincoln # -VERSION=1.0 +VERSION=1.1 + +# Include gettext helper script. +. /usr/bin/gettext.sh + +# Export package name for gettext. +TEXTDOMAIN='tazctrlbox' +export TEXTDOMAIN # Get init configuration. . /etc/rcS.conf @@ -81,7 +88,7 @@ manage_user() { export MANAGE_DIALOG=" - + @@ -92,7 +99,7 @@ - + PASSWD @@ -106,7 +113,7 @@ - + cat /boot/grub/menu.lst | grep ^color | cut -d \" \" -f2-3 GRUB_COLOR - + - + echo $RUN_DAEMONS NEW_DAEMONS - + - + cat /etc/slim.conf | grep ^default_user | sed s/"default_user. *"// SLIM_DEF_USER - + cat /etc/slim.conf | grep ^auto_login | sed s/"auto_login. *"// SLIM_AUTO_LOGIN - + NEW_SLIM_THEME' @@ -374,12 +381,12 @@ MAIN_DIALOG=${MAIN_DIALOG}' @@ -457,18 +464,18 @@ 600210 LANGUAGE - + $0 list_locales $0 gen_utf8_locale @@ -480,7 +487,7 @@ 600210 USER - + $0 get_users $0 manage_user refresh:USER @@ -488,11 +495,11 @@