When marking a page for translation, if a translation unit is repeated twice, the error message also appears twice. This can be avoided.
See screenshot below,
abi_ | |
Oct 22 2019, 12:43 PM |
F30875334: image.png | |
Oct 22 2019, 12:43 PM |
When marking a page for translation, if a translation unit is repeated twice, the error message also appears twice. This can be avoided.
See screenshot below,
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Prevent duplicate translation unit error from showing twice | mediawiki/extensions/Translate | master | +7 -5 |
Imported into Google-Code-in-2019 as https://codein.withgoogle.com/dashboard/tasks/5176453134548992/
I'm mentoring this task as well :)
This feels like it was almost too easy for a GCI task, given how little time it took me to code.
Many people have different skill levels. So there will be tasks that are easy for some, and harder for others
Change 554665 had a related patch set uploaded (by Pppery; owner: Pppery):
[mediawiki/extensions/Translate@master] Prevent duplicate translation unit error from showing twice
The actual behavior I noticed and wrote a patch to fix was that the error message shows up twice if you use the same translation unit name three times in one page. It is possible that there is some other cause for this duplicate error message that I was unable to reproduce and this patch may not fix.
Change 554665 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Prevent duplicate translation unit error from showing twice