From 55bf797dcc730b37bc691ebab2b51ff9db8ed245 Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周二, 06 5月 2025 17:37:23 +0800 Subject: [PATCH] 修改代码样式 --- HIAWms/web/src/libs/Language/i18n/langZH.ts | 164 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 164 insertions(+), 0 deletions(-) diff --git a/HIAWms/web/src/libs/Language/i18n/langZH.ts b/HIAWms/web/src/libs/Language/i18n/langZH.ts new file mode 100644 index 0000000..53ef3d7 --- /dev/null +++ b/HIAWms/web/src/libs/Language/i18n/langZH.ts @@ -0,0 +1,164 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +export default { + time: { + month: [ + '涓�鏈�', + '浜屾湀', + '涓夋湀', + '鍥涙湀', + '浜旀湀', + '鍏湀', + '涓冩湀', + '鍏湀', + '涔濇湀', + '鍗佹湀', + '鍗佷竴鏈�', + '鍗佷簩鏈�', + ], + monthAbbr: [ + '1鏈�', + '2鏈�', + '3鏈�', + '4鏈�', + '5鏈�', + '6鏈�', + '7鏈�', + '8鏈�', + '9鏈�', + '10鏈�', + '11鏈�', + '12鏈�', + ], + dayOfWeek: [ + '鏄熸湡鏃�', + '鏄熸湡涓�', + '鏄熸湡浜�', + '鏄熸湡涓�', + '鏄熸湡鍥�', + '鏄熸湡浜�', + '鏄熸湡鍏�', + ], + dayOfWeekAbbr: ['鏃�', '涓�', '浜�', '涓�', '鍥�', '浜�', '鍏�'], + }, + legend: { + selector: { + all: '鍏ㄩ��', + inverse: '鍙嶉��', + }, + }, + toolbox: { + brush: { + title: { + rect: '鐭╁舰閫夋嫨', + polygon: '鍦堥��', + lineX: '妯悜閫夋嫨', + lineY: '绾靛悜閫夋嫨', + keep: '淇濇寔閫夋嫨', + clear: '娓呴櫎閫夋嫨', + }, + }, + dataView: { + title: '鏁版嵁瑙嗗浘', + lang: ['鏁版嵁瑙嗗浘', '鍏抽棴', '鍒锋柊'], + }, + dataZoom: { + title: { + zoom: '鍖哄煙缂╂斁', + back: '鍖哄煙缂╂斁杩樺師', + }, + }, + magicType: { + title: { + line: '鍒囨崲涓烘姌绾垮浘', + bar: '鍒囨崲涓烘煴鐘跺浘', + stack: '鍒囨崲涓哄爢鍙�', + tiled: '鍒囨崲涓哄钩閾�', + }, + }, + restore: { + title: '杩樺師', + }, + saveAsImage: { + title: '淇濆瓨涓哄浘鐗�', + lang: ['鍙抽敭鍙﹀瓨涓哄浘鐗�'], + }, + }, + series: { + typeNames: { + pie: '楗煎浘', + bar: '鏌辩姸鍥�', + line: '鎶樼嚎鍥�', + scatter: '鏁g偣鍥�', + effectScatter: '娑熸吉鏁g偣鍥�', + radar: '闆疯揪鍥�', + tree: '鏍戝浘', + treemap: '鐭╁舰鏍戝浘', + boxplot: '绠卞瀷鍥�', + candlestick: 'K绾垮浘', + k: 'K绾垮浘', + heatmap: '鐑姏鍥�', + map: '鍦板浘', + parallel: '骞宠鍧愭爣鍥�', + lines: '绾垮浘', + graph: '鍏崇郴鍥�', + sankey: '妗戝熀鍥�', + funnel: '婕忔枟鍥�', + gauge: '浠〃鐩樺浘', + pictorialBar: '璞″舰鏌卞浘', + themeRiver: '涓婚娌虫祦鍥�', + sunburst: '鏃棩鍥�', + custom: '鑷畾涔夊浘琛�', + chart: '鍥捐〃', + }, + }, + aria: { + general: { + withTitle: '杩欐槸涓�涓叧浜庘�渰title}鈥濈殑鍥捐〃銆�', + withoutTitle: '杩欐槸涓�涓浘琛紝', + }, + series: { + single: { + prefix: '', + withName: '鍥捐〃绫诲瀷鏄瘂seriesType}锛岃〃绀簕seriesName}銆�', + withoutName: '鍥捐〃绫诲瀷鏄瘂seriesType}銆�', + }, + multiple: { + prefix: '瀹冪敱{seriesCount}涓浘琛ㄧ郴鍒楃粍鎴愩��', + withName: '绗瑊seriesId}涓郴鍒楁槸涓�涓〃绀簕seriesName}鐨剓seriesType}锛�', + withoutName: '绗瑊seriesId}涓郴鍒楁槸涓�涓獅seriesType}锛�', + separator: { + middle: '锛�', + end: '銆�', + }, + }, + }, + data: { + allData: '鍏舵暟鎹槸鈥斺��', + partialData: '鍏朵腑锛屽墠{displayCnt}椤规槸鈥斺��', + withName: '{name}鐨勬暟鎹槸{value}', + withoutName: '{value}', + separator: { + middle: '锛�', + end: '', + }, + }, + }, +} -- Gitblit v1.9.3