Add overrideSupportedLanguages list
This commit is contained in:
parent
3adcf5f947
commit
d3cf945177
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue