This commit is contained in:
2020-02-10 18:25:10 +00:00
parent 13885d43ed
commit e344ae5db7

View File

@@ -188,6 +188,7 @@ export default {
// //
// also for sake of future proofing and edge cases need to have it be manually settable as well // also for sake of future proofing and edge cases need to have it be manually settable as well
// ############### TODO: modify all of these to put the user's manual override first in line (if there is one) // ############### TODO: modify all of these to put the user's manual override first in line (if there is one)
//https://appmakers.dev/bcp-47-language-codes-list/
getBrowserLanguages() { getBrowserLanguages() {
return window.navigator.languages; return window.navigator.languages;
}, },
@@ -203,7 +204,7 @@ export default {
}, },
////////////////////////////////////////////////// //////////////////////////////////////////////////
// Get the user's chosen currency name // Get the user's chosen currency name
// //https://en.wikipedia.org/wiki/ISO_4217
getCurrencyName() { getCurrencyName() {
return window.$gz.store.state.locale.currencyName; return window.$gz.store.state.locale.currencyName;
}, },