mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-21 08:21:40 +00:00
Improved Chinese translation, fixed some ui labels (#11283)
Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com>
This commit is contained in:
parent
9ebc0cd5e4
commit
b1cb6f62c6
@ -144,7 +144,9 @@ const OwnerInsight: FC<Props> = ({ chartFilter, kpi, selectedDays }) => {
|
||||
{t('label.data-insight-owner-summary')}
|
||||
</Typography.Title>
|
||||
<Typography.Text className="data-insight-label-text">
|
||||
{t('message.field-insight', { field: 'owner' })}
|
||||
{t('message.field-insight', {
|
||||
field: t('label.owner'),
|
||||
})}
|
||||
</Typography.Text>
|
||||
</>
|
||||
}>
|
||||
|
@ -124,7 +124,9 @@ const TierInsight: FC<Props> = ({ chartFilter, selectedDays }) => {
|
||||
{t('label.data-insight-tier-summary')}
|
||||
</Typography.Title>
|
||||
<Typography.Text className="data-insight-label-text">
|
||||
{t('message.field-insight', { field: 'tier' })}
|
||||
{t('message.field-insight', {
|
||||
field: t('label.tier'),
|
||||
})}
|
||||
</Typography.Text>
|
||||
</>
|
||||
}>
|
||||
|
@ -274,9 +274,9 @@ const Appbar: React.FC = (): JSX.Element => {
|
||||
</Typography.Paragraph>
|
||||
</Link>
|
||||
<hr className="tw-my-1.5" />
|
||||
{roles.length > 0 ? getUsersRoles(roles, 'Roles') : null}
|
||||
{roles.length > 0 ? getUsersRoles(roles, t('label.role-plural')) : null}
|
||||
{inheritedRoles.length > 0
|
||||
? getUsersRoles(inheritedRoles, 'Inherited Roles')
|
||||
? getUsersRoles(inheritedRoles, t('label.inherited-role-plural'))
|
||||
: null}
|
||||
{teams.length > 0 ? (
|
||||
<div>
|
||||
|
@ -156,13 +156,15 @@ export const ENTITIES_SUMMARY_LIST = [
|
||||
},
|
||||
{
|
||||
label: i18n.t('label.data-asset-plural-with-field', {
|
||||
field: 'description',
|
||||
field: i18n.t('label.description'),
|
||||
}),
|
||||
latest: 0,
|
||||
id: DataInsightChartType.PercentageOfEntitiesWithDescriptionByType,
|
||||
},
|
||||
{
|
||||
label: i18n.t('label.data-asset-plural-with-field', { field: 'owners' }),
|
||||
label: i18n.t('label.data-asset-plural-with-field', {
|
||||
field: i18n.t('label.owner-plural'),
|
||||
}),
|
||||
latest: 0,
|
||||
id: DataInsightChartType.PercentageOfEntitiesWithOwnerByType,
|
||||
},
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -118,7 +118,7 @@ const KPIList = () => {
|
||||
),
|
||||
},
|
||||
{
|
||||
title: 'Actions',
|
||||
title: t('label.action-plural'),
|
||||
dataIndex: 'actions',
|
||||
width: '80px',
|
||||
key: 'actions',
|
||||
|
@ -288,7 +288,9 @@ const RuleForm: FC<RuleFormProps> = ({ ruleData, setRuleData }) => {
|
||||
treeCheckable
|
||||
className="w-full"
|
||||
data-testid="operations"
|
||||
placeholder="Select Operations"
|
||||
placeholder={t('label.select-field', {
|
||||
field: t('label.operation-plural'),
|
||||
})}
|
||||
showCheckedStrategy={TreeSelect.SHOW_PARENT}
|
||||
treeData={operationOptions}
|
||||
onChange={(values: Operation[]) => {
|
||||
|
@ -287,7 +287,7 @@ const TestSuiteDetailsPage = () => {
|
||||
const extraInfo: Array<ExtraInfo> = useMemo(
|
||||
() => [
|
||||
{
|
||||
key: t('label.owner'),
|
||||
key: 'owner',
|
||||
value:
|
||||
testOwner?.type === 'team'
|
||||
? getTeamAndUserDetailsPath(testOwner?.name || '')
|
||||
|
@ -294,7 +294,7 @@ export const getIngestionButtonText = (
|
||||
? t('label.deploy-search-index-pipeline')
|
||||
: t('label.add-workflow-ingestion', {
|
||||
workflow: startCase(
|
||||
pipelineType ? pipelineType : PipelineType.Metadata
|
||||
pipelineType ? pipelineType : t(`label.${PipelineType.Metadata}`)
|
||||
),
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user