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 %1 can not be removed."); + QString msg2 = i18n("The service is listed here because it has been associated " + "with the %1 (%2) file type and files of type " + "%3 (%4) are per definition also of type " + "%5."); + QString msg3 = i18n("Either select the %1 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 %1 " + "file type or from the %2 file type?"); + int selected = servicesLB->currentItem();