Topic: Add a nomenclature - translations

Hello
How can i change or add translations in nomenclature option window? Now i have polish and french texts.

https://ibb.co/4NVBDWM

Post's attachments

Attachment icon translation.png 743.14 kb, 82 downloads since 2020-05-24 

Re: Add a nomenclature - translations

Hi,

maybe you can help Pawel to finish translation.
Depending how you have installed QET and your OS, go to QET lang folder open qet_pl.ts with qtlinguist, translate, save and publish this make new binary qet_pl.qm.
Put this file on your QET lang folder and launch program again.

https://qelectrotech.org/wiki_new/doc/translation
s/Subversion/GIT/

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Add a nomenclature - translations

Ok, i will try to help. I see that some of translations are already done, the only thing to do is mark them as done.

Re: Add a nomenclature - translations

https://github.com/qelectrotech/qelectr … /qet_pl.ts

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Add a nomenclature - translations

I made some translations. Also i found bug in nomenclature table headers. When i add folio number header, table show "folio" text instead of "Folio number" or any translations.

https://ibb.co/DVmDQv2

Post's attachments

Attachment icon qet_pl.rar 103.29 kb, 195 downloads since 2020-05-25 

Re: Add a nomenclature - translations

Merged, thanks Rafal.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Add a nomenclature - translations

Maybe delete this key, isn't usefull I think:
https://github.com/qelectrotech/qelectr … e.cpp#L282

--- sources/dataBase/projectdatabase.cpp
+++ sources/dataBase/projectdatabase.cpp
@@ -279,7 +279,6 @@ void projectDataBase::createElementNomenclatureView()
                          "e.type AS element_type,"
                          "e.sub_type AS element_sub_type,"
                          "di.title AS title,"
-                         "di.folio AS folio,"
                          "e.pos AS position "
                          " FROM element_info ei, diagram_info di, element e, diagram d"
                          " WHERE ei.element_uuid = e.uuid AND e.diagram_uuid = d.uuid AND di.diagram_uuid = d.uuid");

But break previous tables created...

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Add a nomenclature - translations

Yesterday it was translatable, i checked it, but today i made QET update to newest version (2020-05-24-2) and it stopped working. Interesting thing is that, when i make update in content,  for eaxample disable terminal blocks, headers start to work properly.

https://www.youtube.com/watch?v=cJqi4bu … e=youtu.be

Re: Add a nomenclature - translations

Thanks for your video, that can be help us.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."