- Posts: 596
- Thank you received: 0
Translate offsetpage.glade.h - dont work
4 years 3 months ago #246480
by zz912
github.com/LinuxCNC/linuxcnc/commit/8c37...ecaed7f3e3b2d47a8da1
If I understood the code correctly, Mr. Jeppler combined gmoccapy and gladevcp.
I agree with you, I think the /lib/python/gladevcp folder should have its own Submakefile.
But doing this is beyond my abilities.
Replied by zz912 on topic Translate offsetpage.glade.h - dont work
So my guess is that the references in gmoccapy/po to generic glade (rather than gmoccapy) files are wrong,
github.com/LinuxCNC/linuxcnc/commit/8c37...ecaed7f3e3b2d47a8da1
If I understood the code correctly, Mr. Jeppler combined gmoccapy and gladevcp.
I agree with you, I think the /lib/python/gladevcp folder should have its own Submakefile.
But doing this is beyond my abilities.
Please Log in to join the conversation.
4 years 3 months ago #246481
by andypugh
Replied by andypugh on topic Translate offsetpage.glade.h - dont work
I think that offsetpage is in the main tree, not the gmoccapy one.
Though if it is translated in es.po and that doesn’t work either then that might not be the cause.
Though if it is translated in es.po and that doesn’t work either then that might not be the cause.
Please Log in to join the conversation.
4 years 3 months ago #246482
by andypugh
Replied by andypugh on topic Translate offsetpage.glade.h - dont work
I think that offsetpage is in the main tree, not the gmoccapy one.
Though if it is translated in es.po and that doesn’t work either then that might not be the cause.
Though if it is translated in es.po and that doesn’t work either then that might not be the cause.
Please Log in to join the conversation.
4 years 3 months ago #246483
by zz912
I made special file src/po/cs.po:
In src/po/gmoccapy/cs.po were this line deleted.
Nothing happen
Test 2: (without headers)
I made special file src/po/cs.po:
In src/po/gmoccapy/cs.po were this line deleted.
Nothing happen
Replied by zz912 on topic Translate offsetpage.glade.h - dont work
Test 1:Perhaps try copying them in to src/po and removing the .h and seeing what happens?
I made special file src/po/cs.po:
Code:
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# zz912 <zz912@seznam.cz>, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-07-03 08:22+0200\n"
"PO-Revision-Date: 2022-07-03 09:10+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.1\n"
#: ../lib/python/gladevcp/offsetpage.glade.h:26
msgid "Offset"
msgstr ""
"Souřadný\n"
"systém"
#: ../lib/python/gladevcp/offsetpage.glade.h:27
msgid "Offset Name"
msgstr "Pojmenování"
In src/po/gmoccapy/cs.po were this line deleted.
Nothing happen
Test 2: (without headers)
I made special file src/po/cs.po:
Code:
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# zz912 <zz912@seznam.cz>, 2022.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-07-03 08:22+0200\n"
"PO-Revision-Date: 2022-07-03 09:10+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2.1\n"
#: ../lib/python/gladevcp/offsetpage.glade
msgid "Offset"
msgstr ""
"Souřadný\n"
"systém"
#: ../lib/python/gladevcp/offsetpage.glade
msgid "Offset Name"
msgstr "Pojmenování"
In src/po/gmoccapy/cs.po were this line deleted.
Nothing happen
Please Log in to join the conversation.
4 years 3 months ago #246485
by zz912
Anyway, this connection is not a happy one for someone who will have their own GUI with gladeVCP components and want to translate it.
Replied by zz912 on topic Translate offsetpage.glade.h - dont work
The connection between gmoccapy and the gladeVCP component is not the source of this offset translation problem.Though if it is translated in es.po and that doesn’t work either then that might not be the cause.
Anyway, this connection is not a happy one for someone who will have their own GUI with gladeVCP components and want to translate it.
Please Log in to join the conversation.
4 years 3 months ago #246487
by andypugh
Replied by andypugh on topic Translate offsetpage.glade.h - dont work
I am out of ideas for the moment, but Hans (who is doing a lot of work on the translation infrastructure) shoukd be back from holiday in a couple of weeks, if you can wait that long.
In the meantime, you could always edit your version of offsetpage.py directly...
In the meantime, you could always edit your version of offsetpage.py directly...
Please Log in to join the conversation.
4 years 3 months ago #246489
by zz912
Replied by zz912 on topic Translate offsetpage.glade.h - dont work
Thank you for help. I will wait for Hans.
tooledit_gtk.glade.h - have the same problem
tooledit_gtk.glade.h - have the same problem
Attachment not found
Please Log in to join the conversation.
4 years 3 months ago #248407
by HansU
Replied by HansU on topic Translate offsetpage.glade.h - dont work
Regarding the first post, "Offset Name" has to be translated in src/po/cs.po like Andy mentioned.
I checked it for German and there it works:
#: lib/python/gladevcp/offsetpage.glade:416
msgid "Offset Name"
msgstr "Offsetname"
I checked it for German and there it works:
#: lib/python/gladevcp/offsetpage.glade:416
msgid "Offset Name"
msgstr "Offsetname"
Please Log in to join the conversation.
4 years 3 months ago #248411
by zz912
Replied by zz912 on topic Translate offsetpage.glade.h - dont work
Thanks for the explanation, I figured it out.
Please Log in to join the conversation.
4 years 3 months ago #248413
by HansU
Unfortunately not.
The same for "Comments"
I tried with a cs.po file and it worked for me:
</div></blockquote></div></blockquote>
Replied by HansU on topic Translate offsetpage.glade.h - dont work
Can weblate be used for version 2.8?
I use Poedit
Unfortunately not.
tooledit_gtk.glade.h - have the same problem
The same for "Comments"
I tried with a cs.po file and it worked for me:
Attachment not found
Please Log in to join the conversation.
Time to create page: 0.126 seconds
