On 10.03.2013 22:56, Riccardo Mottola wrote:
I want to update the localized strings of GWorkspace.
I go into the resources directory and run, for example:
make_strings -L Spanish ../*.*
But I get as a result:
2013-03-10 21:56:11.248 make_strings[12862] No local time zone specified.
2013-03-10 21:56:11.249 make_strings[12862] Using time zone with
absolute offset 0.
2013-03-10 21:56:11.247 make_strings[12862] unable to parse call to
'NSLocalizedString' at ../GWFunctions.h:69
Here the localization happens inside of the macro MAKE_LOCALIZED_LABEL,
you should pull the localization code out otherwise make_strings wont be
able to extract the text.
2013-03-10 21:56:11.250 make_strings[12862] unable to parse call to
'NSLocalizedString' at ../GWFunctions.m:307
Again no chance for make_strings to extract the actual string. This will
make it very hard to port your application to other languages. The
localization belongs into the caller.
make_strings: Uncaught exception NSRangeException, reason: in
substringWithRange:, range { 0, 2147483647 } extends beyond size (69)
Just run make_strings in gdb and set a breakpoint on [NSException
raise], that is the only way to tell.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep