Thanks a lot to Ratnadeep Debnath of Indifex
package that tool; in that case you won't get translations.
package that tool; in that case you won't get translations.
-The .pot file can be regenerated with this command:
-lupdate ../src -ts quassel.ts && lconvert -i quassel.ts -o quassel.po \
- && msguniq -o quassel.pot quassel.po && rm quassel.ts quassel.po
+The .pot file can be regenerated with `./update-pot.sh`
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Qt-Contexts: true\n"
-"Project-Id-Version: \n"
+"Project-Id-Version: Quassel IRC\n"
"PO-Revision-Date: 2011-06-03 06:57+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: en_US\n"
"PO-Revision-Date: 2011-06-03 06:57+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: en_US\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+"Report-Msgid-Bugs-To: http://bugs.quassel-irc.org/\n"
+"X-Qt-Contexts: true\n"
#: ../src/qtui/ui/aboutdlg.ui:17
msgctxt "AboutDlg|"
#: ../src/qtui/ui/aboutdlg.ui:17
msgctxt "AboutDlg|"
msgid "%n Day(s)"
msgid_plural "%n Day(s)"
msgstr[0] ""
msgid "%n Day(s)"
msgid_plural "%n Day(s)"
msgstr[0] ""
#: ../src/qtui/coreinfodlg.cpp:54
#, qt-format
#: ../src/qtui/coreinfodlg.cpp:54
#, qt-format
msgid "%n pending highlights"
msgid_plural "%n pending highlights"
msgstr[0] ""
msgid "%n pending highlights"
msgid_plural "%n pending highlights"
msgstr[0] ""
#: ../src/qtui/settingspages/keysequencewidget.cpp:77
msgctxt "KeySequenceButton|"
#: ../src/qtui/settingspages/keysequencewidget.cpp:77
msgctxt "KeySequenceButton|"
msgid "Do you really want to paste %n lines?"
msgid_plural "Do you really want to paste %n lines?"
msgstr[0] ""
msgid "Do you really want to paste %n lines?"
msgid_plural "Do you really want to paste %n lines?"
msgstr[0] ""
#: ../src/uisupport/multilineedit.cpp:670
msgctxt "MultiLineEdit|"
#: ../src/uisupport/multilineedit.cpp:670
msgctxt "MultiLineEdit|"
msgid "Do you want to delete the following buffer(s) permanently?"
msgid_plural "Do you want to delete the following buffer(s) permanently?"
msgstr[0] ""
msgid "Do you want to delete the following buffer(s) permanently?"
msgid_plural "Do you want to delete the following buffer(s) permanently?"
msgstr[0] ""
#: ../src/uisupport/networkmodelcontroller.cpp:167
#, qt-format
#: ../src/uisupport/networkmodelcontroller.cpp:167
#, qt-format
msgid "%n pending highlights"
msgid_plural "%n pending highlights"
msgstr[0] ""
msgid "%n pending highlights"
msgid_plural "%n pending highlights"
msgstr[0] ""
#: ../src/qtui/systraynotificationbackend.cpp:135
msgctxt "SystrayNotificationBackend::ConfigWidget|"
#: ../src/qtui/systraynotificationbackend.cpp:135
msgctxt "SystrayNotificationBackend::ConfigWidget|"
msgid "%n Owner(s)"
msgid_plural "%n Owner(s)"
msgstr[0] ""
msgid "%n Owner(s)"
msgid_plural "%n Owner(s)"
msgstr[0] ""
#: ../src/client/networkmodel.cpp:698
#, qt-format
#: ../src/client/networkmodel.cpp:698
#, qt-format
msgid "%n Admin(s)"
msgid_plural "%n Admin(s)"
msgstr[0] ""
msgid "%n Admin(s)"
msgid_plural "%n Admin(s)"
msgstr[0] ""
#: ../src/client/networkmodel.cpp:699
#, qt-format
#: ../src/client/networkmodel.cpp:699
#, qt-format
msgid "%n Operator(s)"
msgid_plural "%n Operator(s)"
msgstr[0] ""
msgid "%n Operator(s)"
msgid_plural "%n Operator(s)"
msgstr[0] ""
#: ../src/client/networkmodel.cpp:700
#, qt-format
#: ../src/client/networkmodel.cpp:700
#, qt-format
msgid "%n Half-Op(s)"
msgid_plural "%n Half-Op(s)"
msgstr[0] ""
msgid "%n Half-Op(s)"
msgid_plural "%n Half-Op(s)"
msgstr[0] ""
#: ../src/client/networkmodel.cpp:701
#, qt-format
#: ../src/client/networkmodel.cpp:701
#, qt-format
msgid "%n Voiced"
msgid_plural "%n Voiced"
msgstr[0] ""
msgid "%n Voiced"
msgid_plural "%n Voiced"
msgstr[0] ""
#: ../src/client/networkmodel.cpp:702
#, qt-format
#: ../src/client/networkmodel.cpp:702
#, qt-format
msgid "%n User(s)"
msgid_plural "%n User(s)"
msgstr[0] ""
msgid "%n User(s)"
msgid_plural "%n User(s)"
msgstr[0] ""
--- /dev/null
+diff --git b/po/quassel.pot a/po/quassel.pot
+index dcfb526..d460562 100644
+--- b/po/quassel.pot
++++ a/po/quassel.pot
+@@ -5,2 +5,9 @@ msgstr ""
+ "Content-Transfer-Encoding: 8bit\n"
++"Project-Id-Version: Quassel IRC\n"
++"PO-Revision-Date: \n"
++"Last-Translator: \n"
++"Language-Team: \n"
++"Language: en_US\n"
++"Plural-Forms: nplurals=2; plural=(n != 1)\n"
++"Report-Msgid-Bugs-To: http://bugs.quassel-irc.org/\n"
+ "X-Qt-Contexts: true\n"
--- /dev/null
+#!/bin/sh
+
+lupdate ../src -ts quassel.ts && lconvert -i quassel.ts -o quassel.po \
+ && msguniq -o quassel.pot quassel.po && rm quassel.ts quassel.po \
+ && patch -Np2 < quassel.pot.patch \
+ && sed -i -re 's/^msgstr\[0\] ""/msgstr[0] ""\nmsgstr[1] ""/;' quassel.pot