https://bugs.kde.org/show_bug.cgi?id=490441

            Bug ID: 490441
           Summary: Translation memory entries are counted as near 100%
                    matches even if they‘re very different
    Classification: Applications
           Product: lokalize
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: translation memory
          Assignee: sdepi...@gmail.com
          Reporter: k...@huftis.org
                CC: aa...@kde.org, sha...@ukr.net
  Target Milestone: ---

SUMMARY
In the latest Git master version, after the upgrade to KF5, the translation
memory (TM) feature thinks almost all strings are almost a 100% match. For
example, it thinks that this TM string

    Fingerprints can be used in place of a password when unlocking the screen
and providing administrator permissions to applications and command-line
programs that request them.<nl/>
    <nl/>
    Logging into the system with your fingerprint is not yet supported.

is a 99.33% match for

    Cannot change the account type to Standard unless there is at least one
other Administrator account on the system. Without one, authentication would
become impossible or require the insecure use of the root password.

The bug was introduced in this commit:

commit 341525d9f6e370f34e9efe0836fd24609488c61a (HEAD)
Author: Volker Krause <vkra...@kde.org>
Date:   Thu May 9 11:24:50 2024 +0200

    Port translation memory away from QRegExp



STEPS TO REPRODUCE
1. Add some translation files to the translation memory (Tools | Manage
translation memory)
2. Open a PO file
3. Navigate to almost any entry.

OBSERVED RESULT
A match will almost certainly be shown the TM pane, and the match percentage
will be absurdly high, often 99.33%. 

EXPECTED RESULT
The match percentage should be reasonable (and if it’s not higher than the
threshold set in the settings, no matches should be shown).


SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240714
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.9.9-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2
Manufacturer: MSI
Product Name: MS-7673
System Version: 1.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to