mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
Fix non-translatable template string
This commit is contained in:
@@ -25,13 +25,15 @@ function About({ version, isOpen, onClose, i18n }) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const speechBubble = createSpeechBubble();
|
const speechBubble = createSpeechBubble();
|
||||||
|
const copyright = i18n._(t`Copyright`);
|
||||||
|
const redHatInc = i18n._(t`Red Hat, Inc.`);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AboutModal
|
<AboutModal
|
||||||
isOpen={isOpen}
|
isOpen={isOpen}
|
||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
productName={`Ansible ${BrandName}`}
|
productName={`Ansible ${BrandName}`}
|
||||||
trademark={i18n._(t`Copyright ${new Date().getFullYear()} Red Hat, Inc.`)}
|
trademark={`${copyright} ${new Date().getFullYear()} ${redHatInc}`}
|
||||||
brandImageSrc="/static/media/logo-header.svg"
|
brandImageSrc="/static/media/logo-header.svg"
|
||||||
brandImageAlt={i18n._(t`Brand Image`)}
|
brandImageAlt={i18n._(t`Brand Image`)}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user