Skip to content

Commit

Permalink
Merge pull request #1544 from karelhala/resource-definition-title
Browse files Browse the repository at this point in the history
Resource definitons applies to cost and inventory
  • Loading branch information
fhlavac authored Oct 12, 2023
2 parents d9a31ea + f279199 commit 79b8f8e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions locales/translation-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -974,9 +974,9 @@
"defaultMessage": "Resource definitions",
"description": "Resource definitions label"
},
"resourceDefinitionsApplyToCost": {
"defaultMessage": "Resource definitions only apply to Cost Management permissions",
"description": "Resource definitions only apply to Cost Management permissions message"
"resourceDefinitionsApplyToCostAndInventory": {
"defaultMessage": "Resource definitions only apply to Cost Management and Inventory permissions",
"description": "Resource definitions only apply to Cost Management and Inventory permissions message"
},
"resourceType": {
"defaultMessage": "Resource type",
Expand Down
8 changes: 4 additions & 4 deletions src/Messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -1438,10 +1438,10 @@ export default defineMessages({
description: 'Last commit label',
defaultMessage: 'Last commit',
},
resourceDefinitionsApplyToCost: {
id: 'resourceDefinitionsApplyToCost',
description: 'Resource definitions only apply to Cost Management permissions message',
defaultMessage: 'Resource definitions only apply to Cost Management permissions',
resourceDefinitionsApplyToCostAndInventory: {
id: 'resourceDefinitionsApplyToCostAndInventory',
description: 'Resource definitions only apply to Cost Management and Inventory permissions message',
defaultMessage: 'Resource definitions only apply to Cost Management and Inventory permissions',
},
removePermissionQuestion: {
id: 'removePermissionQuestion',
Expand Down
4 changes: 2 additions & 2 deletions src/locales/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@
"resource": "Resource",
"resourceDefinition": "Resource definition",
"resourceDefinitions": "Resource definitions",
"resourceDefinitionsApplyToCost": "Resource definitions only apply to Cost Management permissions",
"resourceDefinitionsApplyToCostAndInventory": "Resource definitions only apply to Cost Management and Inventory permissions",
"resourceType": "Resource type",
"resources": "Resources",
"resourcesAvailable": "Resources available for the permission",
Expand Down Expand Up @@ -310,4 +310,4 @@
"yourPermissions": "Your {name} permissions",
"yourRoles": "Your {name} roles"
}
}
}
4 changes: 2 additions & 2 deletions src/locales/translations.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
"resource": "Resource",
"resourceDefinition": "Resource definition",
"resourceDefinitions": "Resource definitions",
"resourceDefinitionsApplyToCost": "Resource definitions only apply to Cost Management permissions",
"resourceDefinitionsApplyToCostAndInventory": "Resource definitions only apply to Cost Management and Inventory permissions",
"resourceType": "Resource type",
"resources": "Resources",
"resourcesAvailable": "Resources available for the permission",
Expand Down Expand Up @@ -308,4 +308,4 @@
"yes": "Yes",
"yourPermissions": "Your {name} permissions",
"yourRoles": "Your {name} roles"
}
}
4 changes: 2 additions & 2 deletions src/smart-components/role/role-permissions.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ const Permissions = ({ cantAddPermissions }) => {
title: intl.formatMessage(messages.resourceDefinitions),
transforms: [
info({
popover: intl.formatMessage(messages.resourceDefinitionsApplyToCost),
ariaLabel: intl.formatMessage(messages.resourceDefinitionsApplyToCost),
popover: intl.formatMessage(messages.resourceDefinitionsApplyToCostAndInventory),
ariaLabel: intl.formatMessage(messages.resourceDefinitionsApplyToCostAndInventory),
}),
],
},
Expand Down

0 comments on commit 79b8f8e

Please sign in to comment.