Added Awadhi language and language color
This commit is contained in:
14
index.js
14
index.js
@@ -23,6 +23,7 @@ const tuluColor = "#dedc52" // Tulu
|
||||
const maithaliColor = "#4472a6" // Maithali
|
||||
const santaliColor = "#96bf60" // Santhali
|
||||
const sindhiColor = "#e89931" // Sindhi
|
||||
const awadhiColor = "#847fb5" // Awadhi
|
||||
|
||||
const unavailLangColor = "#555555"
|
||||
|
||||
@@ -50,6 +51,7 @@ const languages = {
|
||||
maithali: {name: "Maithali", color: maithaliColor, districts: []},
|
||||
santali: {name: "Santali", color: santaliColor, districts: []},
|
||||
sindhi: {name: "Sindhi", color: sindhiColor, districts: []},
|
||||
awadhi: {name: "Awadhi", color: awadhiColor, districts: []},
|
||||
unavail: {name: "Unavailable", color: unavailLangColor, districts: []},
|
||||
};
|
||||
|
||||
@@ -157,6 +159,18 @@ const district2lang = { // Should override state colors
|
||||
"Jhargram": languages["santali"],
|
||||
"Bankura": languages["santali"],
|
||||
"Purulia": languages["santali"],
|
||||
|
||||
"Kanpur": languages["awadhi"],
|
||||
"Lakhimpur Kheri": languages["awadhi"],
|
||||
"Sitapur": languages["awadhi"],
|
||||
"Hardoi": languages["awadhi"],
|
||||
"Unnao": languages["awadhi"],
|
||||
"Fatehpur": languages["awadhi"],
|
||||
"Barabanki": languages["awadhi"],
|
||||
"Lucknow": languages["awadhi"],
|
||||
"Rae Bareli": languages["awadhi"],
|
||||
"Amethi": languages["awadhi"],
|
||||
"Bahraich": languages["awadhi"],
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user