Skip to content

Commit

Permalink
[feature] Complete multiple languages (#3002)
Browse files Browse the repository at this point in the history
Co-authored-by: Logic <[email protected]>
  • Loading branch information
wanhao23 and zqr10159 authored Jan 21, 2025
1 parent 0b7aa48 commit e244bdc
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 0 deletions.
4 changes: 4 additions & 0 deletions web-app/src/assets/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@
"alert.status.all": "All Status",
"alert.status.firing": "Firing",
"alert.status.resolved": "Resolved",
"annotation": "Annotate",
"annotation.bind": "Binding Annotations",
"annotation.bind.tip": "You can use annotations to mark entity information, such as annotating important events for resource binding.",
"app.lock": "Unlock",
"app.lock.placeholder": "Enter Any To Unlock",
"app.login.explore.cloud": "Explore Cloud",
Expand Down Expand Up @@ -826,6 +829,7 @@
"status.public.to-component": "Status Page",
"status.public.to-incident": "Incident History",
"status.public.today": "Today",
"tag": "Tag",
"validation.confirm-password.required": "Please confirm your password!",
"validation.date.required": "Please select the start and end date",
"validation.email.invalid": "Invalid email!",
Expand Down
9 changes: 9 additions & 0 deletions web-app/src/assets/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"about.star": "点赞支持",
"about.title": "Apache HertzBeat (incubating) 是一个开源实时监控系统,无需Agent,性能集群,兼容Prometheus,自定义监控和状态页构建能力。",
"about.upgrade": "升级指引",
"alert": "告警",
"alert.center.clear": "一键清空",
"alert.center.confirm.clear-all": "请确认是否清空所有告警记录!",
"alert.center.confirm.delete": "请确认是否删除!",
Expand Down Expand Up @@ -210,6 +211,7 @@
"alert.setting.default": "应用全局",
"alert.setting.default.tip": "此告警阈值配置是否应用于全局所有此类型监控",
"alert.setting.delete": "删除阈值规则",
"alert.setting.edit": "编辑阈值规则",
"alert.setting.edit.periodic": "编辑计划阈值",
"alert.setting.edit.realtime": "编辑实时阈值",
"alert.setting.enable": "启用阈值",
Expand Down Expand Up @@ -392,6 +394,9 @@
"collector.status": "运行状态",
"collector.task": "总任务数量",
"collector.version": "版本",
"common.annotation": "注解",
"common.annotation.bind": "绑定注解",
"common.annotation.bind.tip": "可以使用注解来标记实体信息,例如将重要事件的注解绑定到资源上。",
"common.button.cancel": "取消",
"common.button.collapse": "收起",
"common.button.confirm": "确认",
Expand Down Expand Up @@ -510,6 +515,7 @@
"label.name": "标签名",
"label.new": "新增标签",
"label.search": "搜索标签",
"label.setting": "标签",
"label.value": "标签值",
"labels.help": "标签无处不在,我们可以应用标签在资源分组,规则下的标签匹配等场景。标签管理用于对标签的统一管理维护,包含新增,删除,编辑等操作。<br>例如:您可以使用标签对监控资源进行分类管理,给资源分别绑定生产环境、测试环境的标签,在告警通知时通过标签匹配不同的通知人。",
"labels.help.link": "https://hertzbeat.apache.org/zh-cn/docs/",
Expand All @@ -528,6 +534,7 @@
"menu.advanced.status": "状态页面",
"menu.alert": "告警",
"menu.alert.center": "告警中心",
"menu.alert.converge": "收敛",
"menu.alert.dispatch": "消息通知",
"menu.alert.group": "分组收敛",
"menu.alert.inhibit": "告警抑制",
Expand Down Expand Up @@ -722,6 +729,7 @@
"plugin.type.POST_ALERT": "告警后",
"plugin.type.POST_COLLECT": "采集后",
"plugin.upload": "上传插件",
"question.link": "https://hertzbeat.apache.org/docs/help/issue/",
"settings.object-store": "文件服务配置",
"settings.object-store.obs.accessKey": "AccessKey",
"settings.object-store.obs.accessKey.placeholder": "华为云的AccessKeyId",
Expand Down Expand Up @@ -821,6 +829,7 @@
"status.public.to-component": "状态页面",
"status.public.to-incident": "事件信息",
"status.public.today": "今天",
"tag": "标签",
"validation.confirm-password.required": "请确认密码!",
"validation.date.required": "请选择起止日期",
"validation.email.invalid": "无效的邮箱地址!",
Expand Down
77 changes: 77 additions & 0 deletions web-app/src/assets/i18n/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,9 @@
"alert.status.all": "全部狀態",
"alert.status.firing": "告警中",
"alert.status.resolved": "已恢复",
"annotation": "註解",
"annotation.bind": "綁定註解",
"annotation.bind.tip": "您可以使用註解來標記實體訊息,例如為資源綁定的重要事件進行註解。",
"app.lock": "解除鎖定",
"app.lock.placeholder": "輸入任意解鎖",
"app.login.explore.cloud": "探索雲端服務",
Expand Down Expand Up @@ -572,6 +575,8 @@
"menu.more": "更多",
"menu.search.placeholder": "搜索監控任務名稱、HOST等",
"monitor": "監控",
"monitor.advanced": "進階設定",
"monitor.advanced.tip": "設定高級可選參數",
"monitor.app": "監控類型",
"monitor.app.api": "HTTP API",
"monitor.app.fullsite": "全站監控",
Expand All @@ -583,6 +588,7 @@
"monitor.app.redis": "Redis",
"monitor.app.website": "網站監測",
"monitor.availability": "監控可用性",
"monitor.cancel": "暫停監控",
"monitor.category": "監控類別",
"monitor.category.auto": "自動任務",
"monitor.category.bigdata": "大數據",
Expand All @@ -597,7 +603,12 @@
"monitor.category.server": "服務器監控",
"monitor.category.service": "應用服務",
"monitor.category.webserver": "Web伺服器",
"monitor.center.help": "監控中心是監控資源管理入口,以清單的形式展示目前已新增的監控,同時支援標籤分組,查詢過濾,查看監控詳情等。 <br>您可以對監控資源進行新增,修改,刪除,暫停監控,匯入匯出,批次管理等操作。",
"monitor.center.help.link": "https://hertzbeat.apache.org/docs/",
"monitor.center.search.placeholder": "搜尋待加入監控任務的類型: Linux, Redis",
"monitor.coilRegisterAddresses.tip": "輸入暫存器位址",
"monitor.collect.time": "採集時間",
"monitor.collect.time.tip": "最近採集時間",
"monitor.collector": "採集器",
"monitor.collector.status.offline": "離線",
"monitor.collector.status.online": "在線",
Expand All @@ -610,8 +621,47 @@
"monitor.copy.failed": "复制监控失败",
"monitor.copy.notify.one-select": "只能选择一个监控进行复制",
"monitor.copy.success": "复制监控成功",
"monitor.delete": "刪除",
"monitor.delete-monitor": "刪除監控",
"monitor.description": "描述備注",
"monitor.description.tip": "更多標識和描述此任務的備注信息",
"monitor.detail": "監控詳情",
"monitor.detail.auto-refresh": "自動刷新 {{time}} 秒",
"monitor.detail.basic": "監控任務訊息",
"monitor.detail.chart.back": "縮放還原",
"monitor.detail.chart.no-data": "暫無數據",
"monitor.detail.chart.query-1d": "查詢近1天",
"monitor.detail.chart.query-1h": "查詢近1小時",
"monitor.detail.chart.query-1m": "查詢近1月",
"monitor.detail.chart.query-1w": "查詢近1週",
"monitor.detail.chart.query-3m": "查詢近3月",
"monitor.detail.chart.query-6h": "查詢近6小時",
"monitor.detail.chart.save": "保存圖片",
"monitor.detail.chart.unit": "單位",
"monitor.detail.chart.zoom": "區域縮放",
"monitor.detail.close-refresh": "關閉自動刷新",
"monitor.detail.config-refresh": "設定 {{time}} 秒自動刷新",
"monitor.detail.description": "描述",
"monitor.detail.history": "監控歷史圖表詳情",
"monitor.detail.name": "名稱",
"monitor.detail.port": "連接埠",
"monitor.detail.realtime": "監控即時數據詳情",
"monitor.detail.show-basic": "顯示監控基本屬性",
"monitor.detail.status": "狀態",
"monitor.detail.time-series.unavailable": "無法提供歷史圖表數據,請設定時序資料庫",
"monitor.detail.value.null": "無數據",
"monitor.detect": "測試連接",
"monitor.detect.failed": "測試連線失敗",
"monitor.detect.success": "測試連線成功",
"monitor.detect.tip": "測試檢查監控的可用性狀態",
"monitor.edit": "編輯",
"monitor.edit-monitor": "編輯監控",
"monitor.edit.failed": "修改監控失敗",
"monitor.edit.success": "修改監控成功",
"monitor.enable": "恢復監控",
"monitor.export": "匯出監控",
"monitor.export.switch-type": "請選擇匯出文件格式!",
"monitor.export.use-type": "以 {{type}} 檔案格式匯出監控",
"monitor.grafana.enabled.label": "啓用Grafana監控",
"monitor.grafana.enabled.tip": "是否啓用Grafana監控",
"monitor.grafana.upload.label": "上傳Grafana模板",
Expand All @@ -621,21 +671,47 @@
"monitor.holdingRegisterAddresses.tip": "輸入暫存器位址",
"monitor.host": "目標Host",
"monitor.host.tip": "被監控的對端IP或域名",
"monitor.icon.bigdata": "dot-chart",
"monitor.icon.cache": "group",
"monitor.icon.center": "laptop",
"monitor.icon.cn": "cloud-server",
"monitor.icon.custom": "project",
"monitor.icon.db": "console-sql",
"monitor.icon.mid": "cluster",
"monitor.icon.network": "global",
"monitor.icon.os": "windows",
"monitor.icon.program": "code",
"monitor.icon.service": "appstore",
"monitor.icon.webserver": "database",
"monitor.import": "導入監控",
"monitor.intervals": "監控周期",
"monitor.intervals.tip": "周期性采集數據的時間間隔,單位秒",
"monitor.keyword.tip": "輸入需要監控的關鍵字",
"monitor.list": "監控列表",
"monitor.name": "任務名稱",
"monitor.name.tip": "標識監控任務的名稱",
"monitor.new": "新增",
"monitor.new-monitor": "新增監控",
"monitor.new.failed": "新增監控失敗",
"monitor.new.notify.change-to-http": "已關閉HTTPS,連接埠號碼自動變更為 80,請留意。",
"monitor.new.notify.change-to-https": "已開啟HTTPS,連接埠號碼自動變更為 443,請留意。",
"monitor.new.success": "新增監控成功",
"monitor.not-found": "查詢異常,此監控不存在",
"monitor.path.tip": "匯出器Url端點路徑",
"monitor.payload.tip": "可用於 POST PUT",
"monitor.privateKey.tip": "啟動RSA私鑰",
"monitor.search.app": "類型篩選",
"monitor.search.placeholder": "搜尋監控",
"monitor.search.tag": "標籤篩選",
"monitor.sitemap.tip": "網站地圖 EG:/sitemap.xml",
"monitor.spinning-tip.detecting": "Available Detecting",
"monitor.status": "任務狀態",
"monitor.status.all": "全部狀態",
"monitor.status.down": "宕機",
"monitor.status.paused": "暫停",
"monitor.status.unreachable": "不可達",
"monitor.status.up": "正常",
"monitor.total": "總量",
"monitor.uri.tip": "網站 uri 路徑(無 ip 連接埠) EG:/console",
"monitor.url.tip": "服務:jmx:rmi:///jndi/rmi://host:port/jmxrmi",
"placeholder.key": "",
Expand All @@ -653,6 +729,7 @@
"plugin.type.POST_ALERT": "告警後",
"plugin.type.POST_COLLECT": "採集後",
"plugin.upload": "上傳外掛",
"question.link": "https://hertzbeat.apache.org/docs/help/issue/",
"settings.object-store": "文件服務配置",
"settings.object-store.obs.accessKey": "AccessKey",
"settings.object-store.obs.accessKey.placeholder": "華為雲的AccessKeyId",
Expand Down

0 comments on commit e244bdc

Please sign in to comment.