Skip to content

Commit

Permalink
refactor(translations): Name is changed to Title
Browse files Browse the repository at this point in the history
  • Loading branch information
etokiryau committed Jan 15, 2025
1 parent 78695b4 commit 0ee3284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ const PropertiesModal = ({
<Col xs={24} md={12}>
{/* <FormItem label={t('Name')} name="title"> */}
{/* DODO changed 44120742 */}
<FormItem label={`${t('Name')} EN`} name="title">
<FormItem label={t('Title')} name="title">
<Input
data-test="dashboard-title-input"
type="text"
Expand All @@ -669,7 +669,7 @@ const PropertiesModal = ({
</Col>
{/* DODO added start 44120742 */}
<Col xs={24} md={12}>
<FormItem label={`${t('Name')} RU`} name="titleRU">
<FormItem label={t('Title (Rus)')} name="titleRU">
<Input
data-test="dashboard-title-ru-input"
type="text"
Expand Down
4 changes: 2 additions & 2 deletions superset-frontend/src/pages/DashboardList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ function DashboardList(props: DashboardListProps) {
</Link>
),
// Header: t('Name'),
Header: `${t('Name')} EN`, // DODO changed 44120742
Header: t('Title'), // DODO changed 44120742
accessor: 'dashboard_title',
},
// DODO added start 44120742
Expand All @@ -354,7 +354,7 @@ function DashboardList(props: DashboardListProps) {
}: any) => (
<Link to={url}>{dashboardTitleRU ? `${dashboardTitleRU}` : '-'}</Link>
),
Header: `${t('Name')} RU`,
Header: t('Title (Rus)'),
accessor: 'dashboard_title_RU',
},
// DODO added stop 44120742
Expand Down

0 comments on commit 0ee3284

Please sign in to comment.