Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

fix locales - add missing translations

Guy Ben-Aharoncba83249c0f3
diff --git a/src/i18n/locales/de.ts b/src/i18n/locales/de.ts
index f57a8e7d..f97454a4 100644
--- a/src/i18n/locales/de.ts
+++ b/src/i18n/locales/de.ts
@@ -271,6 +271,18 @@ export const de: LanguageTranslation = {
},
},
+ // TODO: Translate
+ export_image_dialog: {
+ title: 'Export Image',
+ description: 'Choose the scale factor for export:',
+ scale_1x: '1x Regular',
+ scale_2x: '2x (Recommended)',
+ scale_3x: '3x',
+ scale_4x: '4x',
+ cancel: 'Cancel',
+ export: 'Export',
+ },
+
new_table_schema_dialog: {
title: 'Schema auswählen',
description:
diff --git a/src/i18n/locales/en.ts b/src/i18n/locales/en.ts
index 56c21060..543d9e16 100644
--- a/src/i18n/locales/en.ts
+++ b/src/i18n/locales/en.ts
@@ -273,13 +273,10 @@ export const en = {
export_image_dialog: {
title: 'Export Image',
description: 'Choose the scale factor for export:',
- select_scale: 'Select scale',
scale_1x: '1x Regular',
scale_2x: '2x (Recommended)',
scale_3x: '3x',
scale_4x: '4x',
- export_png: 'Export High-Res PNG',
- export_jpg: 'Export High-Res JPG',
cancel: 'Cancel',
export: 'Export',
},
diff --git a/src/i18n/locales/es.ts b/src/i18n/locales/es.ts
index c81eaf7b..1f2b97e6 100644
--- a/src/i18n/locales/es.ts
+++ b/src/i18n/locales/es.ts
@@ -1,4 +1,4 @@
-import type { LanguageTranslation } from '../types';
+import type { LanguageMetadata, LanguageTranslation } from '../types';
export const es: LanguageTranslation = {
translation: {
@@ -263,16 +263,14 @@ export const es: LanguageTranslation = {
},
},
+ // TODO: Translate
export_image_dialog: {
title: 'Export Image',
description: 'Choose the scale factor for export:',
- select_scale: 'Select scale',
scale_1x: '1x Regular',
scale_2x: '2x (Recommended)',
scale_3x: '3x',
scale_4x: '4x',
- export_png: 'Export High-Res PNG',
- export_jpg: 'Export High-Res JPG',
cancel: 'Cancel',
export: 'Export',
},
@@ -328,7 +326,7 @@ export const es: LanguageTranslation = {
},
};
-export const esMetadata = {
+export const esMetadata: LanguageMetadata = {
name: 'Español',
code: 'es',
};
diff --git a/src/i18n/locales/fr.ts b/src/i18n/locales/fr.ts
index dd57d21e..770c836c 100644
--- a/src/i18n/locales/fr.ts
+++ b/src/i18n/locales/fr.ts
@@ -1,6 +1,6 @@
-import type { LanguageMetadata } from '../types';
+import type { LanguageMetadata, LanguageTranslation } from '../types';
-export const fr = {
+export const fr: LanguageTranslation = {
translation: {
menu: {
file: {
@@ -126,6 +126,7 @@ export const fr = {
add_field: 'Ajouter un Champ',
add_index: 'Ajouter un Index',
delete_table: 'Supprimer la Table',
+ change_schema: 'Changer le Schéma',
},
},
empty_state: {
@@ -226,6 +227,54 @@ export const fr = {
},
},
+ // TODO: Translate
+ export_image_dialog: {
+ title: 'Export Image',
+ description: 'Choose the scale factor for export:',
+ scale_1x: '1x Regular',
+ scale_2x: '2x (Recommended)',
+ scale_3x: '3x',
+ scale_4x: '4x',
+ cancel: 'Cancel',
+ export: 'Export',
+ },
+
+ // TODO: Translate
+ multiple_schemas_alert: {
+ title: 'Multiple Schemas',
+ description:
+ '{{schemasCount}} schemas in this diagram. Currently displaying: {{formattedSchemas}}.',
+ dont_show_again: "Don't show again",
+ change_schema: 'Change',
+ none: 'none',
+ },
+
+ // TODO: Translate
+ new_table_schema_dialog: {
+ title: 'Select Schema',
+ description:
+ 'Multiple schemas are currently displayed. Select one for the new table.',
+ cancel: 'Cancel',
+ confirm: 'Confirm',
+ },
+
+ // TODO: Translate
+ star_us_dialog: {
+ title: 'Help us improve!',
+ description:
+ "Would you like to star us on GitHub? It's just a click away!",
+ close: 'Not now',
+ confirm: 'Of course!',
+ },
+
+ // TODO: Translate
+ update_table_schema_dialog: {
+ title: 'Change Schema',
+ description: 'Update table "{{tableName}}" schema',
+ cancel: 'Cancel',
+ confirm: 'Change',
+ },
+
create_relationship_dialog: {
title: 'Créer une Relation',
primary_table: 'Table Principale',