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

Karl Ove Hufthammer <k...@huftis.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |k...@huftis.org

--- Comment #1 from Karl Ove Hufthammer <k...@huftis.org> ---
I can partly confirm with the latest Git version of Lokalize. If you fuzzy an
empty string, the number of ‘Not Ready’ strings (‘fuzzy’ has unfortunately been
renamed to ‘not ready’ in recent Lokalize versions, something which IMHO is
just confusing) in the editor is increased, which seems like a bug, since the
numbers are no longer consistent. In the project overview, there is no change.

In ‘msgfmt --statistics’, there is no change, while in Pology, the number of
fuzzy strings is increased by 1 and the number of untranslated strings is
decreased by 1. I don’t know which of these ways of counting is best, but
they’re at least both consistent (i.e. the number of strings of various types
sum to the total number of strings).

I think the simplest solution would be to change the numbers in the editor to
be the same as the numbers in the project overview (which are the same as the
msgfmt numbers).

Here are some example numbers from a test I just ran:

Before fuzzying empty string:

Project Overview
----------------
Total: 97
Translated: 90
Not ready: 3
Untranslated: 4
Incomplete: 7


Editor
------
Total: 97
Not ready: 3
Untranslated: 4


Pology
------
total: 97
translated: 90
fuzzy: 3
untranslated: 4


msgfmt --statistics
-------------------
translated: 90
fuzzy: 3
untranslated: 4



*After* fuzzying empty string:

Project Overview: no change
msgfmt --statistics: no change

Editor (‘Not ready’ changed)
----------------------------
Total: 97
Not ready: 4 (before: 3)
Untranslated: 4


Pology (‘fuzzy’ and ‘untranslated’ changed)
-------------------------------------------
total: 97
translated: 90
fuzzy: 4 (before: 3)
untranslated: 3 (before: 4)

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

Reply via email to