[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    [tellico] /: i18n: change translation of z39.50 and scripts configs
From:       Pino Toscano <pino () kde ! org>
Date:       2016-07-10 22:11:01
Message-ID: E1bMMwH-0002Vl-AJ () code ! kde ! org
[Download RAW message or body]

Git commit a75986c59653128868f49dc790a9b4123bd3e697 by Pino Toscano.
Committed on 10/07/2016 at 22:01.
Pushed by pino into branch 'master'.

i18n: change translation of z39.50 and scripts configs

Handle z3950-servers.cfg and the .spec configurations of scripts as
.desktop files (using ExtraDesktop.sh): this way translations
(of Name keys) are added directly in the files, and read automatically
by KConfig.

This moves ~16 messages from tellico.pot to the desktop.pot.
CCMAIL: kde-i18n-doc@kde.org

A  +5    -0    ExtraDesktop.sh
M  +0    -4    Messages.sh

http://commits.kde.org/tellico/a75986c59653128868f49dc790a9b4123bd3e697

diff --git a/ExtraDesktop.sh b/ExtraDesktop.sh
new file mode 100644
index 0000000..bb0bf5d
--- /dev/null
+++ b/ExtraDesktop.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+#This file outputs in a separate line each file with a .desktop syntax
+#that needs to be translated but has a non .desktop extension
+echo src/fetch/z3950-servers.cfg
+ls -1 src/fetch/scripts/*.spec
diff --git a/Messages.sh b/Messages.sh
index a0d7f68..73c1bf1 100755
--- a/Messages.sh
+++ b/Messages.sh
@@ -5,13 +5,9 @@ $EXTRACTRC `find . -name '*.rc' -o -name '*.ui' -o -name '=
*.kcfg'` >> rc.cpp
 ./preparetips tellico.tips > tips.cpp
 # extract other translation files
 ./prepare_i18n_xslt > xslt.cpp
-./prepare_desktop src/fetch/z3950-servers.cfg > z3950.cpp
-./prepare_desktop src/fetch/scripts/*.spec > scripts.cpp
 # extract messages
 $XGETTEXT `find . -name '*.cpp' -o -name '*.h' -o -name '*.c'` -o $podir/t=
ellico.pot
 # cleanup
 rm -f rc.cpp
 rm -f tips.cpp
 rm -f xslt.cpp
-rm -f z3950.cpp
-rm -f scripts.cpp
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic