Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit c091fce2 authored by Karl Ove Hufthammer's avatar Karl Ove Hufthammer

Make string for reasons for image export problems translatable

BUG:406973
parent 1e5db24a
......@@ -489,7 +489,7 @@ bool KisImportExportManager::askUserAboutExportConfiguration(
if (!batchMode && !errors.isEmpty()) {
QString error = "<html><body><p><b>"
+ i18n("Error: cannot save this image as a %1.", mimeUserDescription)
+ "</b> Reasons:</p>"
+ "</b> " + i18n("Reasons:") + "</p>"
+ "<p/><ul>";
Q_FOREACH(const QString &w, errors) {
error += "\n<li>" + w + "</li>";
......@@ -534,10 +534,10 @@ bool KisImportExportManager::askUserAboutExportConfiguration(
+ i18n("You will lose information when saving this image as a %1.", mimeUserDescription);
if (warnings.size() == 1) {
warning += "</b> Reason:</p>";
warning += "</b> " + i18n("Reason:") + "</p>";
}
else {
warning += "</b> Reasons:</p>";
warning += "</b> " + i18n("Reasons:") + "</p>";
}
warning += "<p/><ul>";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment