Release of 0.18

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
User avatar
yorik
Site Admin
Posts: 12065
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels, Belgium
Contact:

Re: Release of 0.18

Postby yorik » Sat Dec 29, 2018 4:23 pm

There is a serious soup between str and unicode all over that file... I'm reworking it.
*EDIT* Done with git commit e83c44200
I tested english, french and german on both py2 and py3, it is working everywhere for me. Please report if any issue persists!
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Release of 0.18

Postby NormandC » Sun Dec 30, 2018 12:02 am

Thanks Yorik, the StartPage is back for me in the latest freecad-daily build, but the encoding of the tab (Page de dĀ©marrage) persists.

Edit: just noticed a similar issue with the "Aide" (Help) tab. Everywhere there is an apostrophe ('), a backslash is inserted before it (Communauté d\'utilisateurs, Obtenir de l\'aide de la communauté, etc.)

OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15518 (Git)
Build type: Release
Branch: master
Hash: e83c44200ab428b753a1e08a2e4d95e03236e481
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/Canada (fr_CA)
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Release of 0.18

Postby NormandC » Sun Dec 30, 2018 8:34 am

@Yorik

It seems that none of the text strings for the Start page options in Preferences --> Start are available for translation on Crowdin.
User avatar
yorik
Site Admin
Posts: 12065
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels, Belgium
Contact:

Re: Release of 0.18

Postby yorik » Sun Dec 30, 2018 2:47 pm

NormandC wrote:
Sun Dec 30, 2018 8:34 am
It seems that none of the text strings for the Start page options in Preferences --> Start are available for translation on Crowdin.
Good catch.. Now they are. (git commit 0bf6ca973)
NormandC wrote:
Sun Dec 30, 2018 12:02 am
the encoding of the tab (Page de dĀ©marrage) persists.
I still haven't found how to fix that..
NormandC wrote:
Sun Dec 30, 2018 12:02 am
Edit: just noticed a similar issue with the "Aide" (Help) tab. Everywhere there is an apostrophe ('), a backslash is inserted before it (Communauté d\'utilisateurs, Obtenir de l\'aide de la communauté, etc.)
Fixed with git commit 6cdeab9c1
wmayer
Site Admin
Posts: 16649
Joined: Thu Feb 19, 2009 10:32 am

Re: Release of 0.18

Postby wmayer » Sun Dec 30, 2018 3:34 pm

I still haven't found how to fix that..
For me it works with:
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.15519 (Git)
Build type: Release
Branch: master
Hash: 7e80a1f64ecdf6a190bd8fe28169676fd7b5f3fe
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Locale: German/Germany (de_DE)
triplus
Posts: 9475
Joined: Mon Dec 12, 2011 4:45 pm

Re: Release of 0.18

Postby triplus » Sun Dec 30, 2018 4:38 pm

I can confirm the Start workbench loads and displays correctly now on Py2/Py3/Q4/Qt5 builds. On Py2/Qt4 (version: 4.8.7) the translated text in the Start workbench tab can still be garbled, depending on the language/characters set/used.

P.S. I noticed if you are in another workbench and use the Start workbench to create a new document. Or to open an existing file from the Recent files list. After such action Start workbench always gets activated.
User avatar
yorik
Site Admin
Posts: 12065
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels, Belgium
Contact:

Re: Release of 0.18

Postby yorik » Mon Dec 31, 2018 6:45 pm

triplus wrote:
Sun Dec 30, 2018 4:38 pm
P.S. I noticed if you are in another workbench and use the Start workbench to create a new document. Or to open an existing file from the Recent files list. After such action Start workbench always gets activated.
Fixed in git commit 1a7d3d9a3
User avatar
fosselius
Posts: 365
Joined: Sat Apr 23, 2016 10:03 am

Re: Release of 0.18

Postby fosselius » Mon Dec 31, 2018 7:24 pm

3h left of 2018 in my local time, happy new year and thank you for contributing to the best open source cad software. You are changing the world, line by line ^_^
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Release of 0.18

Postby NormandC » Tue Jan 01, 2019 8:39 am

yorik wrote:
Sun Dec 30, 2018 2:47 pm
NormandC wrote:
Sun Dec 30, 2018 8:34 am
It seems that none of the text strings for the Start page options in Preferences --> Start are available for translation on Crowdin.
Good catch.. Now they are. (git commit 0bf6ca973)
Thanks! Already translated.

yorik wrote:
Sun Dec 30, 2018 2:47 pm
NormandC wrote:
Sun Dec 30, 2018 12:02 am
the encoding of the tab (Page de dĀ©marrage) persists.
I still haven't found how to fix that..
Kurt just upgraded the Ubuntu 18.04/18.10 freecad-daily packages to Qt 5, and there is no encoding issue anymore with the Start page tab label. As triplus said, it may be Qt 4 specific...

fosselius wrote:
Mon Dec 31, 2018 7:24 pm
You are changing the world, line by line ^_^
Happy New Year to you too!
wmayer
Site Admin
Posts: 16649
Joined: Thu Feb 19, 2009 10:32 am

Re: Release of 0.18

Postby wmayer » Tue Jan 01, 2019 10:28 am

Kurt just upgraded the Ubuntu 18.04/18.10 freecad-daily packages to Qt 5, and there is no encoding issue anymore with the Start page tab label. As triplus said, it may be Qt 4 specific...
As said above when switching to French and opening the Start page the tab is displayed correctly. The system is Windows 7 and Qt4. With Qt5 I couldn't test it because I don't have the QtWebkit module there.