Skip to content

Commit 7ba1fe3

Browse files
committed
fixed error and warnings
1 parent 105e5f2 commit 7ba1fe3

File tree

10 files changed

+7178
-9
lines changed

10 files changed

+7178
-9
lines changed

client/packages/lowcoder/src/i18n/locales/de.ts

Lines changed: 1194 additions & 1 deletion
Large diffs are not rendered by default.

client/packages/lowcoder/src/i18n/locales/es.ts

Lines changed: 1194 additions & 1 deletion
Large diffs are not rendered by default.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { enObj } from "./enObj";
2+
import { I18nObjects } from "./types";
3+
4+
export const esObj: I18nObjects = enObj;

client/packages/lowcoder/src/i18n/locales/index.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ export const zh = async ():Promise<object> => await import(viewMode() === "edit"
88
export const ru = async ():Promise<object> => await import(viewMode() === "edit" ? "./ruEditor" : viewMode() === "view" ? "./ruViewer" : "./ru").then(module => module.ru);
99

1010

11-
export const enObj = async ():Promise<object> => await import("./enObj").then(module => (module.enObj));
11+
export const enObj = async ():Promise<object | undefined> => await import("./enObj").then(module => (module.enObj));
1212
export const deObj = async ():Promise<object | undefined> => await import("./deObj").then(module => (module.deObj));
13-
export const itObj = async ():Promise<object> => await import("./itObj").then(module => (module.itObj));
13+
export const itObj = async ():Promise<object | undefined> => await import("./itObj").then(module => (module.itObj));
14+
export const ptObj = async ():Promise<object | undefined> => await import("./ptObj").then(module => (module.ptObj));
15+
export const esObj = async ():Promise<object | undefined> => await import("./esObj").then(module => (module.esObj));
1416
export const zhObj = async ():Promise<object | undefined> => await import("./zhObj").then(module => (module.zhObj));
17+
export const ruObj = async ():Promise<object | undefined> => await import("./ruObj").then(module => (module.ruObj));

client/packages/lowcoder/src/i18n/locales/it.ts

Lines changed: 1194 additions & 1 deletion
Large diffs are not rendered by default.

client/packages/lowcoder/src/i18n/locales/pt.ts

Lines changed: 1194 additions & 1 deletion
Large diffs are not rendered by default.

client/packages/lowcoder/src/i18n/locales/ptObj.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { I18nObjects } from "./types";
22

3-
export const enObj: I18nObjects = {
3+
export const ptObj: I18nObjects = {
44
jsonForm: {
55
defaultSchema: {
66
title: "Informações do Usuário",

client/packages/lowcoder/src/i18n/locales/ru.ts

Lines changed: 1194 additions & 1 deletion
Large diffs are not rendered by default.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { enObj } from "./enObj";
2+
import { I18nObjects } from "./types";
3+
4+
export const ruObj: I18nObjects = enObj;

client/packages/lowcoder/src/i18n/locales/zh.ts

Lines changed: 1194 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)