Fix en_IN speed, add NAV icons
parent
0b4e30dece
commit
15ee6212b8
|
|
@ -96,6 +96,8 @@ exports = { name : "en_GB", currencySym:"£",
|
||||||
// If we have a 2 char ISO country code, use it to get the unicode flag
|
// If we have a 2 char ISO country code, use it to get the unicode flag
|
||||||
if (localeParts[1] && localeParts[1].length==2)
|
if (localeParts[1] && localeParts[1].length==2)
|
||||||
icon = localeParts[1].toUpperCase().replace(/./g, char => String.fromCodePoint(char.charCodeAt(0)+127397) )+" ";
|
icon = localeParts[1].toUpperCase().replace(/./g, char => String.fromCodePoint(char.charCodeAt(0)+127397) )+" ";
|
||||||
|
if (localeParts[1]=="NAV")
|
||||||
|
icon = "⛵✈️ ";
|
||||||
return `<option value="${l}">${icon}${l}</option>`
|
return `<option value="${l}">${icon}${l}</option>`
|
||||||
}).join("\n");
|
}).join("\n");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ var locales = {
|
||||||
currency_symbol: "Rs.",
|
currency_symbol: "Rs.",
|
||||||
currency_first: true,
|
currency_first: true,
|
||||||
int_curr_symbol: "INR",
|
int_curr_symbol: "INR",
|
||||||
speed: 'kms',
|
speed: 'kmh',
|
||||||
distance: { "0": "m", "1": "km" },
|
distance: { "0": "m", "1": "km" },
|
||||||
temperature: '°C',
|
temperature: '°C',
|
||||||
ampm: { 0: "am", 1: "pm" },
|
ampm: { 0: "am", 1: "pm" },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue