Commit Graph
26 Commits
Author SHA1 Message Date
Emir SARI cf961dc707 DecimalSpinner: Use BNumberFormat for formatting
Change-Id: Idb45e98a61a0f16893e20aa02b10d7b2e1705454
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7589
Reviewed-by: Emir SARI <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2025-04-07 21:30:48 +00:00
Emir SARI 2f2c48ad53 Terminal: use multiplication signs wherever needed
Apparently missed this one, last time.

Change-Id: Ibcafc18ccde3eb3e8c0696a68b2979c51e68dbcc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7590
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
2025-03-10 14:01:35 +00:00
Emir SARI dae087ed53 ShowImage: Apply i18n to number values
Also use multiplication sign for a nicer look

Change-Id: I526204832d4826f44a326f44037173418d8e2885
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7556
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: Niels Sascha Reedijk <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2024-04-01 07:45:33 +00:00
Emir SARI bc6674c89e pkgman: Use BNumberFormat for i18n
Change-Id: I2441f1d37bfccd5f5dbc9b763aeb87d017e628bc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7508
Haiku-Format: Haiku-format Bot <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2024-03-31 08:33:21 +00:00
Emir SARI 058be77bec BColumnListView: use automatic formatting for i18n
Use BDateTimeFormat, BDateFormat, and BNumberFormat for
various date, time, decimal, and percent formatting.

Change-Id: I994563d207db8bd28342ca6543b69a356ced38af
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7505
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2024-03-31 08:33:21 +00:00
Emir SARI 1f5daef0bf ActivityMonitor: use BNumberFormat for i18n
Change-Id: I3179f84cbaee25624c2f4a7b092a28b5281a5f16
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7480
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Niels Sascha Reedijk <[email protected]>
2024-03-29 10:39:34 +00:00
Emir SARI e523bfeb06 NumberFormat: add floating-point precision support
- Simplify code in AboutSystem
- Make error string translatable in Locale preflet

Change-Id: I3b967ee04d764ec1bcf0fa40e40dae8da4a35c20
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7373
Reviewed-by: waddlesplash <[email protected]>
2024-02-27 19:27:56 +00:00
Emir SARI fed199a7be Terminal: use multiplication sign instead of x
Change-Id: I800b765b8820d9ab48af735fb419207bf0e156bc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7374
Reviewed-by: Adrien Destugues <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2024-02-06 17:24:29 +00:00
Emir SARI fce034d2ce notification_server: Use automatic percent formatting
This uses automatic percent formatting for the BStatusBar
progress text, instead of appending the sign manually.

Change-Id: I435220dd774822b60e376972a0f379a0e2b7359e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7375
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2024-02-06 17:24:13 +00:00
Emir SARI f6395def52 PowerStatus: Use BNumberFormat for percentage value
This provides automatic percentage formatting according to the locale
setting.

Change-Id: I022331866acc2e20d819625c6d070807f476c745
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6209
Tested-by: Automation <[email protected]>
Reviewed-by: Máximo Castañeda <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
2023-04-10 09:54:08 +00:00
Emir SARI 37d99b7eaa NumberFormat: Fix incorrect fallback logic
We need to assign the fallback value to the temporary variable,
otherwise there is a broken if logic in case the percent is not
formattable.

Change-Id: I90593fdf8ec29b802dff02c2fbe5d7ac40cea2ff
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6238
Tested-by: Automation <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2023-03-21 20:06:31 +00:00
Emir SARI aa3f526b8d MediaConverter: Fix incorrect string break
Change-Id: I00c7b6d4154087e1fdb3cf469ffbf80c2a470ecc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6234
Tested-by: Automation <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2023-03-20 22:14:06 +00:00
Emir SARI 174b7ef6cc ShowImage: Use BNumberFormat for percentage value
This provides automatic percentage formatting according to the locale
setting.

Change-Id: I9a833fdc4056ac5479d8e4b4feddd0fce06d1fcd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6210
Tested-by: Automation <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2023-03-16 21:22:36 +00:00
Emir SARI 304569520d MediaConverter: Use BNumberFormat for percentage value
This provides automatic percentage formatting according to the locale
setting.

Also replaces some occurences of sprintf with SetToFormat.

Change-Id: I330aaebfe4615f4b40b00bd04f83a1a6d8efd6a8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6204
Tested-by: Automation <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2023-03-14 16:49:03 +00:00
Emir SARI 4a0a64d446 AboutSystem: Use BNumberFormat for percentage value
This provides automatic percentage formatting according
to the locale setting

Change-Id: I571d2bd9ffc53425c9633de3504d04f41acf0017
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6157
Tested-by: Automation <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2023-03-13 09:44:19 +00:00
Emir SARI 87f4776937 Add mobile phone field
Change-Id: I655c06ce050f4d1a1b09a4065514c695ec7b6452
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2876
Reviewed-by: Adrien Destugues <[email protected]>
2021-03-19 10:17:25 +00:00
Emir SARI fc1ace1563 Avoid confirmation for rebooting from SoftwareUpdater
It is pointless to ask for a second confirmation in SoftwareUpdater,
since the user understands that the system needs to be rebooted for the
changes to take effect.

Change-Id: I00c728264c32e3688e396e70925b90501ccac6de
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3185
Reviewed-by: Alex von Gluck IV <[email protected]>
2020-09-02 13:27:22 +00:00
Emir SARI 24cc0d5a4a [Mail] Add ALT+, settings keyboard shortcut
Change-Id: I9af6ddf32dbaad5cf451ced5380ac63cf0eca3e6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3095
Reviewed-by: Adrien Destugues <[email protected]>
2020-07-31 09:01:12 +00:00
Emir SARI 60a6f1d5d7 Set Noto Sans Mono as monospace default font
Should help improve [1].

[1]: https://github.com/haikuports/haikuports/issues/3116

Change-Id: I29dd94e3380c3a5935d47d97e2a2ac1c5fb7e774
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3070
Reviewed-by: Adrien Destugues <[email protected]>
2020-07-28 16:42:18 +00:00
Emir SARI 5f7045a37b Enable "Accept First Click" (supplementary)
The setting still fails to set "Accept First Click" by default. So
hopefully this commit fixes it once and for all.

Change-Id: Ia8d2a1fdf575a524d675fcd8692a86677c9f4e22
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2601
Reviewed-by: waddlesplash <[email protected]>
2020-05-07 22:05:46 +00:00
Emir SARI 3eb9476f43 Enable "Accept First Click" (supplementary)
As Axel mentioned, there is one more value to be changed. It should be
complete now. Ticket: #15953

Change-Id: Ibe09beb6a434f1572c5b3b3dfd7fced3b2af5935
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2580
Reviewed-by: Adrien Destugues <[email protected]>
2020-05-05 23:48:26 +00:00
Emir SARI ffd6da1724 Enable accept first click by default
Change initial setting as well.

Change-Id: I8dadde139f9c38ee7fa74ce99f0e616c42d9eb81
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2563
Reviewed-by: Sergei Reznikov <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2020-05-05 00:54:47 +00:00
bitigchi a67bbcb799 Display localised application/preference names by default
By default, Haiku does not provide localised names for applications and
preference names. This commit changes the default setting to 'true',
for displaying the localised variants.

This is generally bad UX, especially for the preference preflets,
since the user will have no idea where to go if he/she does not
speak English (even will not be able to find this setting presumably).

Change-Id: I17dea9428541be50e27227ba15f9afcde21a99d6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2002
Reviewed-by: Stephan Aßmus <[email protected]>
Reviewed-by: humdinger <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
2020-04-28 00:44:07 +00:00
bitigchi a309c6eeb2 Use UTF-8 HEX values instead of UTF-32 values
The previous commits resulted in TOFU (black diagonal shape with
question mark in it). As per humdinger's suggestion and copying from how
€ sign was encoded, this is another try at fixing non-break space and
Turkish Lira Sign.

Previous PR: /c/haiku/+/2004/1

Change-Id: I3775c178b1921e7dff7ceb660c8fda1152050c94
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2148
Reviewed-by: humdinger <[email protected]>
Reviewed-by: John Scipione <[email protected]>
2020-01-24 15:22:11 +00:00
bitigchi d3c070f2ed Update Credits
This commit adds Turkish lang credits.

Change-Id: I130881871604b1096848a6aa52cf0ee00272de2b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2070
Reviewed-by: humdinger <[email protected]>
2020-01-02 19:33:51 +00:00
bitigchi 07161b817b Fix qt mark/Add TR Lira Symbol/Add non-break space
On Turkish F layout Shift+2 produces single quote, although it
should return double quotation mark. Probably this is a result
of an error whilst copying from Turkish Q layout.

Turkish Lira Symbol has been added to the both layouts,
produceable with ALT GR+T, as this is the standard combination
on Turkish layouts.

I've also noticed that most of the keys produce a whitespace with
the ALT+GR modifier, fixed that one as well.

This commit also adds non-breaking space to ALT GR+Space modifier

Change-Id: I9eb47ae70449c75b15b551f081f8767b1ab03cc5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2004
Reviewed-by: John Scipione <[email protected]>
2019-12-12 07:57:40 +00:00