From accfe046bea252f12ecd441bee348d3cd7e1bf84 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Sun, 13 Jun 2010 15:40:03 +0000 Subject: /quit can have a message. fixed #1488 --- Makefile | 7 ++ locale/poezio.pot | 182 ++++++++++++++++++++++++++++++++++----------------- src/connection.py | 13 ++-- src/gui.py | 26 ++++++-- src/multiuserchat.py | 10 +++ src/poezio.py | 3 + src/window.py | 14 ++-- 7 files changed, 181 insertions(+), 74 deletions(-) diff --git a/Makefile b/Makefile index 0484b1c5..ecd88d0a 100644 --- a/Makefile +++ b/Makefile @@ -42,5 +42,12 @@ uninstall: rm -f $$gettextfile; \ done +mo: + for localename in `find locale/ -maxdepth 1 -type d | grep -v '.svn' | sed 's:locale/::g'` ; do \ + if [ -d locale/$$localename ]; then \ + msgfmt locale/$$localename/LC_MESSAGES/poezio.po -o locale/$$localename/LC_MESSAGES/poezio.mo -v; \ + fi \ + done + pot: xgettext src/*.py --from-code=utf-8 --keyword=_ -o locale/poezio.pot diff --git a/locale/poezio.pot b/locale/poezio.pot index ab288fad..939adea1 100644 --- a/locale/poezio.pot +++ b/locale/poezio.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2010-05-12 15:08+0200\n" +"POT-Creation-Date: 2010-06-13 16:13+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -16,7 +16,7 @@ msgstr "" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" -#: src/connection.py:91 +#: src/connection.py:105 #, python-format msgid "" "Error: Could not authenticate. Please make sure the server you chose (%s) " @@ -24,10 +24,6 @@ msgid "" msgstr "" #: src/gui.py:67 -msgid "OLOL, this is SOOO recursive" -msgstr "" - -#: src/gui.py:68 msgid "" "Usage: /join [room_name][/nick] [password]\n" "Join: Join the specified room. You can specify a nickname after a slash (/). " @@ -37,78 +33,78 @@ msgid "" "password to join the room.\n" "Examples:\n" "/join room@server.tld\n" -"/join room@server.tld/John\n" +"/join room@server.tld/ John\n" "/join /me_again\n" "/join\n" "/join room@server.tld/my_nick password\n" "/join / pass" msgstr "" -#: src/gui.py:69 +#: src/gui.py:68 msgid "" "Usage: /quit\n" "Quit: Just disconnect from the server and exit poezio." msgstr "" -#: src/gui.py:70 +#: src/gui.py:69 msgid "" "Usage: /exit\n" "Exit: Just disconnect from the server and exit poezio." msgstr "" -#: src/gui.py:71 +#: src/gui.py:70 msgid "" "Usage: /next\n" "Next: Go to the next room." msgstr "" -#: src/gui.py:72 +#: src/gui.py:71 msgid "" "Usage: /n\n" "N: Go to the next room." msgstr "" -#: src/gui.py:73 +#: src/gui.py:72 msgid "" "Usage: /prev\n" "Prev: Go to the previous room." msgstr "" -#: src/gui.py:74 +#: src/gui.py:73 msgid "" "Usage: /p\n" "P: Go to the previous room." msgstr "" -#: src/gui.py:75 +#: src/gui.py:74 msgid "" "Usage: /win \n" "Win: Go to the specified room." msgstr "" -#: src/gui.py:76 +#: src/gui.py:75 msgid "" "Usage: /w \n" "W: Go to the specified room." msgstr "" -#: src/gui.py:77 -msgid "Usage: /ignore \\Ignore: Ignore a specified nickname." +#: src/gui.py:76 +msgid "Usage: /ignore \\Ignore: Ignore a specified nickname." msgstr "" -#: src/gui.py:78 +#: src/gui.py:77 msgid "" "Usage: /unignore \\Unignore: Remove the specified nickname from " "the ignore list." msgstr "" -#: src/gui.py:79 +#: src/gui.py:78 msgid "" "Usage: /part [message]\n" -"Part: disconnect from a room. You can specify an optional message." +" Part: disconnect from a room. You can specify an optional message." msgstr "" -#: src/gui.py:80 +#: src/gui.py:79 msgid "" "Usage: /show [status]\n" "Show: Change your availability and (optionaly) your status. The " @@ -117,35 +113,35 @@ msgid "" "message" msgstr "" -#: src/gui.py:81 +#: src/gui.py:80 msgid "" "Usage: /away [message]\n" "Away: Sets your availability to away and (optional) sets your status " -"message. This is equivalent to \"/show away [message]\"" +"message. This is equivalent to '/show away [message]'" msgstr "" -#: src/gui.py:82 +#: src/gui.py:81 msgid "" "Usage: /busy [message]\n" "Busy: Sets your availability to busy and (optional) sets your status " -"message. This is equivalent to \"/show busy [message]\"" +"message. This is equivalent to '/show busy [message]'" msgstr "" -#: src/gui.py:83 +#: src/gui.py:82 msgid "" "Usage: /avail [message]\n" "Avail: Sets your availability to available and (optional) sets your status " -"message. This is equivalent to \"/show available [message]\"" +"message. This is equivalent to '/show available [message]'" msgstr "" -#: src/gui.py:84 +#: src/gui.py:83 msgid "" "Usage: /available [message]\n" "Available: Sets your availability to available and (optional) sets your " -"status message. This is equivalent to \"/show available [message]\"" +"status message. This is equivalent to '/show available [message]'" msgstr "" -#: src/gui.py:85 +#: src/gui.py:84 msgid "" "Usage: /bookmark [roomname][/nick]\n" "Bookmark: Bookmark the specified room (you will then auto-join it on each " @@ -155,7 +151,7 @@ msgid "" "room (instead of default_nick)" msgstr "" -#: src/gui.py:86 +#: src/gui.py:85 msgid "" "Usage: /set