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

translations missing for QPlatformTheme dialog button labels

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.4.0
    • Translations (l10n)
    • 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

            buddenha Oswald Buddenhagen
            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