Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
1219a560
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,发现更多精彩内容 >>
未验证
提交
1219a560
编写于
1月 30, 2019
作者:
S
Sam Harwell
提交者:
GitHub
1月 30, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #32951 from sharwell/file-counts
Include file counts in success message for dotnet-format
上级
f5a9d937
ee2e5bae
变更
17
隐藏空白更改
内联
并排
Showing
17 changed file
with
92 addition
and
84 deletion
+92
-84
src/Tools/dotnet-format/CodeFormatter.cs
src/Tools/dotnet-format/CodeFormatter.cs
+16
-8
src/Tools/dotnet-format/Properties/launchSettings.json
src/Tools/dotnet-format/Properties/launchSettings.json
+2
-2
src/Tools/dotnet-format/Resources.Designer.cs
src/Tools/dotnet-format/Resources.Designer.cs
+7
-7
src/Tools/dotnet-format/Resources.resx
src/Tools/dotnet-format/Resources.resx
+2
-2
src/Tools/dotnet-format/xlf/Resources.cs.xlf
src/Tools/dotnet-format/xlf/Resources.cs.xlf
+5
-5
src/Tools/dotnet-format/xlf/Resources.de.xlf
src/Tools/dotnet-format/xlf/Resources.de.xlf
+5
-5
src/Tools/dotnet-format/xlf/Resources.es.xlf
src/Tools/dotnet-format/xlf/Resources.es.xlf
+5
-5
src/Tools/dotnet-format/xlf/Resources.fr.xlf
src/Tools/dotnet-format/xlf/Resources.fr.xlf
+5
-5
src/Tools/dotnet-format/xlf/Resources.it.xlf
src/Tools/dotnet-format/xlf/Resources.it.xlf
+5
-5
src/Tools/dotnet-format/xlf/Resources.ja.xlf
src/Tools/dotnet-format/xlf/Resources.ja.xlf
+5
-5
src/Tools/dotnet-format/xlf/Resources.ko.xlf
src/Tools/dotnet-format/xlf/Resources.ko.xlf
+5
-5
src/Tools/dotnet-format/xlf/Resources.pl.xlf
src/Tools/dotnet-format/xlf/Resources.pl.xlf
+5
-5
src/Tools/dotnet-format/xlf/Resources.pt-BR.xlf
src/Tools/dotnet-format/xlf/Resources.pt-BR.xlf
+5
-5
src/Tools/dotnet-format/xlf/Resources.ru.xlf
src/Tools/dotnet-format/xlf/Resources.ru.xlf
+5
-5
src/Tools/dotnet-format/xlf/Resources.tr.xlf
src/Tools/dotnet-format/xlf/Resources.tr.xlf
+5
-5
src/Tools/dotnet-format/xlf/Resources.zh-Hans.xlf
src/Tools/dotnet-format/xlf/Resources.zh-Hans.xlf
+5
-5
src/Tools/dotnet-format/xlf/Resources.zh-Hant.xlf
src/Tools/dotnet-format/xlf/Resources.zh-Hant.xlf
+5
-5
未找到文件。
src/Tools/dotnet-format/CodeFormatter.cs
浏览文件 @
1219a560
...
...
@@ -61,9 +61,11 @@ public static async Task<int> FormatWorkspaceAsync(ILogger logger, string soluti
logger
.
LogTrace
(
Resources
.
Workspace_loaded_in_0_ms
,
workspaceStopwatch
.
ElapsedMilliseconds
);
workspaceStopwatch
.
Restart
();
exitCode
=
await
FormatFilesInWorkspaceAsync
(
logger
,
workspace
,
projectPath
,
codingConventionsManager
,
saveFormattedFiles
,
cancellationToken
).
ConfigureAwait
(
false
);
int
fileCount
;
int
filesFormatted
;
(
exitCode
,
fileCount
,
filesFormatted
)
=
await
FormatFilesInWorkspaceAsync
(
logger
,
workspace
,
projectPath
,
codingConventionsManager
,
saveFormattedFiles
,
cancellationToken
).
ConfigureAwait
(
false
);
logger
.
LogDebug
(
Resources
.
Format
_complete_in_0_ms
,
workspaceStopwatch
.
ElapsedMilliseconds
);
logger
.
LogDebug
(
Resources
.
Format
ted_0_of_1_files_in_2_ms
,
filesFormatted
,
fileCount
,
workspaceStopwatch
.
ElapsedMilliseconds
);
}
logger
.
LogInformation
(
Resources
.
Format_complete
);
...
...
@@ -92,11 +94,13 @@ void LogWorkspaceWarnings(object sender, WorkspaceDiagnosticEventArgs args)
}
}
private
static
async
Task
<
int
>
FormatFilesInWorkspaceAsync
(
ILogger
logger
,
Workspace
workspace
,
string
projectPath
,
ICodingConventionsManager
codingConventionsManager
,
bool
saveFormattedFiles
,
CancellationToken
cancellationToken
)
private
static
async
Task
<
(
int
status
,
int
fileCount
,
int
filesFormatted
)
>
FormatFilesInWorkspaceAsync
(
ILogger
logger
,
Workspace
workspace
,
string
projectPath
,
ICodingConventionsManager
codingConventionsManager
,
bool
saveFormattedFiles
,
CancellationToken
cancellationToken
)
{
var
projectIds
=
workspace
.
CurrentSolution
.
ProjectIds
.
ToImmutableArray
();
var
optionsApplier
=
new
EditorConfigOptionsApplier
();
var
totalFileCount
=
0
;
var
totalFilesFormatted
=
0
;
foreach
(
var
projectId
in
projectIds
)
{
var
project
=
workspace
.
CurrentSolution
.
GetProject
(
projectId
);
...
...
@@ -114,18 +118,20 @@ private static async Task<int> FormatFilesInWorkspaceAsync(ILogger logger, Works
logger
.
LogInformation
(
Resources
.
Formatting_code_files_in_project_0
,
project
.
Name
);
var
formattedSolution
=
await
FormatFilesInProjectAsync
(
logger
,
project
,
codingConventionsManager
,
optionsApplier
,
cancellationToken
).
ConfigureAwait
(
false
);
var
(
formattedSolution
,
filesFormatted
)
=
await
FormatFilesInProjectAsync
(
logger
,
project
,
codingConventionsManager
,
optionsApplier
,
cancellationToken
).
ConfigureAwait
(
false
);
totalFileCount
+=
project
.
DocumentIds
.
Count
;
totalFilesFormatted
+=
filesFormatted
;
if
(
saveFormattedFiles
&&
!
workspace
.
TryApplyChanges
(
formattedSolution
))
{
logger
.
LogError
(
Resources
.
Failed_to_save_formatting_changes
);
return
1
;
return
(
1
,
totalFileCount
,
totalFilesFormatted
)
;
}
}
return
0
;
return
(
0
,
totalFileCount
,
totalFilesFormatted
)
;
}
private
static
async
Task
<
Solution
>
FormatFilesInProjectAsync
(
ILogger
logger
,
Project
project
,
ICodingConventionsManager
codingConventionsManager
,
EditorConfigOptionsApplier
optionsApplier
,
CancellationToken
cancellationToken
)
private
static
async
Task
<
(
Solution
solution
,
int
filesFormatted
)
>
FormatFilesInProjectAsync
(
ILogger
logger
,
Project
project
,
ICodingConventionsManager
codingConventionsManager
,
EditorConfigOptionsApplier
optionsApplier
,
CancellationToken
cancellationToken
)
{
var
isCommentTrivia
=
project
.
Language
==
LanguageNames
.
CSharp
?
IsCSharpCommentTrivia
...
...
@@ -173,6 +179,7 @@ private static async Task<Solution> FormatFilesInProjectAsync(ILogger logger, Pr
}
var
formattedSolution
=
project
.
Solution
;
var
filesFormatted
=
0
;
foreach
(
var
(
documentId
,
formatTask
)
in
formattedDocuments
)
{
var
text
=
await
formatTask
.
ConfigureAwait
(
false
);
...
...
@@ -181,10 +188,11 @@ private static async Task<Solution> FormatFilesInProjectAsync(ILogger logger, Pr
continue
;
}
filesFormatted
++;
formattedSolution
=
formattedSolution
.
WithDocumentText
(
documentId
,
text
);
}
return
formattedSolution
;
return
(
formattedSolution
,
filesFormatted
)
;
}
private
static
Func
<
SyntaxTrivia
,
bool
>
IsCSharpCommentTrivia
=
...
...
src/Tools/dotnet-format/Properties/launchSettings.json
浏览文件 @
1219a560
...
...
@@ -2,12 +2,12 @@
"profiles"
:
{
"dotnet-format (--dry-run)"
:
{
"commandName"
:
"Project"
,
"commandLineArgs"
:
"-w Roslyn.sln --dry-run"
,
"commandLineArgs"
:
"-w Roslyn.sln -
v detailed -
-dry-run"
,
"workingDirectory"
:
"$(SolutionDir)"
},
"dotnet-format"
:
{
"commandName"
:
"Project"
,
"commandLineArgs"
:
"-w Roslyn.sln"
,
"commandLineArgs"
:
"-w Roslyn.sln
-v detailed
"
,
"workingDirectory"
:
"$(SolutionDir)"
}
}
...
...
src/Tools/dotnet-format/Resources.Designer.cs
浏览文件 @
1219a560
...
...
@@ -19,7 +19,7 @@ namespace Microsoft.CodeAnalysis.Tools.CodeFormatter {
// 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"
,
"1
5
.0.0.0"
)]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCodeAttribute
(
"System.Resources.Tools.StronglyTypedResourceBuilder"
,
"1
6
.0.0.0"
)]
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
()]
[
global
::
System
.
Runtime
.
CompilerServices
.
CompilerGeneratedAttribute
()]
internal
class
Resources
{
...
...
@@ -109,20 +109,20 @@ internal class Resources {
}
/// <summary>
/// Looks up a localized string similar to Format
complete in {0}ms
..
/// Looks up a localized string similar to Format
files, but do not save changes to disk
..
/// </summary>
internal
static
string
Format_
complete_in_0_ms
{
internal
static
string
Format_
files_but_do_not_save_changes_to_disk
{
get
{
return
ResourceManager
.
GetString
(
"Format_
complete_in_0_ms
"
,
resourceCulture
);
return
ResourceManager
.
GetString
(
"Format_
files_but_do_not_save_changes_to_disk
"
,
resourceCulture
);
}
}
/// <summary>
/// Looks up a localized string similar to Format
files, but do not save changes to disk
..
/// Looks up a localized string similar to Format
ted {0} of {1} files in {2}ms
..
/// </summary>
internal
static
string
Format
_files_but_do_not_save_changes_to_disk
{
internal
static
string
Format
ted_0_of_1_files_in_2_ms
{
get
{
return
ResourceManager
.
GetString
(
"Format
_files_but_do_not_save_changes_to_disk
"
,
resourceCulture
);
return
ResourceManager
.
GetString
(
"Format
ted_0_of_1_files_in_2_ms
"
,
resourceCulture
);
}
}
...
...
src/Tools/dotnet-format/Resources.resx
浏览文件 @
1219a560
...
...
@@ -156,8 +156,8 @@
<data
name=
"Could_not_format_0_Format_currently_supports_only_CSharp_and_Visual_Basic_projects"
xml:space=
"preserve"
>
<value>
Could not format '{0}'. Format currently supports only C# and Visual Basic projects.
</value>
</data>
<data
name=
"Format
_complete_in_0
_ms"
xml:space=
"preserve"
>
<value>
Format
complete in {0
}ms.
</value>
<data
name=
"Format
ted_0_of_1_files_in_2
_ms"
xml:space=
"preserve"
>
<value>
Format
ted {0} of {1} files in {2
}ms.
</value>
</data>
<data
name=
"Loading_workspace"
xml:space=
"preserve"
>
<value>
Loading workspace.
</value>
...
...
src/Tools/dotnet-format/xlf/Resources.cs.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
src/Tools/dotnet-format/xlf/Resources.de.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
src/Tools/dotnet-format/xlf/Resources.es.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
src/Tools/dotnet-format/xlf/Resources.fr.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
src/Tools/dotnet-format/xlf/Resources.it.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
src/Tools/dotnet-format/xlf/Resources.ja.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
src/Tools/dotnet-format/xlf/Resources.ko.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
src/Tools/dotnet-format/xlf/Resources.pl.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
src/Tools/dotnet-format/xlf/Resources.pt-BR.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
src/Tools/dotnet-format/xlf/Resources.ru.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
src/Tools/dotnet-format/xlf/Resources.tr.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
src/Tools/dotnet-format/xlf/Resources.zh-Hans.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
src/Tools/dotnet-format/xlf/Resources.zh-Hant.xlf
浏览文件 @
1219a560
...
...
@@ -27,16 +27,16 @@
<target
state=
"new"
>
Format complete.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_complete_in_0_ms"
>
<source>
Format complete in {0}ms.
</source>
<target
state=
"new"
>
Format complete in {0}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Format_files_but_do_not_save_changes_to_disk"
>
<source>
Format files, but do not save changes to disk.
</source>
<target
state=
"new"
>
Format files, but do not save changes to disk.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatted_0_of_1_files_in_2_ms"
>
<source>
Formatted {0} of {1} files in {2}ms.
</source>
<target
state=
"new"
>
Formatted {0} of {1} files in {2}ms.
</target>
<note
/>
</trans-unit>
<trans-unit
id=
"Formatting_code_file_0"
>
<source>
Formatting code file '{0}'.
</source>
<target
state=
"new"
>
Formatting code file '{0}'.
</target>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录