Files
outline/server/__mocks__/iso-639-3.js
T
Tom Moor 3f3a70d996 feat: Adjust line-height depending on script (#10565)
* migration

* Auto detect language and adjust line-height accordingly

* Remove accidental commit

* Remove unneccessary adjustment

* test

* mock
2025-11-08 11:47:51 -05:00

19 lines
303 B
JavaScript

// Mock for iso-639-3 language code conversion library
const iso6393To1 = {
eng: "en",
fra: "fr",
deu: "de",
spa: "es",
ita: "it",
por: "pt",
rus: "ru",
jpn: "ja",
zho: "zh",
ara: "ar",
hin: "hi",
ben: "bn",
und: undefined, // undetermined
};
module.exports = { iso6393To1 };