After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 398035 - Project manager templates are not localized
Project manager templates are not localized
Status: VERIFIED FIXED
Product: anjuta
Classification: Applications
Component: plugins: project-manager
SVN TRUNK
Other Linux
: Normal normal
: ---
Assigned To: Sébastien Granjoux
Anjuta maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-18 15:15 UTC by Gabor Kelemen
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gabor Kelemen 2007-01-18 15:15:04 UTC
The .wiz files contain strings that should be localized, they are marked for translation, but the infrastructure (makefile.am, potfiles.in etc) is not prepared to handle them.
Comment 1 Naba Kumar 2007-01-22 09:12:25 UTC
Also related to #398067, I think we should fix intltool-update to allow registering any arbitrary file types to scan rather than just a predefined fixed set.
Comment 2 Gabor Kelemen 2007-01-22 15:26:53 UTC
I have tried to use the same solution as for bug #398067, but no success: after adding this line to POTFILES.in:

[type: gettext/xml]plugins/project-wizard/templates/cpp.wiz

intltool-update -m doesn't complains, but intltool-update --pot bails out with the following:

gabor@gabor-laptop:~/anjuta/po$ intltool-update --pot

junk after document element at line 8, column 0, byte 165 at /usr/lib/perl5/XML/Parser.pm line 187
/usr/bin/xgettext: error while opening "../plugins/project-wizard/templates/cpp.wiz.h" for reading: Nincs ilyen fájl vagy könyvtár
ERROR: xgettext failed to generate PO template file. Please consult
       error message above if there is any.

Perhaps these .wiz files are not well-formed xml?
Comment 3 Naba Kumar 2007-01-22 18:29:15 UTC
I think a proper xml file mandates only one root node in a file which these .wiz files do not have (they have several root nodes). I don't recall what the reason was but Sebastien can tell more.
Comment 4 Sébastien Granjoux 2007-01-22 18:52:58 UTC
I don't remember any particular reason for having several root nodes. I have probably done this because it's simpler and works fine with GMarkup parser. I think I can change the format to put everything in one root node, but I will need a several days to do this change.
Comment 5 Naba Kumar 2007-03-27 08:21:36 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 6 Naba Kumar 2007-06-27 10:57:53 UTC
Closing all old bugs. Apologies for the spam.