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

lupdate gets confused by carriage return in text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 5.3.1
    • Tools: Linguist
    • Tested on Linux (Ubuntu)

      When lupdate parses text that contains a carriage return ("\r") it looks like it adds the item then subsequently marks it as obsolete.

      This means the parsing never settles, as the sequence repeats each time lupdate executes.

      To test, add a string to a source file such as:

        QObject::tr("Some text with \r in the middle");
      

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

            lugerard Lucie Gerard
            chard Richard Hazlewood
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes