From: Tomáš Chvátal Date: Wed, 28 Oct 2009 20:16:41 +0000 (+0100) Subject: Add new .pot file with instructions how to generate it. X-Git-Tag: 0.6-beta1~194 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=5d37c2a7043e445df6d6ce5d2eae60fbe9b783c7 Add new .pot file with instructions how to generate it. --- diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 59c23970..b6922bc5 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -2,10 +2,6 @@ # The LINGUAS variable can be used to limit that set if(QT_LCONVERT_EXECUTABLE) - # We always include quassel.po - generate_qm(QM quassel) - set(qm_files ${QM}) - # get environment variable for translations set(LINGUAS "$ENV{LINGUAS}") string(REGEX REPLACE "[ \t]+" \; output "${LINGUAS}") diff --git a/po/README.Translations b/po/README.Translations index 067320bf..91a61851 100644 --- a/po/README.Translations +++ b/po/README.Translations @@ -28,3 +28,5 @@ NOTE: You'll need lconvert installed with your Qt in order to generate translation files. Some distributions don't package that tool; in that case you won't get translations. +Regenerating .pot file: +lupdate ../src -ts quassel.ts && lconvert -i quassel.ts -o quassel.po && rm quassel.ts && mv quassel.po quassel.pot diff --git a/po/quassel.po b/po/quassel.pot similarity index 100% rename from po/quassel.po rename to po/quassel.pot