🐛 Add missing translations for save affix
This commit is contained in:
@@ -8,7 +8,10 @@
|
|||||||
"secondaryColor": "Secondary color"
|
"secondaryColor": "Secondary color"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"save": "Save changes",
|
"save": {
|
||||||
|
"button": "Save changes",
|
||||||
|
"note": "Careful, you have unsaved changes!"
|
||||||
|
},
|
||||||
"notifications": {
|
"notifications": {
|
||||||
"pending": {
|
"pending": {
|
||||||
"title": "Saving customization",
|
"title": "Saving customization",
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ export default function CustomizationPage() {
|
|||||||
withBorder
|
withBorder
|
||||||
>
|
>
|
||||||
<Group position="apart" noWrap>
|
<Group position="apart" noWrap>
|
||||||
<Text weight="bold">Careful, you have unsaved changes!</Text>
|
<Text weight="bold">{t('save.note')}</Text>
|
||||||
<Group spacing="md">
|
<Group spacing="md">
|
||||||
<Button
|
<Button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -157,7 +157,7 @@ export default function CustomizationPage() {
|
|||||||
variant="subtle"
|
variant="subtle"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
Cancel
|
{t('common:cancel')}
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -169,10 +169,9 @@ export default function CustomizationPage() {
|
|||||||
}}
|
}}
|
||||||
disabled={!form.isValid()}
|
disabled={!form.isValid()}
|
||||||
loading={isLoading}
|
loading={isLoading}
|
||||||
type="submit"
|
|
||||||
color="green"
|
color="green"
|
||||||
>
|
>
|
||||||
{t('save')}
|
{t('save.button')}
|
||||||
</Button>
|
</Button>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
|
|||||||
Reference in New Issue
Block a user