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

QHelpSearchResultWidget is not translated properly into Chinese

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.15.3
    • 5.12.0
    • Translations (I10n)
    • None
    • Windows
    • 0106ec52da146e2c76d1e3c4807918c0ff1789d7

    Description

      Took the following .qm files, loaded and installed them at runtime:

      • qtbase_zh_CN.qm
      • qt_help_zh_CN.qm

      The following is a custom help viewer that uses QHelpEngine and corresponding widgets with untranslated text:

      I pulled the qt_help_zh_CN.ts file from the Qt code base and updated translations (see attached qt_help_zh_CN.ts file, this is my modified version) before compiling a new qt_help_zh_CN.qm file and was able to get the "Your search did not match any documents." to be translated properly but the navigation bar text is still untranslated:

      Not sure what to do at this point, I checked the code base (here) and the context should be `QHelpSearchResultWidget` but it's not working, any help would be appreciated!

      Attachments

        1. help-viewer.png
          help-viewer.png
          54 kB
        2. image-2019-11-11-13-54-17-990.png
          image-2019-11-11-13-54-17-990.png
          531 kB
        3. qt_help_zh_CN.ts
          14 kB

        Activity

          People

            buddenha Oswald Buddenhagen
            cechow Edith Chow
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: