Am 30.07.2017 um 15:26 schrieb Alexandre Prokoudine:
Hello,
When I run 'make inkscape_pot' for current git master, I get this:
[100%] Generating ../../po/inkscape.pot
Unsuccessful open on filename containing newline at
/usr/bin/intltool-update line 1150.
And then the following top menu items are missing from POT (become obsolete):
_View, _Layer, _Object, _Path, _Filters, _Extensions, _Help.
Both _File, _Edit, and _Text are OK.
I'd gladly push updated ru.po, but without these essential bits it's
not worth it really.
Any ideas what could be causing this?
Alex
This was caused by the switch to external UI files, specifically
https://gitlab.com/inkscape/inkscape/commit/78cebbf91af8d91681d4ff18b7c1a8b25f2c431a
Seems we currently have a bit of a "change it now and fix regressions
later" attitude in the Inkscape project (with the "later" part often
forgotten)... We really should work on this!
That being said it should be fixable but needs some changes (at the very
least the UI files need to be adjusted and added to the files searched
by intltool). Maybe some code changes (to exclude translatable strings
from the UI files) are an even the better approach, though (I'll need to
look into this).
For now I'm afraid there's not much you can do to update the .pot file
Also note that simply running "intltool-update" (or "make inkscape_pot")
usually is not sufficient if new code files were added to the source.
Then one has to regenerate the file "POTFILES.in" using
"generate_POTFILES.sh" which might (or as in this case might not)
produce the necessary input files for intltool.
Regards,
Eduard
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-translator mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/inkscape-translator