From 4b634e355100fa37ee7983cb30e3d22b564c4ba1 Mon Sep 17 00:00:00 2001 From: mike Date: Thu, 5 Nov 2026 01:20:30 +0800 Subject: [PATCH] Update public-api.js via upload script - 2026-11-05 01:20:25 --- public-api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public-api.js b/public-api.js index 74f966a..4b59763 100644 --- a/public-api.js +++ b/public-api.js @@ -383,7 +383,7 @@ async function translateTemplateHtml(ai, products) { // ===== 网站产品介绍:没手动填英文介绍的产品,由 AI 根据参数自动写一段 ===== // 参数变了会重新生成(缓存按参数内容算);手动填了英文介绍就一直用手动的。 -const TYPE_EN = { '迷你UPS': 'Mini DC UPS', '离线式UPS': 'Offline UPS', '离线式锂电UPS': 'Lithium-ion offline UPS', '在线互动式UPS': 'Line-interactive UPS', '机架式UPS': 'Rack-mount online double-conversion UPS', '机架式锂电UPS': 'Lithium-ion rack-mount online double-conversion UPS', '模块化UPS': 'Modular online UPS with hot-swappable power modules', '机架式模块化UPS': 'Rack-mount modular online UPS with hot-swappable power modules', '工频UPS': 'Industrial-frequency (transformer-based) online UPS with output isolation transformer', '在线式高频UPS': 'Online double-conversion high-frequency tower UPS', '太阳能混网逆变器': 'Hybrid solar inverter (solar + battery + grid, with backup output)', '并网/离网逆变器': 'Solar inverter (grid-tied / off-grid)', '机架式磷酸铁锂电池': 'Rack-mount LiFePO4 lithium battery module (19-inch, for solar energy storage and telecom)', '机架式锂电池': 'Rack-mount LiFePO4 lithium battery module (19-inch, for solar energy storage and telecom)' }; +const TYPE_EN = { '迷你UPS': 'Mini DC UPS', '离线式UPS': 'Offline UPS', '离线式锂电UPS': 'Lithium-ion offline UPS', '在线互动式UPS': 'Line-interactive UPS', '机架式UPS': 'Rack-mount online double-conversion UPS', '机架式锂电UPS': 'Lithium-ion rack-mount online double-conversion UPS', '模块化UPS': 'Modular online UPS with hot-swappable power modules', '机架式模块化UPS': 'Rack-mount modular online UPS with hot-swappable power modules', '工频UPS': 'Industrial-frequency (transformer-based) online UPS with output isolation transformer', '在线式高频UPS': 'Online double-conversion high-frequency tower UPS', '太阳能混网逆变器': 'Hybrid solar inverter (solar + battery + grid, with backup output)', '并网/离网逆变器': 'Solar inverter (grid-tied / off-grid)', '机架式磷酸铁锂电池': 'Rack-mount LiFePO4 lithium battery module (19-inch, for solar energy storage and telecom)', '机架式锂电池': 'Rack-mount LiFePO4 lithium battery module (19-inch, for solar energy storage and telecom)', '一体式锂电UPS': 'All-in-one online double-conversion UPS with built-in LiFePO4 lithium battery (choose the number of battery packs for the backup time)', '锂电一体式UPS': 'All-in-one online double-conversion UPS with built-in LiFePO4 lithium battery (choose the number of battery packs for the backup time)', '壁挂式锂电池': 'Wall-mount LiFePO4 home battery (powerwall type, for solar and backup)', '壁挂式磷酸铁锂电池': 'Wall-mount LiFePO4 home battery (powerwall type, for solar and backup)', '落地式锂电池': 'Floor-standing LiFePO4 home battery on wheels (high capacity, for solar and backup)', '落地式磷酸铁锂电池': 'Floor-standing LiFePO4 home battery on wheels (high capacity, for solar and backup)' }; const DESC_SKIP = new Set(['model', 'brand', 'category', 'type', 'machineVariant', 'description', 'sale', 'youtube', 'sellingPoints', 'sockets', 'extraSpecs', 'pack']); const SOCKET_EN = { SCHUKO: 'Schuko', NEMA: 'NEMA 5-15', UK: 'BS 1363 (UK)', UNIVERSAL: 'universal', IEC: 'IEC C13', AU: 'Type I (AU/CN)' }; function descFacts(p) {