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

translation heuristic confused by mnemonics

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.5.3
    • Tools: Linguist
    • Debian amd64 squeeze

    Description

      The heuristic used to match tr-strings to entries in a translation file seems to be confused by mnemonic.

      E.g. assume you have tr("Save") and tr("Save As") and german translations "Save"->"Speichern" and "Save As" -> "Speichern unter".

      If you later add mnemonics, like tr("&Save") and tr("Save &As"), it uses the translations "&Save" -> "Speichern unter" and "&Save As" -> (unknown), which is obviously wrong and screws up all existing translations.

      It should just ignore single &s.

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            benibela Benito van der Zander
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes