slitaz-tools rev 590

Move old scpbox pot to oldstuff and update Makefile to handle new POT and translations (Incedible Claudinei work!)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 30 14:48:39 2011 +0200 (2011-04-30)
parents 2ebb82ea8a5e
children 28160cf0099c
files Makefile oldstuff/subox.pot po/scpbox/scpbox.pot po/subox/fr.po po/subox/pt.po po/subox/subox.pot po/subox/zh_CN.po po/tazbox/pt.po po/tazbox/tazbox.pot po/tazdrop/tazdrop.pot
line diff
     1.1 --- a/Makefile	Sat Apr 30 14:32:54 2011 +0200
     1.2 +++ b/Makefile	Sat Apr 30 14:48:39 2011 +0200
     1.3 @@ -4,7 +4,8 @@
     1.4  PREFIX?=/usr
     1.5  DOCDIR?=/usr/share/doc
     1.6  DESTDIR?=
     1.7 -TINYUTILS?=subox scpbox
     1.8 +TOOLS?=scpbox tazbox tazdrop
     1.9 +TINYUTILS?=scpbox
    1.10  LINGUAS?=fr pt
    1.11  	
    1.12  all:
    1.13 @@ -23,7 +24,7 @@
    1.14  		--package-name="TazDrop" ./tazdrop/tazdrop
    1.15  	@echo "done"
    1.16  
    1.17 -pot: tazbox-pot tazdrop-pot
    1.18 +tinyutils-pot: 
    1.19  	@for p in $(TINYUTILS); do \
    1.20  		echo -n "Generating $$p pot file... "; \
    1.21  		xgettext -o po/$$p/$$p.pot -L Shell \
    1.22 @@ -31,23 +32,27 @@
    1.23  		echo "done"; \
    1.24  	done;
    1.25  
    1.26 +pot: tazbox-pot tazdrop-pot tinyutils-pot
    1.27 +
    1.28  msgmerge:
    1.29 -	@for p in $(TINYUTILS); do \
    1.30 +	@for p in $(TOOLS); do \
    1.31  		for l in $(LINGUAS); do \
    1.32 -			echo -n "Updating $$p $$l po file."; \
    1.33 -			msgmerge -U po/$$p/$$l.po po/$$p/$$p.pot ; \
    1.34 +			echo -en "\rUpdating $$p $$l po file."; \
    1.35 +			[ -f "po/$$p/$$l.po" ] && \
    1.36 +				msgmerge -U po/$$p/$$l.po po/$$p/$$p.pot; \
    1.37  		done; \
    1.38  	done;
    1.39  
    1.40  msgfmt:
    1.41 -	@for p in $(TINYUTILS); do \
    1.42 +	@for p in $(TOOLS); do \
    1.43  		for l in $(LINGUAS); do \
    1.44  			echo -n "Compiling $$p $$l mo file... "; \
    1.45  			mkdir -p po/mo/$$l; \
    1.46 -			msgfmt -o po/mo/$$l/$$p.mo po/$$p/$$l.po ; \
    1.47 +			[ -f "po/$$p/$$l.po" ] && msgfmt -o po/mo/$$l/$$p.mo po/$$p/$$l.po; \
    1.48  			echo "done"; \
    1.49  		done; \
    1.50  	done;
    1.51  
    1.52  clean:
    1.53  	rm -rf po/mo
    1.54 +	rm -f po/*/*.po~
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/oldstuff/subox.pot	Sat Apr 30 14:48:39 2011 +0200
     2.3 @@ -0,0 +1,36 @@
     2.4 +# SOME DESCRIPTIVE TITLE.
     2.5 +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
     2.6 +# This file is distributed under the same license as the PACKAGE package.
     2.7 +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
     2.8 +#
     2.9 +#, fuzzy
    2.10 +msgid ""
    2.11 +msgstr ""
    2.12 +"Project-Id-Version: subox\n"
    2.13 +"Report-Msgid-Bugs-To: \n"
    2.14 +"POT-Creation-Date: 2011-04-29 18:20+0200\n"
    2.15 +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    2.16 +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    2.17 +"Language-Team: LANGUAGE <LL@li.org>\n"
    2.18 +"Language: \n"
    2.19 +"MIME-Version: 1.0\n"
    2.20 +"Content-Type: text/plain; charset=CHARSET\n"
    2.21 +"Content-Transfer-Encoding: 8bit\n"
    2.22 +
    2.23 +#: tinyutils/subox:39
    2.24 +msgid "Error: wrong password!"
    2.25 +msgstr ""
    2.26 +
    2.27 +#: tinyutils/subox:60
    2.28 +msgid ""
    2.29 +"\n"
    2.30 +"Please enter root password (default root) to execute :"
    2.31 +msgstr ""
    2.32 +
    2.33 +#: tinyutils/subox:69
    2.34 +msgid "<b>Admin password :</b>"
    2.35 +msgstr ""
    2.36 +
    2.37 +#: tinyutils/subox:89
    2.38 +msgid "Autosave password"
    2.39 +msgstr ""
     3.1 --- a/po/scpbox/scpbox.pot	Sat Apr 30 14:32:54 2011 +0200
     3.2 +++ b/po/scpbox/scpbox.pot	Sat Apr 30 14:48:39 2011 +0200
     3.3 @@ -8,7 +8,7 @@
     3.4  msgstr ""
     3.5  "Project-Id-Version: scpbox\n"
     3.6  "Report-Msgid-Bugs-To: \n"
     3.7 -"POT-Creation-Date: 2011-04-30 14:31+0200\n"
     3.8 +"POT-Creation-Date: 2011-04-30 14:40+0200\n"
     3.9  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    3.10  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    3.11  "Language-Team: LANGUAGE <LL@li.org>\n"
     4.1 --- a/po/subox/fr.po	Sat Apr 30 14:32:54 2011 +0200
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,39 +0,0 @@
     4.4 -# French translations for PACKAGE package
     4.5 -# Traductions françaises du paquet PACKAGE.
     4.6 -# Copyright (C) 2010 THE PACKAGE'S COPYRIGHT HOLDER
     4.7 -# This file is distributed under the same license as the PACKAGE package.
     4.8 -# Linux User <pankso@slitaz.org>, 2010.
     4.9 -#
    4.10 -msgid ""
    4.11 -msgstr ""
    4.12 -"Project-Id-Version: subox\n"
    4.13 -"Report-Msgid-Bugs-To: \n"
    4.14 -"POT-Creation-Date: 2011-04-29 18:20+0200\n"
    4.15 -"PO-Revision-Date: 2010-10-23 00:08+0100\n"
    4.16 -"Last-Translator: Christophe Lincoln <pankso@slitaz.org>\n"
    4.17 -"Language-Team: French\n"
    4.18 -"Language: \n"
    4.19 -"MIME-Version: 1.0\n"
    4.20 -"Content-Type: text/plain; charset=UTF-8\n"
    4.21 -"Content-Transfer-Encoding: 8bit\n"
    4.22 -"Plural-Forms: nplurals=2; plural=(n > 1);\n"
    4.23 -
    4.24 -#: tinyutils/subox:39
    4.25 -msgid "Error: wrong password!"
    4.26 -msgstr "Erreur: mot de passe incorrect!"
    4.27 -
    4.28 -#: tinyutils/subox:60
    4.29 -msgid ""
    4.30 -"\n"
    4.31 -"Please enter root password (default root) to execute :"
    4.32 -msgstr ""
    4.33 -"\n"
    4.34 -"Veuillez entrer le mot de passe root (root) pour exécuter :"
    4.35 -
    4.36 -#: tinyutils/subox:69
    4.37 -msgid "<b>Admin password :</b>"
    4.38 -msgstr "<b>Mot de passe admin:</b>"
    4.39 -
    4.40 -#: tinyutils/subox:89
    4.41 -msgid "Autosave password"
    4.42 -msgstr "Sauvegarder mot de passe"
     5.1 --- a/po/subox/pt.po	Sat Apr 30 14:32:54 2011 +0200
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,39 +0,0 @@
     5.4 -# Subox Portuguese translation 
     5.5 -# Copyright (C) 2010-2011 www.slitaz.org
     5.6 -# This file is distributed under the same license as the subox package.
     5.7 -# Claudinei Pereira <claudinei@slitaz.org>, 2010.
     5.8 -#
     5.9 -msgid ""
    5.10 -msgstr ""
    5.11 -"Project-Id-Version: subox\n"
    5.12 -"Report-Msgid-Bugs-To: \n"
    5.13 -"POT-Creation-Date: 2011-04-29 13:39+0200\n"
    5.14 -"PO-Revision-Date: 2011-04-29 04:11-0300\n"
    5.15 -"Last-Translator: Claudinei Pereira <claudinei@slitaz.org>\n"
    5.16 -"Language-Team: Portuguese <i18n@slitaz.org>\n"
    5.17 -"Language: pt\n"
    5.18 -"MIME-Version: 1.0\n"
    5.19 -"Content-Type: text/plain; charset=UTF-8\n"
    5.20 -"Content-Transfer-Encoding: 8bit\n"
    5.21 -"Plural-Forms: nplurals=2; plural=(n > 1);\n"
    5.22 -
    5.23 -#: tinyutils/subox:39
    5.24 -msgid "Error: wrong password!"
    5.25 -msgstr "Erro: Senha errada!"
    5.26 -
    5.27 -#: tinyutils/subox:60
    5.28 -msgid ""
    5.29 -"\n"
    5.30 -"Please enter root password (default root) to execute :"
    5.31 -msgstr ""
    5.32 -"\n"
    5.33 -"Por favor informe a senha do administrador (por padrão 'root') para executar:"
    5.34 -
    5.35 -#: tinyutils/subox:69
    5.36 -#, fuzzy
    5.37 -msgid "<b>Admin password :</b>"
    5.38 -msgstr "<b>Senha do Administrador :</b>"
    5.39 -
    5.40 -#: tinyutils/subox:89
    5.41 -msgid "Autosave password"
    5.42 -msgstr "Senha salva automaticamente"
     6.1 --- a/po/subox/subox.pot	Sat Apr 30 14:32:54 2011 +0200
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,36 +0,0 @@
     6.4 -# SOME DESCRIPTIVE TITLE.
     6.5 -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
     6.6 -# This file is distributed under the same license as the PACKAGE package.
     6.7 -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
     6.8 -#
     6.9 -#, fuzzy
    6.10 -msgid ""
    6.11 -msgstr ""
    6.12 -"Project-Id-Version: subox\n"
    6.13 -"Report-Msgid-Bugs-To: \n"
    6.14 -"POT-Creation-Date: 2011-04-29 18:20+0200\n"
    6.15 -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    6.16 -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    6.17 -"Language-Team: LANGUAGE <LL@li.org>\n"
    6.18 -"Language: \n"
    6.19 -"MIME-Version: 1.0\n"
    6.20 -"Content-Type: text/plain; charset=CHARSET\n"
    6.21 -"Content-Transfer-Encoding: 8bit\n"
    6.22 -
    6.23 -#: tinyutils/subox:39
    6.24 -msgid "Error: wrong password!"
    6.25 -msgstr ""
    6.26 -
    6.27 -#: tinyutils/subox:60
    6.28 -msgid ""
    6.29 -"\n"
    6.30 -"Please enter root password (default root) to execute :"
    6.31 -msgstr ""
    6.32 -
    6.33 -#: tinyutils/subox:69
    6.34 -msgid "<b>Admin password :</b>"
    6.35 -msgstr ""
    6.36 -
    6.37 -#: tinyutils/subox:89
    6.38 -msgid "Autosave password"
    6.39 -msgstr ""
     7.1 --- a/po/subox/zh_CN.po	Sat Apr 30 14:32:54 2011 +0200
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,38 +0,0 @@
     7.4 -# Chinese translations for subox package.
     7.5 -# Copyright (C) 2010 THE subox'S COPYRIGHT HOLDER
     7.6 -# This file is distributed under the same license as the subox package.
     7.7 -# Linux User <lufeng369@gmail.com>, 2010.
     7.8 -#
     7.9 -msgid ""
    7.10 -msgstr ""
    7.11 -"Project-Id-Version: subox\n"
    7.12 -"Report-Msgid-Bugs-To: \n"
    7.13 -"POT-Creation-Date: 2010-10-22 23:40+0200\n"
    7.14 -"PO-Revision-Date: 2010-12-15 19:55+0800\n"
    7.15 -"Last-Translator: fireflyoo <lufeng369@gmail.com>\n"
    7.16 -"Language-Team: Chinese (simplified) <translation-team-zh-cn@lists."
    7.17 -"sourceforge.net>\n"
    7.18 -"MIME-Version: 1.0\n"
    7.19 -"Content-Type: text/plain; charset=UTF-8\n"
    7.20 -"Content-Transfer-Encoding: 8bit\n"
    7.21 -"Language: zh_CN\n"
    7.22 -
    7.23 -#: tinyutils/subox:39
    7.24 -msgid "Error: wrong password!"
    7.25 -msgstr "密码输入错误"
    7.26 -
    7.27 -#: tinyutils/subox:60
    7.28 -msgid ""
    7.29 -"\n"
    7.30 -"Please enter root password (default root) to execute :"
    7.31 -msgstr ""
    7.32 -"\n"
    7.33 -"请输入根用户密码 :"
    7.34 -
    7.35 -#: tinyutils/subox:69
    7.36 -msgid "<b>Admin password :</b>"
    7.37 -msgstr "<b>管理员密码 :</b>"
    7.38 -
    7.39 -#: tinyutils/subox:88
    7.40 -msgid "Autosave password"
    7.41 -msgstr "保存密码"
     8.1 --- a/po/tazbox/pt.po	Sat Apr 30 14:32:54 2011 +0200
     8.2 +++ b/po/tazbox/pt.po	Sat Apr 30 14:48:39 2011 +0200
     8.3 @@ -8,7 +8,7 @@
     8.4  msgstr ""
     8.5  "Project-Id-Version: tazbox\n"
     8.6  "Report-Msgid-Bugs-To: \n"
     8.7 -"POT-Creation-Date: 2011-04-29 20:15+0300\n"
     8.8 +"POT-Creation-Date: 2011-04-30 14:31+0200\n"
     8.9  "PO-Revision-Date: 2011-04-29 14:22-0300\n"
    8.10  "Last-Translator: Claudinei Pereira <claudinei@slitaz.org>\n"
    8.11  "Language-Team: Portuguese <i18n@slitaz.org>\n"
    8.12 @@ -31,61 +31,85 @@
    8.13  msgstr "Mostra esta utilização"
    8.14  
    8.15  #: tazbox/tazbox:34
    8.16 +msgid "Execute a command a super-user"
    8.17 +msgstr ""
    8.18 +
    8.19 +#: tazbox/tazbox:35
    8.20  msgid "Desktop logout box with actions"
    8.21  msgstr "Caixa de logout do desktop com ações"
    8.22  
    8.23 -#: tazbox/tazbox:35
    8.24 +#: tazbox/tazbox:36
    8.25  msgid "Pipe a command output into a GTK window"
    8.26  msgstr "Concatena a saída de um comando em uma janela GTK"
    8.27  
    8.28 -#: tazbox/tazbox:36
    8.29 +#: tazbox/tazbox:37
    8.30  msgid "Pipe Wget output into a GTK window"
    8.31  msgstr "Concatena a saída do wget em uma janela GTK"
    8.32  
    8.33 -#: tazbox/tazbox:37
    8.34 +#: tazbox/tazbox:38
    8.35  msgid "Configure system language (root)"
    8.36  msgstr "Configura a linguagem do sistema (root)"
    8.37  
    8.38 -#: tazbox/tazbox:38
    8.39 +#: tazbox/tazbox:39
    8.40  msgid "Configure system keymap (root)"
    8.41  msgstr "Configura o mapa de teclado do sistema (root)"
    8.42  
    8.43 -#: tazbox/tazbox:59
    8.44 +#: tazbox/tazbox:46
    8.45 +msgid "Slitaz admin password"
    8.46 +msgstr ""
    8.47 +
    8.48 +#: tazbox/tazbox:47
    8.49 +msgid "Please enter root password (default root) to execute:"
    8.50 +msgstr ""
    8.51 +
    8.52 +#: tazbox/tazbox:53
    8.53 +msgid "Password:"
    8.54 +msgstr ""
    8.55 +
    8.56 +#: tazbox/tazbox:54
    8.57 +msgid "Autosave password"
    8.58 +msgstr ""
    8.59 +
    8.60 +#: tazbox/tazbox:58
    8.61 +msgid "Error: wrong password!"
    8.62 +msgstr ""
    8.63 +
    8.64 +#: tazbox/tazbox:80
    8.65  msgid "SliTaz Logout. Please choose an action:"
    8.66  msgstr "Logout do SliTaz. Por favor escolha uma ação:"
    8.67  
    8.68 -#: tazbox/tazbox:64
    8.69 +#: tazbox/tazbox:85
    8.70  msgid "Close X session"
    8.71  msgstr "Fechar a sessão X"
    8.72  
    8.73 -#: tazbox/tazbox:65
    8.74 +#: tazbox/tazbox:86
    8.75  msgid "Reboot system"
    8.76  msgstr "Reiniciar o sistema"
    8.77  
    8.78 -#: tazbox/tazbox:66
    8.79 +#: tazbox/tazbox:87
    8.80  msgid "Shutdown system"
    8.81  msgstr "Desligar o sistema"
    8.82  
    8.83 -#: tazbox/tazbox:71
    8.84 +#: tazbox/tazbox:92
    8.85  msgid "Language configuration"
    8.86  msgstr "Configuração de linguagem"
    8.87  
    8.88 -#: tazbox/tazbox:83
    8.89 +#: tazbox/tazbox:104
    8.90  msgid "Name"
    8.91  msgstr "Nome"
    8.92  
    8.93 -#: tazbox/tazbox:83
    8.94 +#: tazbox/tazbox:104
    8.95  msgid "Description"
    8.96  msgstr "Descrição"
    8.97  
    8.98 -#: tazbox/tazbox:99
    8.99 +#: tazbox/tazbox:120
   8.100  msgid "Keyborad configuration"
   8.101  msgstr "Configuração do teclado"
   8.102  
   8.103 -#: tazbox/tazbox:121
   8.104 +#: tazbox/tazbox:142
   8.105  msgid "Keymap"
   8.106  msgstr "Mapa de teclado"
   8.107  
   8.108 -#: tazbox/tazbox:121
   8.109 +#: tazbox/tazbox:142
   8.110  msgid "Type"
   8.111  msgstr "Tipo"
     9.1 --- a/po/tazbox/tazbox.pot	Sat Apr 30 14:32:54 2011 +0200
     9.2 +++ b/po/tazbox/tazbox.pot	Sat Apr 30 14:48:39 2011 +0200
     9.3 @@ -8,7 +8,7 @@
     9.4  msgstr ""
     9.5  "Project-Id-Version: TazBox\n"
     9.6  "Report-Msgid-Bugs-To: \n"
     9.7 -"POT-Creation-Date: 2011-04-30 14:31+0200\n"
     9.8 +"POT-Creation-Date: 2011-04-30 14:40+0200\n"
     9.9  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    9.10  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    9.11  "Language-Team: LANGUAGE <LL@li.org>\n"
    10.1 --- a/po/tazdrop/tazdrop.pot	Sat Apr 30 14:32:54 2011 +0200
    10.2 +++ b/po/tazdrop/tazdrop.pot	Sat Apr 30 14:48:39 2011 +0200
    10.3 @@ -8,7 +8,7 @@
    10.4  msgstr ""
    10.5  "Project-Id-Version: TazDrop\n"
    10.6  "Report-Msgid-Bugs-To: \n"
    10.7 -"POT-Creation-Date: 2011-04-30 14:31+0200\n"
    10.8 +"POT-Creation-Date: 2011-04-30 14:40+0200\n"
    10.9  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
   10.10  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
   10.11  "Language-Team: LANGUAGE <LL@li.org>\n"