Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

docs(i18n): 移除多语言文案中多余的script、head、body标签尖括号

Teror Fox7dc3cc2a414a
diff --git a/i18n/locales/en.json b/i18n/locales/en.json
index e1d758bf..160f7932 100644
--- a/i18n/locales/en.json
+++ b/i18n/locales/en.json
@@ -1387,16 +1387,16 @@
}
},
"analytics": {
- "sectionDescription": "Inject custom <script> tags into <head> and <body> for analytics, tracking, or structured data. Scripts run for all visitors. Only paste code you trust.",
+ "sectionDescription": "Inject custom script tags into the page head and body for analytics, tracking, or structured data. Scripts run for all visitors. Only paste code you trust.",
"headScripts": {
"label": "Head Scripts",
- "description": "HTML fragment with <script> tags to inject into <head>.",
- "help": "Paste full <script>...</script> tags (multiple allowed). For GA, Baidu, Plausible, Umami, JSON-LD, etc. The existing Matomo integration runs independently."
+ "description": "HTML fragment with script tags to inject into the page head.",
+ "help": "Paste full script tags (multiple allowed). For GA, Baidu, Plausible, Umami, JSON-LD, etc. The existing Matomo integration runs independently."
},
"bodyScripts": {
"label": "Body Scripts",
- "description": "HTML fragment with <script> tags to inject at the top of <body>.",
- "help": "Paste full <script>...</script> tags (multiple allowed). Suitable for scripts that should run after the body opens."
+ "description": "HTML fragment with script tags to inject at the top of the page body.",
+ "help": "Paste full script tags (multiple allowed). Suitable for scripts that should run after the body opens."
}
},
"general": {
diff --git a/i18n/locales/ja.json b/i18n/locales/ja.json
index 64cf13c9..97dc4108 100644
--- a/i18n/locales/ja.json
+++ b/i18n/locales/ja.json
@@ -1313,16 +1313,16 @@
}
},
"analytics": {
- "sectionDescription": "アナリティクス、トラッキング、または構造化データ用のカスタム <script> タグを <head> と <body> に注入します。スクリプトはすべての訪問者に実行されます。信頼できるコードのみ貼り付けてください。",
+ "sectionDescription": "アナリティクス、トラッキング、または構造化データ用のカスタム script タグを head と body に注入します。スクリプトはすべての訪問者に実行されます。信頼できるコードのみ貼り付けてください。",
"headScripts": {
"label": "Head スクリプト",
- "description": "<head> に注入する <script> タグを含む HTML 断片。",
- "help": "完全な <script>...</script> タグを貼り付けます(複数可)。GA、百度統計、Plausible、Umami、JSON-LD などに適用。既存の Matomo 統合は独立して実行されます。"
+ "description": "head に注入する script タグを含む HTML 断片。",
+ "help": "完全な script タグを貼り付けます(複数可)。GA、百度統計、Plausible、Umami、JSON-LD などに適用。既存の Matomo 統合は独立して実行されます。"
},
"bodyScripts": {
"label": "Body スクリプト",
- "description": "<body> の先頭に注入する <script> タグを含む HTML 断片。",
- "help": "完全な <script>...</script> タグを貼り付けます(複数可)。body の開始時に実行する必要があるスクリプトに適しています。"
+ "description": "body の先頭に注入する script タグを含む HTML 断片。",
+ "help": "完全な script タグを貼り付けます(複数可)。body の開始時に実行する必要があるスクリプトに適しています。"
}
},
"general": {
diff --git a/i18n/locales/zh-Hans.json b/i18n/locales/zh-Hans.json
index 1a094a49..0bd541f6 100644
--- a/i18n/locales/zh-Hans.json
+++ b/i18n/locales/zh-Hans.json
@@ -1387,16 +1387,16 @@
}
},
"analytics": {
- "sectionDescription": "将自定义 <script> 标签注入到页面 <head> 和 <body> 中,用于分析、追踪或结构化数据。脚本对所有访客执行,请仅粘贴可信代码。",
+ "sectionDescription": "将自定义 script 标签注入到页面 head 和 body 中,用于分析、追踪或结构化数据。脚本对所有访客执行,请仅粘贴可信代码。",
"headScripts": {
"label": "Head 脚本",
- "description": "包含 <script> 标签的 HTML 片段,注入到页面 <head> 中。",
- "help": "粘贴完整的 <script>...</script> 标签(支持多个)。适用于 GA、百度统计、Plausible、Umami、JSON-LD 等。已有的 Matomo 集成独立运行,互不干扰。"
+ "description": "包含 script 标签的 HTML 片段,注入到页面 head 中。",
+ "help": "粘贴完整的 script 标签(支持多个)。适用于 GA、百度统计、Plausible、Umami、JSON-LD 等。已有的 Matomo 集成独立运行,互不干扰。"
},
"bodyScripts": {
"label": "Body 脚本",
- "description": "包含 <script> 标签的 HTML 片段,注入到 <body> 开头。",
- "help": "粘贴完整的 <script>...</script> 标签(支持多个)。适用于需要在 body 开始处执行的脚本。"
+ "description": "包含 script 标签的 HTML 片段,注入到 body 开头。",
+ "help": "粘贴完整的 script 标签(支持多个)。适用于需要在 body 开始处执行的脚本。"
}
},
"general": {
diff --git a/i18n/locales/zh-Hant-HK.json b/i18n/locales/zh-Hant-HK.json
index 97f151c8..4f4e6b6c 100644
--- a/i18n/locales/zh-Hant-HK.json
+++ b/i18n/locales/zh-Hant-HK.json
@@ -1313,16 +1313,16 @@
}
},
"analytics": {
- "sectionDescription": "將自訂 <script> 標籤注入到頁面 <head> 和 <body> 中,用於分析、追蹤或結構化資料。指令碼對所有訪客執行,請僅貼上可信程式碼。",
+ "sectionDescription": "將自訂 script 標籤注入到頁面 head 和 body 中,用於分析、追蹤或結構化資料。指令碼對所有訪客執行,請僅貼上可信程式碼。",
"headScripts": {
"label": "Head 指令碼",
- "description": "包含 <script> 標籤的 HTML 片段,注入到頁面 <head> 中。",
- "help": "貼上完整的 <script>...</script> 標籤(支援多個)。適用於 GA、百度統計、Plausible、Umami、JSON-LD 等。已有的 Matomo 整合獨立執行,互不干擾。"
+ "description": "包含 script 標籤的 HTML 片段,注入到頁面 head 中。",
+ "help": "貼上完整的 script 標籤(支援多個)。適用於 GA、百度統計、Plausible、Umami、JSON-LD 等。已有的 Matomo 整合獨立執行,互不干擾。"
},
"bodyScripts": {
"label": "Body 指令碼",
- "description": "包含 <script> 標籤的 HTML 片段,注入到 <body> 開頭。",
- "help": "貼上完整的 <script>...</script> 標籤(支援多個)。適用於需要在 body 開始處執行的指令碼。"
+ "description": "包含 script 標籤的 HTML 片段,注入到 body 開頭。",
+ "help": "貼上完整的 script 標籤(支援多個)。適用於需要在 body 開始處執行的指令碼。"
}
},
"general": {
diff --git a/i18n/locales/zh-Hant-TW.json b/i18n/locales/zh-Hant-TW.json
index a25ef09a..254ab1f0 100644
--- a/i18n/locales/zh-Hant-TW.json
+++ b/i18n/locales/zh-Hant-TW.json
@@ -1313,16 +1313,16 @@
}
},
"analytics": {
- "sectionDescription": "將自訂 <script> 標籤注入到頁面 <head> 和 <body> 中,用於分析、追蹤或結構化資料。指令碼對所有訪客執行,請僅貼上可信程式碼。",
+ "sectionDescription": "將自訂 script 標籤注入到頁面 head 和 body 中,用於分析、追蹤或結構化資料。指令碼對所有訪客執行,請僅貼上可信程式碼。",
"headScripts": {
"label": "Head 指令碼",
- "description": "包含 <script> 標籤的 HTML 片段,注入到頁面 <head> 中。",
- "help": "貼上完整的 <script>...</script> 標籤(支援多個)。適用於 GA、百度統計、Plausible、Umami、JSON-LD 等。已有的 Matomo 整合獨立執行,互不干擾。"
+ "description": "包含 script 標籤的 HTML 片段,注入到頁面 head 中。",
+ "help": "貼上完整的 script 標籤(支援多個)。適用於 GA、百度統計、Plausible、Umami、JSON-LD 等。已有的 Matomo 整合獨立執行,互不干擾。"
},
"bodyScripts": {
"label": "Body 指令碼",
- "description": "包含 <script> 標籤的 HTML 片段,注入到 <body> 開頭。",
- "help": "貼上完整的 <script>...</script> 標籤(支援多個)。適用於需要在 body 開始處執行的指令碼。"
+ "description": "包含 script 標籤的 HTML 片段,注入到 body 開頭。",
+ "help": "貼上完整的 script 標籤(支援多個)。適用於需要在 body 開始處執行的指令碼。"
}
},
"general": {