Skip to content

Commit

Permalink
Merge pull request #2741 from Patrick-LuoYu/locale-package
Browse files Browse the repository at this point in the history
docs: Update locale package.
  • Loading branch information
ks-ci-bot authored Dec 3, 2021
2 parents a94febd + 6030199 commit 8881d85
Show file tree
Hide file tree
Showing 96 changed files with 548 additions and 510 deletions.
142 changes: 0 additions & 142 deletions locales/en/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,39 +84,8 @@ module.exports = {
CHOOSE_PROVIDER_DESC:
'KubeSphere provides a solution for quickly deploying Kubernetes clusters among mainstream service providers',

VISIBILITY_PARTIAL: 'Visible to Some Workspaces',
VISIBILITY_PUBLIC: 'Visible to All Workspaces',

MULTI_CLUSTER: 'Multi-Clusters',

IMPORT_CLUSTER_DESC: 'Import an existing Kubernetes cluster.',
SELECT_CLUSTERS_DESC: 'Select clusters to be used in the workspace.',

CLUSTER_SETTINGS_DESC: 'Define cluster configuration information',
TAG: 'Tag',
CLUSTER_TAG_DESC: 'Select a tag to identify the purpose of the cluster.',
CLUSTER_PROVIDER_DESC: 'Select the provider of the cluster infrastructure.',
CLUSTER_CONNECT_METHOD_DESC:
'Directly connect to the cluster or use an agent.',

CONNTECT_DIRECT: 'Direct connection',
CONNTECT_PROXY: 'Agent connection',

WAIT_FOR_CLUSTER_DESC:
'The cluster is unavailable. Perform the following steps to add the cluster.',

CLUSTER_AGENT_TIP_1:
'1. Log in to the cluster over SSH and run the <span class="code">vi agent.yaml</span> command to create a configuration file.',
CLUSTER_AGENT_TIP_2:
'2. Copy the following information to the <span class="code">agent.yaml</span> file.',
CLUSTER_AGENT_TIP_3:
'3. Run the <span class="code">kubectl create -f agent.yaml</span> command to add the cluster.',
CLUSTER_AGENT_TIP_3_DESC:
'This operation may take a while. Please wait until the cluster status is updated.',

CLUSTER_CONDITIONS: 'Cluster Conditions',
CLUSTER_BASE_INFO_DESC:
'Basic information provides an overview of the cluster. You can view and edit cluster information.',
CLUSTER_INFO_TCAP: 'Cluster Information',

INVITE_CLUSTER_MEMBER_DESC: 'You can invite new members to this cluster.',
Expand All @@ -125,22 +94,6 @@ module.exports = {
CLUSTER_API_SERVER_DESC:
'You need to input the KubeSphere API Server address to be added to the cluster',

INPUT_KUBECONFIG: 'Please fill in the kubeconfig of the target cluster',

CLUSTER_DIRECT_IMPORT_TIP:
'The multi-cluster control plane of KubeSphere connects to the member cluster through the kubeconfig provided. For this method, the host cluster must be able to directly access the member cluster through the server address in the kubeconfig.</br></br>This method generally applies to the scenarios like the following:</br>1. The host cluster and the member cluster are in the same internal network.</br>2. The network of both the host cluster and the member cluster is connected through VPN or other technologies (e.g. Tunneling).</br>3. The server address in the kubeconfig can be accessed through public network.',
CLUSTER_AGENT_IMPORT_TIP:
'The KubeSphere control plane connects to the member cluster through a proxy. The control plane runs a public proxy service, which is connected to a client component created by the member cluster. Thus, a reserve proxy is created. For this method, the control plane and the member cluster do not need to be in the same network. The apiserver address of the member cluster does not need to be exposed. However, network performance may be affected.</br></br>This method generally applies to the scenarios like the following:</br>1. The host cluster and the member cluster are not in the same network.<br/>2. The network of both the host cluster and the member cluster cannot be connected through VPN or other technologies (e.g. Tunneling).<br/>3. Network performance deficiencies within clusters can be accepted.',
CLUSTER_AGENT_TITLE:
'Please add the member cluster based on the agent provided in the cluster.',
CLUSTER_AGENT_DESC: 'A corresponding agent needs to be set in the cluster.',

HOW_TO_GET_KUBECONFIG: 'How do I get kubeconfig?',

UNBIND_CLUSTER_DESC:
'After the cluster is unbound, KubeSphere will not be able to manage the cluster. The Kubernetes resources on the cluster will not be deleted.',
SURE_TO_UNBIND_CLUSTER: 'I understand the risks of this operation',

AUTHORIZE_CLUSTER_TO_WORKSPACE_DESC:
'Clusters can be assigned to workspaces through authorization.',

Expand All @@ -150,120 +103,25 @@ module.exports = {
CLUSTER_AUTHORIZATION_DESC:
'The cluster can be assigned to workspaces through authorization.',

CLUSTER_VISIBILITY_Q1: 'How do I authorize a cluster to specific workspaces?',
CLUSTER_VISIBILITY_A1:
'You can assign a cluster to specific workspaces by clicking Edit Visibility.',
CLUSTER_VISIBILITY_Q2: 'What are public clusters?',
CLUSTER_VISIBILITY_A2:
'Public clusters can be accessed by all platform users. Users can create and schedule resources on public clusters.',

SELECT_HOST_CLUSTER_WARNING:
'The current system is a multi-cluster system. Please avoid creating resources in the host cluster if possible. Excessive loads in the host cluster will decrease the stability of the multi-cluster system.',
HOST_CLUSTER_VISIBILITY_WARNING:
'The stability of the multi-cluster system will decrease if the host cluster is overloaded. Exercise caution when assigning the host cluster to workspaces.',
CLUSTER_VISIBILITY_REMOVE_WARNING:
'After the authorization for a workspace to use the cluster is removed, all resources of the workspace on the cluster will be deleted.',

REMOVE_WORKSPACE_CONFIRM_TITLE: 'Remove Authorization',
REMOVE_WORKSPACE_CONFIRM_DESC:
'Enter the name of the workspace(s) <strong>{resource}</strong> to confirm that you understand the risks of this operation.',

SELECT_ADD_CLUSTER_METHOD: 'Choose how to add a cluster',
SELECT_ADD_CLUSTER_METHOD_DESC:
'Support for adding new clusters and importing existing clusters.',

NEW_CLUSTER_DESC: 'add a new Kubernetes cluster',
CLUSTER_NODE_SETTINGS_DESC: 'add the nodes for the cluster',
NODE_INTERNAL_IP_DESC:
'Set the internal IP address of the node in the KubeSphere cluster.',
EDGENODE_INTERNAL_IP_DESC:
'Set the internal IP address of the edge node in the KubeSphere cluster.',
NODE_INTERNAL_IP_EMPTY_DESC:
'Please set the internal IP address of the node in the KubeSphere cluster.',
EDGENODE_INTERNAL_IP_EMPTY_DESC:
'Please set the internal IP address of the edge node in the KubeSphere cluster.',
NODE_ROLE_DESC: 'Set the role of the node in the cluster.',
NODE_EXTERNAL_IP_DESC:
'Enter the node IP address and port number used for SSH login.',
NODE_EXTERNAL_IP_EMPTY_DESC:
'Please enter the node IP address and port number used for SSH login.',
SSH_AUTH_MODE_DESC: 'Select an SSH authentication mode.',
NODE_USERNAME_DESC: 'Enter the username used for SSH login.',
NODE_PASSWORD_DESC: 'Enter the password used for SSH login.',

K8S_CLUSTER_SETTINGS_DESC: 'Initially configure the new Kubernetes cluster.',

CLUSTER_MAX_PODS_DESC:
'maxPods is the number of pods that can run on this Kubelet. [Default: 110].',

K8S_NETWORK_PLUGIN_CALICO:
'Calico is a pure 3-layer network solution that seamlessly integrates the IaaS cloud architecture and can provide IP communication between VMs, containers, and bare metal.',
K8S_NETWORK_PLUGIN_FLANNEL:
'Flannel allows Docker containers created by different node hosts in the cluster to have a unique virtual IP address in the entire cluster',
K8S_NETWORK_PLUGIN_CILIUM:
'eBPF-based Networking, Security, and Observability.',

KUBE_PODS_CIDR_DESC:
"The pod running on the node allocates IP addresses from the node's pod CIDR range.",
KUBE_SERVICE_CIDR_DESC: 'IP address range assigned to the service.',

CLUSTER_COMPONENTS_DESC: 'Customize the service components of the cluster.',

CLUSTER_ADVANCED_SETTINGS_DESC:
'You can configure the services you need according to your needs.',
CLUSTER_PRIVATE_REGISTRY_DESC:
'Configure a private registry for the cluster. The cluster will use this registry to pull all the required mirrors.',

CLUSTER_CONTROLPLANE_ENDPOINT: 'Cluster Access EndPoint',
CLUSTER_CONTROLPLANE_ENDPOINT_DESC:
'Directly communicate with the cluster through the authorized cluster access address, and generate kubeconfig for the cluster to access the cluster.',
CLUSTER_ETCD_BACKUP_DESC: 'Make regular backup settings for etcd',
CLUSTER_ETCD_BACKUP_DIR_DESC:
'The location to store etcd backups files on etcd host machines.',
CLUSTER_ETCD_BACKUP_PERIOD_DESC:
'Period of running backup etcd job, the unit is minutes.',
CLUSTER_ETCD_BACKUP_NUMBER_DESC: 'How many backup replicas to keep.',
CLUSTER_KUBESPHERE_SETTINGS_DESC: 'Customized settings for KubeSphere',
CREATING_CLUSTER: 'Creating the cluster...',
CREATING_CLUSTER_DESC:
'The cluster is being created and is currently unavailable.',
COPY_SUCCESSFUL: 'Copied successfully.',
CLUSTER_INIT_FAILED: 'Cluster initialization failed.',
CLUSTER_CREATION_PROGRESS: 'Cluster Creation Progress',
INIT_NODES: 'Initialize nodes',
PULL_IMAGES: 'Pull images',
INIT_ETCD_CLUSTER: 'Initialize the etcd cluster',
INIT_CONTROL_PLANE: 'Initialize the control plane',
JOIN_NODES: 'Add nodes',
INSTALL_ADDONS: 'Install plugins',
FETCHING_LOGS: `Fetching logs...`,
CURRENT_STEP: 'Current step: {step}',

MASTER_NODE_COUNT_TIP: 'The number of Master nodes needs to be 1 or 3',
WORKER_NODE_COUNT_TIP: 'The number of Worker nodes is at least 1',

CLUSTER_CREATION_PROGRESS_TIP:
'Depending on the cluster size and infrastructure environment, cluster creation may take 30 to 60 minutes.',

CLUSTER_UPGRADE_REQUIRED:
'The current KubeSphere version does not support this function. Please upgrade KubeSphere to {version} or later.',
MEMBER_CLUSTER_UPGRADE_TIP:
'Member clusters with versions earlier than {version} do not support this function. Please upgrade the member clusters to {version} or later.',

// Unbind Cluster
UNBIND_CLUSTER_Q: 'Unbind Cluster',

// Cluster Visibility
NODE: 'Node',
ADMINISTRATOR: 'Administrator',
CLUSTER_VISIBILITY: 'Cluster Visibility',
CLUSTER_VISIBILITY_DESC:
'Cluster visibility controls the cluster authorization to workspaces. After a cluster is authorized to workspaces, you can view and manage the cluster resources in the workspaces.',
EDIT_VISIBILITY_DESC: 'Edit the cluster visibility in workspaces.',
UNAUTHORIZED: 'Unauthorized',
AUDITING: 'Auditing',
REMOVE_WORKSPACE_CONFIRM_SI:
'Enter the workspace name <strong>{resource}</strong> to confirm that you understand the risks of this operation.',
REMOVE_WORKSPACE_CONFIRM_PL:
'Enter the workspace names <strong>{resource}</strong> to confirm that you understand the risks of this operation.',
}
67 changes: 0 additions & 67 deletions locales/en/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,32 +21,12 @@ module.exports = {
components: 'components',
Components: 'Components',
'Installed Components': 'Installed Components',
INSTANCE_COUNT: 'Instances',
'Not Installed Components': 'Not Installed Components',
RUNNING_STATUS: 'Running Status',
SERVICE_DETAILS: 'Service Details',

SERVICE_COMPONENTS_DESC:
'System components are software components in the KubeSphere system, which provide various functions. You can view the running status of services components on this page.',

KS_ACCOUNT_DESC: 'Provides users and authorizations management API',
KS_APIGATEWAY_DESC:
'Responsible for processing service requests and handling all tasks in the API call process.',
KS_APISERVER_DESC:
'Provides REST APIs for cluster management. This component is also used for communication between cluster components and cluster security control.',
KS_CONSOLE_DESC: 'Provides KubeSphere console services.',
OPENLDAP_DESC: 'Stores and manages user information in a centralized manner.',
REDIS_DESC:
'Open-source, in-memory data structure store, which is used as a database, cache, and message broker.',

COREDNS_DESC:
'Provides the service discovery function for the Kubernetes cluster.',
KUBE_CONTROLLER_MANAGER_DESC:
'Daemon that embeds the core control loops shipped with Kubernetes.',
KUBE_SCHEDULER_DESC:
'Kubernetes scheduler that assigns pods to appropriate nodes.',
METRICS_SERVER_DESC:
'Kubernetes monitoring component that collects metrics from kubelet of each node.',
TILLER_DEPLOY_DESC:
'Helm server, interacts directly with the Kubernetes API server to install, upgrade, query, and remove Kubernetes resources',
OPENPITRIX_API_GATEWAY_DESC:
Expand Down Expand Up @@ -88,31 +68,11 @@ module.exports = {
'Automatically injects sidecar for configuring the pod',
ISTIO_TELEMETRY_DESC:
'Provides Envoy with data reporting and log collection services',
JAEGER_COLLECTOR_DESC:
'Collects sidecar data. The sidecar of Istio is jaeger-agent.',
JAEGER_COLLECTOR_HEADLESS_DESC:
'Collects sidecar data. The sidecar of Istio is jaeger-agent.',
JAEGER_OPERATOR_DESC:
'Responsible for creating the jaeger service and automatically applying it to the jaeger service when update',
JAEGER_QUERY_DESC:
'Accepts query requests, retrieves traces from the backend storage system, and displays the data on the web UI.',

KUBE_STATE_METRICS_DESC:
'Listens on the Kubernetes API server to obtain the status of cluster API objects such as nodes, workloads, and pods, and generates monitoring data for Prometheus.',
NODE_EXPORTER_DESC:
'Provides monitoring data of all cluster nodes for Prometheus.',
PROMETHEUS_K8S_DESC:
'Provides monitoring data of nodes, workloads, and API objects.',
PROMETHEUS_K8S_SYSTEM_DESC:
'Provides monitoring data for Kubernetes components such as etcd, coredns, kube-apiserver, kube-scheduler and kube-controller-manager',
PROMETHEUS_OPERATED_DESC:
'Service corresponding to all Prometheus instances, which is used internally by Prometheus Operator.',
PROMETHEUS_OPERATOR_DESC: 'Manages Prometheus instances.',

ELASTICSEARCH_LOGGING_DATA_DESC:
'Provides Elasticsearch services such as data storage, backup, and searching.',
ELASTICSEARCH_LOGGING_DISCOVERY_DESC:
'Provides Elasticsearch cluster management services.',

LOGSIDECAR_INJECTOR_DESC:
'Injects a sidecar container in a pod for disk log collection',
Expand All @@ -130,41 +90,14 @@ module.exports = {
'The s2i controller provides full declaration period management for s2i',
UC_JENKINS_UPDATE_CENTER_DESC:
'Jenkins update center that provides installation packages for Jenkins plugins',
WEBHOOK_SERVER_SERVICE_DESC:
'Provides the default values and authentication webhook for S2I.',

MYSQL_DESC:
'An open-source database management system that allows users to manage relational databases. Data in these databases are structured or organized in the form of tables or columns, instead of being stored in one big storeroom',
ETCD_DESC:
'A reliable distributed data store that persistently stores the cluster configuration',
TOWER_DESC: 'Tool used for network connection between clusters over proxy.',
KUBE_SCHEDULER_SVC_DESC:
'Kubernetes scheduler that assigns pods to appropriate nodes.',
KUBE_CONTROLLER_MANAGER_SVC_DESC:
'Daemon that embeds the core control loops shipped with Kubernetes.',

S2IOPERATOR_METRICS_SERVICE_DESC:
'S2I monitoring service that provides basic monitoring data.',
MINIO_DESC:
'Open-source high performance object storage server ideal for storing massive unstructured data.',
ALERTMANAGER_OPERATED_DESC:
'Alertmanager service used for integrating Alertmanager with Prometheus.',
ALERTMANAGER_MAIN_DESC: 'Alertmanager Web UI service.',
NOTIFICATION_MANAGER_SVC_DESC:
'Provides interfaces for sending notifications such as emails, WeChat messages, and Slack messages.',
NOTIFICATION_MANAGER_CONTROLLER_METRICS_DESC:
'Provides internal monitoring data for Notification Manager Controller.',
HYPERPITRIX_DESC:
'A component that provides the App Store service for Helm-based applications and lifecycle management of apps',
JAEGER_OPERATOR_METRICS_DESC: 'Provides monitoring metrics for Operator.',
LOGSIDECAR_INJECTOR_ADMISSION_DESC:
'Automatically injects sidecar containers into pods for disk log collection.',
KS_EVENTS_ADMISSION_DESC:
'Provides the authentication webhook for event rule management.',
KS_EVENTS_RULER_DESC:
'Event rule engine service that provides filtering and alerting features.',
KS_CONTROLLER_MANAGER_DESC:
'Implements service logic. This component creates permissions when a workspace is created and generates Istio configuration for service strategies.',
KUBE_AUDITING_WEBHOOK_SVC_DESC:
'Used for audit collection, comparison, persistence, and alerting.',
}
22 changes: 3 additions & 19 deletions locales/en/gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,15 @@ module.exports = {

'Add Gateway Config': 'Add Gateway Config',

LOAD_BALANCER_SCAP: 'Load balancer',
LOAD_BALANCERS_SCAP: 'Load balancers',
USE_DEFAULT_ANNOTATIONS: 'Use Default Annotations',
GATEWAY_IP: 'Access address',
UPDATE_GATEWAY_DESC: 'The current gateway can be updated.',
DISK_LOG_COLLECTION_DESC:
'The Log Collection function allows the system to collect container logs saved on volumes and send the logs to standard output.',

UPDATED_GATEWAY_DESC:
'Please operate during the low peak period of the business. The upgrade process may cause a short business interruption. ',
UPDATED_GATEWAY_TITLE: 'Confirm to upgrade the gateway?',
CLUSTER_GATEWAY_GUIDE_DESC:
'If the cluster gateway and project gateway both exist, the project gateway cannot be enabled after it is disabled. You are advised to used either the cluster gateway or project gateway.',

'Request Count': 'Request Count',
CONNECTION_COUNT: 'Connections',
FAILED_REQUEST_COUNT: 'Failed Requests',
AVERAGE_LATENCY: 'Average Latency',
P_FIFTY_LATENCY: 'P50 Latency',
P_NINETY_FIVE_LATENCY: 'P95 Latency',
P_NINETY_NINE_LATENCY: 'P99 Latency',
FOUR_XX_REQUEST_COUNT: '4XX Requests',
FIVE_XX_REQUEST_COUNT: '5XX Requests',
TOTAL_REQUESTS: 'Total Requests',
SUCCESSFUL_REQUESTS: 'Successful Requests',
GATEWAYS_REPLICA_DESC:
'Deployment is used to describe the desired target state of the application. It is mainly used to describe the stateless application. The number and state of replicas are maintained by the controller behind it to ensure that the state is consistent with the defined desired state. You can increase the number of replicas to meet higher loads; roll back the deployed version to eliminate erroneous changes to the program; create an autoscaler to flexibly respond to the load in different scenarios. ',

PROJECT_GATEWAY_EMPTY_DESC:
'The cluster management page does not support the setting of the project gateway. If you need to set it, you need to go to the corresponding project to set it.',
}
Loading

0 comments on commit 8881d85

Please sign in to comment.