[www.kde.org] [Bug 505639] New: Locale format the donation fields
Emir SARI
bugzilla_noreply at kde.org
Sun Jun 15 19:31:19 BST 2025
https://bugs.kde.org/show_bug.cgi?id=505639
Bug ID: 505639
Summary: Locale format the donation fields
Classification: Websites
Product: www.kde.org
Version First unspecified
Reported In:
Platform: Other
OS: Other
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: kde-www at kde.org
Reporter: emir_sari at icloud.com
Target Milestone: ---
The donation field in kde.org footer and the one-time donation field in
kde.org/donate does not have localised formatting for the decimal field and the
currency sign.
Something like:
function formatCurrency(value, locale = navigator.language, currency = 'EUR') {
const formatter = new Intl.NumberFormat(locale, {
style: 'currency',
currency: currency
});
return formatter.format(value);
}
would make it look more professional, instead of an out-of-field currency sign.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-www
mailing list