D24838: [KCMs/Night Color] Add a valueForText handler for the new SpinBox

Alexander Potashev noreply at phabricator.kde.org
Sun Dec 1 12:37:11 GMT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191201/df58c249/attachment.html>


More information about the Plasma-devel mailing list