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");
      

        For Gerrit Dashboard: QTBUG-41562
        # Subject Branch Project Status CR V

            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