Kusuma04-dev commented on code in PR #3351:
URL:
https://github.com/apache/incubator-kie-tools/pull/3351#discussion_r2538119696
##########
packages/online-editor/src/devDeployments/DevDeploymentsDeployDropdownItems.tsx:
##########
@@ -92,20 +95,30 @@ export function
useDevDeploymentsDeployDropdownItems(workspace: ActiveWorkspace
onClick={onDeploy}
isDisabled={!authSessionId}
ouiaId={"deploy-to-dmn-dev-deployment-dropdown-button"}
- description="For development only!"
+ description={i18n.devDeployments.common.forDevelopmentOnly}
style={{ minWidth: "400px" }}
>
{workspace.files.length > 1 && (
<Flex flexWrap={{ default: "nowrap" }}>
<FlexItem>
- Deploy <b>{`"${workspace.descriptor.name}"`}</b>
+ <I18nWrappedTemplate
+ text={i18n.devDeployments.common.deployWorkspace}
+ interpolationMap={{
+ name: <b>{`"${workspace.descriptor.name}"`}</b>,
+ }}
+ />
</FlexItem>
</Flex>
)}
{workspace.files.length === 1 && (
<Flex flexWrap={{ default: "nowrap" }}>
<FlexItem>
- Deploy
<b>{`"${workspace.files[0].nameWithoutExtension}"`}</b>
+ <I18nWrappedTemplate
+ text={i18n.devDeployments.common.deployWorkspace}
+ interpolationMap={{
+ name:
<b>{`"${workspace.files[0].nameWithoutExtension}"`}</b>,
Review Comment:
Thanks for the review @danielzhe . I have modified it. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]