aspotashev added a comment.
Looks like `parseInt()` won't work for non-ASCII digits and for languages where the number of minutes does not come first in the phrase, see Sinhala language: ro Romanian : %1 minute ru Russian : %1 минуты gd Scottish Gaelic : %1 m(h)ionaid(ean) sr Serbian : %1 минута si Sinhala : මිනිත්තු %1 ( found here: https://l10n.kde.org/dictionary/compare-translations.php?package=frameworks&filename=kdelibs4support.po&compare=%251+minutes ) REPOSITORY R119 Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D24838 To: ngraham, #plasma, zzag Cc: aspotashev, zzag, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart