feat: set root entity for dashboards and set lang (#48)

This commit is contained in:
Fine0830
2022-03-31 13:25:30 +08:00
committed by GitHub
parent ee06546c20
commit 13b508e896
8 changed files with 50 additions and 148 deletions

View File

@@ -41,12 +41,11 @@ const msg = {
dataPanel: "Data Plane",
controlPanel: "Control Plane",
eventList: "Event List",
databasePanel: "Database Panel",
meshServicePanel: "Service Panel",
newDashboard: "Create a new dashboard",
dashboardEdit: "Edit the dashboard",
edit: "Edit",
delete: "Delete",
confirm: "Confirm",
layer: "Layer",
endpoint: "Endpoint",
instance: "Instance",
@@ -145,56 +144,26 @@ const msg = {
title: "Title",
width: "Width",
height: "Height",
login: "Login Now",
signout: "Sign Out",
dashboard: "Dashboard",
topology: "Topology",
trace: "Trace",
alarm: "Alarms",
event: "Event",
auto: "Auto",
reload: "Reload",
usermode: "User Mode",
editmode: "Edit Mode",
currentVersion: "Current Version",
currentPage: "Current Page",
version: "Version",
page: "Page",
currentDatabase: "Current Database",
templateConfig: "Template Configuration",
copy: "Copy",
reset: "Reset",
apply: "Apply",
createTemplate: "Create Template",
templateType: "Template Type",
templateName: "Template Name",
template: "Template",
confirm: "Confirm",
cancel: "Cancel",
createTab: "Create Tab",
tabName: "Tab Name",
nouse: "No Use",
allServices: "All Services",
serviceDetail: "Service Detail",
detectPoint: "Detect Point",
callType: "Call Type",
server: "Server",
client: "Client",
name: "Name",
types: "Types",
cpm: "Cpm",
sla: "SLA",
latency: "Latency",
avgResponseTime: "Avg Response Time ( ms )",
avgThroughput: "Load (CPM - calls per minute)",
avgSLA: "Successful Rate ( % )",
all: "All",
success: "Success",
error: "Error",
endpoints: "Endpoints",
cache: "Cache",
global: "Global",
serviceendpoint: "ServiceEndpoint",
serviceinstance: "ServiceInstance",
databaseaccess: "DatabaseAccess",
servicerelation: "ServiceRelation",
@@ -229,14 +198,8 @@ const msg = {
weekCutTip: "Last 1 week",
monthCutTip: "Last 1 month",
serverZone: "Server Zone",
percentResponse: "Response Time Percentile ( ms )",
exportImage: "Export image",
queryData: "Query",
previousService: "Previous Service",
nextService: "Next Service",
object: "Object",
ShowInstanceDependency: "Show Instance Dependency",
InstanceDependencyTitle: "Service Instance Dependency",
profile: "Profile",
newTask: "New Task",
monitorTime: "Monitor Time",
@@ -256,27 +219,16 @@ const msg = {
excludeChildren: "Exclude Children",
view: "View",
timeTips: "Time interval cannot exceed 60 days",
standardAPM: "Standard",
entityType: "Entity Type",
maxItemNum: "Max number of Item",
independentSelector: "Selectors",
unknownMetrics: "Unknown Metrics",
labels: "Labels",
aggregation: "Calculation",
unit: "Unit",
labelsIndex: "Label Subscript",
parentService: "Parent Service",
isParentService: "Set Parent Service",
noneParentService: "No Parent Service",
group: "Service Group",
endpointFilter: "Endpoint Filter",
databaseView: "Database",
browserView: "Browser",
metricsView: "NOC - Network Operation Center",
sortOrder: "Sort Order",
descendOrder: "Descend Order",
increaseOrder: "Increase Order",
defaultOrder: "Default Order",
chartType: "Chart Type",
currentDepth: "Current Depth",
showDepth: "Show Depth Selector",
@@ -364,9 +316,6 @@ const msg = {
noticeTag: "Please press Enter after inputting a tag(key=value).",
conditionNotice:
"Notice: Please press Enter after inputting a tag, key of content, exclude key of content(key=value).",
cacheModalTitle: "Clear cache reminder",
cacheReminderContent:
"SkyWalking detected dashboard template updates, do you want to update?",
language: "Language",
};
export default msg;