Skip to content

Commit 2ccf7a0

Browse files
committed
日本語化、Lowcoderサポート、プレミアム削除
1 parent 9292207 commit 2ccf7a0

File tree

34 files changed

+8354
-4488
lines changed

34 files changed

+8354
-4488
lines changed

client/packages/lowcoder-cli-template-typescript/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="ja">
33
<head>
44
<meta charset="UTF-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

client/packages/lowcoder-cli-template-typescript/src/i18n/comps/index.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ export function getEchartsLocale() {
1414
switch (locale.language) {
1515
case "en":
1616
return "EN";
17-
case "pt":
18-
return "PT";
19-
case "zh":
20-
return "ZH";
2117
case "ja":
2218
return "JA";
2319
}

client/packages/lowcoder-comps/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="ja">
33
<head>
44
<meta charset="UTF-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

client/packages/lowcoder-comps/src/comps/basicChartComp/chartConfigs/chartUrls.tsx

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

3-
const echartsUrlLocale = language === "zh" ? "zh" : "en";
3+
const echartsUrlLocale = "en";
44
export const optionUrl = `https://echarts.apache.org/${echartsUrlLocale}/option.html`;
55
export const examplesUrl = `https://echarts.apache.org/examples/${echartsUrlLocale}/index.html`;
66
export const xAxisTypeUrl = `${optionUrl}#xAxis.type`;

client/packages/lowcoder-comps/src/comps/chartComp/chartConfigs/chartUrls.tsx

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

3-
const echartsUrlLocale = language === "zh" ? "zh" : "en";
3+
const echartsUrlLocale = "en";
44
export const optionUrl = `https://echarts.apache.org/${echartsUrlLocale}/option.html`;
55
export const examplesUrl = `https://echarts.apache.org/examples/${echartsUrlLocale}/index.html`;
66
export const xAxisTypeUrl = `${optionUrl}#xAxis.type`;

client/packages/lowcoder-comps/src/i18n/comps/index.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ export function getEchartsLocale() {
1313
switch (locale.language) {
1414
case "en":
1515
return "EN";
16-
case "pt":
17-
return "PT";
18-
case "zh":
19-
return "ZH";
2016
case "ja":
2117
return "JA";
2218
}
@@ -25,10 +21,6 @@ export function getEchartsLocale() {
2521

2622
export function getCalendarLocale() {
2723
switch (language) {
28-
case "zh":
29-
return "zh-cn";
30-
case "pt":
31-
return "pt-br";
3224
case "ja":
3325
return "ja";
3426
default:

client/packages/lowcoder-plugin-demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="ja">
33
<head>
44
<meta charset="UTF-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

client/packages/lowcoder-sdk-webpack-bundle/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="ja">
33
<head>
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

client/packages/lowcoder-sdk-webpack-bundle/src/custom_component/custom_component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="ja">
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
55
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

client/packages/lowcoder-sdk-webpack-bundle/stats.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
<!DOCTYPE html>
3-
<html lang="en">
3+
<html lang="ja">
44
<head>
55
<meta charset="UTF-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

0 commit comments

Comments
 (0)