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

Translations in Linguist don't accept non-breaking spaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.2
    • Tools: Linguist
    • None
    • 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

          Activity

            People

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

              Dates

                Created:
                Updated: