Login  Register

Re: Hardcoded non-translatable items

Posted by xnakos on Oct 06, 2012; 4:00pm
URL: https://forum.librecad.org/Hardcoded-non-translatable-items-tp5707108p5707111.html

I have sent the pull request. Another thing is this: When looking for:

"Align" (under "Modify" submenu)
"Same properties" (under "Modify" submenu)

"List entities" (under "Info" submenu)
"Sample plugin" (under "Help" submenu)

(and I believe the same holds for "Read ascii points" and "shape file" under "Import")

the strings are translatable (at least most of them, that is for most of them the "tr" call exists), but after lupdate the entries are not created in the language files. By checking plugins/plugins.pro, TRANSLATIONS was empty. After copying the translation part and modifying the paths from librecad/src/src.pro and running lupdate, everything was generated as it should be (in the .ts files). But I don't know if I should send a pull request for such a change in the .pro file. How is it generated?