Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-41148

translations missing for QPlatformTheme dialog button labels

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.4.0
    • Fix Version/s: None
    • Component/s: Translations (I10n)
    • Labels:
      None

      Description

      On 5.3 branch, git grep will find the following ts files that have QPlatformTheme:

      translations/qtbase_cs.ts: <name>QPlatformTheme</name>
      translations/qtbase_de.ts: <name>QPlatformTheme</name>
      translations/qtbase_fi.ts: <name>QPlatformTheme</name>
      translations/qtbase_it.ts: <name>QPlatformTheme</name>
      translations/qtbase_ja.ts: <name>QPlatformTheme</name>
      translations/qtbase_ru.ts: <name>QPlatformTheme</name>
      translations/qtbase_uk.ts: <name>QPlatformTheme</name>

      but on stable branch they have gone missing. The result is that dialog buttons are not getting translated. The call to translate is in

      QString QPlatformTheme::defaultStandardButtonText(int button)

          switch (button) {
          case QPlatformDialogHelper::Ok:
              return QCoreApplication::translate("QPlatformTheme", "OK");
      ...
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            buddenha Oswald Buddenhagen
            Reporter:
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes