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

lupdate needs support for objective c++

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.5.0
    • Tools: Linguist

    Description

      Using qtconnectivity as example, the way to update the ts files is to run

      make ts-qtconnectivity-de
      

      This make target completely fails to parse *.mm files. This can be seen when checking for tr strings which are unique to .mm files. This means i18n is completely insufficient for ios and OSX.

      It seems lupdate has an -extensions option which might be used to fix the problem. If the option is not set it defaults to

      'java,jui,ui,c,c++,cc,cpp,cxx,ch,h,h++,hh,hpp,hxx,js,qs,qml'
      

      It could be just a matter of adding .mm as default extension. However whether lupdate is able to parse proper Objective-C is another problem.

      Attachments

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

        Activity

          People

            kkohne Kai Köhne
            ablasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes