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

Translations in Linguist don't accept non-breaking spaces

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.2.2
    • Fix Version/s: None
    • Component/s: Tools: Linguist
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      In the .ts file source text may contain a non-breaking space " ". When such file is opened with Linguist, the source text is displayed correctly, i.e. the non-breaking space is recognized.

       

      However, when using Linguist to enter the Translation, we cannot input the non-breaking space. It is either converted to a normal space or a string of literal characters, i.e., " ". As a workaround we currently write such translations in the text editor. It would be nice if this could be done in Linguist.

       

      Additionally, if the above issue gets fixed, it would also be nice if Linguist displayed a warning in the case when the provided translation does not contain a non-breaking space.

       

      An example .ts file to reproduce the issue is attached.

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kkohne Kai Köhne
              Reporter:
              peter.ursic Peter Ursic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes