summaryrefslogtreecommitdiffstats
path: root/po/README
diff options
context:
space:
mode:
Diffstat (limited to 'po/README')
-rw-r--r--po/README26
1 files changed, 13 insertions, 13 deletions
diff --git a/po/README b/po/README
index ee133bf..5093dff 100644
--- a/po/README
+++ b/po/README
@@ -10,17 +10,17 @@ grep "Language-Team" *.po
az Azerbaijani <translation-team-az@lists.sourceforge.net>
ca LANGUAGE <LL@li.org>
da Danish <dansk@klid.dk>
-de Deutsch <kde-i18n-de@kde.org>
+de Deutsch <tde-i18n-de@kde.org>
en_GB British English <kde-en-gb@kde.me.uk>
es espaniol <kde-es@kybs.de>
et Estonian <kde-et@linux.ee>
fr French <kde-francophone@kde.org>
hu Hungarian <kde-lista@sophia.jpte.hu>
-it Italian <kde-i18n-it@kde.org>
-nl Nederlands <kde-i18n-nl@kde.org>
+it Italian <tde-i18n-it@kde.org>
+nl Nederlands <tde-i18n-nl@kde.org>
pl Polish
-pt_BR Brazilian Portuguese <kde-i18n-pt_BR@mail.kde.org>
-pt Portuguese <kde-i18n-pt@kde.org>
+pt_BR Brazilian Portuguese <tde-i18n-pt_BR@mail.kde.org>
+pt Portuguese <tde-i18n-pt@kde.org>
ro Romanian <ro-kde@egroups.com>
ru Russian <ru@li.org>
sr Serbian
@@ -89,9 +89,9 @@ translation is within KDE-libs or within Qt. But the translations are available:
For Qt-strings in $QTDIR/translations (already as .qm-files)
For KDE-libs in the SVN-repository, where we can reuse the previous trick to get
-all kdelibs*.po-files:
+all tdelibs*.po-files:
- for i in `cat subdirs`; do wget http://websvn.kde.org/*checkout*/trunk/l10n/$i/messages/kdelibs/kdelibs.po -O kdelibs_$i.po; done
+ for i in `cat subdirs`; do wget http://websvn.kde.org/*checkout*/trunk/l10n/$i/messages/tdelibs/tdelibs.po -O tdelibs_$i.po; done
Finally the program must only read the correct translation tables:
@@ -103,15 +103,15 @@ Finally the program must only read the correct translation tables:
qtTranslator.load( QString("qt_")+QTextCodec::locale(), translationDir );
app.installTranslator( &qtTranslator );
- QTranslator kdelibsTranslator( 0 );
- kdelibsTranslator.load( QString("kdelibs_")+QTextCodec::locale(), translationDir );
- app.installTranslator( &kdelibsTranslator );
+ QTranslator tdelibsTranslator( 0 );
+ tdelibsTranslator.load( QString("tdelibs_")+QTextCodec::locale(), translationDir );
+ app.installTranslator( &tdelibsTranslator );
This should do the job, if the translation-tables can be found.
The difficult part is: Where to search for the files, because this depends on
where the program was installed. (I didn't solve this puzzle yet.)
-Because it's too much effort to copy all kdelibs*.po-files along: Here is a little info
+Because it's too much effort to copy all tdelibs*.po-files along: Here is a little info
about how to extract only the needed strings and to create the qm-files.
1. Only src/kreplacements/kreplacements.cpp contains strings, that were not covered by
@@ -119,8 +119,8 @@ about how to extract only the needed strings and to create the qm-files.
xgettext --keyword=i18n --keyword=I18N_NOOP -C ../src/kreplacements/kreplacements.cpp -o kreplacements.pot
(xgettext is usually part of package gettext-devel)
-2. Take only needed strings and translations from kdelibs*.po:
- msgmerge --no-fuzzy-matching kdelibs_de.po kreplacements.pot >kreplacements_de.po
+2. Take only needed strings and translations from tdelibs*.po:
+ msgmerge --no-fuzzy-matching tdelibs_de.po kreplacements.pot >kreplacements_de.po
3. Concatenate the normal de.po and kreplacements_de.po:
msgcat --use-first de.po kreplacements_de.po >kdiff3_de.po