[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Bug 495785 - Accents on latest letter not appearing on suggested (Italian) words in Autocompletion feature
Summary: Accents on latest letter not appearing on suggested (Italian) words in Autoco...
Status: RESOLVED FIXED
Alias: None
Product: lokalize
Classification: Applications
Component: editor (show other bugs)
Version: 24.08.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Simon Depiets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-04 11:17 UTC by Valter Mura
Modified: 2024-11-15 17:13 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Accented vowels missing (5.03 KB, image/png)
2024-11-05 04:48 UTC, Vincenzo Reale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valter Mura 2024-11-04 11:17:56 UTC
SUMMARY
When writing in Lokalize editor during a translation session, the suggested Italian words are truncated on latest accented letter (à, è, ì, ò, ù, etc.) when you write on-the-fly and the Autocompletion feature is triggered.

STEPS TO REPRODUCE
1. Open a translation project in Lokalize (Target Language: Italian, which has many words with final accented letter)
2. Start translating

OBSERVED RESULT
When you write a word with final accented letter, the (correct) suggested word doesn't show it.
Examples: qualità (real word) > qualit (suggested word); perciò (real word) > perci (suggested word); alcunché (real word) > alcunch (suggested word)

EXPECTED RESULT
The word should be correct, as previous behaviour, for example in Plasma 5

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.5-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Graphics Processor: NVE7

ADDITIONAL INFORMATION
When adding the word to the translation with the autocompletion feature, it is added without the final accented character, so the spellchecker warns the misspelling.
Then, you can correct the word with the spellchecker but, of course, this should not be the way to follow.
Comment 1 Paolo Zamponi 2024-11-04 15:07:16 UTC
Can confirm. If I remember correctly, this issue started with Lokalize 24.08.

Operating System: openSUSE Tumbleweed 20241031
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-1-default (64-bit)
Graphics Platform: Wayland
Comment 2 Albert Astals Cid 2024-11-04 22:40:30 UTC
Can you attach a screenshot of where it shows wrong?

For me it shows correctly (in catalan, but should not matter) and maybe i'm looking at the wrong place?
Comment 3 Vincenzo Reale 2024-11-05 04:47:24 UTC
Attached you'll find a screenshot describing the issue.
The complete word should be "affidabilità"
Comment 4 Vincenzo Reale 2024-11-05 04:48:42 UTC
Created attachment 175533 [details]
Accented vowels missing
Comment 5 Albert Astals Cid 2024-11-05 15:44:13 UTC
ah, autocompletion, misunderstood, yes i can confirm
Comment 6 Albert Astals Cid 2024-11-15 16:41:38 UTC
Git commit 6b059cd72112c31ba85968e7fa43521cd91b4cff by Albert Astals Cid.
Committed on 15/11/2024 at 15:35.
Pushed by aacid into branch 'master'.

Accept unicode chars in regexps

M  +1    -1    src/common/diff.cpp
M  +1    -1    src/completionstorage.h
M  +1    -1    src/editortab.cpp
M  +1    -1    src/glossary/glossaryview.h
M  +2    -2    src/tm/jobs.cpp
M  +1    -1    src/tm/tmtab.cpp
M  +2    -1    src/tm/tmview.cpp

https://invent.kde.org/sdk/lokalize/-/commit/6b059cd72112c31ba85968e7fa43521cd91b4cff
Comment 7 Albert Astals Cid 2024-11-15 16:57:24 UTC
Git commit 11959e666dcebee03e08f3dbebbd219a7519d4a4 by Albert Astals Cid.
Committed on 15/11/2024 at 16:57.
Pushed by aacid into branch 'release/24.12'.

Accept unicode chars in regexps
(cherry picked from commit 6b059cd72112c31ba85968e7fa43521cd91b4cff)

M  +1    -1    src/common/diff.cpp
M  +1    -1    src/completionstorage.h
M  +1    -1    src/editortab.cpp
M  +1    -1    src/glossary/glossaryview.h
M  +2    -2    src/tm/jobs.cpp
M  +1    -1    src/tm/tmtab.cpp
M  +2    -1    src/tm/tmview.cpp

https://invent.kde.org/sdk/lokalize/-/commit/11959e666dcebee03e08f3dbebbd219a7519d4a4
Comment 8 Vincenzo Reale 2024-11-15 17:13:35 UTC
Thank you Albert!!