mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 11:50:15 +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
|
|
@ -191,6 +191,7 @@ const resolveAppLanguage = (languageTags) => {
|
|||
"pl": "pl_PL",
|
||||
"pt": "pt_BR",
|
||||
"ru": "ru_RU",
|
||||
"sk": "sk_SK",
|
||||
"tr": "tr_TR"
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"id": "20200924100717-yzwzn64",
|
||||
"title": "Kernel parameter",
|
||||
"type": "doc",
|
||||
"updated": "20221025095725"
|
||||
"updated": "20260302173748"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -212,7 +212,7 @@
|
|||
"HeadingLevel": 3,
|
||||
"Properties": {
|
||||
"id": "20220517144139-qeoe1f3",
|
||||
"updated": "20220517144139"
|
||||
"updated": "20260302173748"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -227,7 +227,7 @@
|
|||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220517144139-7q5hnts",
|
||||
"updated": "20220517144139"
|
||||
"updated": "20260302173748"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -241,7 +241,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " will use Simplified Chinese to initialize the appearance language, the default is "
|
||||
"Data": " will use Simplified Chinese to initialize the appearance language, the default is "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -250,7 +250,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ". Currently available values: "
|
||||
"Data": ". Currently available values: "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -259,7 +259,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -268,7 +268,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -277,7 +277,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -286,7 +286,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -295,7 +295,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -304,7 +304,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -313,7 +313,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -322,7 +322,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -331,7 +331,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -340,7 +340,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -349,7 +349,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -358,7 +358,16 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "sk_SK"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -367,7 +376,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": ", "
|
||||
"Data": ", "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -376,7 +385,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " and "
|
||||
"Data": " and "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
|
|
@ -385,7 +394,7 @@
|
|||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "."
|
||||
"Data": "."
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"id": "20200828105441-r76vmu5",
|
||||
"title": "内核参数",
|
||||
"type": "doc",
|
||||
"updated": "20221025095729"
|
||||
"updated": "20260302173621"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -292,7 +292,7 @@
|
|||
"HeadingLevel": 3,
|
||||
"Properties": {
|
||||
"id": "20220517143906-h2p1a5m",
|
||||
"updated": "20220517143913"
|
||||
"updated": "20260302173621"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -317,270 +317,174 @@
|
|||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220517143906-cd8h1g8",
|
||||
"updated": "20220517144043"
|
||||
"updated": "20260302173621"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "使用 ",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "使用 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "--lang=zh_CN"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 后将使用简体中文初始化外观语言,默认 ",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": " 后将使用简体中文初始化外观语言,默认 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "en_US"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "。目前可选值:",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "。目前可选值:"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "ar_SA"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "de_DE"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "en_US"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "es_ES"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "fr_FR"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "he_IL"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "it_IT"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "ja_JP"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "ko_KR"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "pl_PL"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "pt_BR"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "ru_RU"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "sk_SK"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "tr_TR"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "zh_CHT"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 和 ",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": " 和 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "zh_CN"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "。",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "。"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"id": "20211226122358-hctqcn5",
|
||||
"title": "Kernel 參數",
|
||||
"type": "doc",
|
||||
"updated": "20221025095721"
|
||||
"updated": "20260302173650"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -292,7 +292,7 @@
|
|||
"HeadingLevel": 3,
|
||||
"Properties": {
|
||||
"id": "20220517144220-400hbxb",
|
||||
"updated": "20220517144220"
|
||||
"updated": "20260302173650"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -317,270 +317,174 @@
|
|||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"id": "20220517144220-5dryt3i",
|
||||
"updated": "20220517144233"
|
||||
"updated": "20260302173650"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "使用 ",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "使用 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "--lang=zh_CN"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 後將使用簡體中文初始化外觀語言,預設 ",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": " 後將使用簡體中文初始化外觀語言,預設 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "en_US"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "。目前可選值:",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "。目前可選值:"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "ar_SA"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "de_DE"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "en_US"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "es_ES"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "fr_FR"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "he_IL"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "it_IT"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "ja_JP"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "ko_KR"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "pl_PL"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "pt_BR"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "ru_RU"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "sk_SK"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "tr_TR"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "zh_CHT"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": " 和 ",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": " 和 "
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
},
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "zh_CN"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "。",
|
||||
"Properties": {
|
||||
"id": ""
|
||||
}
|
||||
"Data": "。"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
"id": "20240530101000-xq26o73",
|
||||
"title": "カーネルパラメータ",
|
||||
"type": "doc",
|
||||
"updated": "20240530101000"
|
||||
"updated": "20260302173724"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -249,7 +249,7 @@
|
|||
"Properties": {
|
||||
"ID": "20240530101000-rje9q9t",
|
||||
"id": "20240530101000-pzmi4gj",
|
||||
"updated": "20240530101000"
|
||||
"updated": "20260302173724"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -263,9 +263,8 @@
|
|||
"ID": "20240530101000-bqisa84",
|
||||
"Type": "NodeParagraph",
|
||||
"Properties": {
|
||||
"ID": "20240530101000-f48ihvt",
|
||||
"id": "20240530101000-bqisa84",
|
||||
"updated": "20240530101000"
|
||||
"updated": "20260302173724"
|
||||
},
|
||||
"Children": [
|
||||
{
|
||||
|
|
@ -380,6 +379,15 @@
|
|||
"Type": "NodeText",
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "code",
|
||||
"TextMarkTextContent": "sk_SK"
|
||||
},
|
||||
{
|
||||
"Type": "NodeText",
|
||||
"Data": "、"
|
||||
},
|
||||
{
|
||||
"Type": "NodeTextMark",
|
||||
"TextMarkType": "code",
|
||||
|
|
|
|||
|
|
@ -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