Search found 315 matches

by Evgeniy
Fri Oct 08, 2021 6:43 pm
Forum: Developers corner
Topic: Linux compliation Git question
Replies: 4
Views: 1520

Re: Linux compliation Git question

chennes wrote: Tue Oct 05, 2021 2:10 pm Wouldn't hurt --- do you have wiki edit access?
Yes. But how can I describe it better?
by Evgeniy
Tue Oct 05, 2021 9:00 am
Forum: Developers corner
Topic: Linux compliation Git question
Replies: 4
Views: 1520

Re: Linux compliation Git question

May be worth adding a comment that this operation should be performed in the source directory. And that improper use can lead to data loss.
by Evgeniy
Mon Oct 04, 2021 7:18 pm
Forum: Developers corner
Topic: Linux compliation Git question
Replies: 4
Views: 1520

Linux compliation Git question

Read at first:
https://stackoverflow.com/questions/626 ... -clean-fdx

May this recommendation is danger?

Code: Select all

> .gitignore
git clean -df
git reset --hard HEAD
getted from:
https://wiki.freecadweb.org/Compile_on_Linux
by Evgeniy
Mon Oct 04, 2021 7:10 am
Forum: Developers corner
Topic: About how to optimize and improve translation of commands
Replies: 27
Views: 4950

Re: About how to optimize and improve translation of commands

I still came to the conclusion that my first solution with QT_TRANSLATE_NOOP ("Workbench", "sKetch") looks more correct than using variables or string. Yes, it does not allow to rename all variables by one line. But it clearly shows all locations where the translation was applied...
by Evgeniy
Sat Oct 02, 2021 8:33 pm
Forum: TechDraw
Topic: error "LineGroup.csv is not readable" after freecad upgrade
Replies: 9
Views: 4175

Re: error "LineGroup.csv is not readable" after freecad upgrade

SIXe wrote: Mon Sep 27, 2021 7:20 pm Is there a solution?
Maybe create request on Bug tracker? With link to this disscusion.
by Evgeniy
Sat Oct 02, 2021 12:01 pm
Forum: Developers corner
Topic: About how to optimize and improve translation of commands
Replies: 27
Views: 4950

Re: About how to optimize and improve translation of commands

#if 0 // needed for Qt's lupdate utility qApp->translate("Workbench", "Something"); #endif The advantage is that it's dead code and the compiler will ignore it while lupdate finds the strings and add them to the .ts files. I understand this. And I noticed, these blocks: #if 0 //...
by Evgeniy
Thu Sep 30, 2021 7:29 pm
Forum: Developers corner
Topic: Translations without source in FreeCAD.ts
Replies: 5
Views: 1489

Re: Translations without source in FreeCAD.ts

And In freecad.ts i found these empty translations. A few pieces.

Code: Select all

    <message>
        <source></source>
        <translation></translation>
    </message>
by Evgeniy
Thu Sep 30, 2021 7:27 pm
Forum: Developers corner
Topic: Translations without source in FreeCAD.ts
Replies: 5
Views: 1489

Re: Translations without source in FreeCAD.ts

Im look this post: https://forum.freecadweb.org/viewtopic.php?f=18&t=62449&start=20#p537065 And I make simple test for check other files: import re,codecs path = "M:\FreeCAD-master" def scanfile(path): file = open(path, "r", encoding="utf8");text=file.read();fil...
by Evgeniy
Thu Sep 30, 2021 6:49 pm
Forum: FEM
Topic: Translation in FEM
Replies: 38
Views: 11310

Re: Translation in FEM

Maybe, I don't know how it happened in the first place. My understanding is that it's incorrect for their to be any actual translations in the Module.ts files, that all actual translations should be in Module_lang.ts files. Now I understand what was the mistake. ts file contains: <source>Windows</s...