feat: i18n

This commit is contained in:
Zamitto 2025-02-15 22:59:59 -03:00
parent ae159a4d44
commit 543528bcce
4 changed files with 10 additions and 10 deletions

View file

@ -310,9 +310,9 @@
"editor_tab_save": "Save",
"web_store": "Web store",
"clear_themes": "Clear",
"add_theme": "Add",
"add_theme_modal_title": "Create custom theme",
"add_theme_modal_description": "Create a new theme to customize Hydra's appearance",
"create_theme": "Create",
"create_theme_modal_title": "Create custom theme",
"create_theme_modal_description": "Create a new theme to customize Hydra's appearance",
"theme_name": "Name",
"insert_theme_name": "Insert theme name",
"set_theme": "Set theme",

View file

@ -300,9 +300,9 @@
"editor_tab_save": "Salvar",
"web_store": "Loja de temas",
"clear_themes": "Limpar",
"add_theme": "Adicionar",
"add_theme_modal_title": "Criar tema customizado",
"add_theme_modal_description": "Criar novo tema para customizar a aparência do Hydra",
"create_theme": "Criar",
"create_theme_modal_title": "Criar tema customizado",
"create_theme_modal_description": "Criar novo tema para customizar a aparência do Hydra",
"theme_name": "Nome",
"insert_theme_name": "Insira o nome do tema",
"set_theme": "Habilitar tema",

View file

@ -67,7 +67,7 @@ export const ThemeActions = ({
onClick={() => setAddThemeModalVisible(true)}
>
<PlusIcon />
{t("add_theme")}
{t("create_theme")}
</Button>
</div>
</div>

View file

@ -56,8 +56,8 @@ export const AddThemeModal = ({
return (
<Modal
visible={visible}
title={t("add_theme_modal_title")}
description={t("add_theme_modal_description")}
title={t("create_theme_modal_title")}
description={t("create_theme_modal_description")}
onClose={onClose}
>
<div className="add-theme-modal__container">
@ -72,7 +72,7 @@ export const AddThemeModal = ({
/>
<Button theme="primary" onClick={handleSubmit}>
{t("add_theme")}
{t("create_theme")}
</Button>
</div>
</Modal>