1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Chore: Fixed asset order

This commit is contained in:
Laurent Cozic 2023-07-02 17:48:29 +01:00
parent bc35649dda
commit dfbe628944
2 changed files with 9 additions and 7 deletions

View File

@ -8,12 +8,12 @@ module.exports = [
"de", "de",
"el", "el",
"eo", "eo",
"es",
"es_ES", "es_ES",
"es_MX", "es_MX",
"es",
"eu", "eu",
"fa_IR",
"fa", "fa",
"fa_IR",
"fi", "fi",
"fr_FR", "fr_FR",
"gl", "gl",
@ -21,8 +21,8 @@ module.exports = [
"hr", "hr",
"hu_HU", "hu_HU",
"id", "id",
"it_IT",
"it", "it",
"it_IT",
"ja", "ja",
"kk", "kk",
"ko_KR", "ko_KR",
@ -32,18 +32,18 @@ module.exports = [
"pl", "pl",
"pt_BR", "pt_BR",
"pt_PT", "pt_PT",
"ro_RO",
"ro", "ro",
"ro_RO",
"ru", "ru",
"sk", "sk",
"sl_SI",
"sl", "sl",
"sl_SI",
"sv_SE", "sv_SE",
"ta_IN",
"ta", "ta",
"ta_IN",
"th_TH", "th_TH",
"tr_TR",
"tr", "tr",
"tr_TR",
"uk", "uk",
"vi", "vi",
"zh_CN", "zh_CN",

View File

@ -147,6 +147,8 @@ async function main() {
return s[0]; return s[0];
}); });
supportedLocales.sort();
const content = `module.exports = ${JSON.stringify(supportedLocales, null, 2)}`; const content = `module.exports = ${JSON.stringify(supportedLocales, null, 2)}`;
await writeFile(`${__dirname}/../gui/NoteEditor/NoteBody/TinyMCE/supportedLocales.js`, content, 'utf8'); await writeFile(`${__dirname}/../gui/NoteEditor/NoteBody/TinyMCE/supportedLocales.js`, content, 'utf8');