mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 20:00:17 +01:00
🌐 Add Slovak (sk_SK) language support https://github.com/siyuan-note/siyuan/pull/17120
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
9ab6a7a9ab
commit
b25d867f6a
6 changed files with 103 additions and 277 deletions
|
|
@ -8,7 +8,7 @@ module.exports = async function afterPack(context) {
|
|||
|
||||
async function removeLanguagePacks(appOutDir, packager, platform) {
|
||||
// 支持的语言都要保留,否则影响开发者工具字体显示
|
||||
const wantedLanguages = ["ar_SA", "de_DE", "en_US", "es_ES", "fr_FR", "he_IL", "it_IT", "ja_JP", "ko_KR", "pl_PL", "pt_BR", "ru_RU", "tr_TR", "zh_CHT", "zh_CN"];
|
||||
const wantedLanguages = ["ar_SA", "de_DE", "en_US", "es_ES", "fr_FR", "he_IL", "it_IT", "ja_JP", "ko_KR", "pl_PL", "pt_BR", "ru_RU", "sk_SK", "tr_TR", "zh_CHT", "zh_CN"];
|
||||
const keepPrefixes = new Set(wantedLanguages.map(lang => lang.substring(0, 2)));
|
||||
|
||||
let resourcePath;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue