From 11df4fabdf975c7170090449c98104418bc89433 Mon Sep 17 00:00:00 2001 From: Luis Carlos Date: Mon, 26 Aug 2024 11:52:10 -0400 Subject: [PATCH] add translation text --- src/components/EditorHeader/ControlPanel.jsx | 2 +- src/i18n/locales/en.js | 1 + src/i18n/locales/es.js | 1 + src/i18n/locales/fr.js | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/EditorHeader/ControlPanel.jsx b/src/components/EditorHeader/ControlPanel.jsx index 2c00f5f..2d8facd 100644 --- a/src/components/EditorHeader/ControlPanel.jsx +++ b/src/components/EditorHeader/ControlPanel.jsx @@ -1063,7 +1063,7 @@ export default function ControlPanel({ }, }, { - Readme: () => { + readme: () => { setModal(MODAL.CODE); const result = jsonToDocumentation({ tables: tables, diff --git a/src/i18n/locales/en.js b/src/i18n/locales/en.js index 944e44b..5ee193a 100644 --- a/src/i18n/locales/en.js +++ b/src/i18n/locales/en.js @@ -236,6 +236,7 @@ const en = { empty_index_name: "Declared an index with no name in table '{{tableName}}'", didnt_find_diagram: "Oops! Didn't find the diagram.", unsigned: "Unsigned", + readme: "README", }, }; diff --git a/src/i18n/locales/es.js b/src/i18n/locales/es.js index 173b297..d90df15 100644 --- a/src/i18n/locales/es.js +++ b/src/i18n/locales/es.js @@ -212,6 +212,7 @@ const es = { edit_relationship: "{{extra}} Editar relación {{refName}}", delete_relationship: "Eliminar relación {{refName}}", not_found: "No encontrado", + readme: "README", }, }; diff --git a/src/i18n/locales/fr.js b/src/i18n/locales/fr.js index 31cb97f..f4497ae 100644 --- a/src/i18n/locales/fr.js +++ b/src/i18n/locales/fr.js @@ -217,6 +217,7 @@ const fr = { edit_relationship: "{{extra}} Modifier la relation {{refName}}", delete_relationship: "Supprimer la relation {{refName}}", not_found: "Non trouvé", + readme: "README", }, };