Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update locale package. #2728

Merged
merged 1 commit into from
Dec 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions locales/en/cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,7 @@ module.exports = {
'etcd Backup Period': 'etcd Backup Period',
'Keep Backup Number': 'Keep Backup Number',
'KubeSphere Settings': 'KubeSphere Settings',
INVALID_IP_DESC: 'Invalid IP address format.',
CLUSTER_BASIC_INFO: 'Basic Information',

NO_CLUSTER_TIP: 'Please add at least one cluster.',
NO_CLUSTER_TIP_DESC:
'A cluster is a group of nodes (physical or virtual machines) running Kubernetes, and the function of Kubesphere also depends on the nodes in the cluster.',
ADD_NEW_CLUSTER_DESC: 'Add a new Kubernetes cluster',
Expand Down
19 changes: 5 additions & 14 deletions locales/en/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,22 @@
*/

module.exports = {
DISK: 'Disk',
APP_REPO: 'App Repositories',
'Cluster Status': 'Cluster Status',
'CPU Load Average': 'CPU Load Average',
'CPU Usage': 'CPU Usage',
'CPU Utilization': 'CPU Utilization',
'create project': 'create project',
CronJobs: 'Cronjobs',
DAEMONSETS: 'Daemonsets',
STATEFULSETS: 'Statefulsets',

dashboard: 'dashboard',
Dashboard: 'Dashboard',
DEPLOYMENTS: 'Deployments',

'Disk Throughput': 'Disk Throughput',
'Disk Utilization': 'Disk Utilization',
'Inbound Traffic': 'Inbound Traffic',
'involved project': 'involved project',
Jobs: 'Jobs',
'KubeSphere Running Status': 'KubeSphere Running Status',
LAST_LOGIN: 'Last Login',
'Log Data': 'Log Data',
'Memory Usage': 'Memory Usage',
'Memory Utilization': 'Memory Utilization',
Expand All @@ -49,17 +45,16 @@ module.exports = {
quota: 'quota',
'Regular user': 'Regular user',
'Replica Availability': 'Replica Availability',
TOP_5_FOR_RESOURCE_USAGE: 'Top 5 for Resource Usage',

Routes: 'Routes',
Services: 'Services',
'Storage Classes': 'Storage Classes',
'Super administrator': 'Super administrator',
USER_PL: 'Users',

Utilization: 'Utilization',
'View All Nodes': 'View All Nodes',
Volumes: 'Volumes',

DASHBOARD_TITLE: 'Hello {username}',
DASHBOARD_BANNER_TITLE: 'Platform Overview',
DASHBOARD_BANNER_DESC:
'Aggregate statistics on running resources and usage of current platform.',
Expand All @@ -70,10 +65,6 @@ module.exports = {
USAGE_RATE: 'Usage',
NO_PROJECT: 'No available projects have been found.',
NO_POD_MONITOR_DATA: 'No pods monitoring data',
RESOURCE_WARNING_TIPS: 'Abnormal {tipName}: {warnNum}',
CPU_AVERAGE_LOAD: 'Load Average',

USER_DASHBOARD_EMPTY_TITLE: 'You do not belong to any workspace.',
USER_DASHBOARD_EMPTY_DESC:
'Please contact a workspace administrator to invite you to join a workspace.',
CPU_AVERAGE_LOAD: 'Load Average',
}
54 changes: 5 additions & 49 deletions locales/en/devops.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,85 +17,41 @@
*/

module.exports = {
CREATE_DEVOPS_PROJECT: 'Create DevOps Project',
DELETE_MULTIPLE_DEVOPS_PROJECTS: 'Delete Multiple DevOps Projects',
DELETE_DEVOPS_PROJECT: 'Delete DevOps Project',
DELETE_DEVOPS_PROJECT_TIP:
'Enter the DevOps project name <strong>{resource}</strong> to confirm that you understand the risks of this operation.',
DELETE_DEVOPS_PROJECT_TIP_PL:
'Enter the DevOps project names <strong>{resource}</strong> to confirm that you understand the risks of this operation.',
'DevOps Basic Info': 'DevOps Basic Information',
DEVOPS_PROJECT_CREDENTIAL_PL: 'DevOps Project Credentials',
CREDENTIAL_EMPTY_DESC: 'Please create a credential.',
PIPELINE_CREDENTIAL_EMPTY_TIP: 'Please select a credential.',

DEVOPS_CREDENTIAL: 'DevOps Credential',
DEVOPS_CREDENTIAL_LOW: 'DevOps credential',
'DevOps Member': 'DevOps Member',
'DevOps Members': 'DevOps Members',
DEVOPS_NAME: 'Name',
DEVOPS_PROJECT: 'DevOps Project',
DEVOPS_PROJECT_SCAP: 'DevOps project',

DEVOPS_PROJECT_MEMBER: 'DevOps Project Member',
DEVOPS_PROJECT_MEMBER_EMPTY_DESC:
'Please invite a member of the current workspace to the DevOps project.',

'DevOps Project Manager': 'DevOps Project Manager',
'DevOps Role': 'DevOps Role',
'DevOps Roles': 'DevOps Roles',
MANAGER: 'Manager',

DEVOPS_PROJECT_MANAGEMENT: 'Project Management',
DEVOPS_PROJECT_SETTINGS: 'DevOps Project Settings',

MANAGE_DEVOPS_PROJECT: 'Manage DevOps Project',
DEVOPS_PROJECT_MEMBER_PL: 'DevOps Project Members',
DEVOPS_PROJECT_MEMBER_SCAP: 'DevOps project member',
DEVOPS_PROJECT_MEMBER_PL_SCAP: 'DevOps project members',
DEVOPS_PROJECT_ROLE_PL: 'DevOps Project Roles',
DEVOPS_PROJECT_ROLE_PL_SCAP: 'DevOps project roles',

DEVOPS_BASEINFO_DESC:
'Please input the basic information of the DevOps project',

DEVOPS_DESCRIPTION:
'A DevOps project is a separate namespace where a set of pipelines is defined. Users can group their pipelines themselves (for example, project type and organization type).',
DEVOPS_PROJECT_CREATE_DESC:
'DevOps is a separate namespace that defines a set of pipelines. Users can group their pipelines themselves (for example, project type and organization type).',
DEVOPS_PROJECT_EMPTY_DESC: 'Please create a DevOps project.',
PIPELINE_EMPTY_DESC: 'Please create a pipeline.',
DEVOPS_ADMIN_DESC: 'Select a project member as the project administrator.',

NO_RELATE_DEVOPS_TITLE: 'No DevOps project associated with you',
NO_RELATE_DEVOPS_DESC:
'You can create or contact the project manager to invite you to the DevOps project to start your work.',

DEVOPS_PROJECT_CREDENTIALS_DESC:
'Credentials are objects that contain sensitive data, such as usernames and passwords, SSH keys, and tokens, to provide authentication for pulling code, pushing or pulling images, executing SSH scripts, and so on when a pipeline is running.',
DEVOPS_CREDENTIALS_DESC:
'Credentials are objects that contain some sensitive data, such as username and password, SSH key and Token. They are used to provide authentication for pulling code, pushing/pulling images, executing SSH scripts, etc. when a pipeline is running.',

DEVOPS_PROJECT_ROLES_DESC:
'The project roles define the permissions that users have under the current DevOps project.',
DEVOPS_PROJECT_MEM_DESC: 'Manage and assign roles to project members.',
DEVOPS_PROJECT_ROLE_EMPTY_DESC: 'Please create a DevOps project role.',
DELETE_DEVOPS_TIP:
'Enter the DevOps project name <strong>{resource}</strong> to confirm that you understand the risks of this operation.',

DEVOPS_TIP_GITOPS_Q: 'How do I get started with DevOps?',
DEVOPS_TIP_GITOPS_A:
'You can start using DevOps by creating a pipeline that is associated with the code repository and deploying steps with Kubernetes.',

DEVOPS_TIP_TYPE_Q: 'Which code repositories are supported by pipelines?',
DEVOPS_TIP_TYPE_A:
'Pipelines support code repositories of Git, GitHub, Gitlab, SVN, and Bitbucket.',

NO_DEVOPS_INSTALL: 'DevOps not installed',

// Credentials Creation Page
CONTENT: 'Content',

INVALID_ID_TIP:
'The ID can contain only lowercase letters, numbers, and hyphens (-), and must start and end with a lowercase letter or number. The maximum length is 63 characters.',

// CRDs > Details
PROJECT_DEVOPS_PROJECT: 'Project/DevOps Project',
KUBERNETES_DEPLOY_DEPRECATED_TIP:
'This step will be deprecated in subsequent versions, and it is recommended to consider other alternatives.',
}
24 changes: 4 additions & 20 deletions locales/en/gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,17 @@
*/

module.exports = {
GATEWAY_SETTINGS: 'Gateway Settings',
DISABLE_GATEWAY: 'Disable Gateway',
DISABLE_GATEWAY_TIP: 'Are you sure you want to disable the gateway?',
DISABLE_SUCCESS: 'Disabled successfully.',
CLUSTER_GATEWAY_DESC:
'Set up and manage the configuration of the external network access gateway and service management in the cluster.',
PROJECT_GATEWAY_DESC:
'Set up and manage the configuration of the external network access gateway and service management in the project',
CLUSTER_GATEWAY: 'Cluster Gateway',
CLUSTER_GATEWAY_LOW: 'cluster gateway',
PROJECT_GATEWAY_PL: 'Project Gateways',
PROJECT_GATEWAY_LOW: 'project gateway',
PROJECT_GATEWAY: 'Project Gateway',
CLUSTER_ENABLE_GATEWAY_DESC: 'Please enable the cluster gateway.',
PROJECT_ENABLE_GATEWAY_DESC: 'Please enable the project gateway.',
CLUSTER_GATEWAY_NOT_ENABLED: 'Cluster Gateway Not Enabled',
PROJECT_GATEWAY_NOT_ENABLED: 'Project Gateway Not Enabled',

'Gateway Not Set': 'Gateway Not Set',
'Set Gateway': 'Set Gateway',
EDIT_GATEWAY: 'Edit Gateway',
'Update Gateway': 'Update Gateway',
CONFIGURATION_OPTIONS: 'Configuration Options',

'Gateway Config': 'Gateway Config',
GATEWAY_LOGS: 'Gateway Logs',

'Add Gateway Config': 'Add Gateway Config',
LOAD_BALANCER_PROVIDER: 'Load Balancer Provider',
LOAD_BALANCER_PROVIDER_SCAP: 'Load balancer provider',

LOAD_BALANCER_SCAP: 'Load balancer',
LOAD_BALANCERS_SCAP: 'Load balancers',
USE_DEFAULT_ANNOTATIONS: 'Use Default Annotations',
Expand Down
1 change: 0 additions & 1 deletion locales/en/ingress.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ module.exports = {
PATH_SI: 'Path',
Route: 'Route',

ROUTE_LOW: 'route',
ROUTE_ANNOTATION_DESC:
'You can set route behavior by adding annotations to the route. See <a href="https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/" target="_blank">Annotations</a> for the detailed list of available annotations.',
RULE_SETTING_MODE_AUTO:
Expand Down
2 changes: 1 addition & 1 deletion locales/en/ippool.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ module.exports = {
'Used IP': 'Used IP',

NETWORK_RESOURCE_PL: 'Network Resources',
POD_IP_POOL_LOW: 'pod IP pool',

'Set to be globally available': 'Set to be globally available',
}
2 changes: 2 additions & 0 deletions locales/en/l10n-accessControl-users-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
module.exports = {
// Banner
USER_DESC: 'Manage users and their roles.',
USER_PL: 'Users',

// List
NOT_LOGIN_YET: 'Not logged in yet',
Expand All @@ -27,6 +28,7 @@ module.exports = {
USER_AUTHLIMITEXCEEDED: 'Login restricted',
USER_PENDING: 'Pending',
USER_DISABLED: 'Disabled',
LAST_LOGIN: 'Last Login',

// List > Create
USERNAME_DESC:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
module.exports = {
// Banner
// List
DAEMONSETS: 'Daemonsets',
DAEMONSET_EMPTY_DESC: 'Please create a daemonset.',

// List > Create > Basic Information
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = {
WORKLOAD_PL: 'Workloads',

// List
DEPLOYMENTS: 'Deployments',
UPDATE_TIME_TCAP: 'Update Time',

// List > Create > Basic Information
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,5 @@ module.exports = {
// List > Edit Annotations
EDIT_ANNOTATIONS: 'Edit Annotations',
// List > Delete
ROUTE_LOW: 'route',
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
module.exports = {
// Banner
// List
STATEFULSETS: 'Statefulsets',

// List > Create > Basic Information
// List > Create > Pod Settings
// List > Create > Volume Settings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
// Banner
// Cluster Information
NODES: 'Nodes',
DISK: 'Disk',
CLUSTER_INFORMATION: 'Cluster Information',

// Cluster Information > Edit Information
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,17 @@ module.exports = {
// Details
// More > Update Gateway
// More > Delete
GATEWAY_LOW: 'gateway',

// Monitoring
REQUEST_COUNT: 'Requests',
NETWORK_TRAFFIC: 'Network Traffic',

// Configuration Options
CONFIGURATION_OPTIONS: 'Configuration Options',

// Gateway Logs
GATEWAY_LOGS: 'Gateway Logs',
LOGGING_DISABLED: 'Logging Disabled',
REFRESH_INTERVAL_VALUE: 'Refresh interval: {value}s',
EXPORT_LOGS: 'Export Logs',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,19 @@
*/

module.exports = {
// Navigation Pane
GATEWAY_SETTINGS: 'Gateway Settings',

// Banner
CLUSTER_GATEWAY_DESC:
'Set up and manage the configuration of the external network access gateway and service management in the cluster.',

// Cluster Gateway
CLUSTER_GATEWAY_NOT_ENABLED: 'Cluster Gateway Not Enabled',
CLUSTER_ENABLE_GATEWAY_DESC: 'Please enable the cluster gateway.',
CLUSTER_GATEWAY: 'Cluster Gateway',
GATEWAY_ADDRESS_SCAP: 'Gateway address',
LOAD_BALANCER_PROVIDER_SCAP: 'Load balancer provider',

// Cluster Gateway > Enable Gateway
ENABLE_GATEWAY: 'Enable Gateway',
Expand All @@ -31,13 +41,23 @@ module.exports = {

// Cluster Gateway > Manage > Disable
DISABLE: 'Disable',
DISABLE_GATEWAY: 'Disable Gateway',
DISABLE_GATEWAY_TIP: 'Are you sure you want to disable the gateway?',
DISABLE_SUCCESS: 'Disabled successfully.',

// Cluster Gateway > Manage > Edit
EDIT: 'Edit',
EDIT_TITLE: 'Edit {title}',

// Cluster Gateway > Manage > Delete
// Project Gateway
PROJECT_GATEWAY: 'Project Gateway',
PROJECT_GATEWAY_NOT_ENABLED: 'Project Gateway Not Enabled',
PROJECT_ENABLE_GATEWAY_DESC: 'Please enable the project gateway.',
REPLICA_COUNT: 'Replicas',
NODE_PORTS: 'Node Ports',

// Project Gateway > Delete
PROJECT_GATEWAY_PL: 'Project Gateways',
PROJECT_GATEWAY_LOW: 'project gateway',
}
1 change: 1 addition & 0 deletions locales/en/l10n-clusterManagement-clusters.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ module.exports = {
ADD_CLUSTER: 'Add Cluster',
HOST_CLUSTER_TCAP: 'Host Cluster',
HOST_CLUSTER_PL_TCAP: 'Host Clusters',
NO_CLUSTER_TIP: 'Please add at least one cluster.',
}
1 change: 1 addition & 0 deletions locales/en/l10n-clusterManagement-crds-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
// Details
// Resource Status
CUSTOM_RESOURCE_PL: 'Custom Resources',
PROJECT_DEVOPS_PROJECT: 'Project/DevOps Project',

// Resource Status > Edit YAML
// Resource Status > Delete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,7 @@ module.exports = {
// List > Edit Information

// List > Edit YAMl

// List > Delete
CUSTOM_MONITORING_DASHBOARD_LOW: 'custom monitoring dashbord',
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ module.exports = {
// List > Edit YAML

// List > Delete
NETWORK_POLICY_LOW: 'network policy',
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ module.exports = {
// More > Delete
// Workspaces
WORKSPACES: 'Workspaces',
MANAGER: 'Manager',
IPPOOL_WORKSPACE_EMPTY_TIP: 'No workspace is using this pod IP pool.',

// Pods
Expand Down
2 changes: 2 additions & 0 deletions locales/en/l10n-clusterManagement-network-podIpPools-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ module.exports = {
IP_POOL_NUM_TIP: 'Please enter the number of pod IP pools to be created.',
IP_POOL_CREATE_COUNT_DESC:
'Up to 10 pod IP pools can be created at the same time.',
INVALID_IP_DESC: 'Invalid IP address format.',

// List > Edit Information
// List > View YAML
Expand All @@ -56,4 +57,5 @@ module.exports = {
SELECT_WORKSPACE_DESC: 'Select a workspace.',

// List > Delete
POD_IP_POOL_LOW: 'pod IP pool',
}
1 change: 1 addition & 0 deletions locales/en/l10n-clusterManagement-projects-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ module.exports = {
DELETE_TITLE_SI: 'Delete {type}',
DELETE_TITLE_PL: 'Delete Multiple {type}',
DELETE: 'Delete',
PROJECT_LOW: 'project',
DELETE_SUCCESS: 'Deleted successfully.',
STOP_SUCCESS_DESC: 'Stopped successfully.',
DELETE_RESOURCE_TYPE_DESC_SI:
Expand Down
Loading