Fix en_IN speed, add NAV icons

pull/608/head
Gordon Williams 2020-12-07 08:59:29 +00:00
parent 0b4e30dece
commit 15ee6212b8
2 changed files with 3 additions and 1 deletions

View File

@ -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 (localeParts[1] && localeParts[1].length==2)
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>`
}).join("\n");

View File

@ -89,7 +89,7 @@ var locales = {
currency_symbol: "Rs.",
currency_first: true,
int_curr_symbol: "INR",
speed: 'kms',
speed: 'kmh',
distance: { "0": "m", "1": "km" },
temperature: '°C',
ampm: { 0: "am", 1: "pm" },