fix: update translations
Signed-off-by: mario ma <mario.ma.node@gmail.com>
This commit is contained in:
@@ -107,7 +107,7 @@ export const UserSettingsFeatureFlags = () => {
|
||||
{featureFlags.length >= 10 && (
|
||||
<Grid item xs={6} md={4}>
|
||||
<TextField
|
||||
label="Filter"
|
||||
label={t('featureFlags.filterTitle')}
|
||||
style={{ display: 'flex', justifyContent: 'flex-end' }}
|
||||
inputRef={ref => ref && ref.focus()}
|
||||
InputProps={{
|
||||
|
||||
@@ -38,7 +38,11 @@ export const UserSettingsPinToggle = () => {
|
||||
<Tooltip
|
||||
placement="top"
|
||||
arrow
|
||||
title={`${isPinned ? 'Unpin' : 'Pin'} Sidebar`}
|
||||
title={
|
||||
isPinned
|
||||
? t('pinToggle.switchTitles.unpin')
|
||||
: t('pinToggle.switchTitles.pin')
|
||||
}
|
||||
>
|
||||
<Switch
|
||||
color="primary"
|
||||
|
||||
@@ -42,6 +42,10 @@ export const userSettingsTranslationRef = createTranslationRef({
|
||||
pinToggle: {
|
||||
title: 'Pin Sidebar',
|
||||
description: 'Prevent the sidebar from collapsing',
|
||||
switchTitles: {
|
||||
unpin: 'Unpin Sidebar',
|
||||
pin: 'Pin Sidebar',
|
||||
},
|
||||
},
|
||||
identityCard: {
|
||||
title: 'Backstage Identity',
|
||||
@@ -96,6 +100,7 @@ export const userSettingsTranslationRef = createTranslationRef({
|
||||
readMoreButtonTitle: 'Read More',
|
||||
},
|
||||
},
|
||||
filterTitle: 'Filter',
|
||||
flagItem: {
|
||||
title: {
|
||||
disable: 'Disable',
|
||||
@@ -107,7 +112,6 @@ export const userSettingsTranslationRef = createTranslationRef({
|
||||
},
|
||||
},
|
||||
},
|
||||
general: {},
|
||||
settingsLayout: {
|
||||
title: 'Settings',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user