Last modified: 2014-04-10 21:20:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62949, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60949 - Statsbar percentages updated incorrectly by updated translation
Statsbar percentages updated incorrectly by updated translation
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-06 09:50 UTC by Lokal_Profil
Modified: 2014-04-10 21:20 UTC (History)
9 users (show)

See Also:
Web browser: Firefox
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshots at 200% and -200% (99.40 KB, image/png)
2014-02-06 09:51 UTC, Lokal_Profil
Details

Description Lokal_Profil 2014-02-06 09:50:09 UTC
Intention:
A) Initial translation followed by a correction
B) Correction of a translation

Steps to Reproduce:
1. Log in to translatewiki.net
2. Find an untranslated message (most obvious with message groups with only one message) e.g. https://translatewiki.net/wiki/Special:Translate/ext-mobileapp?filter=!translated&action=translate&language=se
3. In the "Untranslated" tab. Translate message and save
4. Click on message again, make a trivial edit and save. (E.g. add space to end then delete it)
5. Reload page

6. Click on All tab
7. Click Edit on message, make a trivial edit and save.
8. Reload page

Steps 6-8 can also be reproduced in the review tab

Actual Results:  
After step 3 translated percentage rises
After step 4 the translated percentage rises again
After step 5 percentage returns to value after step 3
After step 7 translated percentage decreases
After step 8 percentage returns to value after step 3


Expected Results:  
After step 4 the translated percentage remains same
After step 7 the translated percentage remains same

Reproducible: Always

Similar/same as 45700 (which was closed)
Comment 1 Lokal_Profil 2014-02-06 09:51:30 UTC
Created attachment 14504 [details]
Screenshots at 200% and -200%

Also annotated at https://commons.wikimedia.org/wiki/File:Translatewikibug_2014-02-05.png
Comment 2 Nemo 2014-03-04 08:12:56 UTC
Additional information from bug 47864.

(In reply to Eduard Braun from comment #3)
> Still an issue.
> 
> As an example I just translated [1] with two translation units:
> - during translation on Special:Translate the progress bar reached 100 %
> - afterwards I noticed on the linked page that it said only 50 % were
> completed
>   (purging had no effect)
> - back at Special:Translate the progress bar now also back at 50 %
> - Message group statistics also show 50 % although both translation units
>   are translated
> 
> 
> [1] https://commons.wikimedia.org/wiki/Template:ESO-source/i18n/de

(In reply to Eduard Braun from comment #4)
> It seems that always one translation goes uncounted (e.g. 4 translation
> units translated for a message group results in 75 % completion).
> 
> I noticed however that by translating an already translated unit again
> (enter and delete a char to bypass the initially disabled button) will
> update the percentage so it shoes correctly afterwards.
> 
> 
> Be warned though, that the progress bar will go crazy during this:
> - If you do what I just described after step 1 of comment 3 the progress bar
>   will increase by one (e.g. reaching 125 % in a message group with 4
>   translation units)
> - If you do what I just described after step 3 of comment 3 the progress bar
>   will actually DEcrease by one (e.g. reaching 50 % in a message group with 4
>   translation units)
> But at least the actual completion is correctly updated...

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links