From aae20fc253610aed6441476ab6ce99c368cf2d92 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Sat, 1 May 2021 10:48:57 +0800 Subject: [PATCH 1/2] Translate new words to Chinese --- ILSpy/Properties/Resources.zh-Hans.resx | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 800743a1d..6f3bd811d 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -954,4 +954,34 @@ 窗口(_W) + + 深色 + + + 无法使用SDK-style项目格式, 因为发现有不兼容目标框架别名 + + + 反编译 getter-only 自动属性 + + + 记录 + + + 使用带有记录的主构造器语法 + + + 'with' 初始化器表达式 + + + 高亮当前行 + + + .Net 版本 + + + 你必须重启ILSpy才能使得更改生效。 + + + 系统 + \ No newline at end of file From 86c59cf0e9bda647cc3700046c34ce48d29656d8 Mon Sep 17 00:00:00 2001 From: MysticBoy Date: Sat, 1 May 2021 11:10:32 +0800 Subject: [PATCH 2/2] Translate words "Language" for UI --- ILSpy/MainWindow.xaml | 2 +- ILSpy/Properties/Resources.Designer.cs | 6 +++ ILSpy/Properties/Resources.resx | 3 ++ ILSpy/Properties/Resources.zh-Hans.resx | 63 +++++++++++++------------ 4 files changed, 43 insertions(+), 31 deletions(-) diff --git a/ILSpy/MainWindow.xaml b/ILSpy/MainWindow.xaml index 6fcf7a565..3eb31fe50 100644 --- a/ILSpy/MainWindow.xaml +++ b/ILSpy/MainWindow.xaml @@ -103,7 +103,7 @@ - + diff --git a/ILSpy/Properties/Resources.Designer.cs b/ILSpy/Properties/Resources.Designer.cs index 353f58c8e..3b092891a 100644 --- a/ILSpy/Properties/Resources.Designer.cs +++ b/ILSpy/Properties/Resources.Designer.cs @@ -2650,5 +2650,11 @@ namespace ICSharpCode.ILSpy.Properties { return ResourceManager.GetString("Window_ResetLayout", resourceCulture); } } + + public static string Language { + get { + return ResourceManager.GetString("Language", resourceCulture); + } + } } } diff --git a/ILSpy/Properties/Resources.resx b/ILSpy/Properties/Resources.resx index 66dc8e0ad..30cfa672c 100644 --- a/ILSpy/Properties/Resources.resx +++ b/ILSpy/Properties/Resources.resx @@ -585,6 +585,9 @@ Are you sure you want to continue? Insert using declarations + + Language + Are you sure that you want to delete the selected assembly list? diff --git a/ILSpy/Properties/Resources.zh-Hans.resx b/ILSpy/Properties/Resources.zh-Hans.resx index 6f3bd811d..594ac91ee 100644 --- a/ILSpy/Properties/Resources.zh-Hans.resx +++ b/ILSpy/Properties/Resources.zh-Hans.resx @@ -201,6 +201,9 @@ 复制完全限定名称 + + 无法使用SDK-style项目格式, 因为发现有不兼容目标框架别名 + 创建 @@ -219,6 +222,9 @@ 调试 -- PDB 转储为 XML + + 深色 + 调试步骤 @@ -339,6 +345,9 @@ 函数指针 + + 反编译 getter-only 自动属性 + 在反编译代码中包括 XML 文档注释 @@ -384,6 +393,9 @@ 只读方法 + + 记录 + 删除死代码和无副作用的代码(请谨慎使用) @@ -447,6 +459,9 @@ 使用基于模式的 fixed 语句 + + 使用带有记录的主构造器语法 + 使用 ref 局部变量以准确表达求值顺序 @@ -471,6 +486,9 @@ VB 特定选项 + + 'with' 初始化器表达式 + 下面选择的设置将与语言下拉列表中的选择一起应用于反编译程序输出。在下拉列表中选择较低的语言版本将停用较高版本的所有选定选项。请注意, 某些设置隐式依赖于彼此, 例如: 如果不首先将静态调用转换为扩展方法调用, 则无法引入 LINQ 表达式。 @@ -543,6 +561,9 @@ 在树视图中隐藏空的元数据表 + + 高亮当前行 + 高亮配对的大括号 @@ -564,6 +585,9 @@ 插入使用声明 + + 语言 + 是否删除选中的程序集列表? @@ -591,6 +615,9 @@ 杂项 + + .Net 版本 + 名称 @@ -747,6 +774,9 @@ 选择输出语言的版本 + + 你必须重启ILSpy才能使得更改生效。 + Shell @@ -828,6 +858,9 @@ 类型 + + 系统 + 找不到 ILSpy 的更新。 @@ -954,34 +987,4 @@ 窗口(_W) - - 深色 - - - 无法使用SDK-style项目格式, 因为发现有不兼容目标框架别名 - - - 反编译 getter-only 自动属性 - - - 记录 - - - 使用带有记录的主构造器语法 - - - 'with' 初始化器表达式 - - - 高亮当前行 - - - .Net 版本 - - - 你必须重启ILSpy才能使得更改生效。 - - - 系统 - \ No newline at end of file