diff --git a/debian/changelog b/debian/changelog index aa92b9b6..8e17b50e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ screen-profiles (1.42) unreleased; urgency=low + [ Dustin Kirkland ] * added logo for Arch linux * bin/cpu-freq: fix cpu freq for powerpc hardware, LP: #352286; use 2 decimals for GHz (bring this down to 1 decimal when cpus hit 10GHz) @@ -7,7 +8,13 @@ screen-profiles (1.42) unreleased; urgency=low that should be cleaned up before Jaunty GA, LP: #352291 * po/*: screen-profiles-export translation template - -- Dustin Kirkland Tue, 31 Mar 2009 06:05:06 -0500 + [ Adi Roiban ] + * debian/install, debian/rules, po/POTFILES.python, po/POTFILES.sh, + po/es.po, po/fr.po, po/screen-profiles.pot: LP: #347521, i18n support + in the screen-profiles build and install + + + -- Dustin Kirkland Tue, 31 Mar 2009 15:44:17 -0500 screen-profiles (1.41-0ubuntu1) jaunty; urgency=low diff --git a/debian/install b/debian/install index d8fc24b5..5af3cf92 100644 --- a/debian/install +++ b/debian/install @@ -1,4 +1,5 @@ bin/* var/lib/screen-profiles +po/locale/* usr/share/locale profiles/common usr/share/screen-profiles/profiles profiles/plain usr/share/screen-profiles/profiles profiles/ubuntu-black usr/share/screen-profiles/profiles diff --git a/debian/rules b/debian/rules index 824705a8..0918b389 100755 --- a/debian/rules +++ b/debian/rules @@ -12,10 +12,24 @@ get-orig-source: -[ -d ../${PACKAGE} ] && mv ../${PACKAGE} ../${PACKAGE}-${VER} tar -C ../ --exclude .bzr --exclude debian -zcvf ../${PACKAGE}_${VER}.orig.tar.gz ${PACKAGE}-${VER} -get-po: - xgettext -o po/screen-profiles.pot -L Python -d screen-profiles screen-profiles - xgettext -j -o po/screen-profiles.pot -L Shell -d screen-profiles select-screen-profile screen-profiles-export bin/menu +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/${PACKAGE}.mo ; \ + done +update-pot: + rm -f po/${PACKAGE}.pot + grep -v "^#" po/POTFILES.sh | while read po ; do \ + xgettext -o po/${PACKAGE}.pot -L Shell $${po} ; \ + done + grep -v "^#" po/POTFILES.python | while read po ; do \ + xgettext -o po/${PACKAGE}.pot -L Python $${po} ; \ + done + for po in po/*.po ; do \ + msgmerge $${po} po/${PACKAGE}.pot -o $${po} ; \ + done prebuild: @@ -26,8 +40,12 @@ build: clean: dh_clean ./profiles/generate --clean + for po in po/*.po ; do \ + lang=$${po#po/}; lang=$${lang%.po}; \ + rm -f po/locale/$${lang}/LC_MESSAGES/${PACKAGE}.mo ; \ + done -install: build +install: build install-po dh_testdir dh_testroot dh_clean -k diff --git a/po/POTFILES.python b/po/POTFILES.python new file mode 100644 index 00000000..e9d8cb3e --- /dev/null +++ b/po/POTFILES.python @@ -0,0 +1,3 @@ +# List of source files containing translatable Python strings. +# Please keep this file sorted alphabetically. +screen-profiles diff --git a/po/POTFILES.sh b/po/POTFILES.sh new file mode 100644 index 00000000..4923c92c --- /dev/null +++ b/po/POTFILES.sh @@ -0,0 +1,5 @@ +# List of source files containing translatable sh strings. +# Please keep this file sorted alphabetically. +bin/menu +select-screen-profile +screen-profiles-export diff --git a/po/es.po b/po/es.po index 38121d36..ce0f5bdf 100644 --- a/po/es.po +++ b/po/es.po @@ -3,12 +3,13 @@ # This file is distributed under the same license as the GNU Screen Profiles package. # Nicolas Valcarcel , 2008. # +#: screen-profiles:296 #, fuzzy msgid "" msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-12-17 23:42+0100\n" +"POT-Creation-Date: 2009-03-31 15:39-0500\n" "PO-Revision-Date: 2008-12-22 01:01-0500\n" "Last-Translator: Nicolas Valcarcel \n" "Language-Team: LANGUAGE \n" @@ -16,18 +17,148 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: select-screen-profile:9 select-screen-profile:16 -msgid "Error:" -msgstr "Error:" +#: screen-profiles:71 +msgid "Remove screen by default at login" +msgstr "" -#: select-screen-profile:9 select-screen-profile:16 -msgid "exists, but is not a symlink" -msgstr "existe, pero no es un symlink" +#: screen-profiles:73 +msgid "Install screen by default at login" +msgstr "" -#: select-screen-profile:30 -msgid "recommended" -msgstr "recomendado" +#: screen-profiles:77 +msgid "Help" +msgstr "" -#: select-screen-profile:41 select-screen-profile:43 -msgid "Choose" -msgstr "Eleccion" +#: screen-profiles:78 +msgid "Change screen profile" +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 "/ between elements | 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" diff --git a/po/fr.po b/po/fr.po index a5c9f8ca..51620bf9 100644 --- a/po/fr.po +++ b/po/fr.po @@ -3,12 +3,13 @@ # This file is distributed under the same license as the GNU Screen Profiles package. # Nicolas Barcet , 2008. # +#: screen-profiles:296 #, fuzzy msgid "" msgstr "" "Project-Id-Version: 1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2008-12-17 23:42+0100\n" +"POT-Creation-Date: 2009-03-31 15:39-0500\n" "PO-Revision-Date: 2008-12-17 23:42+0100\n" "Last-Translator: Nicolas Barcet \n" "Language-Team: LANGUAGE \n" @@ -16,18 +17,148 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -#: select-screen-profile:9 select-screen-profile:16 -msgid "Error:" -msgstr "Erreur :" +#: screen-profiles:71 +msgid "Remove screen by default at login" +msgstr "" -#: select-screen-profile:9 select-screen-profile:16 -msgid "exists, but is not a symlink" -msgstr "existe, mais n'est pas un lien symbolique" +#: screen-profiles:73 +msgid "Install screen by default at login" +msgstr "" -#: select-screen-profile:30 -msgid "recommended" -msgstr "recommandé" +#: screen-profiles:77 +msgid "Help" +msgstr "" -#: select-screen-profile:41 select-screen-profile:43 -msgid "Choose" -msgstr "Choisir" +#: screen-profiles:78 +msgid "Change screen profile" +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 "/ between elements | 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" diff --git a/po/screen-profiles.pot b/po/screen-profiles.pot index 381a4bc9..615674b1 100644 --- a/po/screen-profiles.pot +++ b/po/screen-profiles.pot @@ -3,12 +3,13 @@ # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # +#: screen-profiles:296 #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2009-03-31 06:32-0500\n" +"POT-Creation-Date: 2009-03-31 15:39-0500\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -149,60 +150,3 @@ msgstr "" #: screen-profiles:463 msgid "/ between elements | Validates" msgstr "" - -#: select-screen-profile:48 -msgid "Error:" -msgstr "" - -#: select-screen-profile:48 -msgid " file exists, but is not a symlink" -msgstr "" - -#: select-screen-profile:81 -msgid "Select a screen profile: " -msgstr "" - -#: select-screen-profile:100 screen-profiles-export:56 -#: screen-profiles-export:180 -msgid "ERROR: Invalid selection" -msgstr "" - -#: select-screen-profile:107 select-screen-profile:109 -#: screen-profiles-export:61 screen-profiles-export:63 -msgid "Choose" -msgstr "" - -#: select-screen-profile:135 -msgid "" -"If you are using the default set of keybindings, press\\n to " -"activate these changes.\\n\\nOtherwise, exit this screen session and start a " -"new one." -msgstr "" - -#: select-screen-profile:137 -msgid "Run \"screen\" to activate" -msgstr "" - -#: screen-profiles-export:194 -msgid "Select a distro: " -msgstr "" - -#: screen-profiles-export:198 -msgid "Select a color: " -msgstr "" - -#: screen-profiles-export:231 -msgid "Profile" -msgstr "" - -#: screen-profiles-export:232 -msgid "Archive" -msgstr "" - -#: screen-profiles-export:233 -msgid "Extract the archive in your home directory on the target system." -msgstr "" - -#: bin/menu:24 -msgid "Menu:" -msgstr ""