Skip to content
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions frontend/i18n-scripts/build-i18n.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ set -exuo pipefail

FILE_PATTERN="{!(dist|node_modules)/**/*.{js,jsx,ts,tsx,json},*.{js,jsx,ts,tsx,json}}"

i18next "public/${FILE_PATTERN}" [-oc] -c "./i18next-parser.config.js" -o "public/locales/\$LOCALE/\$NAMESPACE.json"
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
I18NEXT="${SCRIPT_DIR}/../node_modules/.bin/i18next"

"$I18NEXT" "public/${FILE_PATTERN}" [-oc] -c "./i18next-parser.config.js" -o "public/locales/\$LOCALE/\$NAMESPACE.json"

cd packages
for d in */ ; do
i18next "${d}${FILE_PATTERN}" [-oc] -c "../i18next-parser.config.js" -o "${d}locales/\$LOCALE/\$NAMESPACE.json"
"$I18NEXT" "${d}${FILE_PATTERN}" [-oc] -c "../i18next-parser.config.js" -o "${d}locales/\$LOCALE/\$NAMESPACE.json"
done
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
"Read NamespaceStores": "Read NamespaceStores",
"Select a list of NamespaceStores that defines the read targets of the namespace bucket.": "Select a list of NamespaceStores that defines the read targets of the namespace bucket.",
"Create NamespaceStore": "Create NamespaceStore",
"{{nns, number}} namespace store ": "{{nns, number}} namespace store",
"{{nns, number}} namespace store _plural": "{{nns, number}} namespace stores",
"{{nns, number}} namespace store ": "{{nns, number}} namespace store ",
"{{nns, number}} namespace store _plural": "{{nns, number}} namespace store s",
" selected": " selected",
"Write NamespaceStore": "Write NamespaceStore",
"Select a single NamespaceStore that defines the write targets of the namespace bucket.": "Select a single NamespaceStore that defines the write targets of the namespace bucket.",
Expand Down Expand Up @@ -777,5 +777,27 @@
"LargeScale": "LargeScale",
"4 TiB": "4 TiB",
"{{osdSize, number}} TiB": "{{osdSize, number}} TiB",
"Help": "Help"
"Help": "Help",
"{{bs, number}} BackingStore_one": "{{bs, number}} BackingStore_one",
"{{bs, number}} BackingStore_other": "{{bs, number}} BackingStore_other",
"{{bs, number}} BackingStore _one": "{{bs, number}} BackingStore _one",
"{{bs, number}} BackingStore _other": "{{bs, number}} BackingStore _other",
"{{nns, number}} namespace store _one": "{{nns, number}} namespace store _one",
"{{nns, number}} namespace store _other": "{{nns, number}} namespace store _other",
"{{nodes, number}} node_one": "{{nodes, number}} node_one",
"{{nodes, number}} node_other": "{{nodes, number}} node_other",
"{{nodes, number}} Node_one": "{{nodes, number}} Node_one",
"{{nodes, number}} Node_other": "{{nodes, number}} Node_other",
"{{disks, number}} Disk_one": "{{disks, number}} Disk_one",
"{{disks, number}} Disk_other": "{{disks, number}} Disk_other",
"Selected nodes: {{nodeCount, number}} node_one": "Selected nodes: {{nodeCount, number}} node_one",
"Selected nodes: {{nodeCount, number}} node_other": "Selected nodes: {{nodeCount, number}} node_other",
"Zone: {{zoneCount, number}} zone_one": "Zone: {{zoneCount, number}} zone_one",
"Zone: {{zoneCount, number}} zone_other": "Zone: {{zoneCount, number}} zone_other",
"{{nodeCount, number}} node_one": "{{nodeCount, number}} node_one",
"{{nodeCount, number}} node_other": "{{nodeCount, number}} node_other",
"{{zoneCount, number}} zone_one": "{{zoneCount, number}} zone_one",
"{{zoneCount, number}} zone_other": "{{zoneCount, number}} zone_other",
"Object_one": "Object_one",
"Object_other": "Object_other"
}
14 changes: 13 additions & 1 deletion frontend/packages/console-app/locales/en/console-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -577,5 +577,17 @@
"Cluster": "Cluster",
"Control Plane": "Control Plane",
"Control Plane status": "Control Plane status",
"Cluster operators": "Cluster operators"
"Cluster operators": "Cluster operators",
"Taint_one": "Taint_one",
"Taint_other": "Taint_other",
"Annotation_one": "Annotation_one",
"Annotation_other": "Annotation_other",
"Min available {{minAvailable}} of {{count}} pod_one": "Min available {{minAvailable}} of {{count}} pod_one",
"Min available {{minAvailable}} of {{count}} pod_other": "Min available {{minAvailable}} of {{count}} pod_other",
"Max unavailable {{maxUnavailable}} of {{count}} pod_one": "Max unavailable {{maxUnavailable}} of {{count}} pod_one",
"Max unavailable {{maxUnavailable}} of {{count}} pod_other": "Max unavailable {{maxUnavailable}} of {{count}} pod_other",
"{{count, number}} item_one": "{{count, number}} item_one",
"{{count, number}} item_other": "{{count, number}} item_other",
"In this quick start, you will complete {{count, number}} task_one": "In this quick start, you will complete {{count, number}} task_one",
"In this quick start, you will complete {{count, number}} task_other": "In this quick start, you will complete {{count, number}} task_other"
}
12 changes: 10 additions & 2 deletions frontend/packages/console-shared/locales/en/console-shared.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"{{count}} resource": "{{count}} resource",
"{{count}} resource_plural": "{{count}} resources",
"{{count}} resource reached quota": "{{count}} resource reached quota",
"{{count}} resource reached quota_plural": "{{count}} resources reached quota",
"{{count}} resource reached quota_plural": "{{count}} resource reached quotas",
"none are at quota": "none are at quota",
"No ResourceQuotas": "No ResourceQuotas",
"Go to documentation": "Go to documentation",
Expand Down Expand Up @@ -296,5 +296,13 @@
"An eviction is allowed if at least 25% of pods selected by \"selector\" will still be available after the eviction.": "An eviction is allowed if at least 25% of pods selected by \"selector\" will still be available after the eviction.",
"Name must consist of lower-case letters, numbers and hyphens. It must start with a letter and end with a letter or number.": "Name must consist of lower-case letters, numbers and hyphens. It must start with a letter and end with a letter or number.",
"Cannot be longer than {{characterCount}} characters.": "Cannot be longer than {{characterCount}} characters.",
"Required": "Required"
"Required": "Required",
"{{count}} resource_one": "{{count}} resource_one",
"{{count}} resource_other": "{{count}} resource_other",
"{{count}} resource reached quota_one": "{{count}} resource reached quota_one",
"{{count}} resource reached quota_other": "{{count}} resource reached quota_other",
"{{count}} item_one": "{{count}} item_one",
"{{count}} item_other": "{{count}} item_other",
"to {{count}} Pod_one": "to {{count}} Pod_one",
"to {{count}} Pod_other": "to {{count}} Pod_other"
}
4 changes: 3 additions & 1 deletion frontend/packages/dev-console/locales/en/devconsole.json
Original file line number Diff line number Diff line change
Expand Up @@ -636,5 +636,7 @@
"BindableKinds": "BindableKinds",
"Secure route": "Secure route",
"Image name from external registry": "Image name from external registry",
"Image stream tag from internal registry": "Image stream tag from internal registry"
"Image stream tag from internal registry": "Image stream tag from internal registry",
"{{count}} resource reached quota_one": "{{count}} resource reached quota_one",
"{{count}} resource reached quota_other": "{{count}} resource reached quota_other"
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@
"{{issuesNumber}} issue found": "{{issuesNumber}} issue found",
"{{issuesNumber}} issues found": "{{issuesNumber}} issues found",
"Insights": "Insights",
"Insights Advisor status": "Insights Advisor status"
"Insights Advisor status": "Insights Advisor status",
"Total issue_one": "Total issue_one",
"Total issue_other": "Total issue_other"
}
34 changes: 29 additions & 5 deletions frontend/packages/kubevirt-plugin/locales/en/kubevirt-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@
"Delete Virtual Machine Instance alert": "Delete Virtual Machine Instance alert",
"Are you sure you want to delete <2>{JSON.parse(vm.metadata.annotations[TEMPLATE_CUSTOMIZED_ANNOTATION]).metadata.name}</2> in namespace <5>{vm.metadata.namespace}</5>?": "Are you sure you want to delete <2>{JSON.parse(vm.metadata.annotations[TEMPLATE_CUSTOMIZED_ANNOTATION]).metadata.name}</2> in namespace <5>{vm.metadata.namespace}</5>?",
"<0>{{count}} User</0> currently logged in to this VM. Proceeding with this operation may cause logged in users to lose data.": "<0>{{count}} User</0> currently logged in to this VM. Proceeding with this operation may cause logged in users to lose data.",
"<0>{{count}} User</0> currently logged in to this VM. Proceeding with this operation may cause logged in users to lose data._plural": "<0>{{count}} Users</0> currently logged in to this VM. Proceeding with this operation may cause logged in users to lose data.",
"<0>{{count}} User</0> currently logged in to this VM. Proceeding with this operation may cause logged in users to lose data._plural": "<0>{{count}} User</0> currently logged in to this VM. Proceeding with this operation may cause logged in users to lose data.",
"Alert": "Alert",
"An error occurred": "An error occurred",
"Save and Restart": "Save and Restart",
Expand Down Expand Up @@ -623,12 +623,12 @@
"Snapshot Name": "Snapshot Name",
"unsupported approve checkbox": "unsupported approve checkbox",
"I am aware of this warning and wish to proceed": "I am aware of this warning and wish to proceed",
"Disks included in this snapshot ({{count}})": "Disk included in this snapshot ({{count}})",
"Disks included in this snapshot ({{count}})_plural": "Disks included in this snapshot ({{count}})",
"Disks included in this snapshot ({{count}})": "Disks included in this snapshot ({{count}})",
"Disks included in this snapshot ({{count}})_plural": "Disks included in this snapshot ({{count}})s",
"The following disk will not be included in the snapshot": "The following disk will not be included in the snapshot",
"The following disk will not be included in the snapshot_plural": "The following disk will not be included in the snapshots",
"Edit the disk or contact your cluster admin for further details.": "Edit the disk or contact your cluster admin for further details.",
"Edit the disk or contact your cluster admin for further details._plural": "Edit the disks or contact your cluster admin for further details.",
"Edit the disk or contact your cluster admin for further details._plural": "Edit the disk or contact your cluster admin for further details.s",
"Taking snapshot of running virtual machine.": "Taking snapshot of running virtual machine.",
"Restore Snapshot": "Restore Snapshot",
"Are you sure you want to restore <1>{snapshotName}</1> snapshot?": "Are you sure you want to restore <1>{snapshotName}</1> snapshot?",
Expand Down Expand Up @@ -1099,5 +1099,29 @@
"VM name must start/end with alphanumeric characters": "VM name must start/end with alphanumeric characters",
"VM name cannot contain uppercase characters": "VM name cannot contain uppercase characters",
"VM name is too long": "VM name is too long",
"VM name is too short": "VM name is too short"
"VM name is too short": "VM name is too short",
"NIC_one": "NIC_one",
"NIC_other": "NIC_other",
"Disk_one": "Disk_one",
"Disk_other": "Disk_other",
"CD-ROM_one": "CD-ROM_one",
"CD-ROM_other": "CD-ROM_other",
"LUN_one": "LUN_one",
"LUN_other": "LUN_other",
"Snapshot_one": "Snapshot_one",
"Snapshot_other": "Snapshot_other",
"<0>{{count}} User</0> currently logged in to this VM. Proceeding with this operation may cause logged in users to lose data._one": "<0>{{count}} User</0> currently logged in to this VM. Proceeding with this operation may cause logged in users to lose data.",
"<0>{{count}} User</0> currently logged in to this VM. Proceeding with this operation may cause logged in users to lose data._other": "<0>{{count}} User</0> currently logged in to this VM. Proceeding with this operation may cause logged in users to lose data.",
"Disks included in this snapshot ({{count}})_one": "Disks included in this snapshot ({{count}})_one",
"Disks included in this snapshot ({{count}})_other": "Disks included in this snapshot ({{count}})_other",
"The following disk will not be included in the snapshot_one": "The following disk will not be included in the snapshot_one",
"The following disk will not be included in the snapshot_other": "The following disk will not be included in the snapshot_other",
"Edit the disk or contact your cluster admin for further details._one": "Edit the disk or contact your cluster admin for further details._one",
"Edit the disk or contact your cluster admin for further details._other": "Edit the disk or contact your cluster admin for further details._other",
"{{count}} Affinity rule_one": "{{count}} Affinity rule_one",
"{{count}} Affinity rule_other": "{{count}} Affinity rule_other",
"{{count}} Toleration rule_one": "{{count}} Toleration rule_one",
"{{count}} Toleration rule_other": "{{count}} Toleration rule_other",
"{{count}} user_one": "{{count}} user_one",
"{{count}} user_other": "{{count}} user_other"
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,9 @@
"{{nodeCount, number}} node_plural": "{{nodeCount, number}} nodes",
"selected": "selected",
"SSD / NVMe": "SSD / NVMe",
"HDD": "HDD"
"HDD": "HDD",
"{{nodes, number}} node_one": "{{nodes, number}} node_one",
"{{nodes, number}} node_other": "{{nodes, number}} node_other",
"{{nodeCount, number}} node_one": "{{nodeCount, number}} node_one",
"{{nodeCount, number}} node_other": "{{nodeCount, number}} node_other"
}
12 changes: 10 additions & 2 deletions frontend/packages/operator-lifecycle-manager/locales/en/olm.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
"Which channel is used to receive updates?": "Which channel is used to receive updates?",
"Operator <1>{{name}}</1> will be removed from <3>{{namespace}}</3>. If your Operator configured off-cluster resources, these will continue to run and require manual cleanup.": "Operator <1>{{name}}</1> will be removed from <3>{{namespace}}</3>. If your Operator configured off-cluster resources, these will continue to run and require manual cleanup.",
"The console plugin provided by this operator will be disabled and removed.": "The console plugin provided by this operator will be disabled and removed.",
"The console plugin provided by this operator will be disabled and removed._plural": "The console plugins provided by this operator will be disabled and removed.",
"The console plugin provided by this operator will be disabled and removed._plural": "The console plugin provided by this operator will be disabled and removed.s",
"Message from Operator developer": "Message from Operator developer",
"Operand instances": "Operand instances",
"Delete all operand instances for this operator": "Delete all operand instances for this operator",
Expand Down Expand Up @@ -376,5 +376,13 @@
"Hide operator description": "Hide operator description",
"Show operator description": "Show operator description",
"Operator description": "Operator description",
"This resource is provided by {{operatorName}}, a Kubernetes Operator enabled by the Operator Lifecycle Manager.": "This resource is provided by {{operatorName}}, a Kubernetes Operator enabled by the Operator Lifecycle Manager."
"This resource is provided by {{operatorName}}, a Kubernetes Operator enabled by the Operator Lifecycle Manager.": "This resource is provided by {{operatorName}}, a Kubernetes Operator enabled by the Operator Lifecycle Manager.",
"{{count}} Namespaces_one": "{{count}} Namespaces_one",
"{{count}} Namespaces_other": "{{count}} Namespaces_other",
"Console plugin_one": "Console plugin_one",
"Console plugin_other": "Console plugin_other",
"operator_one": "operator_one",
"operator_other": "operator_other",
"The console plugin provided by this operator will be disabled and removed._one": "The console plugin provided by this operator will be disabled and removed._one",
"The console plugin provided by this operator will be disabled and removed._other": "The console plugin provided by this operator will be disabled and removed._other"
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
"Critical notification:": "Critical notification:",
"Success notification:": "Success notification:",
"Update notification:": "Update notification:",
"Info notification:": "Info notification:"
"Info notification:": "Info notification:",
"{{count}} unread_one": "{{count}} unread_one",
"{{count}} unread_other": "{{count}} unread_other"
}
Original file line number Diff line number Diff line change
Expand Up @@ -421,5 +421,11 @@
"Cancelling": "Cancelling",
"Pending": "Pending",
"PipelineRun not started yet": "PipelineRun not started yet",
"Other": "Other"
"Other": "Other",
"{{count}} hour_one": "{{count}} hour_one",
"{{count}} hour_other": "{{count}} hour_other",
"{{count}} minute_one": "{{count}} minute_one",
"{{count}} minute_other": "{{count}} minute_other",
"{{count}} second_one": "{{count}} second_one",
"{{count}} second_other": "{{count}} second_other"
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,11 @@
"ClusterBuildStrategy": "ClusterBuildStrategy",
"ClusterBuildStrategies": "ClusterBuildStrategies",
"BuildStrategy": "BuildStrategy",
"BuildStrategies": "BuildStrategies"
"BuildStrategies": "BuildStrategies",
"{{count}} hour_one": "{{count}} hour_one",
"{{count}} hour_other": "{{count}} hour_other",
"{{count}} minute_one": "{{count}} minute_one",
"{{count}} minute_other": "{{count}} minute_other",
"{{count}} second_one": "{{count}} second_one",
"{{count}} second_other": "{{count}} second_other"
}
6 changes: 5 additions & 1 deletion frontend/packages/topology/locales/en/topology.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,9 @@
"Delete Connector?": "Delete Connector?",
"Delete": "Delete",
"Unable to update application, invalid resource type: {{kind}}": "Unable to update application, invalid resource type: {{kind}}",
"Can not create a connection from a node to itself.": "Can not create a connection from a node to itself."
"Can not create a connection from a node to itself.": "Can not create a connection from a node to itself.",
"{{ready, number}} of {{count, number}} Pod_one": "{{ready, number}} of {{count, number}} Pod_one",
"{{ready, number}} of {{count, number}} Pod_other": "{{ready, number}} of {{count, number}} Pod_other",
"second_one": "second_one",
"second_other": "second_other"
}
Loading