[Kde-imaging] [Bug 266911] add space to suffix "MB" (" MB")

Alexander Potashev aspotashev at gmail.com
Wed Feb 23 18:10:51 CET 2011


https://bugs.kde.org/show_bug.cgi?id=266911





--- Comment #2 from Alexander Potashev <aspotashev gmail com>  2011-02-23 18:10:44 ---
@Christoph:
" MB" is the suffix in a KIntNumInput
(https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/revisions/master/entry/sendimages/emailpage.cpp#L115),
so it seems that KLocale::formatByteSize() is not enough to implement
locale-aware suffixes.

But if someone will implement such suffixes, may be it's worth creating a new
class "KByteSizeInput"?

P.S.: If hardcoded "MB" is a problem, Dolphin also suffers from it:
http://quickgit.kde.org/?p=kde-baseapps.git&a=blob&h=0836aef33bc42d2f9d0f4d1f8b5b395359e39870&hb=9842f17d51c5aedd61cc19f096c845b6e997b339&f=dolphin/src/settings/general/previewssettingspage.cpp
(lines 80, 88). Btw... those strings are also untranslatable.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-imaging mailing list