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

lupdate records qtTrId() calls even if no string template is specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.2.0
    • 4.6.0
    • Tools: Linguist
    • None
    • b06dc951f535ce137a26d2062f4b074ea1d72441

    Description

      Running lupdate on a main.cpp that simply contains

      qtTrId("foo");

      will produce a translation file with an entry for "foo", with an empty source tag.
      lupdate should probably warn when no string template has been specified, and not create the translation entry.

      A separate, but related, issue is what to do if the string template is missing but some other meta-data has been specified.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            kenthans Kent Hansen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes