Login  Register

Re: Hardcoded non-translatable items

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

Hi,

Pro files are created manually, so feel free to polish them.

Regards,

Dongxu

On Oct 6, 2012 12:00 PM, "xnakos [via LibreCAD]" <[hidden email]> wrote:
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?


If you reply to this email, your message will be added to the discussion below:
http://forum.librecad.org/Hardcoded-non-translatable-items-tp5707108p5707111.html
To start a new topic under LibreCAD-dev, email [hidden email]
To unsubscribe from LibreCAD-dev, click here.
NAML