[debian-edu-commits] debian-edu/ 54/183: - Use proper field numbers in toopltips of gui script - i18n fix -> when scripting gui text changes use @i18n around text -> kmdr2po doesn't pick up those strings, so add the one such string to the .pot file (bug) manually in Makefile -> updated Dutch translation (still needs fixes to layout of gui in order to work correctly (to those testing use KDE_LANG=<langcode> instead of the normal localization variables (which aren't picked up by KDE, ug)

Alexander Alemayhu ccscanf-guest at moszumanska.debian.org
Wed Jun 11 16:48:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

ccscanf-guest pushed a commit to branch master
in repository desktop-profiles.

commit 1e6e6e294fdbb5173a08833c2a296b8f4fb16770
Author: Bart Cornelis <cobaco at linux.be>
Date:   Thu May 12 16:00:11 2005 +0000

    - Use proper field numbers in toopltips of gui script
    - i18n fix -> when scripting gui text changes use @i18n around text
               -> kmdr2po doesn't pick up those strings, so add the one
    	      such string to the .pot file (bug) manually in Makefile
    -> updated Dutch translation (still needs fixes to layout of gui in order to
       work correctly (to those testing use KDE_LANG=<langcode> instead of the
       normal localization variables (which aren't picked up by KDE, ug)
---
 Makefile               |  4 ++++
 po/nl.po               | 18 +++++++++++-------
 po/profile-manager.pot | 31 +++++++++++++++++--------------
 profile-manager.kmdr   | 30 +++++++++---------------------
 4 files changed, 41 insertions(+), 42 deletions(-)

diff --git a/Makefile b/Makefile
index bd29c64..a284b01 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,10 @@ pot:
 	kmdr2po profile-manager.kmdr
 	mkdir -p po/
 	mv profile-manager.po po/profile-manager.pot
+	# @i18n strings aren't picked up by kdmr2po at the moment
+	echo  >> po/profile-manager.pot
+	echo 'msgid "Save Changes"' >> po/profile-manager.pot
+	echo 'msgstr ""' >> po/profile-manager.pot
 
 clean: 
 	if(test -e dh_installlisting.1); then rm dh_installlisting.1; fi;  
diff --git a/po/nl.po b/po/nl.po
index 5a4e7d8..63cfbcb 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -6,8 +6,9 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: desktop-profiles\n"
-"POT-Creation-Date: 2005-05-05 10:29+0200\n"
-"PO-Revision-Date: 2005-05-08 20:43+0100\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-05-12 16:28+0200\n"
+"PO-Revision-Date: 2005-05-12 17:53+0100\n"
 "Last-Translator: Bart Cornelis <cobaco at linux.be>\n"
 "Language-Team: debian-l10n-dutch <debian-l10n-dutch at lists.debian.org>\n"
 "MIME-Version: 1.0\n"
@@ -85,7 +86,7 @@ msgstr "Dit veld aanvaard nummers (negatief mag)"
 
 #: _from_rc.cc:18
 msgid "requirements are met for"
-msgstr ":vereisten worden tegemoetgekomen voor"
+msgstr "vereisten in orde voor"
 
 #: _from_rc.cc:19
 msgid "When checked only profiles whose requirements are met for the selected user are shown"
@@ -283,11 +284,11 @@ msgstr "Voer om het even wel shell-commando in"
 
 #: _from_rc.cc:72
 msgid "executes succesfully"
-msgstr "met succes uitgevoerd wordt"
+msgstr "succesvol be�indigd"
 
 #: _from_rc.cc:74
 msgid "Make succesfull completion of given shell command a requirement for activation of this profile"
-msgstr "Maakt de succesvolle be"
+msgstr "Maakt de succesvolle be�inding van het gegeven shell-commando een vereiste voor activatie van dit profiel."
 
 #: _from_rc.cc:75
 msgid "Deactivate profile completely"
@@ -341,7 +342,7 @@ msgstr "Verwijder weergegeven profiel"
 
 #: _from_rc.cc:86
 msgid "Add new profile"
-msgstr "Nieuw profiel toevoegen"
+msgstr "Profiel toevoegen"
 
 #: _from_rc.cc:87
 msgid "Add/Update profile whose details are shown"
@@ -349,9 +350,12 @@ msgstr "Weergegeven profiel toevoegen/bijwerken"
 
 #: _from_rc.cc:88
 msgid "Cancel Changes"
-msgstr "Aanpassingen vergeten"
+msgstr "Aanpassingen annuleren"
 
 #: _from_rc.cc:89
 msgid "Forget changes made to shown profile details"
 msgstr "Vergeet gemaakte aanpassingen voor het getoonde profiel"
 
+msgid "Save Changes"
+msgstr "Profiel opslaan"
+
diff --git a/po/profile-manager.pot b/po/profile-manager.pot
index f15dfae..97f2b4e 100644
--- a/po/profile-manager.pot
+++ b/po/profile-manager.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-05-05 10:29+0200\n"
+"POT-Creation-Date: 2005-05-12 17:52+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -60,23 +60,23 @@ msgstr ""
 
 #: _from_rc.cc:10
 msgid ">"
-msgstr ">"
+msgstr ""
 
 #: _from_rc.cc:11
 msgid ">="
-msgstr ">="
+msgstr ""
 
 #: _from_rc.cc:12
 msgid "<"
-msgstr "<"
+msgstr ""
 
 #: _from_rc.cc:13
 msgid "<="
-msgstr "<="
+msgstr ""
 
 #: _from_rc.cc:14
 msgid "<>"
-msgstr "<>"
+msgstr ""
 
 #: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:27 _from_rc.cc:28 _from_rc.cc:29
 msgid "Takes a regular expression"
@@ -188,31 +188,31 @@ msgstr ""
 
 #: _from_rc.cc:46
 msgid "XDG_CONFIG"
-msgstr "XDG_CONFIG"
+msgstr ""
 
 #: _from_rc.cc:47
 msgid "XDG_DATA"
-msgstr "XDG_DATA"
+msgstr ""
 
 #: _from_rc.cc:48
 msgid "KDE"
-msgstr "KDE"
+msgstr ""
 
 #: _from_rc.cc:49
 msgid "GCONF"
-msgstr "GCONF"
+msgstr ""
 
 #: _from_rc.cc:50
 msgid "GNUSTEP"
-msgstr "GNUSTEP"
+msgstr ""
 
 #: _from_rc.cc:51
 msgid "ROX"
-msgstr "ROX"
+msgstr ""
 
 #: _from_rc.cc:52
 msgid "UDE"
-msgstr "UDE"
+msgstr ""
 
 #: _from_rc.cc:53
 msgid "2nd field (=kind) of selected profile"
@@ -321,7 +321,7 @@ msgstr ""
 
 #: _from_rc.cc:78
 msgid "*.listing"
-msgstr "*.listing"
+msgstr ""
 
 #: _from_rc.cc:79
 msgid "Append profile description to"
@@ -369,3 +369,6 @@ msgstr ""
 #: _from_rc.cc:89
 msgid "Forget changes made to shown profile details"
 msgstr ""
+
+msgid "Save Changes"
+msgstr ""
diff --git a/profile-manager.kmdr b/profile-manager.kmdr
index c2ec2c0..fc56e3c 100644
--- a/profile-manager.kmdr
+++ b/profile-manager.kmdr
@@ -243,7 +243,7 @@ fi
                                                             </stringlist>
                                                         </property>
                                                         <property name="toolTip" stdset="0">
-                                                            <string>When checked only profiles whose 5th (=kind) field matches the given regular expression are shown</string>
+                                                            <string>When checked only profiles whose 2nd (=kind) field matches the given regular expression are shown</string>
                                                         </property>
                                                     </widget>
                                                     <spacer>
@@ -299,7 +299,7 @@ fi
                                                     </stringlist>
                                                 </property>
                                                 <property name="toolTip" stdset="0">
-                                                    <string>When checked only profiles whose 4th (=requirements) field matches the given regular expression are shown</string>
+                                                    <string>When checked only profiles whose 5th (=requirements) field matches the given regular expression are shown</string>
                                                 </property>
                                             </widget>
                                             <widget class="QLayoutWidget">
@@ -362,9 +362,6 @@ fi
                                                         <property name="toolTip" stdset="0">
                                                             <string>When checked only profiles whose precedence value satifies the given comparison are shown</string>
                                                         </property>
-                                                        <property name="whatsThis" stdset="0">
-                                                            <string></string>
-                                                        </property>
                                                     </widget>
                                                     <widget class="ComboBox">
                                                         <item>
@@ -434,9 +431,6 @@ fi
                                                 <property name="name">
                                                     <cstring>kindRegexp</cstring>
                                                 </property>
-                                                <property name="text">
-                                                    <string></string>
-                                                </property>
                                                 <property name="associations" stdset="0">
                                                     <stringlist>
                                                         <string>@widgetText</string>
@@ -463,12 +457,6 @@ fi
                                                 <property name="name">
                                                     <cstring>precedenceRegexp</cstring>
                                                 </property>
-                                                <property name="text">
-                                                    <string></string>
-                                                </property>
-                                                <property name="inputMask">
-                                                    <string></string>
-                                                </property>
                                                 <property name="associations" stdset="0">
                                                     <stringlist>
                                                         <string>@widgetText</string>
@@ -758,7 +746,7 @@ fi
                                                             </stringlist>
                                                         </property>
                                                         <property name="toolTip" stdset="0">
-                                                            <string>When checked only profiles whose 2nd (=location) field matches the given regular expression are shown</string>
+                                                            <string>When checked only profiles whose 3th (=location) field matches the given regular expression are shown</string>
                                                         </property>
                                                     </widget>
                                                     <spacer>
@@ -1202,7 +1190,7 @@ fi
                                         </stringlist>
                                     </property>
                                     <property name="toolTip" stdset="0">
-                                        <string>5th field (=kind) of selected profile</string>
+                                        <string>2nd field (=kind) of selected profile</string>
                                     </property>
                                 </widget>
                             </hbox>
@@ -1245,7 +1233,7 @@ fi
                                         </stringlist>
                                     </property>
                                     <property name="toolTip" stdset="0">
-                                        <string>3th field (=precedence value) of selected profile</string>
+                                        <string>4th field (=precedence value) of selected profile</string>
                                     </property>
                                 </widget>
                             </hbox>
@@ -1290,7 +1278,7 @@ fi
                                         </stringlist>
                                     </property>
                                     <property name="toolTip" stdset="0">
-                                        <string>2nd field of selected profile</string>
+                                        <string>3th field of selected profile</string>
                                     </property>
                                 </widget>
                             </hbox>
@@ -1383,7 +1371,7 @@ for_each_requirement "$REQS" 'echo'
                                         </stringlist>
                                     </property>
                                     <property name="toolTip" stdset="0">
-                                        <string>list of activation requirements (contained in the 4th field) of selected profile</string>
+                                        <string>list of activation requirements (contained in the 5th field) of selected profile</string>
                                     </property>
                                 </widget>
                                 <widget class="ExecButton">
@@ -1818,7 +1806,7 @@ fi;
   @listFileCurrent.setEnabled(true)
   @deleteProfile.setEnabled(false)
   @listFileCurrent.setText(/etc/desktop-profiles/custom.listing)
-  @commitChanges.setText(Add new profile)
+  @commitChanges.setText(@i18n(Add new profile))
 @endif
 
 @# Existing Profile(being togled -> still true)
@@ -1826,7 +1814,7 @@ fi;
   @listFileCurrent.setEnabled(false)
   @deleteProfile.setEnabled(true)
   @listFileCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 1 --delimiter ';'))
-  @commitChanges.setText(Save Changes)
+  @commitChanges.setText(@i18n(Save Changes))
 @endif</string>
                                         </stringlist>
                                     </property>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/desktop-profiles.git



More information about the debian-edu-commits mailing list