Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
90c85c41
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
90c85c41
编写于
5月 17, 2020
作者:
A
Andrew Hall
提交者:
GitHub
5月 17, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Restore strings used in RenameDocumentAsync (#44320)
Add back missing strings
上级
f03f87fb
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
139 addition
and
0 deletion
+139
-0
src/Workspaces/Core/Portable/WorkspacesResources.resx
src/Workspaces/Core/Portable/WorkspacesResources.resx
+6
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf
+10
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf
+10
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf
+10
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf
+10
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf
+10
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf
+10
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf
+10
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf
+10
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf
...orkspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf
+10
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf
+10
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf
src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf
+10
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf
...kspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf
+10
-0
src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf
...kspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf
+10
-0
src/Workspaces/CoreTest/Renamer/RenamerTests.cs
src/Workspaces/CoreTest/Renamer/RenamerTests.cs
+3
-0
未找到文件。
src/Workspaces/Core/Portable/WorkspacesResources.resx
浏览文件 @
90c85c41
...
...
@@ -559,4 +559,10 @@
<data
name=
"Symbols_project_could_not_be_found_in_the_provided_solution"
xml:space=
"preserve"
>
<value>
Symbol's project could not be found in the provided solution
</value>
</data>
<data
name=
"Rename_0_to_1"
xml:space=
"preserve"
>
<value>
Rename '{0}' to '{1}'
</value>
</data>
<data
name=
"Sync_namespace_to_folder_structure"
xml:space=
"preserve"
>
<value>
Sync namespace to folder structure
</value>
</data>
</root>
\ No newline at end of file
src/Workspaces/Core/Portable/xlf/WorkspacesResources.cs.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
Odebírání dokumentů konfigurace analyzátoru se nepodporuje.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.de.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
Das Entfernen von Konfigurationsdokumenten des Analysetools wird nicht unterstützt.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.es.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
No se permite quitar documentos de configuración del analizador.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.fr.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
La suppression de documents de configuration de l'analyseur n'est pas prise en charge.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.it.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
La rimozione di documenti di configurazione dell'analizzatore non è supportata.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ja.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
アナライザー構成ドキュメントの削除はサポートされていません。
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ko.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
분석기 구성 문서 제거는 지원되지 않습니다.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.pl.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
Usuwanie dokumentów z konfiguracją analizatora nie jest obsługiwane.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.pt-BR.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
Não há suporte para a remoção de documentos da configuração do analisador.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.ru.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
Удаление документов конфигурации анализатора не поддерживается.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.tr.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
Çözümleyici yapılandırma belgelerinin kaldırılması desteklenmiyor.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hans.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
不支持删除分析器配置文档。
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/Core/Portable/xlf/WorkspacesResources.zh-Hant.xlf
浏览文件 @
90c85c41
...
...
@@ -97,6 +97,11 @@
<target
state=
"translated"
>
不支援移除分析器組態文件。
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Rename_0_to_1"
>
<source>
Rename '{0}' to '{1}'
</source>
<target
state=
"new"
>
Rename '{0}' to '{1}'
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Solution_does_not_contain_specified_reference"
>
<source>
Solution does not contain specified reference
</source>
<target
state=
"new"
>
Solution does not contain specified reference
</target>
...
...
@@ -182,6 +187,11 @@
<target
state=
"new"
>
Symbol's project could not be found in the provided solution
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Sync_namespace_to_folder_structure"
>
<source>
Sync namespace to folder structure
</source>
<target
state=
"new"
>
Sync namespace to folder structure
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"The_project_already_contains_the_specified_reference"
>
<source>
The project already contains the specified reference.
</source>
<target
state=
"new"
>
The project already contains the specified reference.
</target>
...
...
src/Workspaces/CoreTest/Renamer/RenamerTests.cs
浏览文件 @
90c85c41
...
...
@@ -75,6 +75,9 @@ protected struct DocumentWithInfo
Assert
.
True
(
remainingErrors
.
Contains
(
error
),
$"Error '
{
error
}
' was unexpected"
);
remainingErrors
.
Remove
(
error
);
}
// https://github.com/dotnet/roslyn/issues/44220
Assert
.
NotNull
(
action
.
GetDescription
());
}
solution
=
await
documentRenameResult
.
UpdateSolutionAsync
(
solution
,
CancellationToken
.
None
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录