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( ...@@ -489,7 +489,7 @@ bool KisImportExportManager::askUserAboutExportConfiguration(
if (!batchMode && !errors.isEmpty()) { if (!batchMode && !errors.isEmpty()) {
QString error = "<html><body><p><b>" QString error = "<html><body><p><b>"
+ i18n("Error: cannot save this image as a %1.", mimeUserDescription) + i18n("Error: cannot save this image as a %1.", mimeUserDescription)
+ "</b> Reasons:</p>" + "</b> " + i18n("Reasons:") + "</p>"
+ "<p/><ul>"; + "<p/><ul>";
Q_FOREACH(const QString &w, errors) { Q_FOREACH(const QString &w, errors) {
error += "\n<li>" + w + "</li>"; error += "\n<li>" + w + "</li>";
...@@ -534,10 +534,10 @@ bool KisImportExportManager::askUserAboutExportConfiguration( ...@@ -534,10 +534,10 @@ bool KisImportExportManager::askUserAboutExportConfiguration(
+ i18n("You will lose information when saving this image as a %1.", mimeUserDescription); + i18n("You will lose information when saving this image as a %1.", mimeUserDescription);
if (warnings.size() == 1) { if (warnings.size() == 1) {
warning += "</b> Reason:</p>"; warning += "</b> " + i18n("Reason:") + "</p>";
} }
else { else {
warning += "</b> Reasons:</p>"; warning += "</b> " + i18n("Reasons:") + "</p>";
} }
warning += "<p/><ul>"; 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