feat: use i18n

This commit is contained in:
Qiuxia Fan
2021-12-16 15:36:18 +08:00
parent 857bf37169
commit 5bb6ca625b
4 changed files with 35 additions and 25 deletions

View File

@@ -17,6 +17,7 @@
const msg = {
generalService: "General Service",
services: "Services",
service: "Service",
traces: "Traces",
metrics: "Metrics",
serviceMesh: "Service Mesh",
@@ -43,8 +44,14 @@ const msg = {
eventList: "Event List",
databasePanel: "Database Panel",
meshServicePanel: "Service Panel",
newDashboard: "New a dashboard",
newDashboard: "Create a new dashboard",
dashboardEdit: "Edit the dashboard",
edit: "Edit",
delete: "Delete",
layer: "Layer",
endpoint: "Endpoint",
instance: "Instance",
create: "Create",
hourTip: "Select Hour",
minuteTip: "Select Minute",
secondTip: "Select Second",
@@ -71,9 +78,6 @@ const msg = {
reload: "Reload",
usermode: "User Mode",
editmode: "Edit Mode",
currentService: "Current Service",
currentEndpoint: "Current Endpoint",
currentInstance: "Current Instance",
currentVersion: "Current Version",
currentPage: "Current Page",
version: "Version",
@@ -109,8 +113,6 @@ const msg = {
all: "All",
success: "Success",
error: "Error",
service: "Service",
instance: "Instance",
endpoints: "Endpoints",
cache: "Cache",
global: "Global",
@@ -190,7 +192,6 @@ const msg = {
noneParentService: "No Parent Service",
serviceGroup: "Service Group",
endpointFilter: "Endpoint Filter",
editConfig: "Edit Config",
databaseView: "Database",
browserView: "Browser",
metricsView: "NOC - Network Operation Center",
@@ -257,6 +258,7 @@ const msg = {
scope: "Scope",
destService: "Destination Service",
destServiceInstance: "Destination Service Instance",
destEndpoint: "Destination Endpoint",
eventSource: "Event Source",
modalTitle: "Inspection",
selectRedirectPage: "Do you want to inspect Traces or Logs of %s service?",