A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
refactor(ui): Update i18n fields
robina1e427c8abe1
diff --git a/i18n/en_US.yaml b/i18n/en_US.yamlindex 70318a38..1a526b1a 100644--- a/i18n/en_US.yaml+++ b/i18n/en_US.yaml@@ -2158,6 +2158,7 @@ ui:badges:action: Actionactive: Active+ activate: Activateall: Allawards: Awardsdeactivate: Deactivatediff --git a/ui/src/pages/Admin/Badges/components/Action/index.tsx b/ui/src/pages/Admin/Badges/components/Action/index.tsxindex 023e626f..cff07380 100644--- a/ui/src/pages/Admin/Badges/components/Action/index.tsx+++ b/ui/src/pages/Admin/Badges/components/Action/index.tsx@@ -37,7 +37,7 @@ const BadgeOperation = ({ onSelect, status }: Props) => {</Dropdown.Toggle><Dropdown.Menu align="end">{status === 'inactive' && (- <Dropdown.Item eventKey="active">{t('active')}</Dropdown.Item>+ <Dropdown.Item eventKey="active">{t('activate')}</Dropdown.Item>)}{status === 'active' && (<Dropdown.Item eventKey="inactive">{t('deactivate')}</Dropdown.Item>