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

Bug 1990024: Fix typo #9729

Merged
merged 1 commit into from
Aug 5, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"Web console update is available": "Web console update is available",
"There has been an update to the web console. Ensure any changes have been saved and refresh your browser to access the latest version.": "There has been an update to the web console. Ensure any changes have been saved and refresh your browser to access the latest version.",
"Refresh web console": "Refresh web console",
"VolumeSnapshotContents": "VolumeSnapshotContents",
"Delete {{kind}}": "Delete {{kind}}",
"Edit {{kind}}": "Edit {{kind}}",
Expand Down Expand Up @@ -89,6 +86,11 @@
"Created at": "Created at",
"API version": "API version",
"Restore": "Restore",
"If no pod selector is provided, traffic from all pods in eligible namespaces will be allowed.": "If no pod selector is provided, traffic from all pods in eligible namespaces will be allowed.",
"If no pod selector is provided, traffic from all pods in this namespace will be allowed.": "If no pod selector is provided, traffic from all pods in this namespace will be allowed.",
"If no pod selector is provided, traffic to all pods in eligible namespaces will be allowed.": "If no pod selector is provided, traffic to all pods in eligible namespaces will be allowed.",
"If no pod selector is provided, traffic to all pods in this namespace will be allowed.": "If no pod selector is provided, traffic to all pods in this namespace will be allowed.",
"If no namespace selector is provided, pods from all namespaces will be eligible.": "If no namespace selector is provided, pods from all namespaces will be eligible.",
"This action cannot be undone. Deleting a node will instruct Kubernetes that the node is down or unrecoverable and delete all pods scheduled to that node. If the node is still running but unresponsive and the node is deleted, stateful workloads and persistent volumes may suffer corruption or data loss. Only delete a node that you have confirmed is completely stopped and cannot be restored.": "This action cannot be undone. Deleting a node will instruct Kubernetes that the node is down or unrecoverable and delete all pods scheduled to that node. If the node is still running but unresponsive and the node is deleted, stateful workloads and persistent volumes may suffer corruption or data loss. Only delete a node that you have confirmed is completely stopped and cannot be restored.",
"Delete node": "Delete node",
"Mark as unschedulable": "Mark as unschedulable",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ export const NetworkPolicyPeerSelectors: React.FunctionComponent<PeerSelectorPro
if (direction === 'ingress') {
helpTextPodSelector = namespaceSelector
? t(
'public~If no pod selector is provided, traffic from all pods in elligible namespaces will be allowed.',
'console-app~If no pod selector is provided, traffic from all pods in eligible namespaces will be allowed.',
)
: t(
'public~If no pod selector is provided, traffic from all pods in this namespace will be allowed.',
'console-app~If no pod selector is provided, traffic from all pods in this namespace will be allowed.',
);
} else {
helpTextPodSelector = namespaceSelector
? t(
'public~If no pod selector is provided, traffic to all pods in elligible namespaces will be allowed.',
'console-app~If no pod selector is provided, traffic to all pods in eligible namespaces will be allowed.',
)
: t(
'public~If no pod selector is provided, traffic to all pods in this namespace will be allowed.',
'console-app~If no pod selector is provided, traffic to all pods in this namespace will be allowed.',
);
}

Expand All @@ -40,7 +40,7 @@ export const NetworkPolicyPeerSelectors: React.FunctionComponent<PeerSelectorPro
<NetworkPolicyConditionalSelector
selectorType="namespace"
helpText={t(
'public~If no namespace selector is provided, pods from all namespaces will be elligible.',
'console-app~If no namespace selector is provided, pods from all namespaces will be eligible.',
)}
values={namespaceSelector}
onChange={handleNamespaceSelectorChange}
Expand Down
6 changes: 3 additions & 3 deletions frontend/public/components/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -310,16 +310,16 @@ const PollConsoleUpdates = React.memo(() => {
if (pluginsStateInitialized && (pluginsChanged || consoleCommitChanged)) {
toastContext.addToast({
variant: AlertVariant.warning,
title: t('console-app~Web console update is available'),
title: t('public~Web console update is available'),
content: t(
'console-app~There has been an update to the web console. Ensure any changes have been saved and refresh your browser to access the latest version.',
'public~There has been an update to the web console. Ensure any changes have been saved and refresh your browser to access the latest version.',
),
timeout: false,
dismissible: true,
actions: [
{
dismiss: true,
label: t('console-app~Refresh web console'),
label: t('public~Refresh web console'),
callback: () => window.location.reload(),
},
],
Expand Down
8 changes: 3 additions & 5 deletions frontend/public/locales/en/public.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
"Details": "Details",
"Schema": "Schema",
"Instances": "Instances",
"Web console update is available": "Web console update is available",
"There has been an update to the web console. Ensure any changes have been saved and refresh your browser to access the latest version.": "There has been an update to the web console. Ensure any changes have been saved and refresh your browser to access the latest version.",
"Refresh web console": "Refresh web console",
"Start build": "Start build",
"BuildConfig details": "BuildConfig details",
"Name": "Name",
Expand Down Expand Up @@ -1737,11 +1740,6 @@
"When using the OpenShift SDN cluster network provider, exceptions are not supported and would cause the entire IP block section to be ignored.": "When using the OpenShift SDN cluster network provider, exceptions are not supported and would cause the entire IP block section to be ignored.",
"Remove exception": "Remove exception",
"Add exception": "Add exception",
"If no pod selector is provided, traffic from all pods in elligible namespaces will be allowed.": "If no pod selector is provided, traffic from all pods in elligible namespaces will be allowed.",
"If no pod selector is provided, traffic from all pods in this namespace will be allowed.": "If no pod selector is provided, traffic from all pods in this namespace will be allowed.",
"If no pod selector is provided, traffic to all pods in elligible namespaces will be allowed.": "If no pod selector is provided, traffic to all pods in elligible namespaces will be allowed.",
"If no pod selector is provided, traffic to all pods in this namespace will be allowed.": "If no pod selector is provided, traffic to all pods in this namespace will be allowed.",
"If no namespace selector is provided, pods from all namespaces will be elligible.": "If no namespace selector is provided, pods from all namespaces will be elligible.",
"All ports": "All ports",
"Certain ports": "Certain ports",
"Allow traffic to": "Allow traffic to",
Expand Down