From 80879c06209e25bb776fa3f27957a55c19e969bd Mon Sep 17 00:00:00 2001
From: ShaoHua <345265198@qqcom>
Date: Sun, 28 Dec 2025 01:08:55 +0800
Subject: [PATCH 1/5] support chinese language
---
.../Pages/_Host.cshtml | 3 +-
.../Shared/MainLayout.razor | 13 +-
.../Shared/NavMenu.razor | 13 +-
demo/RulesEngineEditorServer/Startup.cs | 11 +
.../wwwroot/culture.js | 14 +
demo/RulesEngineEditorWebAssembly/Program.cs | 14 +-
.../Shared/MainLayout.razor | 13 +-
.../Shared/NavMenu.razor | 12 +-
.../wwwroot/culture.js | 14 +
.../wwwroot/index.html | 1 +
.../Components/CultureSwitcher.razor | 18 +
.../Components/InputEditor.razor | 19 +-
.../Components/InputParamEditor.razor | 7 +-
.../Components/RuleEditor.razor | 54 +-
src/RulesEngineEditor/Components/Rules.razor | 5 +-
.../Components/ScopedParamEditor.razor | 7 +-
.../Components/ScopedParams.razor | 9 +-
.../Components/WorkflowEditor.razor | 7 +-
.../Pages/RulesEngineEditorPage.razor | 49 +-
.../Pages/RulesEngineEditorPage.razor.cs | 59 +-
.../Resources/SharedResources.Designer.cs | 828 ++++++++++++++++++
.../Resources/SharedResources.cs | 6 +
.../Resources/SharedResources.resx | 316 +++++++
.../Resources/SharedResources.zh-CN.resx | 316 +++++++
.../wwwroot/css/reeditor.css | 37 +-
.../wwwroot/fonts/consolas/README.txt | 7 +
26 files changed, 1743 insertions(+), 109 deletions(-)
create mode 100644 demo/RulesEngineEditorServer/wwwroot/culture.js
create mode 100644 demo/RulesEngineEditorWebAssembly/wwwroot/culture.js
create mode 100644 src/RulesEngineEditor/Components/CultureSwitcher.razor
create mode 100644 src/RulesEngineEditor/Resources/SharedResources.Designer.cs
create mode 100644 src/RulesEngineEditor/Resources/SharedResources.cs
create mode 100644 src/RulesEngineEditor/Resources/SharedResources.resx
create mode 100644 src/RulesEngineEditor/Resources/SharedResources.zh-CN.resx
create mode 100644 src/RulesEngineEditor/wwwroot/fonts/consolas/README.txt
diff --git a/demo/RulesEngineEditorServer/Pages/_Host.cshtml b/demo/RulesEngineEditorServer/Pages/_Host.cshtml
index cf1d136e..f5f6f032 100644
--- a/demo/RulesEngineEditorServer/Pages/_Host.cshtml
+++ b/demo/RulesEngineEditorServer/Pages/_Host.cshtml
@@ -1,4 +1,4 @@
-@*
+@*
// Copyright (c) Alex Reich.
// Licensed under the CC BY 4.0 License.
*@
@@ -38,5 +38,6 @@
+