d39b5bfd0c
Accepts input with separators based on user's Locale. For example, with a European locale, "1.234,56" is valid input. With a US locale, "1,234.56" is accepted. The grouping separator is ignored and removed, and the decimal separator is kept. Supports multi-byte decimal separator and grouping separators. The keypad localization is based on the user's Language setting, but the separators come from the Formatting. Thus if the Language is set to English, but the Formatting is set to, for example, German, the keypad will show '.', but when pressed it will emit ',' to match the number Formatting. Otherwise the keypad breaks the localized formatting. Fixes #8503 Change-Id: I0d112bdca67a4e4898e37062102343194ed47f8f Reviewed-on: https://review.haiku-os.org/c/haiku/+/4965 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> |
||
---|---|---|
.. | ||
AboutMenuItem.h | ||
ArgumentVector.h | ||
Array.h | ||
AttributeUtilities.h | ||
AutoDeleter.h | ||
AutoDeleterDrivers.h | ||
AutoDeleterOS.h | ||
AutoDeleterPosix.h | ||
AutoLocker.h | ||
binary-utils.h | ||
BitmapButton.h | ||
BytePointer.h | ||
CalendarView.h | ||
ColorQuantizer.h | ||
CommandPipe.h | ||
cpu_type.h | ||
DragTrackingFilter.h | ||
DriverSettingsMessageAdapter.h | ||
EntryFilter.h | ||
ExpressionParser.h | ||
FunctionObject.h | ||
FunctionTracer.h | ||
HashMap.h | ||
HashSet.h | ||
HashString.h | ||
IconButton.h | ||
IconView.h | ||
Json.h | ||
JsonEvent.h | ||
JsonEventListener.h | ||
JsonMessageWriter.h | ||
JsonTextWriter.h | ||
JsonWriter.h | ||
Keymap.h | ||
locks.h | ||
LongAndDragTrackingFilter.h | ||
LRUCache.h | ||
md5.h | ||
MessageBuilder.h | ||
NaturalCompare.h | ||
OpenHashTable.h | ||
OpenWithTracker.h | ||
pci-utils.h | ||
PromptWindow.h | ||
PthreadMutexLocker.h | ||
QueryFile.h | ||
RangeArray.h | ||
RegExp.h | ||
RWLocker.h | ||
RWLockManager.h | ||
SettingsHandler.h | ||
SettingsMessage.h | ||
ShakeTrackingFilter.h | ||
StringForRate.h | ||
StringForSize.h | ||
StripeView.h | ||
syscall_utils.h | ||
TextTable.h | ||
Thread.h | ||
ToolBar.h | ||
TrackerAddOnAppLaunch.h | ||
TypeOperation.h | ||
usb-utils.h | ||
Variant.h | ||
WeakReferenceable.h |