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

List:       kde-i18n-doc
Subject:    kdebase/kcontrol/filetypes
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-10-30 13:03:49
[Download RAW message or body]

CVS commit by waba: 

Added some i18n strings in anticaption of the solution-that-is-expected-later
for the following problem:
A service (e.g. KEdit) that is associated with a mimetype 
(e.g. text/x-makefile) due to the is-also property (e.g. text/plain) of 
that mimetype can not be be removed from that mimetype (text/x-makefile) 
but only from the one that caused the association (text/plain)
CCMAIL: kde-i18n-doc@kde.org


  M +15 -0     kservicelistwidget.cpp   1.21


--- kdebase/kcontrol/filetypes/kservicelistwidget.cpp  #1.20:1.21
@@ -310,4 +310,19 @@ void KServiceListWidget::editService()
 void KServiceListWidget::removeService()
 {
+  // TODO check if service is associated with this mimetype or with one
+  // of its parents
+  // Here are some strings already so that we don't have to break translations
+  // later on.
+  QString msg1 = i18n("The service <b>%1</b> can not be removed.");
+  QString msg2 = i18n("The service is listed here because it has been associated "
+                     "with the <b>%1</b> (%2) file type and files of type "
+                     "<b>%3</b> (%4) are per definition also of type "
+                     "<b>%5</b>.");
+  QString msg3 = i18n("Either select the <b>%1</b> file type to remove the "
+                      "service from there or move the service down "
+                      "to deprecate it.");
+  QString msg4 = i18n("Do you want to remove the service from the <b>%1</b> "
+                      "file type or from the <b>%2</b> file type?");
+
   int selected = servicesLB->currentItem();
 


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

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