Reply to topic

Problem with unicode characters in "name" property of widget

User avatar ptijoz
Registered Member
Posts
19
Karma
0
OS
Hello
When I put the interface in French the names of objects with accents generate problems
this is seen in the properties of the objects name, text
I think UFT-8 is not well configured?
https://twitter.com/GeekJoz/status/1089929418745802753

Regards

Lubuntu 18.10 64 bit Kexi 3.1.0
User avatar jstaniek
Moderator
Posts
922
Karma
2
OS

Re: problem UFT-8 in properties

Mon Jan 28, 2019 5:19 pm
Hi ptijoz !
Assuming that Nom means Name, by definition this property only supports latin-1 characters, so no utf at all. It's typical in programming. I see that the person who did the French translation did not translate it properly.

Vincent PINON <vpinon@kde.org>. Feel free to email him and point this forum topic.
Place of the bug: line 5724 of https://websvn.kde.org/branches/stable/ ... iew=markup:

msgstr "étiquette"

Should be: msgstr "etiquette"

Here is explanation:

"A prefix for identifiers of label widgets. Based on that, identifiers such "
5717 "as label1, label2 are generated. This string can be used to refer the widget "
5718 "object as variables in programming languages or macros so it must _not_ "
5719 "contain white spaces and non latin1 characters, should start with lower case "
5720 "letter and if there are subsequent words, these should start with upper case "
5721 "letter. Example: smallCamelCase. Moreover, try to make this prefix as short "
5722 "as possible."

Other widgets may have the same bug.

Feel free to report bug at https://bugs.kde.org/enter_bug.cgi?prod ... mat=guided and we'll assign it to Vincent.


Best regards,
Jarosław Staniek
Image

KEXI - Open Source Visual DB Apps Builder
• Request feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
User avatar jstaniek
Moderator
Posts
922
Karma
2
OS

Re: problem UFT-8 in properties

Mon Jan 28, 2019 5:20 pm
PS: In future KEXI we may be able to detect such bugs and if ther's a bug for given widget type - automatically revert to english names until the bug is fixes.


Best regards,
Jarosław Staniek
Image

KEXI - Open Source Visual DB Apps Builder
• Request feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
User avatar jstaniek
Moderator
Posts
922
Karma
2
OS

Re: problem UFT-8 in properties

Mon Jan 28, 2019 5:22 pm
Before Vincent fixes the thanslation for KEXI 3.2 final you workaround could be that you rename each invalid name by hand, e.g. change é to e. Or use English localization.


Best regards,
Jarosław Staniek
Image

KEXI - Open Source Visual DB Apps Builder
• Request feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
User avatar ptijoz
Registered Member
Posts
19
Karma
0
OS

Re: problem UFT-8 in properties  Topic is solved

Tue Jan 29, 2019 8:20 am
jstaniek wrote:PS: In future KEXI we may be able to detect such bugs and if ther's a bug for given widget type - automatically revert to english names until the bug is fixes.



Hello
Thank you for these explanations and thank you for opening a ticket incident.
For me, it's not a problem to put the interface in English. However it is better that it works without bug in all languages.
Best regards
User avatar jstaniek
Moderator
Posts
922
Karma
2
OS

Re: problem UFT-8 in properties

Tue Jan 29, 2019 9:12 am
ptijoz, bug can appear in more than one language and in each case it belongs to the translations team which is separate from KEXI programmers.
Like in this case - the bug comes from the French translation team.
Would you be able to file a bug and/or contact Vincent PINON <vpinon@kde.org>?


Best regards,
Jarosław Staniek
Image

KEXI - Open Source Visual DB Apps Builder
• Request feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
User avatar jstaniek
Moderator
Posts
922
Karma
2
OS

Re: problem UFT-8 in properties

Tue Jan 29, 2019 9:19 am
By the way, it may be useful to correct subject of this thread because the problem is only with the "name" property. Any other property of text type supports unicode.


Best regards,
Jarosław Staniek
Image

KEXI - Open Source Visual DB Apps Builder
• Request feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
User avatar ptijoz
Registered Member
Posts
19
Karma
0
OS
jstaniek wrote:By the way, it may be useful to correct subject of this thread because the problem is only with the "name" property. Any other property of text type supports unicode.

Hello
- I sent an email to vpinon with the link
- Give me the exact title to replace on this forum and I will change it.
Best regards

Last edited by ptijoz on Tue Jan 29, 2019 11:05 am, edited 1 time in total.
User avatar jstaniek
Moderator
Posts
922
Karma
2
OS
Thanks Ptijoz for informing the translator. I already edited the subject, unfortunately only the top one, not the replies, but it's OK as it is.


Best regards,
Jarosław Staniek
Image

KEXI - Open Source Visual DB Apps Builder
• Request feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], boudewijn, ChameleonScales, danasenhansen, duns, Exabot [Bot], Google [Bot], jackjo, keyths, Majestic-12 [Bot], niccolove, Petra-Kathi, polsson, sarafox, smankowski, stanleyf, surt, tymond