Configure i18n and add simplified chinese (#99)

This commit is contained in:
1ilit
2024-05-16 06:44:39 +03:00
parent 9de091c990
commit 2b4b01c358
52 changed files with 1339 additions and 528 deletions

View File

@@ -1,3 +1,5 @@
import i18n from "../i18n/i18n";
export const sqlDataTypes = [
"INT",
"SMALLINT",
@@ -55,9 +57,9 @@ export const tableFieldHeight = 36;
export const tableColorStripHeight = 7;
export const Cardinality = {
ONE_TO_ONE: "One to one",
ONE_TO_MANY: "One to many",
MANY_TO_ONE: "Many to one",
ONE_TO_ONE: i18n.t("one_to_one"),
ONE_TO_MANY: i18n.t("one_to_many"),
MANY_TO_ONE: i18n.t("many_to_one"),
};
export const Constraint = {
@@ -112,6 +114,7 @@ export const MODAL = {
NEW: 7,
IMPORT_SRC: 8,
TABLE_WIDTH: 9,
LANGUAGE: 10,
};
export const STATUS = {
@@ -125,4 +128,4 @@ export const SIDESHEET = {
NONE: 0,
TODO: 1,
TIMELINE: 2,
};
};