Add overrideSupportedLanguages list

This commit is contained in:
Belleve Invis 2020-04-16 20:41:04 -07:00
parent 3adcf5f947
commit d3cf945177

View file

@ -2,6 +2,9 @@ const cldr = require("cldr");
const fs = require("fs-extra"); const fs = require("fs-extra");
const gatherCov = require("./coverage-export/gather-coverage-data"); const gatherCov = require("./coverage-export/gather-coverage-data");
// List all the languages that Iosevka supports, but cannot inferred from CLDR data.
const overrideSupportedLanguages = [];
module.exports = async function (charMapPath) { module.exports = async function (charMapPath) {
const charMap = await fs.readJson(charMapPath); const charMap = await fs.readJson(charMapPath);
@ -44,7 +47,7 @@ module.exports = async function (charMapPath) {
} }
} }
} }
const supportLangSet = new Set(); const supportLangSet = new Set(overrideSupportedLanguages);
for (const loc of supportLocaleSet) { for (const loc of supportLocaleSet) {
const seg = loc.split("_"); const seg = loc.split("_");
let displayName = null; let displayName = null;