https://bugs.kde.org/show_bug.cgi?id=406973

            Bug ID: 406973
           Summary: Not possible to translate the ‘Reasons’ strings (for
                    saving into non-Krita formats)
           Product: krita
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Translation
          Assignee: krita-bugs-n...@kde.org
          Reporter: k...@huftis.org
  Target Milestone: ---

SUMMARY
It’s not possible to translate the three ‘Reason:/‘Reasons:’ strings, shown in
the warning messages you get when trying to save an image into a non-Krita
format.

ADDITIONAL INFORMATION
Here’s the relevant strings in the source code (KisImportExportManager.cpp,
https://lxr.kde.org/source/extragear/graphics/krita/libs/ui/KisImportExportManager.cpp),
AFAICS:

0482     if (!batchMode && !errors.isEmpty()) {
0483         QString error =  "<html><body><p><b>"
0484                 + i18n("Error: cannot save this image as a %1.",
mimeUserDescription)
0485                 + "</b> Reasons:</p>"
0486                 + "<p/><ul>";
0487         Q_FOREACH(const QString &w, errors) {
0488             error += "\n<li>" + w + "</li>";
0489         }

0526             QString warning = "<html><body><p><b>"
0527                     + i18n("You will lose information when saving this
image as a %1.", mimeUserDescription);
0528 
0529             if (warnings.size() == 1) {
0530                 warning += "</b> Reason:</p>";
0531             }
0532             else {
0533                 warning += "</b> Reasons:</p>";
0534             }
0535             warning += "<p/><ul>";

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to