Closed Infocatcher closed 9 years ago
Secret preferences:
See description in defaults/preferences/prefs.js:
Locales for numbers and dates (Firefox 29+):
"" - use OS locale
"<browser>" - use browser locale (navigator.language)
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation
Due to https://bugzilla.mozilla.org/show_bug.cgi?id=999003, "Number.toLocaleString() without locale returns localized digits specified by the OS"
https://github.com/Infocatcher/Link_Properties_Plus/blob/1.5.2/chrome/content/linkPropsPlus.js#L983-L994
In resource://gre/modules/DownloadUtils.jsm:
(from Firefox 33.0a1 (2014-06-25), also see https://bugzilla.mozilla.org/show_bug.cgi?id=1009795)
Anyway, our implementation is better: will be used
123 456.78
, if localized numbers doesn't contain digits.