Yes. But how can I describe it better?
Search found 315 matches
- Fri Oct 08, 2021 6:43 pm
- Forum: Developers corner
- Topic: Linux compliation Git question
- Replies: 4
- Views: 1520
- 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.
- 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?
getted from:
https://wiki.freecadweb.org/Compile_on_Linux
https://stackoverflow.com/questions/626 ... -clean-fdx
May this recommendation is danger?
Code: Select all
> .gitignore
git clean -df
git reset --hard HEAD
https://wiki.freecadweb.org/Compile_on_Linux
- 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...
- Sat Oct 02, 2021 8:33 pm
- Forum: TechDraw
- Topic: error "LineGroup.csv is not readable" after freecad upgrade
- Replies: 9
- Views: 4175
- Sat Oct 02, 2021 8:12 pm
- Forum: Developers corner
- Topic: About how to optimize and improve translation of commands
- Replies: 27
- Views: 4950
- 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 //...
- 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>
- 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...
- 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...