From e34f66a4a55b158f8362ac29b7a11f0941c861e1 Mon Sep 17 00:00:00 2001
From: Jie2GG <947295340@qq.com>
Date: Sun, 9 Jul 2023 19:57:31 +0800
Subject: [PATCH 1/5] Fix PropertyGrid chinese language
---
.../Properties/Resources.zh-Hans.resx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Gemini.Modules.PropertyGrid/Properties/Resources.zh-Hans.resx b/src/Gemini.Modules.PropertyGrid/Properties/Resources.zh-Hans.resx
index 84db11d84..ec64080cc 100644
--- a/src/Gemini.Modules.PropertyGrid/Properties/Resources.zh-Hans.resx
+++ b/src/Gemini.Modules.PropertyGrid/Properties/Resources.zh-Hans.resx
@@ -124,6 +124,6 @@
"属性"窗口
- 房源
+ 属性
\ No newline at end of file
From f91a2bfd40425b66501281ba26da30b65b9fc16e Mon Sep 17 00:00:00 2001
From: Jie2GG <947295340@qq.com>
Date: Sun, 9 Jul 2023 20:02:38 +0800
Subject: [PATCH 2/5] Add ErrorList chinese language
---
.../Properties/Resources.Designer.cs | 50 +++++++++----------
.../Properties/Resources.resx | 2 +-
.../Properties/Resources.zh-Hans.resx | 36 +++++++++++++
3 files changed, 62 insertions(+), 26 deletions(-)
diff --git a/src/Gemini.Modules.ErrorList/Properties/Resources.Designer.cs b/src/Gemini.Modules.ErrorList/Properties/Resources.Designer.cs
index 8a6ffce60..fc90e9750 100644
--- a/src/Gemini.Modules.ErrorList/Properties/Resources.Designer.cs
+++ b/src/Gemini.Modules.ErrorList/Properties/Resources.Designer.cs
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
+// 此代码由工具生成。
+// 运行时版本:4.0.30319.42000
//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
+// 对此文件的更改可能会导致不正确的行为,并且如果
+// 重新生成代码,这些更改将会丢失。
//
//------------------------------------------------------------------------------
@@ -13,13 +13,13 @@ namespace Gemini.Modules.ErrorList.Properties {
///
- /// A strongly-typed resource class, for looking up localized strings, etc.
+ /// 一个强类型的资源类,用于查找本地化的字符串等。
///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
+ // 此类是由 StronglyTypedResourceBuilder
+ // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
+ // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
+ // (以 /str 作为命令选项),或重新生成 VS 项目。
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Resources {
@@ -33,7 +33,7 @@ internal Resources() {
}
///
- /// Returns the cached ResourceManager instance used by this class.
+ /// 返回此类使用的缓存的 ResourceManager 实例。
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Resources.ResourceManager ResourceManager {
@@ -47,8 +47,8 @@ internal Resources() {
}
///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
+ /// 重写当前线程的 CurrentUICulture 属性,对
+ /// 使用此强类型资源类的所有资源查找执行重写。
///
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Globalization.CultureInfo Culture {
@@ -61,7 +61,7 @@ internal Resources() {
}
///
- /// Looks up a localized string similar to Column.
+ /// 查找类似 Column 的本地化字符串。
///
public static string ErrorListHeaderColumn {
get {
@@ -70,7 +70,7 @@ public static string ErrorListHeaderColumn {
}
///
- /// Looks up a localized string similar to Description.
+ /// 查找类似 Description 的本地化字符串。
///
public static string ErrorListHeaderDescription {
get {
@@ -79,7 +79,7 @@ public static string ErrorListHeaderDescription {
}
///
- /// Looks up a localized string similar to File.
+ /// 查找类似 File 的本地化字符串。
///
public static string ErrorListHeaderFile {
get {
@@ -88,7 +88,7 @@ public static string ErrorListHeaderFile {
}
///
- /// Looks up a localized string similar to Line.
+ /// 查找类似 Line 的本地化字符串。
///
public static string ErrorListHeaderLine {
get {
@@ -97,7 +97,7 @@ public static string ErrorListHeaderLine {
}
///
- /// Looks up a localized string similar to {0} Errors.
+ /// 查找类似 {0} Errors 的本地化字符串。
///
public static string ErrorTextPlural {
get {
@@ -106,7 +106,7 @@ public static string ErrorTextPlural {
}
///
- /// Looks up a localized string similar to {0} Error.
+ /// 查找类似 {0} Error 的本地化字符串。
///
public static string ErrorTextSingular {
get {
@@ -115,7 +115,7 @@ public static string ErrorTextSingular {
}
///
- /// Looks up a localized string similar to {0} Messages.
+ /// 查找类似 {0} Messages 的本地化字符串。
///
public static string MessageTextPlural {
get {
@@ -124,7 +124,7 @@ public static string MessageTextPlural {
}
///
- /// Looks up a localized string similar to {0} Message.
+ /// 查找类似 {0} Message 的本地化字符串。
///
public static string MessageTextSingular {
get {
@@ -133,7 +133,7 @@ public static string MessageTextSingular {
}
///
- /// Looks up a localized string similar to Error L_ist.
+ /// 查找类似 Error List 的本地化字符串。
///
public static string ViewErrorListCommandText {
get {
@@ -142,7 +142,7 @@ public static string ViewErrorListCommandText {
}
///
- /// Looks up a localized string similar to Error List.
+ /// 查找类似 Error List 的本地化字符串。
///
public static string ViewErrorListCommandToolTip {
get {
@@ -151,7 +151,7 @@ public static string ViewErrorListCommandToolTip {
}
///
- /// Looks up a localized string similar to {0} Warnings.
+ /// 查找类似 {0} Warnings 的本地化字符串。
///
public static string WarningTextPlural {
get {
@@ -160,7 +160,7 @@ public static string WarningTextPlural {
}
///
- /// Looks up a localized string similar to {0} Warning.
+ /// 查找类似 {0} Warning 的本地化字符串。
///
public static string WarningTextSingular {
get {
diff --git a/src/Gemini.Modules.ErrorList/Properties/Resources.resx b/src/Gemini.Modules.ErrorList/Properties/Resources.resx
index ef0fec9e1..c005fe788 100644
--- a/src/Gemini.Modules.ErrorList/Properties/Resources.resx
+++ b/src/Gemini.Modules.ErrorList/Properties/Resources.resx
@@ -130,7 +130,7 @@
{0} Message
- Error L_ist
+ Error List
Error List
diff --git a/src/Gemini.Modules.ErrorList/Properties/Resources.zh-Hans.resx b/src/Gemini.Modules.ErrorList/Properties/Resources.zh-Hans.resx
index d58980a38..686c55015 100644
--- a/src/Gemini.Modules.ErrorList/Properties/Resources.zh-Hans.resx
+++ b/src/Gemini.Modules.ErrorList/Properties/Resources.zh-Hans.resx
@@ -117,4 +117,40 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ 列
+
+
+ 描述
+
+
+ 文件
+
+
+ 行
+
+
+ 错误 {0}
+
+
+ 错误 {0}
+
+
+ 消息 {0}
+
+
+ 消息 {0}
+
+
+ 错误列表
+
+
+ 错误列表
+
+
+ 警告 {0}
+
+
+ 警告 {0}
+
\ No newline at end of file
From f1b0f83a2574d98eacda8f6f072a42399c2e90f9 Mon Sep 17 00:00:00 2001
From: Jie2GG <947295340@qq.com>
Date: Sun, 9 Jul 2023 20:08:21 +0800
Subject: [PATCH 3/5] Add CodeEditor chinese language
---
.../Properties/Resources.zh-Hans.resx | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/src/Gemini.Modules.CodeEditor/Properties/Resources.zh-Hans.resx b/src/Gemini.Modules.CodeEditor/Properties/Resources.zh-Hans.resx
index 76b513f77..6697b2710 100644
--- a/src/Gemini.Modules.CodeEditor/Properties/Resources.zh-Hans.resx
+++ b/src/Gemini.Modules.CodeEditor/Properties/Resources.zh-Hans.resx
@@ -120,4 +120,40 @@
文件
+
+ 代码编辑
+
+
+ 常规
+
+
+ 查看换行符
+
+
+ 切换换行符的可见性
+
+
+ 查看行号
+
+
+ 切换行号的可见性
+
+
+ 查看空格
+
+
+ 切换空格的可见性
+
+
+ 查看制表符
+
+
+ 切换制表符的可见性
+
+
+ 自动换行
+
+
+ 启用自动换行
+
\ No newline at end of file
From d857457a6d8913cdc0d71a5267e983491ddb7aaf Mon Sep 17 00:00:00 2001
From: Jie2GG <947295340@qq.com>
Date: Sun, 9 Jul 2023 20:17:11 +0800
Subject: [PATCH 4/5] Add Gemini chinese language
---
src/Gemini/Properties/Resources.Designer.cs | 2 +-
src/Gemini/Properties/Resources.zh-Hans.resx | 11 ++++++++++-
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/src/Gemini/Properties/Resources.Designer.cs b/src/Gemini/Properties/Resources.Designer.cs
index 86ae8bde1..725388f38 100644
--- a/src/Gemini/Properties/Resources.Designer.cs
+++ b/src/Gemini/Properties/Resources.Designer.cs
@@ -582,4 +582,4 @@ public static string WindowMenuText {
}
}
}
-}
+}
\ No newline at end of file
diff --git a/src/Gemini/Properties/Resources.zh-Hans.resx b/src/Gemini/Properties/Resources.zh-Hans.resx
index a1b67a504..8b18aa45d 100644
--- a/src/Gemini/Properties/Resources.zh-Hans.resx
+++ b/src/Gemini/Properties/Resources.zh-Hans.resx
@@ -1,4 +1,4 @@
-
+