[debian-edu-commits] debian-edu/ 67/183: - Fixed layout problem of buttons, when using translated version of script - updated Dutch trannslation - updated Italian translation
Alexander Alemayhu
ccscanf-guest at moszumanska.debian.org
Wed Jun 11 16:48:34 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 ad7364a2d743ae903b328bcca19b2081bcb08ec1
Author: Bart Cornelis <cobaco at linux.be>
Date: Wed May 18 17:24:01 2005 +0000
- Fixed layout problem of buttons, when using translated version of script
- updated Dutch trannslation
- updated Italian translation
---
debian/changelog | 7 +-
po/it.po | 174 +++++------
po/nl.po | 258 +++++++++-------
po/profile-manager.pot | 106 +++----
profile-manager.kmdr | 785 +++++++++++++++++++++++--------------------------
5 files changed, 670 insertions(+), 660 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a6bdd51..274a1ed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,12 @@
-desktop-profiles (1.4.5) UNRELEASED; urgency=low
+desktop-profiles (1.4.5) unstable; urgency=low
* list-desktop-profiles now validates precedence filters equasions
+ * Fixed layout of profile detail pane in gui-script so it resizes correctly
+ to accomodate translated strings
* Added Italian translation for GUI script from Marco Presi (aka zufus)
+ * Improved Dutch translation
- -- Bart Cornelis (cobaco) <cobaco at linux.be> Wed, 18 May 2005 02:24:41 +0200
+ -- Bart Cornelis (cobaco) <cobaco at linux.be> Wed, 18 May 2005 19:05:53 +0200
desktop-profiles (1.4.4) unstable; urgency=low
diff --git a/po/it.po b/po/it.po
index 8bc74d1..debb353 100644
--- a/po/it.po
+++ b/po/it.po
@@ -1,13 +1,8 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
-#
msgid ""
msgstr ""
"Project-Id-Version: desktop-profiles\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-05-18 01:29+0200\n"
+"POT-Creation-Date: 2005-05-18 18:57+0200\n"
"PO-Revision-Date: 2005-05-18 00:11+0200\n"
"Last-Translator: Marco Presi <zufus at debian.org>\n"
"Language-Team: debian-l10n-italian <debian-l10n-italian at lists.debian.org>\n"
@@ -29,7 +24,7 @@ msgstr "Mostra i profili solo quando"
#: _from_rc.cc:4
msgid "&kind matches"
-msgstr ""
+msgstr "il tipo corrisponde"
#: _from_rc.cc:5
msgid ""
@@ -51,8 +46,8 @@ msgstr ""
"Se selezionato, verranno mostrati solo i profili in cui il quinto campo "
"(=requisiti) corrisponde all'espessione regolare"
-#: _from_rc.cc:8 _from_rc.cc:29
-msgid "precedence"
+#: _from_rc.cc:8
+msgid "pre&cedence"
msgstr "precedenza"
#: _from_rc.cc:9
@@ -93,7 +88,7 @@ msgstr "Accetta un valore numerico (anche negativo)"
#: _from_rc.cc:18
msgid "req&uirements are met for"
-msgstr "re%quisiti soddisfatti per"
+msgstr "re&quisiti soddisfatti per"
#: _from_rc.cc:19
msgid ""
@@ -128,6 +123,10 @@ msgstr "tipo"
msgid "location"
msgstr "luogo"
+#: _from_rc.cc:29
+msgid "precedence"
+msgstr "precedenza"
+
#: _from_rc.cc:30
msgid "requirements"
msgstr "requisiti"
@@ -181,65 +180,20 @@ msgid "Profile Details"
msgstr "Dettagli dei profili"
#: _from_rc.cc:41
-msgid "Listed in"
-msgstr "ELencati in"
-
-#: _from_rc.cc:42
-msgid "*.listing"
-msgstr "*.listing"
-
-#: _from_rc.cc:43
-msgid "Append profile description to"
-msgstr "Aggiungi la descrizione del profilo al"
-
-#: _from_rc.cc:44
-msgid ".listing file where the profile is defined"
-msgstr "file .listing in cui il profilo � definito"
-
-#: _from_rc.cc:45
-msgid "&Is new"
-msgstr "%E' nuovo"
-
-#: _from_rc.cc:46
-msgid "Check if shown details (will) describe a new profile"
-msgstr "Controlla se i dettagli mostrati descriveranno un profilo"
-
-#: _from_rc.cc:47
msgid ""
"@if(isEmpty())\n"
"@listFileCurrent.setEnabled()\n"
"@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)"
msgstr ""
+"@if(isEmpty())\n"
+"@listFileCurrent.setEnabled()\n"
+"@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)"
-#: _from_rc.cc:48
-msgid "Delete pr&ofile"
-msgstr "Rimuovi un pr&ofilo"
-
-#: _from_rc.cc:49
-msgid "Delete profile whose details are shown"
-msgstr "Rimuovi i profili i cui dettagli sono mostrati"
-
-#: _from_rc.cc:50
-msgid "Add new profile"
-msgstr "Aggiungi un nuovo profilo"
-
-#: _from_rc.cc:51
-msgid "Add/Update profile whose details are shown"
-msgstr "Aggiungi/Aggiorna i profili i cui dettagli sono mostrati"
-
-#: _from_rc.cc:52
-msgid "&Cancel Changes"
-msgstr "&Cancella le modifiche"
-
-#: _from_rc.cc:53
-msgid "Forget changes made to shown profile details"
-msgstr "Dimentica i cambiamenti fatti per mostrare i dettagli del profilo"
-
-#: _from_rc.cc:54
+#: _from_rc.cc:42
msgid "Activation requirements:"
msgstr "Requisiti di attivazione"
-#: _from_rc.cc:55
+#: _from_rc.cc:43
msgid ""
"list of activation requirements (contained in the 5th field) of selected "
"profile"
@@ -247,31 +201,31 @@ msgstr ""
"lista dei requisiti di attivazione (contenuti nel quinto campo) del profilo "
"selezionato"
-#: _from_rc.cc:56
+#: _from_rc.cc:44
msgid "Remove &selected"
msgstr "Rimuove la &selezione"
-#: _from_rc.cc:57
+#: _from_rc.cc:45
msgid "Removes selected activation requirement from the list"
msgstr "Rimuove il requisito di attivazione selezionato dalla lista"
-#: _from_rc.cc:58
+#: _from_rc.cc:46
msgid "New activation requirement:"
msgstr "Nuovo requisito di attivazione"
-#: _from_rc.cc:59
+#: _from_rc.cc:47
msgid "When the user is"
msgstr "Quano l'utente"
-#: _from_rc.cc:60
+#: _from_rc.cc:48
msgid "a member of"
msgstr "� un membro di"
-#: _from_rc.cc:61
+#: _from_rc.cc:49
msgid "not member of "
msgstr "non � membro di"
-#: _from_rc.cc:62
+#: _from_rc.cc:50
msgid ""
"Your choice here determines wether the new requirement concerns membership "
"or non-membership"
@@ -279,7 +233,7 @@ msgstr ""
"La tua scelta determina se il nuovo requisito rigurda l'appartenenza o la "
"non appartenenza ad un gruppo"
-#: _from_rc.cc:63
+#: _from_rc.cc:51
msgid ""
"Choose the group for which (non-)membership is needed to activate this "
"profile"
@@ -287,34 +241,34 @@ msgstr ""
"Scegli il gruppo per il quale la (non) appartenza al gruppo � richiesta per "
"attivare questo profilo"
-#: _from_rc.cc:64
+#: _from_rc.cc:52
msgid "&Add"
msgstr "&Aggiungi"
-#: _from_rc.cc:65
+#: _from_rc.cc:53
msgid ""
"Only activate profile for users that are (not) a member of the selected group"
msgstr ""
"Attiva il profilo solo per gli utenti che sono (o non sono) membri del "
"gruppo selezionato"
-#: _from_rc.cc:66
+#: _from_rc.cc:54
msgid "When"
msgstr "Quando"
-#: _from_rc.cc:67
+#: _from_rc.cc:55
msgid "Enter any shell command"
msgstr "Inserisci un comando da shell"
-#: _from_rc.cc:68
+#: _from_rc.cc:56
msgid "executes succesfully"
msgstr "esegue con successo"
-#: _from_rc.cc:69
+#: _from_rc.cc:57
msgid "Add"
msgstr "Aggiungi"
-#: _from_rc.cc:70
+#: _from_rc.cc:58
msgid ""
"Make succesfull completion of given shell command a requirement for "
"activation of this profile"
@@ -322,14 +276,62 @@ msgstr ""
"Fai in modo che l'attivazione del profilo abbia come requisito il "
"completamento per i comandi della shell"
-#: _from_rc.cc:71
-msgid "Deacti&vate profile completely"
+#: _from_rc.cc:59
+msgid "Deactivate profile completel&y"
msgstr "Disatti&vare completamente il profilo"
-#: _from_rc.cc:72
+#: _from_rc.cc:60
msgid "Adds an unsatisfiable requirement (not in any group)"
msgstr "Aggiunge un requisito che non � possibile fornire (non in ogni gruppo)"
+#: _from_rc.cc:61
+msgid "Listed in"
+msgstr "Elencati in"
+
+#: _from_rc.cc:62
+msgid "*.listing"
+msgstr "*.listing"
+
+#: _from_rc.cc:63
+msgid "Append profile description to"
+msgstr "Aggiungi la descrizione del profilo al"
+
+#: _from_rc.cc:64
+msgid ".listing file where the profile is defined"
+msgstr "file .listing in cui il profilo � definito"
+
+#: _from_rc.cc:65
+msgid "&Is new"
+msgstr "&E' nuovo"
+
+#: _from_rc.cc:66
+msgid "Check if shown details (will) describe a new profile"
+msgstr "Controlla se i dettagli mostrati descriveranno un profilo"
+
+#: _from_rc.cc:67
+msgid "Delete pr&ofile"
+msgstr "Rimuovi un pr&ofilo"
+
+#: _from_rc.cc:68
+msgid "Delete profile whose details are shown"
+msgstr "Rimuovi i profili i cui dettagli sono mostrati"
+
+#: _from_rc.cc:69
+msgid "Add new profile"
+msgstr "Aggiungi un nuovo profilo"
+
+#: _from_rc.cc:70
+msgid "Add/Update profile whose details are shown"
+msgstr "Aggiungi/Aggiorna i profili i cui dettagli sono mostrati"
+
+#: _from_rc.cc:71
+msgid "&Cancel Changes"
+msgstr "&Cancella le modifiche"
+
+#: _from_rc.cc:72
+msgid "Forget changes made to shown profile details"
+msgstr "Dimentica i cambiamenti fatti per mostrare i dettagli del profilo"
+
#: _from_rc.cc:73
msgid "1st field (=name) of selected profile"
msgstr "Primo campo (=nome) del profilo scelto"
@@ -383,20 +385,20 @@ msgid "4th field (=precedence value) of selected profile"
msgstr "Quarto campo (=valore di precedenza) del profilo scelto"
#: _from_rc.cc:86
-msgid "Description:"
-msgstr "Descrizione"
+msgid "Location(s):"
+msgstr "Posizioni"
#: _from_rc.cc:87
-msgid "6th field (=description) of selected profile"
-msgstr "Sesto campo (=descrizione) del profilo scelto"
+msgid "Description:"
+msgstr "Descrizione"
#: _from_rc.cc:88
-msgid "Location(s):"
-msgstr "Posizioni"
-
-#: _from_rc.cc:89
msgid "3th field of selected profile"
msgstr "Terzo campo del profilo scelto"
+#: _from_rc.cc:89
+msgid "6th field (=description) of selected profile"
+msgstr "Sesto campo (=descrizione) del profilo scelto"
+
msgid "Save Changes"
msgstr "Salva le modifiche"
diff --git a/po/nl.po b/po/nl.po
index 8fa4cee..367e31f 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: desktop-profiles\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-05-12 16:28+0200\n"
+"POT-Creation-Date: 2005-05-18 18:57+0200\n"
"PO-Revision-Date: 2005-05-18 01:30+0100\n"
"Last-Translator: Bart Cornelis <cobaco at linux.be>\n"
"Language-Team: debian-l10n-dutch <debian-l10n-dutch at lists.debian.org>\n"
@@ -21,7 +21,8 @@ msgstr "Desktop-profiel Beheersprogramma"
#: _from_rc.cc:2
msgid "Drag vertically to hide/unhide the filter section"
-msgstr "Omhoog/omlaag slepen om de filter-sectie te verbergen/te voorschijn te tonen."
+msgstr ""
+"Omhoog/omlaag slepen om de filter-sectie te verbergen/te voorschijn te tonen."
#: _from_rc.cc:3
msgid "Only show profiles when:"
@@ -32,25 +33,36 @@ msgid "&kind matches"
msgstr "&soort overeenkomt met"
#: _from_rc.cc:5
-msgid "When checked only profiles whose 2nd (=kind) field matches the given regular expression are shown"
-msgstr "Wanneer aangevinkt worden enkel die profielen wiens soort (2e veld) voldoet aan de gegeven reguliere expressie weergegeven"
+msgid ""
+"When checked only profiles whose 2nd (=kind) field matches the given regular "
+"expression are shown"
+msgstr ""
+"Wanneer aangevinkt worden enkel die profielen wiens soort (2e veld) voldoet "
+"aan de gegeven reguliere expressie weergegeven"
#: _from_rc.cc:6
msgid "re&quirement matches"
msgstr "ver&eisten overeenkomen met"
#: _from_rc.cc:7
-msgid "When checked only profiles whose 5th (=requirements) field matches the given regular expression are shown"
-msgstr "Wanneer aangevinkt worden enkel die profielen wiens vereisten (5e veld) voldoen aan de gegeven reguliere expressie weergegeven"
+msgid ""
+"When checked only profiles whose 5th (=requirements) field matches the given "
+"regular expression are shown"
+msgstr ""
+"Wanneer aangevinkt worden enkel die profielen wiens vereisten (5e veld) "
+"voldoen aan de gegeven reguliere expressie weergegeven"
#: _from_rc.cc:8
-#: _from_rc.cc:29
-msgid "precedence"
+msgid "pre&cedence"
msgstr "prioriteit"
#: _from_rc.cc:9
-msgid "When checked only profiles whose precedence value satifies the given comparison are shown"
-msgstr "Wanneer aangevinkt worden enkel die profielen wiens prioriteit (4e veld) voldoet aan de gegeven reguliere expressie weergegeven"
+msgid ""
+"When checked only profiles whose precedence value satifies the given "
+"comparison are shown"
+msgstr ""
+"Wanneer aangevinkt worden enkel die profielen wiens prioriteit (4e veld) "
+"voldoet aan de gegeven reguliere expressie weergegeven"
#: _from_rc.cc:10
msgid ">"
@@ -72,11 +84,7 @@ msgstr "<="
msgid "<>"
msgstr "<>"
-#: _from_rc.cc:15
-#: _from_rc.cc:16
-#: _from_rc.cc:21
-#: _from_rc.cc:22
-#: _from_rc.cc:23
+#: _from_rc.cc:15 _from_rc.cc:16 _from_rc.cc:21 _from_rc.cc:22 _from_rc.cc:23
msgid "Takes a regular expression"
msgstr "Dit veld aanvaard reguliere expressies"
@@ -89,8 +97,12 @@ msgid "req&uirements are met for"
msgstr "vereisten in orde voor"
#: _from_rc.cc:19
-msgid "When checked only profiles whose requirements are met for the selected user are shown"
-msgstr "Wanneer aangevinkt worden enkel die profielen wiens vereisten voldaan worden voor de geselecteerde gebruiker weergegeven"
+msgid ""
+"When checked only profiles whose requirements are met for the selected user "
+"are shown"
+msgstr ""
+"Wanneer aangevinkt worden enkel die profielen wiens vereisten voldaan worden "
+"voor de geselecteerde gebruiker weergegeven"
#: _from_rc.cc:20
msgid "list of user accounts on this system"
@@ -100,8 +112,7 @@ msgstr "lijst op dit systeem gevonden gebruikers"
msgid "Sort profile list on"
msgstr "Profielen sorteren op"
-#: _from_rc.cc:25
-#: _from_rc.cc:32
+#: _from_rc.cc:25 _from_rc.cc:32
msgid "Shown profiles are sorted on the contents of the selected field"
msgstr "De getoonde profielen worden gesorteerd op het geselecteerde veld"
@@ -117,6 +128,10 @@ msgstr "soort"
msgid "location"
msgstr "locatie"
+#: _from_rc.cc:29
+msgid "precedence"
+msgstr "prioriteit"
+
#: _from_rc.cc:30
msgid "requirements"
msgstr "vereisten"
@@ -130,24 +145,36 @@ msgid "&name matches"
msgstr "&naam overeenkomt met"
#: _from_rc.cc:34
-msgid "When checked only profiles whose 1st (=name) field matches the given regular expression are shown"
-msgstr "Wanneer aangevinkt worden enkel die profielen wiens naam (1e veld) voldoet aan de gegeven reguliere expressie weergegeven"
+msgid ""
+"When checked only profiles whose 1st (=name) field matches the given regular "
+"expression are shown"
+msgstr ""
+"Wanneer aangevinkt worden enkel die profielen wiens naam (1e veld) voldoet "
+"aan de gegeven reguliere expressie weergegeven"
#: _from_rc.cc:35
msgid "&description matches"
msgstr "&beschrijving overeenkomt met "
#: _from_rc.cc:36
-msgid "When checked only profiles whose 6th (=description) field matches the given regular expression are shown"
-msgstr "Wanneer aangevinkt worden enkel die profielen wiens beschrijving (6e veld) voldoet aan de gegeven reguliere expressie weergegeven"
+msgid ""
+"When checked only profiles whose 6th (=description) field matches the given "
+"regular expression are shown"
+msgstr ""
+"Wanneer aangevinkt worden enkel die profielen wiens beschrijving (6e veld) "
+"voldoet aan de gegeven reguliere expressie weergegeven"
#: _from_rc.cc:37
msgid "location &matches"
msgstr "&locatie overeenkomt met"
#: _from_rc.cc:38
-msgid "When checked only profiles whose 3th (=location) field matches the given regular expression are shown"
-msgstr "Wanneer aangevinkt worden enkel die profielen wiens locatie (3e veld) voldoet aan de gegeven reguliere expressie weergegeven"
+msgid ""
+"When checked only profiles whose 3th (=location) field matches the given "
+"regular expression are shown"
+msgstr ""
+"Wanneer aangevinkt worden enkel die profielen wiens locatie (3e veld) "
+"voldoet aan de gegeven reguliere expressie weergegeven"
#: _from_rc.cc:39
msgid "List of profiles found in processed .listing files"
@@ -158,138 +185,160 @@ msgid "Profile Details"
msgstr "Profieldetails"
#: _from_rc.cc:41
-msgid "Listed in"
-msgstr "Komt uit "
+msgid ""
+"@if(isEmpty())\n"
+"@listFileCurrent.setEnabled()\n"
+"@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)"
+msgstr ""
+"@if(isEmpty())\n"
+"@listFileCurrent.setEnabled()\n"
+"@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)"
#: _from_rc.cc:42
-msgid "*.listing"
-msgstr "*.listing"
+msgid "Activation requirements:"
+msgstr "Vereisten voor activatie:"
#: _from_rc.cc:43
-msgid "Append profile description to"
-msgstr "Profielbeschrijving toevoegen aan"
+msgid ""
+"list of activation requirements (contained in the 5th field) of selected "
+"profile"
+msgstr ""
+"lijst met vereisten voor activatie (wordt opgenomen in het 5e veld) van het "
+"geselecteerde profiel"
#: _from_rc.cc:44
-msgid ".listing file where the profile is defined"
-msgstr "(.listing)-bestand waar de metadata van dit profiel in zit"
+msgid "Remove &selected"
+msgstr "Geselecteerd vereiste verwijderen"
#: _from_rc.cc:45
-msgid "&Is new"
-msgstr "&Is nieuw"
+msgid "Removes selected activation requirement from the list"
+msgstr "Geselecteerde vereiste uit de lijst verwijderen"
#: _from_rc.cc:46
-msgid "Check if shown details (will) describe a new profile"
-msgstr "Vink dit aan wanneer de getoonde details een nieuw profiel (zullen) beschrijven"
+msgid "New activation requirement:"
+msgstr "Nieuwe activatie-vereiste"
#: _from_rc.cc:47
-msgid ""
-"@if(isEmpty())\n"
-"@listFileCurrent.setEnabled()\n"
-"@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)"
-msgstr ""
-"@if(isEmpty())\n"
-"@listFileCurrent.setEnabled()\n"
-"@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)"
+msgid "When the user is"
+msgstr "Wanneer de gebruiker"
#: _from_rc.cc:48
-msgid "Delete pr&ofile"
-msgstr "&Verwijderen"
+msgid "a member of"
+msgstr "lid is van"
#: _from_rc.cc:49
-msgid "Delete profile whose details are shown"
-msgstr "Verwijder weergegeven profiel"
+msgid "not member of "
+msgstr "geen lid is van"
#: _from_rc.cc:50
-msgid "Add new profile"
-msgstr "&Toevoegen"
+msgid ""
+"Your choice here determines wether the new requirement concerns membership "
+"or non-membership"
+msgstr ""
+"Uw keuze hier geeft aan of de nieuwe vereiste het lid zijn van of net het "
+"niet lid zijn van betreft"
#: _from_rc.cc:51
-msgid "Add/Update profile whose details are shown"
-msgstr "Weergegeven profiel toevoegen/bijwerken"
+msgid ""
+"Choose the group for which (non-)membership is needed to activate this "
+"profile"
+msgstr ""
+"Kies de groep waarvoor (niet) lid zijn nodig is om dit profiel te activeren"
#: _from_rc.cc:52
-msgid "&Cancel Changes"
-msgstr "&Annuleren"
+msgid "&Add"
+msgstr "Toevoegen"
#: _from_rc.cc:53
-msgid "Forget changes made to shown profile details"
-msgstr "Vergeet gemaakte aanpassingen voor het getoonde profiel"
+msgid ""
+"Only activate profile for users that are (not) a member of the selected group"
+msgstr ""
+"Profiel enkel activeren voor gebruikers die (geen) lid zin van de "
+"geselecteerde groep"
#: _from_rc.cc:54
-msgid "Activation requirements:"
-msgstr "Vereisten voor activatie:"
+msgid "When"
+msgstr "Als"
#: _from_rc.cc:55
-msgid "list of activation requirements (contained in the 5th field) of selected profile"
-msgstr "lijst met vereisten voor activatie (wordt opgenomen in het 5e veld) van het geselecteerde profiel"
+msgid "Enter any shell command"
+msgstr "Voer om het even wel shell-commando in"
#: _from_rc.cc:56
-msgid "Remove &selected"
-msgstr "Geselecteerd vereiste verwijderen"
+msgid "executes succesfully"
+msgstr "succesvol beeindigd"
#: _from_rc.cc:57
-msgid "Removes selected activation requirement from the list"
-msgstr "Geselecteerde vereiste uit de lijst verwijderen"
+msgid "Add"
+msgstr "+"
#: _from_rc.cc:58
-msgid "New activation requirement:"
-msgstr "Nieuwe activatie-vereiste"
+msgid ""
+"Make succesfull completion of given shell command a requirement for "
+"activation of this profile"
+msgstr ""
+"Maakt de succesvolle beeinding van het gegeven shell-commando een vereiste "
+"voor activatie van dit profiel."
#: _from_rc.cc:59
-msgid "When the user is"
-msgstr "Wanneer de gebruiker"
+msgid "Deactivate profile completel&y"
+msgstr "Profiel volledig &deactiveren"
#: _from_rc.cc:60
-msgid "a member of"
-msgstr "lid is van"
+msgid "Adds an unsatisfiable requirement (not in any group)"
+msgstr ""
+"Voegt een niet tegemoet te komende vereiste toe (gebruiker behoort tot geen "
+"enkele groep)"
#: _from_rc.cc:61
-msgid "not member of "
-msgstr "geen lid is van"
+msgid "Listed in"
+msgstr "Komt uit "
#: _from_rc.cc:62
-msgid "Your choice here determines wether the new requirement concerns membership or non-membership"
-msgstr "Uw keuze hier geeft aan of de nieuwe vereiste het lid zijn van of net het niet lid zijn van betreft"
+msgid "*.listing"
+msgstr "*.listing"
#: _from_rc.cc:63
-msgid "Choose the group for which (non-)membership is needed to activate this profile"
-msgstr "Kies de groep waarvoor (niet) lid zijn nodig is om dit profiel te activeren"
+msgid "Append profile description to"
+msgstr "Profielbeschrijving toevoegen aan"
#: _from_rc.cc:64
-msgid "&Add"
-msgstr "+"
+msgid ".listing file where the profile is defined"
+msgstr "(.listing)-bestand waar de metadata van dit profiel in zit"
#: _from_rc.cc:65
-msgid "Only activate profile for users that are (not) a member of the selected group"
-msgstr "Profiel enkel activeren voor gebruikers die (geen) lid zin van de geselecteerde groep"
+msgid "&Is new"
+msgstr "&Is nieuw"
#: _from_rc.cc:66
-msgid "When"
-msgstr "Als"
+msgid "Check if shown details (will) describe a new profile"
+msgstr ""
+"Vink dit aan wanneer de getoonde details een nieuw profiel (zullen) "
+"beschrijven"
#: _from_rc.cc:67
-msgid "Enter any shell command"
-msgstr "Voer om het even wel shell-commando in"
+msgid "Delete pr&ofile"
+msgstr "&Profiel Verwijderen"
#: _from_rc.cc:68
-msgid "executes succesfully"
-msgstr "succesvol beeindigd"
+msgid "Delete profile whose details are shown"
+msgstr "Verwijdert het weergegeven profiel"
#: _from_rc.cc:69
-msgid "Add"
-msgstr "+"
+msgid "Add new profile"
+msgstr "Nieuw Profiel &Toevoegen"
#: _from_rc.cc:70
-msgid "Make succesfull completion of given shell command a requirement for activation of this profile"
-msgstr "Maakt de succesvolle beeinding van het gegeven shell-commando een vereiste voor activatie van dit profiel."
+msgid "Add/Update profile whose details are shown"
+msgstr "Weergegeven profiel toevoegen/bijwerken"
#: _from_rc.cc:71
-msgid "Deacti&vate profile completely"
-msgstr "Profiel volledig &deactiveren"
+msgid "&Cancel Changes"
+msgstr "&Aanpassingen Annuleren"
#: _from_rc.cc:72
-msgid "Adds an unsatisfiable requirement (not in any group)"
-msgstr "Voegt een niet tegemoet te komende vereiste toe (gebruiker behoort tot geen enkele groep)"
+msgid "Forget changes made to shown profile details"
+msgstr "Vergeet gemaakte aanpassingen voor het getoonde profiel"
#: _from_rc.cc:73
msgid "1st field (=name) of selected profile"
@@ -344,21 +393,20 @@ msgid "4th field (=precedence value) of selected profile"
msgstr "4e veld (=prioriteit) van het geselecteerde profiel"
#: _from_rc.cc:86
-msgid "Description:"
-msgstr "Beschrijving:"
+msgid "Location(s):"
+msgstr "Locatie(s)"
#: _from_rc.cc:87
-msgid "6th field (=description) of selected profile"
-msgstr "6e veld (=beschrijving) van het geselecteerde profiel"
+msgid "Description:"
+msgstr "Beschrijving:"
#: _from_rc.cc:88
-msgid "Location(s):"
-msgstr "Locatie(s)"
-
-#: _from_rc.cc:89
msgid "3th field of selected profile"
msgstr "3e veld van het geselecteerde profiel"
-msgid "Save Changes"
-msgstr "&Opslaan"
+#: _from_rc.cc:89
+msgid "6th field (=description) of selected profile"
+msgstr "6e veld (=beschrijving) van het geselecteerde profiel"
+msgid "Save Changes"
+msgstr "&Aanpassingen Opslaan"
diff --git a/po/profile-manager.pot b/po/profile-manager.pot
index b4f2077..39d2d50 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-18 01:29+0200\n"
+"POT-Creation-Date: 2005-05-18 18:57+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"
@@ -48,8 +48,8 @@ msgid ""
"regular expression are shown"
msgstr ""
-#: _from_rc.cc:8 _from_rc.cc:29
-msgid "precedence"
+#: _from_rc.cc:8
+msgid "pre&cedence"
msgstr ""
#: _from_rc.cc:9
@@ -120,6 +120,10 @@ msgstr ""
msgid "location"
msgstr ""
+#: _from_rc.cc:29
+msgid "precedence"
+msgstr ""
+
#: _from_rc.cc:30
msgid "requirements"
msgstr ""
@@ -167,143 +171,143 @@ msgid "Profile Details"
msgstr ""
#: _from_rc.cc:41
-msgid "Listed in"
+msgid ""
+"@if(isEmpty())\n"
+"@listFileCurrent.setEnabled()\n"
+"@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)"
msgstr ""
#: _from_rc.cc:42
-msgid "*.listing"
+msgid "Activation requirements:"
msgstr ""
#: _from_rc.cc:43
-msgid "Append profile description to"
+msgid ""
+"list of activation requirements (contained in the 5th field) of selected "
+"profile"
msgstr ""
#: _from_rc.cc:44
-msgid ".listing file where the profile is defined"
+msgid "Remove &selected"
msgstr ""
#: _from_rc.cc:45
-msgid "&Is new"
+msgid "Removes selected activation requirement from the list"
msgstr ""
#: _from_rc.cc:46
-msgid "Check if shown details (will) describe a new profile"
+msgid "New activation requirement:"
msgstr ""
#: _from_rc.cc:47
-msgid ""
-"@if(isEmpty())\n"
-"@listFileCurrent.setEnabled()\n"
-"@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)"
+msgid "When the user is"
msgstr ""
#: _from_rc.cc:48
-msgid "Delete pr&ofile"
+msgid "a member of"
msgstr ""
#: _from_rc.cc:49
-msgid "Delete profile whose details are shown"
+msgid "not member of "
msgstr ""
#: _from_rc.cc:50
-msgid "Add new profile"
+msgid ""
+"Your choice here determines wether the new requirement concerns membership "
+"or non-membership"
msgstr ""
#: _from_rc.cc:51
-msgid "Add/Update profile whose details are shown"
+msgid ""
+"Choose the group for which (non-)membership is needed to activate this "
+"profile"
msgstr ""
#: _from_rc.cc:52
-msgid "&Cancel Changes"
+msgid "&Add"
msgstr ""
#: _from_rc.cc:53
-msgid "Forget changes made to shown profile details"
+msgid ""
+"Only activate profile for users that are (not) a member of the selected group"
msgstr ""
#: _from_rc.cc:54
-msgid "Activation requirements:"
+msgid "When"
msgstr ""
#: _from_rc.cc:55
-msgid ""
-"list of activation requirements (contained in the 5th field) of selected "
-"profile"
+msgid "Enter any shell command"
msgstr ""
#: _from_rc.cc:56
-msgid "Remove &selected"
+msgid "executes succesfully"
msgstr ""
#: _from_rc.cc:57
-msgid "Removes selected activation requirement from the list"
+msgid "Add"
msgstr ""
#: _from_rc.cc:58
-msgid "New activation requirement:"
+msgid ""
+"Make succesfull completion of given shell command a requirement for "
+"activation of this profile"
msgstr ""
#: _from_rc.cc:59
-msgid "When the user is"
+msgid "Deactivate profile completel&y"
msgstr ""
#: _from_rc.cc:60
-msgid "a member of"
+msgid "Adds an unsatisfiable requirement (not in any group)"
msgstr ""
#: _from_rc.cc:61
-msgid "not member of "
+msgid "Listed in"
msgstr ""
#: _from_rc.cc:62
-msgid ""
-"Your choice here determines wether the new requirement concerns membership "
-"or non-membership"
+msgid "*.listing"
msgstr ""
#: _from_rc.cc:63
-msgid ""
-"Choose the group for which (non-)membership is needed to activate this "
-"profile"
+msgid "Append profile description to"
msgstr ""
#: _from_rc.cc:64
-msgid "&Add"
+msgid ".listing file where the profile is defined"
msgstr ""
#: _from_rc.cc:65
-msgid ""
-"Only activate profile for users that are (not) a member of the selected group"
+msgid "&Is new"
msgstr ""
#: _from_rc.cc:66
-msgid "When"
+msgid "Check if shown details (will) describe a new profile"
msgstr ""
#: _from_rc.cc:67
-msgid "Enter any shell command"
+msgid "Delete pr&ofile"
msgstr ""
#: _from_rc.cc:68
-msgid "executes succesfully"
+msgid "Delete profile whose details are shown"
msgstr ""
#: _from_rc.cc:69
-msgid "Add"
+msgid "Add new profile"
msgstr ""
#: _from_rc.cc:70
-msgid ""
-"Make succesfull completion of given shell command a requirement for "
-"activation of this profile"
+msgid "Add/Update profile whose details are shown"
msgstr ""
#: _from_rc.cc:71
-msgid "Deacti&vate profile completely"
+msgid "&Cancel Changes"
msgstr ""
#: _from_rc.cc:72
-msgid "Adds an unsatisfiable requirement (not in any group)"
+msgid "Forget changes made to shown profile details"
msgstr ""
#: _from_rc.cc:73
@@ -359,19 +363,19 @@ msgid "4th field (=precedence value) of selected profile"
msgstr ""
#: _from_rc.cc:86
-msgid "Description:"
+msgid "Location(s):"
msgstr ""
#: _from_rc.cc:87
-msgid "6th field (=description) of selected profile"
+msgid "Description:"
msgstr ""
#: _from_rc.cc:88
-msgid "Location(s):"
+msgid "3th field of selected profile"
msgstr ""
#: _from_rc.cc:89
-msgid "3th field of selected profile"
+msgid "6th field (=description) of selected profile"
msgstr ""
msgid "Save Changes"
diff --git a/profile-manager.kmdr b/profile-manager.kmdr
index 4925029..02885fb 100644
--- a/profile-manager.kmdr
+++ b/profile-manager.kmdr
@@ -314,7 +314,7 @@
<enum>TabFocus</enum>
</property>
<property name="text">
- <string>precedence</string>
+ <string>pre&cedence</string>
</property>
<property name="associations" stdset="0">
<stringlist>
@@ -938,142 +938,38 @@ fi
<property name="spacing">
<number>6</number>
</property>
- <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
+ <widget class="ScriptObject" row="0" column="0">
<property name="name">
- <cstring>Layout35</cstring>
+ <cstring>isNewScript</cstring>
</property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>Layout30</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <widget class="Label">
- <property name="name">
- <cstring>listFileLabel</cstring>
- </property>
- <property name="text">
- <string>Listed in</string>
- </property>
- </widget>
- <widget class="FileSelector">
- <property name="name">
- <cstring>listFileCurrent</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="focusPolicy">
- <enum>TabFocus</enum>
- </property>
- <property name="populationText">
- <string>/etc/desktop-profiles/custom.listing</string>
- </property>
- <property name="associations" stdset="0">
- <stringlist>
- <string>@widgetText</string>
- </stringlist>
- </property>
- <property name="selectionFilter">
- <string>*.listing</string>
- </property>
- <property name="selectionCaption">
- <string>Append profile description to</string>
- </property>
- <property name="toolTip" stdset="0">
- <string>.listing file where the profile is defined</string>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>Layout32</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <widget class="CheckBox">
- <property name="name">
- <cstring>isNew</cstring>
- </property>
- <property name="text">
- <string>&Is new</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- <property name="populationText">
- <string>false</string>
- </property>
- <property name="associations" stdset="0">
- <stringlist>
- <string>false</string>
- <string></string>
- <string>true</string>
- </stringlist>
- </property>
- <property name="toolTip" stdset="0">
- <string>Check if shown details (will) describe a new profile</string>
- </property>
- </widget>
- <widget class="ScriptObject">
- <property name="name">
- <cstring>isNewScript</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>1</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="text">
- <string>@if(isEmpty())
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>1</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>@if(isEmpty())
@listFileCurrent.setEnabled()
@listFileCurrent.setText(/etc/desktop-profiles/custom.listing)</string>
- </property>
- <property name="associations" stdset="0">
- <stringlist>
- <string>@# New Profile (being togled -> still false)
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@# New Profile (being togled -> still false)
@if(@String.compare(false, @isNew))
@listFileCurrent.setEnabled(true)
@deleteProfile.setEnabled(false)
@@ -1088,175 +984,8 @@ fi
@listFileCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 1 --delimiter ';'))
@commitChanges.setText(@i18n(Save Changes))
@endif</string>
- </stringlist>
- </property>
- </widget>
- </hbox>
- </widget>
- <widget class="QLayoutWidget">
- <property name="name">
- <cstring>Layout34</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <widget class="ExecButton">
- <property name="name">
- <cstring>deleteProfile</cstring>
- </property>
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximumSize">
- <size>
- <width>95</width>
- <height>32767</height>
- </size>
- </property>
- <property name="text">
- <string>Delete pr&ofile</string>
- </property>
- <property name="associations" stdset="0">
- <stringlist>
- <string>FILE="@listFileCurrent";
-NAME="@nameCurrent";
-
-TEMP=$(tempfile)
-cat "$FILE" | grep -v "^$NAME;" > $TEMP
-mv $TEMP $FILE</string>
- </stringlist>
- </property>
- <property name="toolTip" stdset="0">
- <string>Delete profile whose details are shown</string>
- </property>
- </widget>
- <widget class="ExecButton">
- <property name="name">
- <cstring>commitChanges</cstring>
- </property>
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximumSize">
- <size>
- <width>110</width>
- <height>32767</height>
- </size>
- </property>
- <property name="text">
- <string>Add new profile</string>
- </property>
- <property name="default">
- <bool>true</bool>
- </property>
- <property name="associations" stdset="0">
- <stringlist>
- <string>IS_NEW="@isNew";
-
-FILE="@listFileCurrent";
-NAME="@nameCurrent";
-LOCATION="@locationCurrent";
-PRECEDENCE="@precedenceCurrent";
-REQS="@requirementsCurrent";
-KIND="@kindCurrent";
-DESC="@descriptionCurrent";
-
-NEW="$NAME;$KIND;$LOCATION;$PRECEDENCE;$REQS;$DESC"
-
-# changing existing profile
-if (test "$IS_NEW" = "false"); then
- OLD="$(echo '@profilesAll.item(@profilesAll.currentItem)' | cut --fields 2 --delimiter ';')";
-
- if test -w "$FILE"; then
- sed -i "s%^$OLD.*%$NEW%" "$FILE";
- elif "$NAME"x != x; then
- kdialog --error "It appears you don't have permission to write $FILE" || true;
- fi;
-# adding new profile
-else
- if (test -w "$FILE") || \
- ( (! test -e "$FILE") (test -w "$(dirname $FILE)") ); then
- echo "$NEW" >> "$FILE";
- elif "$NAME"x != x; then
- kdialog --error "It appears you don't have permission to write $FILE" || true;
- fi;
-fi;</string>
- </stringlist>
- </property>
- <property name="toolTip" stdset="0">
- <string>Add/Update profile whose details are shown</string>
- </property>
- </widget>
- <widget class="ExecButton">
- <property name="name">
- <cstring>cancelChangeSelected</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>5</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximumSize">
- <size>
- <width>110</width>
- <height>32767</height>
- </size>
- </property>
- <property name="text">
- <string>&Cancel Changes</string>
- </property>
- <property name="populationText">
- <string></string>
- </property>
- <property name="associations" stdset="0">
- <stringlist>
- <string>true
- at profilesAll.setCurrentItem(@profiles.findItem(@profiles.selection))
-
- at nameCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 2 --delimiter ';'))
- at kindCurrent.setSelection(@exec(echo '@profilesAll.selection' | cut --fields 3 --delimiter ';'))
- at locationCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 4 --delimiter ';'))
- at precedenceCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 5 --delimiter ';'))
- at descriptionCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 7 --delimiter ';'))
-
- at isNew.setChecked(false)
- at commandReq.clear()
-</string>
- </stringlist>
- </property>
- <property name="toolTip" stdset="0">
- <string>Forget changes made to shown profile details</string>
- </property>
- </widget>
- </hbox>
- </widget>
- </hbox>
+ </stringlist>
+ </property>
</widget>
<widget class="GroupBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
@@ -1491,7 +1220,7 @@ fi;
</property>
<property name="sizePolicy">
<sizepolicy>
- <hsizetype>5</hsizetype>
+ <hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
@@ -1499,7 +1228,7 @@ fi;
</property>
<property name="maximumSize">
<size>
- <width>40</width>
+ <width>120</width>
<height>32767</height>
</size>
</property>
@@ -1578,7 +1307,7 @@ fi;
</property>
<property name="sizePolicy">
<sizepolicy>
- <hsizetype>5</hsizetype>
+ <hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
@@ -1586,7 +1315,7 @@ fi;
</property>
<property name="maximumSize">
<size>
- <width>40</width>
+ <width>120</width>
<height>32767</height>
</size>
</property>
@@ -1622,7 +1351,7 @@ fi;
</sizepolicy>
</property>
<property name="text">
- <string>Deacti&vate profile completely</string>
+ <string>Deactivate profile completel&y</string>
</property>
<property name="associations" stdset="0">
<stringlist>
@@ -1639,11 +1368,11 @@ fi;
</widget>
</grid>
</widget>
- <widget class="QLayoutWidget" row="0" column="0">
+ <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
- <cstring>Layout36</cstring>
+ <cstring>Layout29</cstring>
</property>
- <grid>
+ <hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
@@ -1653,27 +1382,283 @@ fi;
<property name="spacing">
<number>6</number>
</property>
- <widget class="LineEdit" row="0" column="1" rowspan="1" colspan="2">
+ <widget class="Label">
<property name="name">
- <cstring>nameCurrent</cstring>
+ <cstring>listFileLabel</cstring>
</property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>1</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <property name="text">
+ <string>Listed in</string>
+ </property>
+ </widget>
+ <widget class="FileSelector">
+ <property name="name">
+ <cstring>listFileCurrent</cstring>
+ </property>
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="focusPolicy">
+ <enum>TabFocus</enum>
</property>
<property name="populationText">
- <string></string>
+ <string>/etc/desktop-profiles/custom.listing</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>@widgetText</string>
</stringlist>
</property>
- <property name="toolTip" stdset="0">
+ <property name="selectionFilter">
+ <string>*.listing</string>
+ </property>
+ <property name="selectionCaption">
+ <string>Append profile description to</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>.listing file where the profile is defined</string>
+ </property>
+ </widget>
+ <widget class="CheckBox">
+ <property name="name">
+ <cstring>isNew</cstring>
+ </property>
+ <property name="text">
+ <string>&Is new</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ <property name="populationText">
+ <string>false</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>false</string>
+ <string></string>
+ <string>true</string>
+ </stringlist>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Check if shown details (will) describe a new profile</string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
+ <property name="name">
+ <cstring>Layout28</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <property name="margin">
+ <number>0</number>
+ </property>
+ <property name="spacing">
+ <number>6</number>
+ </property>
+ <spacer>
+ <property name="name">
+ <cstring>Spacer6_2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="ExecButton">
+ <property name="name">
+ <cstring>deleteProfile</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>Delete pr&ofile</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>FILE="@listFileCurrent";
+NAME="@nameCurrent";
+
+TEMP=$(tempfile)
+cat "$FILE" | grep -v "^$NAME;" > $TEMP
+mv $TEMP $FILE</string>
+ </stringlist>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Delete profile whose details are shown</string>
+ </property>
+ </widget>
+ <widget class="ExecButton">
+ <property name="name">
+ <cstring>commitChanges</cstring>
+ </property>
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>Add new profile</string>
+ </property>
+ <property name="default">
+ <bool>true</bool>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>IS_NEW="@isNew";
+
+FILE="@listFileCurrent";
+NAME="@nameCurrent";
+LOCATION="@locationCurrent";
+PRECEDENCE="@precedenceCurrent";
+REQS="@requirementsCurrent";
+KIND="@kindCurrent";
+DESC="@descriptionCurrent";
+
+NEW="$NAME;$KIND;$LOCATION;$PRECEDENCE;$REQS;$DESC"
+
+# changing existing profile
+if (test "$IS_NEW" = "false"); then
+ OLD="$(echo '@profilesAll.item(@profilesAll.currentItem)' | cut --fields 2 --delimiter ';')";
+
+ if test -w "$FILE"; then
+ sed -i "s%^$OLD.*%$NEW%" "$FILE";
+ elif "$NAME"x != x; then
+ kdialog --error "It appears you don't have permission to write $FILE" || true;
+ fi;
+# adding new profile
+else
+ if (test -w "$FILE") || \
+ ( (! test -e "$FILE") (test -w "$(dirname $FILE)") ); then
+ echo "$NEW" >> "$FILE";
+ elif "$NAME"x != x; then
+ kdialog --error "It appears you don't have permission to write $FILE" || true;
+ fi;
+fi;</string>
+ </stringlist>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Add/Update profile whose details are shown</string>
+ </property>
+ </widget>
+ <widget class="ExecButton">
+ <property name="name">
+ <cstring>cancelChangeSelected</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>&Cancel Changes</string>
+ </property>
+ <property name="populationText">
+ <string></string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>true
+ at profilesAll.setCurrentItem(@profiles.findItem(@profiles.selection))
+
+ at nameCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 2 --delimiter ';'))
+ at kindCurrent.setSelection(@exec(echo '@profilesAll.selection' | cut --fields 3 --delimiter ';'))
+ at locationCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 4 --delimiter ';'))
+ at precedenceCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 5 --delimiter ';'))
+ at descriptionCurrent.setText(@exec(echo '@profilesAll.selection' | cut --fields 7 --delimiter ';'))
+
+ at isNew.setChecked(false)
+ at commandReq.clear()
+</string>
+ </stringlist>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Forget changes made to shown profile details</string>
+ </property>
+ </widget>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget" row="0" column="0">
+ <property name="name">
+ <cstring>Layout36</cstring>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <property name="margin">
+ <number>0</number>
+ </property>
+ <property name="spacing">
+ <number>6</number>
+ </property>
+ <widget class="LineEdit" row="0" column="1" rowspan="1" colspan="2">
+ <property name="name">
+ <cstring>nameCurrent</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>1</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="populationText">
+ <string></string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@widgetText</string>
+ </stringlist>
+ </property>
+ <property name="toolTip" stdset="0">
<string>1st field (=name) of selected profile</string>
</property>
</widget>
@@ -1878,9 +1863,9 @@ fi;
</widget>
<widget class="QLayoutWidget" row="0" column="1">
<property name="name">
- <cstring>Layout35</cstring>
+ <cstring>Layout26</cstring>
</property>
- <vbox>
+ <grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
@@ -1890,105 +1875,73 @@ fi;
<property name="spacing">
<number>6</number>
</property>
- <widget class="QLayoutWidget">
+ <widget class="Label" row="1" column="0">
<property name="name">
- <cstring>Layout26</cstring>
+ <cstring>locationLabel</cstring>
+ </property>
+ <property name="text">
+ <string>Location(s):</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string></string>
+ </stringlist>
</property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <widget class="Label">
- <property name="name">
- <cstring>descriptionLabel</cstring>
- </property>
- <property name="text">
- <string>Description:</string>
- </property>
- <property name="associations" stdset="0">
- <stringlist>
- <string></string>
- </stringlist>
- </property>
- </widget>
- <widget class="LineEdit">
- <property name="name">
- <cstring>descriptionCurrent</cstring>
- </property>
- <property name="sizePolicy">
- <sizepolicy>
- <hsizetype>7</hsizetype>
- <vsizetype>0</vsizetype>
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="populationText">
- <string></string>
- </property>
- <property name="associations" stdset="0">
- <stringlist>
- <string>@widgetText</string>
- </stringlist>
- </property>
- <property name="toolTip" stdset="0">
- <string>6th field (=description) of selected profile</string>
- </property>
- </widget>
- </hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="Label" row="0" column="0">
<property name="name">
- <cstring>Layout27</cstring>
+ <cstring>descriptionLabel</cstring>
+ </property>
+ <property name="text">
+ <string>Description:</string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string></string>
+ </stringlist>
+ </property>
+ </widget>
+ <widget class="LineEdit" row="1" column="1">
+ <property name="name">
+ <cstring>locationCurrent</cstring>
+ </property>
+ <property name="populationText">
+ <string></string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@widgetText</string>
+ </stringlist>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>3th field of selected profile</string>
</property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <widget class="Label">
- <property name="name">
- <cstring>locationLabel</cstring>
- </property>
- <property name="text">
- <string>Location(s):</string>
- </property>
- <property name="associations" stdset="0">
- <stringlist>
- <string></string>
- </stringlist>
- </property>
- </widget>
- <widget class="LineEdit">
- <property name="name">
- <cstring>locationCurrent</cstring>
- </property>
- <property name="populationText">
- <string></string>
- </property>
- <property name="associations" stdset="0">
- <stringlist>
- <string>@widgetText</string>
- </stringlist>
- </property>
- <property name="toolTip" stdset="0">
- <string>3th field of selected profile</string>
- </property>
- </widget>
- </hbox>
</widget>
- </vbox>
+ <widget class="LineEdit" row="0" column="1">
+ <property name="name">
+ <cstring>descriptionCurrent</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>7</hsizetype>
+ <vsizetype>0</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="populationText">
+ <string></string>
+ </property>
+ <property name="associations" stdset="0">
+ <stringlist>
+ <string>@widgetText</string>
+ </stringlist>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>6th field (=description) of selected profile</string>
+ </property>
+ </widget>
+ </grid>
</widget>
</grid>
</widget>
--
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