| Summary: | Untranslatable percent values in GUI | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | Burkhard Lück <lueck> |
| Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ralf.habacker |
| Priority: | NOR | ||
| Version First Reported In: | 2.18.3 (KDE Applications 15.12.3) | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/umbrello/da0026a35568924aaa31902ca9920c1103200d9b | Version Fixed/Implemented In: | 2.20.80 (KDE Applications 16.11.80) |
| Sentry Crash Report: | |||
Git commit da0026a35568924aaa31902ca9920c1103200d9b by Ralf Habacker. Committed on 20/09/2016 at 10:34. Pushed by habacker into branch 'master'. Fix 'Untranslatable percent values in GUI'. FIXED-IN:2.20.80 (KDE Applications 16.11.80) M +1 -1 umbrello/uml.cpp http://commits.kde.org/umbrello/da0026a35568924aaa31902ca9920c1103200d9b The fix neither extracts the string into the catalog nor queries at runtime for the translation.
Please use e. g.:
i18nc("%1 percent value from 33 to 300", " &%1%", zoom)
thanks
Git commit 2baf5b0b05c3837ecd8d2e738b12223ee82d9af3 by Ralf Habacker. Committed on 20/09/2016 at 13:53. Pushed by habacker into branch 'master'. Convert untranslated string into translatable string according to KDE rules. M +1 -1 umbrello/uml.cpp http://commits.kde.org/umbrello/2baf5b0b05c3837ecd8d2e738b12223ee82d9af3 |
Menu Diagram->Zoom has untranslatable zoom values umbrello/uml.cpp: action->setText(QLatin1String(" &") + QString::number(zoom) + QLatin1Char('%')); //i18nc missing see also https://bugs.kde.org/show_bug.cgi?id=330135