Skip to content

Commit

Permalink
doc: Modify the doc words (#971)
Browse files Browse the repository at this point in the history
Signed-off-by: harrisonliu5 <harrisonliu@kubesphere.io>
  • Loading branch information
harrisonliu5 authored Mar 22, 2023
1 parent 125b24e commit f92975e
Show file tree
Hide file tree
Showing 66 changed files with 480 additions and 391 deletions.
5 changes: 4 additions & 1 deletion locales/en/ent-about.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@

module.exports = {
ENT_TITLE: 'KubeSphere Enterprise',
KS_QKCP_DESCRIPTION: 'KubeSphere Enterprise is an enterprise-grade container platform developed by QingCloud based on the open-source KubeSphere platform.',
KS_QKCP_DESCRIPTION:
'KubeSphere Enterprise is an enterprise-grade container platform developed by QingCloud based on the open-source KubeSphere platform.',
ABOUT_KUBESPHERE_ENTERPRISE: 'About KubeSphere Enterprise',
KUBESPHERE_CLOUD_DESC:
'KubeSphere Cloud builds a digital ecosystem focusing on Kubernetes and provides cloud-native products and services of high standard, such as KubeSphere Backup, KubeSphere Inspector, and KubeSphere Lite, helping enterprises manage, protect, and deliver production-ready applications more efficiently.',
}
21 changes: 14 additions & 7 deletions locales/en/ent-clusterManagement-clusters.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,19 @@ module.exports = {
HAS_SAME_TAG: 'The tag already exists. Please select another tag.',
// Cluster List > Batch Manage > Edit Tags
CLUSTER_REPEATED_TAGS_DESC: 'The tag keys must be unique for each cluster.',
CLUSTER_MAX_TAGS_DESC: 'Each cluster is allowed to carry a maximum of 5 tags.',
CLUSTER_MAX_TAGS_DESC:
'Each cluster is allowed to carry a maximum of 5 tags.',
EMPTY_TAG_LABEL_DESC: 'Please enter the tag key.',
EMPTY_TAG_VALUE_DESC: 'Please enter the tag value.',
HAS_ADD_TAGS: 'Added Tags',
// Cluster List > Add Cluster
CLUSTER_TYPE_DESC: 'Select a type to identify the purpose of the cluster.',
// Cluster List > Remove Cluster
DELETE_CLUSTER_SWIPE_DESC: 'I understand the risks of this operation.',
DELETE_CLUSTER_NOTIFICATION_CONFIGURAITON: 'Delete all notification configuration data in the cluster',
REMOVE_CLUSTER_TIP_C: 'After the cluster is removed, multi-cluster configuration data in the cluster will not be cleared automatically. Uninstalling KubeSphere or deleting related resources may cause user data loss. You must manually clear the multi-cluster configuration data in the removed cluster by refering to the "Remove a Member Cluster" section in the KubeSphere Enterprise Platform Management Guide.',
DELETE_CLUSTER_NOTIFICATION_CONFIGURAITON:
'Delete all notification configuration data in the cluster',
REMOVE_CLUSTER_TIP_C:
'After the cluster is removed, multi-cluster configuration data in the cluster will not be cleared automatically. Uninstalling KubeSphere or deleting related resources may cause user data loss. You must manually clear the multi-cluster configuration data in the removed cluster by refering to the "Remove a Member Cluster" section in the KubeSphere Enterprise Platform Management Guide.',
// Cluster Tags
CLUSTER_TAG: 'Cluster Tag',
CLUSTER_TAGS: 'Cluster Tags',
Expand All @@ -43,20 +46,24 @@ module.exports = {
TAG_PL: 'Tags',
CREATE_TAGS: 'Create Tags',
CREATE_TAGS_DESC: 'The keys of different tags can be the same.',
ENT_CLUSTER_TAG_DESC: 'The key and value cannot be empty. The maximum length is 63 characters.',
ENT_CLUSTER_TAG_DESC:
'The key and value cannot be empty. The maximum length is 63 characters.',
CLUSTER_TAG_EMPTY_DESC: 'Please add a tag.',
// Cluster Tags > Delete
DELETE_MULTIPLE_TAGS: 'Delete Multiple Tags',
DELETE_TAG: 'Delete Tag',
DELETE_CLUSTER_TAG_DESC: 'Deleted tags will be removed from all clusters.',
DELETE_CLUSTER_TAG_CONFIRM_DESC: 'Please enter the tag key and value <strong>{resource}</strong> to confirm that you understand the risks of this operation.',
DELETE_CLUSTER_TAGS_CONFIRM_DESC: 'Please enter the tag keys and values <strong>{resource}</strong> to confirm that you understand the risks of this operation.',
DELETE_CLUSTER_TAG_CONFIRM_DESC:
'Please enter the tag key and value <strong>{resource}</strong> to confirm that you understand the risks of this operation.',
DELETE_CLUSTER_TAGS_CONFIRM_DESC:
'Please enter the tag keys and values <strong>{resource}</strong> to confirm that you understand the risks of this operation.',
// Cluster Tags > Edit
EDIT_TAG: 'Edit Tag',
// Cluster Tags > Bind Clusters
ADD_TO_CLUSTERS: 'Add to Clusters',
ADD_TAG_TO_CLUSTERS: 'Add Tag to Clusters',
ADD_TAG_DESC: 'The tag keys must be unique for each cluster. New tags do not overwrite existing tags.',
ADD_TAG_DESC:
'The tag keys must be unique for each cluster. New tags do not overwrite existing tags.',
ADD_TAG_SUCCESSFUL: 'The tag was added successfully.',
// Cluster Tags > Unbind Clusters
REMOVE_FROM_CLUSTERS: 'Remove from Clusters',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
*/

module.exports = {
// Banner
ALERT_MESSAGE_DESC: 'Alerts are generated when resource metrics meet conditions configured in rule groups.',
// Custom > List
ALERTS_FROM_CUSTOM_POLICIES: 'From Custom Rules',
ALERTS_FROM_BUILT_IN_POLICIES: 'From Built-in Rules',
//alert
ACTIVATION_CONDITION_SCAP: 'Activation condition',
}
6 changes: 3 additions & 3 deletions locales/en/ent-observabilityCenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ module.exports = {
GPU_MEMORY_UTILIZATION: 'Graphics Memory Usage (%)',
NODE_GPU_UTILIZATION: 'GPU Usage (%)',
NODE_GPU_MEMORY_UTILIZATION: 'Graphics Memory Usage (%)',
GPU_USAGE_TCAP:'GPU Usage',
GPU_MEMORY_USAGE:'Graphics Memory Usage',
SORT_BY_DESC :'Descending',
GPU_USAGE_TCAP: 'GPU Usage',
GPU_MEMORY_USAGE: 'Graphics Memory Usage',
SORT_BY_DESC: 'Descending',
SORT_BY_ASC: 'Ascending',
// Pods
OOM_KILL_PODS: 'OOM killed pods',
Expand Down
2 changes: 1 addition & 1 deletion locales/en/l10n-clusterManagement-clusters.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports = {
REMOVE_CLUSTER_TIP_A:
'After the cluster is removed, resources in the cluster will not be cleared automatically.',
REMOVE_CLUSTER_TIP_B:
'After the cluster is removed, multi-cluster configuration data will not be cleared automatically. Uninstalling KubeSphere or deleting related resources may cause user data loss. You must manually clear the multi-cluster configuration data in the removed cluster by refering to the official KubeSphere documentation.',
'After the cluster is removed, multi-cluster configuration data in the cluster will not be cleared automatically. Uninstalling KubeSphere or deleting related resources may cause user data loss. You must manually clear the multi-cluster configuration data in the removed cluster by refering to the official KubeSphere documentation.',
CLUSTER_CONFIRM_TEXT: 'I understand the risks of removing the cluster',
ENTER_CLUSTER_NAME:
'This operation cannot be undone. Enter the cluster name <strong>{name}</strong> to confirm that you understand the risks of this operation.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with KubeSphere Console. If not, see <https://www.gnu.org/licenses/>.
*/

module.exports = {
// Banner
ALERTING_MESSAGE_PL: 'Alerts',
// Custom Policies > List
ALERT_MESSAGE_DESC:
'Alerts are generated when resource metrics meet conditions configured in rule groups.',
// Custom > List
ALERTS_FROM_CUSTOM_POLICIES: 'From Custom Rules',
ALERTS_FROM_BUILT_IN_POLICIES: 'From Built-in Rules',
TRIGGER_TIME: 'Trigger Time',
ALERTING_MESSAGE_EMPTY_DESC: 'No alert is found in the current project.',
MONITORING_TARGET: 'Monitoring Target',
// Built-in Policies > List
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ module.exports = {
// Alerting Rule
ALERTING_RULE: 'Alerting Rule',
MONITORING_TARGETS_SCAP: 'Monitoring targets',
ACTIVATION_CONDITION_SCAP: 'Activation condition',
TRIGGER_CONDITION_SCAP: 'Trigger condition',
METRIC_MONITORING: 'Metric Monitoring',
ALERT_MONITORING: 'Alert Monitoring',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@

module.exports = {
// Banner
ALERTING_POLICY_PL: 'Alerting Policies',
ALERTING_POLICY_PL: 'Rule Groups',
ALERTING_POLICY_DESC:
'Alerting policies are a series of conditions used to monitor cluster resources. You can create alerting policies to monitor resources.',
'A rule group contains alert rules used to monitor cluster resources.',
REQUESTS_FOR_TRIGGER_AN_ALARM_Q: 'How are alerts generated?',
REQUESTS_FOR_TRIGGER_AN_ALARM_A:
'You need to set an alerting policy for a resource. Alerts will be generated when the metric configured in the alerting policy reaches a threshold.',
'You need to create a rule group and set alert rules. The system will generate alerts when resource metrics meet conditions configured in rule groups.',
// List
CUSTOM_POLICIES: 'Custom Policies',
BUILT_IN_POLICIES: 'Built-in Policies',
ALERTING_POLICY_EMPTY_DESC: 'Please create an alerting policy.',
CUSTOM_POLICIES: 'Custom Rule Groups',
BUILT_IN_POLICIES: 'Built-in Rule Groups',
ALERTING_POLICY_EMPTY_DESC: 'Please create a rule group.',
ALERT_RULE_INACTIVE: 'Inactive',
ALERT_RULE_PENDING: 'Pending',
ALERT_RULE_FIRING: 'Firing',
Expand All @@ -37,7 +37,7 @@ module.exports = {
ALERT_RULE_HEALTH_UNKNOWN: 'UnKnown',
// List > Create > Basic Information
SEVERITY: 'Severity',
CREATE_ALERTING_POLICY: 'Create Alerting Policy',
CREATE_ALERTING_POLICY: 'Create Rule Group',
CRITICAL_ALERT: 'Critical',
ERROR_ALERT: 'Error',
WARNING_ALERT: 'Warning',
Expand All @@ -55,7 +55,6 @@ module.exports = {
MONITORING_TARGETS: 'Monitoring Targets',
SET_ACTIVATION_CONDITION_DESC: 'Please set a trigger condition.',
THRESHOLD: 'Threshold',
ABNORMAL_PODS: 'Abnormal pods',
UNAVAILABLE_POD_RATIO: 'Unavailable pod ratio (%)',
POD_QUOTA_UTILIZATION_SCAP: 'Pod quota usage (%)',
CPU_USAGE_SCAP: 'CPU usage',
Expand All @@ -76,7 +75,7 @@ module.exports = {
DATA_SEND_RATE: 'Network data sending rate',
MEMORY_USAGE_SCAP: 'Memory usage',
MEMORY_USAGE_WO_CACHE_SCAP: 'Memory usage without cache',
UNAVAILABLE_WORKLOAD_REPLICA_RATIO: 'Unavailable workload replica ratio',
UNAVAILABLE_WORKLOAD_REPLICA_RATIO: 'Unavailable replica ratio (%)',
SELECT_NODE_TIP: 'Please select at least one cluster node.',
// List > Create > Rule Settings > Custom Rule
CUSTOM_RULE: 'Custom Rule',
Expand All @@ -94,8 +93,8 @@ module.exports = {
NOTIFICATION_SUMMARY: 'Summary',
NOTIFICATION_DETAILS: 'Details',
// List > Edit
EDIT_ALERTING_POLICY: 'Edit Alerting Policy',
EDIT_ALERTING_POLICY: 'Edit Rule Group',
// List > Delete
ALERTING_POLICY: 'Alerting Policy',
ALERTING_POLICY_LOW: 'alerting policy',
ALERTING_POLICY: 'Rule Group',
ALERTING_POLICY_LOW: 'rule group',
}
18 changes: 6 additions & 12 deletions locales/en/l10n-clusterManagement-nodes-edgeNodes-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
module.exports = {
// Banner
EDGE_NODE_PL: 'Edge Nodes',
EDGE_NODE_DESC:
'Edge nodes are servers deployed outside the KubeSphere cluster. You can add edge nodes to the KubeSphere cluster to manage them.',
EDGE_NODE_DESC: 'Edge nodes are servers deployed outside the KubeSphere cluster. You can add edge nodes to the KubeSphere cluster to manage them.',
// Node Count

// List
Expand All @@ -32,20 +31,15 @@ module.exports = {
ADD_EDGE_NODE: 'Add Edge Node',
EDGENODE_CONFIG_COMMAND: 'Edge Node Configuration Command',
ADD_EDGE_COMMAND: 'Run the above command on your edge node to configure it.',
IN_USE_Node_IP:
'The IP address {ip} is in use. Please enter another IP address.',
IN_USE_Node_NAME:
'The node name {name} already exists. Please enter another name.',
IN_USE_Node_IP: 'The IP address {ip} is in use. Please enter another IP address.',
IN_USE_Node_NAME: 'The node name {name} already exists. Please enter another name.',
EDGENODE_NAME_EMPTY_DESC: 'Please set a name for the edge node.',
EDGENODE_CONFIG_COMMAND_TIP:
'Before running the command, you must install a container runtime such as Docker or containerd on your edge node.',
EDGENODE_CONFIG_COMMAND_TIP: 'Before running the command, you must install a container runtime such as Docker or containerd on your edge node. <a href="https://kubeedge.io/en/docs/" target="_blank">Learn More</a>',
ADD_DEFAULT_TAINT: 'Add the default taint {params}',
EDGE_NODE: 'Edge Node',
INTERNAL_IP_ADDRESS: 'Internal IP Address',
EDGENODE_INTERNAL_IP_DESC:
'Set the internal IP address of the edge node in the KubeSphere cluster.',
EDGENODE_INTERNAL_IP_EMPTY_DESC:
'Please set the internal IP address of the edge node in the KubeSphere cluster.',
EDGENODE_INTERNAL_IP_DESC: 'Set the internal IP address of the edge node in the KubeSphere cluster.',
EDGENODE_INTERNAL_IP_EMPTY_DESC: 'Please set the internal IP address of the edge node in the KubeSphere cluster.',
COPY_SUCCESSFUL: 'Copied successfully.',
// List > View Log
LOGS: 'Logs',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ module.exports = {
MINSIZE: 'Minimum Size',
STEPSIZE: 'Step Size',
FSTYPE: 'File System Type',
TAGS: 'Tag',
QINGCLOUD_CSI_TYPE_DESC:
'On QingCloud Public Cloud Platform, 0 means high performance volume; 2 high capacity volume; 3 ultra-high performance volume; 5 enterprise server SAN (NeonSAN); 100 standard volume; 200 enterprise SSD.',
CREATE_VOLUME_MAX_SIZE: 'Maximum size of the volume.',
Expand Down
21 changes: 14 additions & 7 deletions locales/en/l10n-devopsProjects-pipeline-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ module.exports = {
PIPELINE_QUEUED_TITLE: 'About to Complete Initialization',
INITIALIZING_PIPELINE: 'Pipeline Initializing',
PIPELINE_PREPARE_DESC: 'Preparing the environment...',
INITIALIZING_PIPELINE_DESC: 'Please wait until the pipeline initialization is complete.',
INITIALIZING_PIPELINE_DESC:
'Please wait until the pipeline initialization is complete.',
TASK_FAILED_NOT_OPERATIONAL: 'The stage has failed and is not operational.',
NO_PIPELINE_CONFIG_FILE_TIP: 'No pipeline configuration file is found.',
// Task Status > Edit Pipeline
Expand All @@ -58,17 +59,20 @@ module.exports = {
NOT_VALID_REPO: 'Code repo is not valid and cannot be created',
CREATE_PIPELINE_DESC: 'Build, test and deploy with Pipelines',
CI: 'Continuous Integration (CI)',
CI_DESC: 'Continuous integration (CI) is the process of automatically detecting, pulling, building, and (in most cases) unit testing after source code changes.',
CI_DESC:
'Continuous integration (CI) is the process of automatically detecting, pulling, building, and (in most cases) unit testing after source code changes.',
CICD: 'Continuous Integration & Delivery (CI/CD)',
CICD_DESC:
"Continuous deployment (CD) refers to the idea of automatically providing the release version in the continuous delivery pipeline to end users. According to the user's installation method, automatic deployment in the cloud environment, app upgrades (such as apps on mobile phones), website updates, or only the list of available versions.",
CUSTOM_PIPELIEN: 'Custom Pipeline',
CUSTOM_PIPELIEN_DESC: 'You can select the tasks you need to customize the contents of the pipeline.',
CUSTOM_PIPELIEN_DESC:
'You can select the tasks you need to customize the contents of the pipeline.',
CC: 'CC',
CREDENTIAL_NAME: 'Credential Name',
REMOTE_REPOSITORY_URL: 'Remote Repository URL',
SCM: 'SCM',
INPUT_MESSAGE_DESC: 'This message will be displayed in the pipeline running state.',
INPUT_MESSAGE_DESC:
'This message will be displayed in the pipeline running state.',
KUBERNETES_DEPLOY_DESC: `Deploy resources on a Kubernetes cluster.
In a continuous integration or continuous deployment environment,
only those resources that need to be updated regularly should be placed in the deployment step.
Expand All @@ -94,7 +98,8 @@ module.exports = {
Controller (rolling updates are not supported, and use deployment if you want to use rolling updates)
</li>`,
STAGE: 'Stage',
KUBERNETES_DEPLOY_DEPRECATED_TIP: 'This step will be deprecated in subsequent versions, and it is recommended that you consider other alternatives.',
KUBERNETES_DEPLOY_DEPRECATED_TIP:
'This step will be deprecated in subsequent versions, and it is recommended that you consider other alternatives.',
ORIGINAL_IMAGE_ADDRESS: 'Original Image Address',
NEW_IMAGE_ADDRESS: 'New Image Address',
NEW_IMAGE_TAG: 'New Image Tag',
Expand All @@ -119,7 +124,8 @@ module.exports = {
LAST_MESSAGE: 'Last Message',
RUN_ID: 'Run ID',
STOP_PIPELINE_SUCCESSFUL: 'The pipeline was stopped successfully.',
INVALID_JENKINSFILE_TIP: 'The current Jenkinsfile is not a standard declarative Jenkinsfile and graphical display is unavailable.',
INVALID_JENKINSFILE_TIP:
'The current Jenkinsfile is not a standard declarative Jenkinsfile and graphical display is unavailable.',
PAUSED: 'Paused',
// Run Records > Run
SET_PARAMETERS: 'Set Parameters',
Expand Down Expand Up @@ -167,5 +173,6 @@ module.exports = {
PASSED: 'Passed',
// Pull Requests
PULL_REQUEST_PL: 'Pull Requests',
FAILED_CHECK_SCRIPT_COMPILE:'The check of script compile failed, if you want to bypass the step, please click the continue button',
FAILED_CHECK_SCRIPT_COMPILE:
'The check of script compile failed, if you want to bypass the step, please click the continue button',
}
12 changes: 8 additions & 4 deletions locales/en/l10n-devopsProjects-pipeline-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ module.exports = {
// List > Create > Basic Information
PIPELINE_TYPE: 'Pipeline Type',
SELECT_CODE_REPOSITORY: 'Select Code Repository',
BRANCH_PIPELINE_DESC: 'Describe the software build process with visual orchestration or Jenkinsfile.',
MULTI_BRANCH_PIPELINE_DESC: 'Create a series of pipelines for each branch detected in the source code management (SCM) repository.',
BRANCH_PIPELINE_DESC:
'Describe the software build process with visual orchestration or Jenkinsfile.',
MULTI_BRANCH_PIPELINE_DESC:
'Create a series of pipelines for each branch detected in the source code management (SCM) repository.',
PIPELINE_CREATE_DEVOPS_PROJECT_DESC:
'Select the DevOps project to which the pipeline belongs.',
CODE_REPOSITORY_OPTIONAL: 'Code Repository (optional)',
Expand Down Expand Up @@ -162,11 +164,13 @@ module.exports = {
BUILD_RECORD_RETENTION_PERIOD_DAYS: 'Build Record Retention Period (days)',
BUILD_RECORD_RETENTION_PERIOD_DAYS_DESC:
'Build records that exceed the retention period are deleted. The default value is 7.',
BUILD_RECORD_RETENTION_PERIOD_DAYS_INVALID_TIP: 'The retention period must be a positive integer.',
BUILD_RECORD_RETENTION_PERIOD_DAYS_INVALID_TIP:
'The retention period must be a positive integer.',
MAXIMUM_BUILD_RECORDS: 'Maximum Build Records',
MAXIMUM_BUILD_RECORDS_DESC:
'When the number of build records exceeds the maximum number allowed, the earliest build record is deleted. The default value is 10.',
MAXIMUM_BUILD_RECORDS_INVALID_TIP: 'The maximum number of build records must be a positive integer.',
MAXIMUM_BUILD_RECORDS_INVALID_TIP:
'The maximum number of build records must be a positive integer.',
NO_CONCURRENT_BUILDS: 'No concurrent builds',
NO_CONCURRENT_BUILD_DESC:
'Set the the pipeline to run only one build task at a time.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
NOTIFICATION_MANAGEMENT: 'Notification Management',
NOTIFICATION_CHANNELS: 'Notification Channels',
NOTIFICATION_CHANNELS_DESC:
'Notify users through multiple channels when resource metrics meet conditions and durations configured in alerting policies.',
'Notify users through multiple channels when resource metrics meet conditions configured in rule groups.',
// Email
MAIL_TITLE: 'Email',
MAIL_DESC: 'Send notifications to email addresses.',
Expand Down
2 changes: 1 addition & 1 deletion locales/en/l10n-projects-grayscaleRelease.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module.exports = {
UNSUPPORTED_WORKLOAD_TYPE: 'Workload type not supported',
// Release Modes > Canary Release > Create > New Version Settings
VERSION_EXISTS: 'The version code already exists. Please enter another version code.',
NEW_VERSION_NUMBER_EXIST_DESC: 'The workload {name} already exists. Please enter another version number.',
NEW_VERSION_NUMBER_EXIST_DESC: 'The workload {name} already exists. Please enter another version code.',
INIT_CONTAINER: 'Init container',
INIT_CONTAINER_VALUE: 'Init Container: {value}',
CONTAINER_VALUE: 'Container: {value}',
Expand Down
Loading

0 comments on commit f92975e

Please sign in to comment.