[Bug 81345] New: kdevelop templates and translations

tnagy tnagy256 at yahoo.fr
Wed May 12 14:12:43 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=81345      
           Summary: kdevelop templates and translations
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel kdevelop org
        ReportedBy: tnagy256 yahoo fr


Version:            (using KDE Devel)
Installed from:    Compiled sources

In kdevelop/languages/cpp/app_templates/kxt/src-configure.in.in : "$APPNAMELC" should be replaced by "$APPNAMELC$" and 0.1 by "$VERSION$" (translations won't work without that).

I also think there is a problem in all kde templates, (src-Makefile.am), where the following :
-----------------
messages: rc.cpp
        $(XGETTEXT) *.cpp -o $(podir)/$APPNAMELC$.pot
-----------------

should be replaced by :
-----------------
messages: rc.cpp
        $(EXTRACTRC) ./*/*.rc >> ./rc.cpp
        $(XGETTEXT) `find . -name "*.cpp"` -o $(podir)/dymmyproject.pot
-----------------

This will include the .rc files to the translations, will process all the cpp files (otherwise no cpp file from the subdirectories will be processed - i've tried adding $(XGETTEXT.. to those files but it did not work).




More information about the KDevelop-devel mailing list