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

Translation tool lupdate fails to add all translation strings from javascript array to ts file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.7.2
    • Translations (l10n)
    • None

    Description

      Create .ts file from given JavaScript code file using lupdate. Only a fraction of the strings are appended to the .ts translation file:

      lupdate translatebug.js -ts translatebug.ts
      ../workspace/bugs/translatebug.js:2: Expected `;', `]'
      Updating 'translatebug.ts'...
          Found 11 source text(s) (11 new and 0 already existing)
      

      Attachments

        1. translatebug.js
          2 kB
        2. translatebug.ts
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes