fix locales - add missing translations

This commit is contained in:
Guy Ben-Aharon
2024-09-26 14:16:58 +03:00
committed by Guy Ben-Aharon
parent c9fd030a7b
commit cba83249c0
4 changed files with 66 additions and 10 deletions
+12
View File
@@ -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:
-3
View File
@@ -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',
},
+3 -5
View File
@@ -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',
};
+51 -2
View File
@@ -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',