fixes spelling error

This commit is contained in:
Alex Corey 2021-04-22 13:30:28 -04:00
parent 71500a6554
commit 4acae40d4a
13 changed files with 4483 additions and 5970 deletions

View File

@ -640,6 +640,19 @@ callback URL. Using the URL a host can contact BRAND_NAME
and request a configuration update using this job
template.",
"Enables creation of a provisioning
callback URL. Using the URL a host can contact {BrandName}
and request a configuration update using this job
template.": Array [
"Enables creation of a provisioning
callback URL. Using the URL a host can contact ",
Array [
"BrandName",
],
"
and request a configuration update using this job
template.",
],
"Enables creation of a provisioning
callback URL. Using the URL a host can contact {brandName}
and request a configuration update using this job
template": Array [
@ -1161,6 +1174,7 @@ reset by the inventory sync process.",
"Last job": "Last job",
"Last job run": "Last job run",
"Last modified": "Last modified",
"Last used": "Last used",
"Launch": "Launch",
"Launch Management Job": "Launch Management Job",
"Launch Template": "Launch Template",
@ -1302,11 +1316,11 @@ disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.",
"Note that you may still see the group in the list after
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.": "Note that you may still see the group in the list after
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.",
"Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.": "Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.",
"Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.": "Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.",
@ -2709,23 +2723,13 @@ message. For more information, refer to the",
},
],
],
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other { Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?}}": Array [
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other {These execution environments could be in use by other resources that rely on them. Are you sure you want to delete them anyway?}}": Array [
Array [
"0",
"plural",
Object {
"one": "This execution environment is currently being used by other resources. Are you sure you want to delete it?",
"other": " Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?",
},
],
],
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other {Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?}}": Array [
Array [
"0",
"plural",
Object {
"one": "This execution environment is currently being used by other resources. Are you sure you want to delete it?",
"other": "Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?",
"other": "These execution environments could be in use by other resources that rely on them. Are you sure you want to delete them anyway?",
},
],
],
@ -2789,6 +2793,16 @@ message. For more information, refer to the",
},
],
],
"{0, plural, one {You cannot cancel the following job because it is not running:} other {You cannot cancel the following jobs because they are not running:}}": Array [
Array [
"0",
"plural",
Object {
"one": "You cannot cancel the following job because it is not running:",
"other": "You cannot cancel the following jobs because they are not running:",
},
],
],
"{0, plural, one {You cannot cancel the following job because it is not running} other {You cannot cancel the following jobs because they are not running}}": Array [
Array [
"0",

View File

@ -17,7 +17,6 @@ import {
DropdownItem,
Tooltip,
} from '@patternfly/react-core';
import { withI18n } from '@lingui/react';
import { t } from '@lingui/macro';
import AlertModal from '../AlertModal';
import { KebabifiedContext } from '../../contexts/Kebabified';
@ -95,7 +94,6 @@ function ToolbarDeleteButton({
deleteDetailsRequests,
warningMessage,
deleteMessage,
i18n,
cannotDelete,
}) {
const { isKebabified, onKebabModalChange } = useContext(KebabifiedContext);
@ -151,20 +149,18 @@ function ToolbarDeleteButton({
<span>{`: ${itemsUnableToDelete}`}</span>
</>
) : (
i18n._(
t`You do not have permission to delete ${pluralizedItemName}: ${itemsUnableToDelete}`
)
t`You do not have permission to delete ${pluralizedItemName}: ${itemsUnableToDelete}`
)}
</div>
);
}
if (itemsToDelete.length) {
return i18n._(t`Delete`);
return t`Delete`;
}
return i18n._(t`Select a row to delete`);
return t`Select a row to delete`;
};
const modalTitle = i18n._(t`Delete ${pluralizedItemName}?`);
const modalTitle = t`Delete ${pluralizedItemName}?`;
const isDisabled =
itemsToDelete.length === 0 || itemsToDelete.some(cannotDelete);
@ -206,7 +202,7 @@ function ToolbarDeleteButton({
return (
<AlertModal
isOpen={deleteMessageError}
title={i18n._(t`Error!`)}
title={t`Error!`}
onClose={() => {
toggleModal(false);
setDeleteMessageError();
@ -235,7 +231,7 @@ function ToolbarDeleteButton({
toggleModal(true);
}}
>
{i18n._(t`Delete`)}
{t`Delete`}
</DropdownItem>
</Tooltip>
) : (
@ -245,11 +241,11 @@ function ToolbarDeleteButton({
variant="secondary"
isLoading={isLoading}
spinnerAriaValueText={isLoading ? 'Loading' : undefined}
aria-label={i18n._(t`Delete`)}
aria-label={t`Delete`}
onClick={() => toggleModal(true)}
isDisabled={isDisabled}
>
{i18n._(t`Delete`)}
{t`Delete`}
</Button>
</div>
</Tooltip>
@ -266,25 +262,25 @@ function ToolbarDeleteButton({
ouiaId="delete-modal-confirm"
key="delete"
variant="danger"
aria-label={i18n._(t`confirm delete`)}
aria-label={t`confirm delete`}
isDisabled={Boolean(
deleteDetails && itemsToDelete[0]?.type === 'credential_type'
)}
onClick={handleDelete}
>
{i18n._(t`Delete`)}
{t`Delete`}
</Button>,
<Button
key="cancel"
variant="link"
aria-label={i18n._(t`cancel delete`)}
aria-label={t`cancel delete`}
onClick={() => toggleModal(false)}
>
{i18n._(t`Cancel`)}
{t`Cancel`}
</Button>,
]}
>
<div>{i18n._(t`This action will delete the following:`)}</div>
<div>{t`This action will delete the following:`}</div>
{itemsToDelete.map(item => (
<span key={item.id}>
<strong>{item.name || item.username || item.image}</strong>
@ -318,4 +314,4 @@ ToolbarDeleteButton.defaultProps = {
cannotDelete: item => !item.summary_fields.user_capabilities.delete,
};
export default withI18n()(ToolbarDeleteButton);
export default ToolbarDeleteButton;

View File

@ -636,6 +636,19 @@ callback URL. Using the URL a host can contact BRAND_NAME
and request a configuration update using this job
template.",
"Enables creation of a provisioning
callback URL. Using the URL a host can contact {BrandName}
and request a configuration update using this job
template.": Array [
"Enables creation of a provisioning
callback URL. Using the URL a host can contact ",
Array [
"BrandName",
],
"
and request a configuration update using this job
template.",
],
"Enables creation of a provisioning
callback URL. Using the URL a host can contact {brandName}
and request a configuration update using this job
template": Array [
@ -1157,6 +1170,7 @@ reset by the inventory sync process.",
"Last job": "Last job",
"Last job run": "Last job run",
"Last modified": "Last modified",
"Last used": "Last used",
"Launch": "Launch",
"Launch Management Job": "Launch Management Job",
"Launch Template": "Launch Template",
@ -1298,11 +1312,11 @@ disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.",
"Note that you may still see the group in the list after
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.": "Note that you may still see the group in the list after
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.",
"Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.": "Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.",
"Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.": "Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.",
@ -2705,23 +2719,13 @@ message. For more information, refer to the",
},
],
],
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other { Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?}}": Array [
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other {These execution environments could be in use by other resources that rely on them. Are you sure you want to delete them anyway?}}": Array [
Array [
"0",
"plural",
Object {
"one": "This execution environment is currently being used by other resources. Are you sure you want to delete it?",
"other": " Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?",
},
],
],
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other {Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?}}": Array [
Array [
"0",
"plural",
Object {
"one": "This execution environment is currently being used by other resources. Are you sure you want to delete it?",
"other": "Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?",
"other": "These execution environments could be in use by other resources that rely on them. Are you sure you want to delete them anyway?",
},
],
],
@ -2785,6 +2789,16 @@ message. For more information, refer to the",
},
],
],
"{0, plural, one {You cannot cancel the following job because it is not running:} other {You cannot cancel the following jobs because they are not running:}}": Array [
Array [
"0",
"plural",
Object {
"one": "You cannot cancel the following job because it is not running:",
"other": "You cannot cancel the following jobs because they are not running:",
},
],
],
"{0, plural, one {You cannot cancel the following job because it is not running} other {You cannot cancel the following jobs because they are not running}}": Array [
Array [
"0",
@ -3740,6 +3754,19 @@ callback URL. Using the URL a host can contact BRAND_NAME
and request a configuration update using this job
template.",
"Enables creation of a provisioning
callback URL. Using the URL a host can contact {BrandName}
and request a configuration update using this job
template.": Array [
"Enables creation of a provisioning
callback URL. Using the URL a host can contact ",
Array [
"BrandName",
],
"
and request a configuration update using this job
template.",
],
"Enables creation of a provisioning
callback URL. Using the URL a host can contact {brandName}
and request a configuration update using this job
template": Array [
@ -4261,6 +4288,7 @@ reset by the inventory sync process.",
"Last job": "Last job",
"Last job run": "Last job run",
"Last modified": "Last modified",
"Last used": "Last used",
"Launch": "Launch",
"Launch Management Job": "Launch Management Job",
"Launch Template": "Launch Template",
@ -4402,11 +4430,11 @@ disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.",
"Note that you may still see the group in the list after
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.": "Note that you may still see the group in the list after
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.",
"Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.": "Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.",
"Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.": "Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.",
@ -5809,23 +5837,13 @@ message. For more information, refer to the",
},
],
],
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other { Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?}}": Array [
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other {These execution environments could be in use by other resources that rely on them. Are you sure you want to delete them anyway?}}": Array [
Array [
"0",
"plural",
Object {
"one": "This execution environment is currently being used by other resources. Are you sure you want to delete it?",
"other": " Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?",
},
],
],
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other {Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?}}": Array [
Array [
"0",
"plural",
Object {
"one": "This execution environment is currently being used by other resources. Are you sure you want to delete it?",
"other": "Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?",
"other": "These execution environments could be in use by other resources that rely on them. Are you sure you want to delete them anyway?",
},
],
],
@ -5889,6 +5907,16 @@ message. For more information, refer to the",
},
],
],
"{0, plural, one {You cannot cancel the following job because it is not running:} other {You cannot cancel the following jobs because they are not running:}}": Array [
Array [
"0",
"plural",
Object {
"one": "You cannot cancel the following job because it is not running:",
"other": "You cannot cancel the following jobs because they are not running:",
},
],
],
"{0, plural, one {You cannot cancel the following job because it is not running} other {You cannot cancel the following jobs because they are not running}}": Array [
Array [
"0",

View File

@ -663,6 +663,19 @@ callback URL. Using the URL a host can contact BRAND_NAME
and request a configuration update using this job
template.",
"Enables creation of a provisioning
callback URL. Using the URL a host can contact {BrandName}
and request a configuration update using this job
template.": Array [
"Enables creation of a provisioning
callback URL. Using the URL a host can contact ",
Array [
"BrandName",
],
"
and request a configuration update using this job
template.",
],
"Enables creation of a provisioning
callback URL. Using the URL a host can contact {brandName}
and request a configuration update using this job
template": Array [
@ -1184,6 +1197,7 @@ reset by the inventory sync process.",
"Last job": "Last job",
"Last job run": "Last job run",
"Last modified": "Last modified",
"Last used": "Last used",
"Launch": "Launch",
"Launch Management Job": "Launch Management Job",
"Launch Template": "Launch Template",
@ -1325,11 +1339,11 @@ disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.",
"Note that you may still see the group in the list after
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.": "Note that you may still see the group in the list after
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.",
"Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.": "Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.",
"Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.": "Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.",
@ -2732,23 +2746,13 @@ message. For more information, refer to the",
},
],
],
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other { Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?}}": Array [
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other {These execution environments could be in use by other resources that rely on them. Are you sure you want to delete them anyway?}}": Array [
Array [
"0",
"plural",
Object {
"one": "This execution environment is currently being used by other resources. Are you sure you want to delete it?",
"other": " Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?",
},
],
],
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other {Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?}}": Array [
Array [
"0",
"plural",
Object {
"one": "This execution environment is currently being used by other resources. Are you sure you want to delete it?",
"other": "Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?",
"other": "These execution environments could be in use by other resources that rely on them. Are you sure you want to delete them anyway?",
},
],
],
@ -2812,6 +2816,16 @@ message. For more information, refer to the",
},
],
],
"{0, plural, one {You cannot cancel the following job because it is not running:} other {You cannot cancel the following jobs because they are not running:}}": Array [
Array [
"0",
"plural",
Object {
"one": "You cannot cancel the following job because it is not running:",
"other": "You cannot cancel the following jobs because they are not running:",
},
],
],
"{0, plural, one {You cannot cancel the following job because it is not running} other {You cannot cancel the following jobs because they are not running}}": Array [
Array [
"0",
@ -4504,6 +4518,19 @@ callback URL. Using the URL a host can contact BRAND_NAME
and request a configuration update using this job
template.",
"Enables creation of a provisioning
callback URL. Using the URL a host can contact {BrandName}
and request a configuration update using this job
template.": Array [
"Enables creation of a provisioning
callback URL. Using the URL a host can contact ",
Array [
"BrandName",
],
"
and request a configuration update using this job
template.",
],
"Enables creation of a provisioning
callback URL. Using the URL a host can contact {brandName}
and request a configuration update using this job
template": Array [
@ -5025,6 +5052,7 @@ reset by the inventory sync process.",
"Last job": "Last job",
"Last job run": "Last job run",
"Last modified": "Last modified",
"Last used": "Last used",
"Launch": "Launch",
"Launch Management Job": "Launch Management Job",
"Launch Template": "Launch Template",
@ -5166,11 +5194,11 @@ disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.",
"Note that you may still see the group in the list after
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.": "Note that you may still see the group in the list after
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
disassociating if the host is also a member of that groups
children. This list shows all groups the host is associated
with directly and indirectly.",
"Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.": "Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.",
"Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.": "Note that you may still see the group in the list after disassociating if the host is also a member of that groups children. This list shows all groups the host is associated with directly and indirectly.",
@ -6573,23 +6601,13 @@ message. For more information, refer to the",
},
],
],
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other { Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?}}": Array [
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other {These execution environments could be in use by other resources that rely on them. Are you sure you want to delete them anyway?}}": Array [
Array [
"0",
"plural",
Object {
"one": "This execution environment is currently being used by other resources. Are you sure you want to delete it?",
"other": " Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?",
},
],
],
"{0, plural, one {This execution environment is currently being used by other resources. Are you sure you want to delete it?} other {Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?}}": Array [
Array [
"0",
"plural",
Object {
"one": "This execution environment is currently being used by other resources. Are you sure you want to delete it?",
"other": "Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?",
"other": "These execution environments could be in use by other resources that rely on them. Are you sure you want to delete them anyway?",
},
],
],
@ -6653,6 +6671,16 @@ message. For more information, refer to the",
},
],
],
"{0, plural, one {You cannot cancel the following job because it is not running:} other {You cannot cancel the following jobs because they are not running:}}": Array [
Array [
"0",
"plural",
Object {
"one": "You cannot cancel the following job because it is not running:",
"other": "You cannot cancel the following jobs because they are not running:",
},
],
],
"{0, plural, one {You cannot cancel the following job because it is not running} other {You cannot cancel the following jobs because they are not running}}": Array [
Array [
"0",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -187,7 +187,7 @@ function ExecutionEnvironmentList() {
<Plural
value={selected.length}
one="This execution environment is currently being used by other resources. Are you sure you want to delete it?"
other="Deleting these execution environemnts could impact other resources that rely on them. Are you sure you want to delete anyway?"
other="These execution environments could be in use by other resources that rely on them. Are you sure you want to delete them anyway?"
/>
}
/>,