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

lupdate is too "greedy" when collecting metadata from magic comments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0
    • 4.6.3
    • Tools: Linguist
    • None
    • a4e8dca0c3665a26ff5e7dffada97aeab86dd1a5

    Description

      Restrict how metadata can be specified for translations in source code so it doesn't get "greedy" and think that some comments are metadata when they are not. For example, the following line is considered to be metadata (even though its not)

      B::B(QWidget *parent /*=0*/)
      

      By restricting it to only have whitespace before the comment or something like that would make it easier to find the metadata and prevent it from running into problems.

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              anshaw Andy Shaw (closed Nokia identity) (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes