From 4ce725c77fb8d94660ff30da8908ce249844d37e Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 26 Nov 2024 12:30:48 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=9B=BD=E9=99=85=E5=8C=96?= =?UTF-8?q?=E6=95=B4=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../datasource/provider/CalciteProvider.java | 6 +- .../src/components/de-app/AppExportForm.vue | 24 +- core/core-frontend/src/locales/en.ts | 228 +++++++++--------- core/core-frontend/src/locales/tw.ts | 13 +- core/core-frontend/src/locales/zh-CN.ts | 12 +- .../modules/data-visualization/dvMain.ts | 5 +- .../editor/dataset-select/DatasetSelect.vue | 18 +- .../chart/components/editor/util/chart.ts | 4 +- .../src/views/common/DeResourceTree.vue | 3 +- .../src/views/workbranch/index.vue | 4 +- 10 files changed, 179 insertions(+), 138 deletions(-) diff --git a/core/core-backend/src/main/java/io/dataease/datasource/provider/CalciteProvider.java b/core/core-backend/src/main/java/io/dataease/datasource/provider/CalciteProvider.java index 2024851bde..3d44ece15d 100644 --- a/core/core-backend/src/main/java/io/dataease/datasource/provider/CalciteProvider.java +++ b/core/core-backend/src/main/java/io/dataease/datasource/provider/CalciteProvider.java @@ -432,7 +432,7 @@ public class CalciteProvider extends Provider { } catch (SQLException e) { DEException.throwException("SQL ERROR: " + e.getMessage()); } catch (Exception e) { - DEException.throwException("Data source connection exception: " + e.getMessage()); + DEException.throwException("Datasource connection exception: " + e.getMessage()); } finally { if (resultSet != null) { try { @@ -473,7 +473,7 @@ public class CalciteProvider extends Provider { } catch (SQLException e) { DEException.throwException("SQL ERROR: " + e.getMessage()); } catch (Exception e) { - DEException.throwException("Data source connection exception: " + e.getMessage()); + DEException.throwException("Datasource connection exception: " + e.getMessage()); } finally { if (resultSet != null) { try { @@ -511,7 +511,7 @@ public class CalciteProvider extends Provider { } catch (SQLException e) { DEException.throwException("SQL ERROR: " + e.getMessage()); } catch (Exception e) { - DEException.throwException("Data source connection exception: " + e.getMessage()); + DEException.throwException("Datasource connection exception: " + e.getMessage()); } finally { if (resultSet != null) { try { diff --git a/core/core-frontend/src/components/de-app/AppExportForm.vue b/core/core-frontend/src/components/de-app/AppExportForm.vue index deef73e560..313855eadb 100644 --- a/core/core-frontend/src/components/de-app/AppExportForm.vue +++ b/core/core-frontend/src/components/de-app/AppExportForm.vue @@ -1,6 +1,6 @@