FIX: Apply useTranslation on dialog tooltips

This commit is contained in:
Daniel
2024-12-25 13:37:39 +01:00
committed by Nicolás Hatcher Andrés
parent 095002710b
commit 2e7410552f
3 changed files with 6 additions and 4 deletions

View File

@@ -23,8 +23,8 @@ const SheetRenameDialog = (properties: SheetRenameDialogProps) => {
{t("sheet_rename.title")}
<Cross
onClick={handleClose}
title="Close Dialog"
tabIndex={0}
title={t("sheet_rename.close")}
tabIndex={-1}
onKeyDown={() => {}}
>
<X />

View File

@@ -38,7 +38,7 @@ const FormatPicker = (properties: FormatPickerProps) => {
{t("num_fmt.title")}
<Cross
onClick={handleClose}
title="Close Dialog"
title={t("num_fmt.close")}
tabIndex={0}
onKeyDown={() => {}}
>

View File

@@ -58,12 +58,14 @@
"num_fmt": {
"title": "Custom number format",
"label": "Number format",
"close": "Close dialog",
"save": "Save"
},
"sheet_rename": {
"rename": "Save",
"label": "New name",
"title": "Rename Sheet"
"title": "Rename Sheet",
"close": "Close dialog"
},
"formula_input": {
"update": "Update",