generate .mo files

This commit is contained in:
Adi Roiban 2009-03-31 20:02:36 +03:00
commit 64915a1bdd
5 changed files with 301 additions and 28 deletions

1
debian/install vendored
View file

@ -1,4 +1,5 @@
bin/* var/lib/screen-profiles bin/* var/lib/screen-profiles
po/locale/* usr/share/locale
profiles/common usr/share/screen-profiles/profiles profiles/common usr/share/screen-profiles/profiles
profiles/plain usr/share/screen-profiles/profiles profiles/plain usr/share/screen-profiles/profiles
profiles/ubuntu-black usr/share/screen-profiles/profiles profiles/ubuntu-black usr/share/screen-profiles/profiles

12
debian/rules vendored
View file

@ -13,6 +13,13 @@ get-orig-source:
-[ -d ../${PACKAGE} ] && mv ../${PACKAGE} ../${PACKAGE}-${VER} -[ -d ../${PACKAGE} ] && mv ../${PACKAGE} ../${PACKAGE}-${VER}
tar -C ../ --exclude .bzr --exclude debian -zcvf ../${PACKAGE}_${VER}.orig.tar.gz ${PACKAGE}-${VER} tar -C ../ --exclude .bzr --exclude debian -zcvf ../${PACKAGE}_${VER}.orig.tar.gz ${PACKAGE}-${VER}
install-po: update-pot
for po in po/*.po ; do \
lang=$${po#po/}; lang=$${lang%.po}; \
mkdir -p po/locale/$${lang}/LC_MESSAGES/; \
msgfmt $${po} -o po/locale/$${lang}/LC_MESSAGES/${TEXTDOMAIN}.mo ; \
done
update-pot: update-pot:
rm -f po/${TEXTDOMAIN}.pot rm -f po/${TEXTDOMAIN}.pot
grep -v "#" po/POTFILES.sh | while read po ; do \ grep -v "#" po/POTFILES.sh | while read po ; do \
@ -21,6 +28,9 @@ update-pot:
grep -v "#" po/POTFILES.python | while read po ; do \ grep -v "#" po/POTFILES.python | while read po ; do \
xgettext -o po/${TEXTDOMAIN}.pot -L Python $${po} ; \ xgettext -o po/${TEXTDOMAIN}.pot -L Python $${po} ; \
done done
for po in po/*.po ; do \
msgmerge $${po} po/${TEXTDOMAIN}.pot -o $${po} ; \
done
prebuild: prebuild:
@ -32,7 +42,7 @@ clean:
dh_clean dh_clean
./profiles/generate --clean ./profiles/generate --clean
install: build update-pot install: build install-po
dh_testdir dh_testdir
dh_testroot dh_testroot
dh_clean -k dh_clean -k

157
po/es.po
View file

@ -3,12 +3,13 @@
# This file is distributed under the same license as the GNU Screen Profiles package. # This file is distributed under the same license as the GNU Screen Profiles package.
# Nicolas Valcarcel <nvalcarcel@ubuntu.com>, 2008. # Nicolas Valcarcel <nvalcarcel@ubuntu.com>, 2008.
# #
#: screen-profiles:296
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 1.0\n" "Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-17 23:42+0100\n" "POT-Creation-Date: 2009-03-31 20:00+0300\n"
"PO-Revision-Date: 2008-12-22 01:01-0500\n" "PO-Revision-Date: 2008-12-22 01:01-0500\n"
"Last-Translator: Nicolas Valcarcel <nvalcarcel@ubuntu.com>\n" "Last-Translator: Nicolas Valcarcel <nvalcarcel@ubuntu.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -16,18 +17,148 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: select-screen-profile:9 select-screen-profile:16 #: screen-profiles:71
msgid "Error:" msgid "Remove screen by default at login"
msgstr "Error:" msgstr ""
#: select-screen-profile:9 select-screen-profile:16 #: screen-profiles:73
msgid "exists, but is not a symlink" msgid "Install screen by default at login"
msgstr "existe, pero no es un symlink" msgstr ""
#: select-screen-profile:30 #: screen-profiles:77
msgid "recommended" msgid "Help"
msgstr "recomendado" msgstr ""
#: select-screen-profile:41 select-screen-profile:43 #: screen-profiles:78
msgid "Choose" msgid "Change screen profile"
msgstr "Eleccion" msgstr ""
#: screen-profiles:79
msgid "Toggle status notifications"
msgstr ""
#: screen-profiles:80
msgid "Change keybinding set"
msgstr ""
#: screen-profiles:81
msgid "Change escape sequence"
msgstr ""
#: screen-profiles:82
msgid "Create new window(s)"
msgstr ""
#: screen-profiles:83
msgid "Manage default windows"
msgstr ""
#: screen-profiles:85
msgid "Exit"
msgstr ""
#: screen-profiles:87 screen-profiles:462
msgid " Screen Profiles Configuration Menu"
msgstr ""
#: screen-profiles:98
msgid "Okay"
msgstr ""
#: screen-profiles:98 screen-profiles:134 screen-profiles:150
#: screen-profiles:185 screen-profiles:303 screen-profiles:345
#: screen-profiles:423
msgid "Cancel"
msgstr ""
#: screen-profiles:116 screen-profiles:143 screen-profiles:157
#: screen-profiles:316 screen-profiles:370 screen-profiles:378
#: screen-profiles:451
msgid "Menu"
msgstr ""
#: screen-profiles:117
msgid "Screen Profiles Help"
msgstr ""
#: screen-profiles:134 screen-profiles:150 screen-profiles:185
#: screen-profiles:303 screen-profiles:345 screen-profiles:423
msgid "Apply"
msgstr ""
#: screen-profiles:136
msgid "Which profile would you like to use?"
msgstr ""
#: screen-profiles:142 screen-profiles:156 screen-profiles:315
#: screen-profiles:377 screen-profiles:449
msgid "Message"
msgstr ""
#: screen-profiles:151
msgid "Which set of keybindings would you like to use?"
msgstr ""
#: screen-profiles:165
msgid "Title: "
msgstr ""
#: screen-profiles:167
msgid "Command: "
msgstr ""
#: screen-profiles:169
msgid "Presets: "
msgstr ""
#: screen-profiles:183
msgid "Add to default windows"
msgstr ""
#: screen-profiles:187
msgid "Create new window(s):"
msgstr ""
#: screen-profiles:304
msgid "Toggle status notifications:"
msgstr ""
#: screen-profiles:337
msgid "Windows:"
msgstr ""
#: screen-profiles:347
msgid "Select window(s) to create by default:"
msgstr ""
#: screen-profiles:367
msgid "Screen will be launched automatically next time you login."
msgstr ""
#: screen-profiles:375
msgid "Screen will not be used next time you login."
msgstr ""
#: screen-profiles:422
msgid "Escape key: ctrl-"
msgstr ""
#: screen-profiles:425
msgid "Change escape sequence:"
msgstr ""
#: screen-profiles:463
msgid "<Tab>/<Alt-Tab> between elements | <Return> Validates"
msgstr ""
#~ msgid "Error:"
#~ msgstr "Error:"
#~ msgid "exists, but is not a symlink"
#~ msgstr "existe, pero no es un symlink"
#~ msgid "recommended"
#~ msgstr "recomendado"
#~ msgid "Choose"
#~ msgstr "Eleccion"

157
po/fr.po
View file

@ -3,12 +3,13 @@
# This file is distributed under the same license as the GNU Screen Profiles package. # This file is distributed under the same license as the GNU Screen Profiles package.
# Nicolas Barcet <nicolas.barcet@ubuntu.com>, 2008. # Nicolas Barcet <nicolas.barcet@ubuntu.com>, 2008.
# #
#: screen-profiles:296
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 1.0\n" "Project-Id-Version: 1.0\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-12-17 23:42+0100\n" "POT-Creation-Date: 2009-03-31 20:00+0300\n"
"PO-Revision-Date: 2008-12-17 23:42+0100\n" "PO-Revision-Date: 2008-12-17 23:42+0100\n"
"Last-Translator: Nicolas Barcet <nicolas.barcet@ubuntu.com>\n" "Last-Translator: Nicolas Barcet <nicolas.barcet@ubuntu.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -16,18 +17,148 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: select-screen-profile:9 select-screen-profile:16 #: screen-profiles:71
msgid "Error:" msgid "Remove screen by default at login"
msgstr "Erreur :" msgstr ""
#: select-screen-profile:9 select-screen-profile:16 #: screen-profiles:73
msgid "exists, but is not a symlink" msgid "Install screen by default at login"
msgstr "existe, mais n'est pas un lien symbolique" msgstr ""
#: select-screen-profile:30 #: screen-profiles:77
msgid "recommended" msgid "Help"
msgstr "recommandé" msgstr ""
#: select-screen-profile:41 select-screen-profile:43 #: screen-profiles:78
msgid "Choose" msgid "Change screen profile"
msgstr "Choisir" msgstr ""
#: screen-profiles:79
msgid "Toggle status notifications"
msgstr ""
#: screen-profiles:80
msgid "Change keybinding set"
msgstr ""
#: screen-profiles:81
msgid "Change escape sequence"
msgstr ""
#: screen-profiles:82
msgid "Create new window(s)"
msgstr ""
#: screen-profiles:83
msgid "Manage default windows"
msgstr ""
#: screen-profiles:85
msgid "Exit"
msgstr ""
#: screen-profiles:87 screen-profiles:462
msgid " Screen Profiles Configuration Menu"
msgstr ""
#: screen-profiles:98
msgid "Okay"
msgstr ""
#: screen-profiles:98 screen-profiles:134 screen-profiles:150
#: screen-profiles:185 screen-profiles:303 screen-profiles:345
#: screen-profiles:423
msgid "Cancel"
msgstr ""
#: screen-profiles:116 screen-profiles:143 screen-profiles:157
#: screen-profiles:316 screen-profiles:370 screen-profiles:378
#: screen-profiles:451
msgid "Menu"
msgstr ""
#: screen-profiles:117
msgid "Screen Profiles Help"
msgstr ""
#: screen-profiles:134 screen-profiles:150 screen-profiles:185
#: screen-profiles:303 screen-profiles:345 screen-profiles:423
msgid "Apply"
msgstr ""
#: screen-profiles:136
msgid "Which profile would you like to use?"
msgstr ""
#: screen-profiles:142 screen-profiles:156 screen-profiles:315
#: screen-profiles:377 screen-profiles:449
msgid "Message"
msgstr ""
#: screen-profiles:151
msgid "Which set of keybindings would you like to use?"
msgstr ""
#: screen-profiles:165
msgid "Title: "
msgstr ""
#: screen-profiles:167
msgid "Command: "
msgstr ""
#: screen-profiles:169
msgid "Presets: "
msgstr ""
#: screen-profiles:183
msgid "Add to default windows"
msgstr ""
#: screen-profiles:187
msgid "Create new window(s):"
msgstr ""
#: screen-profiles:304
msgid "Toggle status notifications:"
msgstr ""
#: screen-profiles:337
msgid "Windows:"
msgstr ""
#: screen-profiles:347
msgid "Select window(s) to create by default:"
msgstr ""
#: screen-profiles:367
msgid "Screen will be launched automatically next time you login."
msgstr ""
#: screen-profiles:375
msgid "Screen will not be used next time you login."
msgstr ""
#: screen-profiles:422
msgid "Escape key: ctrl-"
msgstr ""
#: screen-profiles:425
msgid "Change escape sequence:"
msgstr ""
#: screen-profiles:463
msgid "<Tab>/<Alt-Tab> between elements | <Return> Validates"
msgstr ""
#~ msgid "Error:"
#~ msgstr "Erreur :"
#~ msgid "exists, but is not a symlink"
#~ msgstr "existe, mais n'est pas un lien symbolique"
#~ msgid "recommended"
#~ msgstr "recommandé"
#~ msgid "Choose"
#~ msgstr "Choisir"

View file

@ -9,7 +9,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-03-31 18:58+0300\n" "POT-Creation-Date: 2009-03-31 20:00+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"