Skip to content

Commit e3fa19a

Browse files
authored
[main] Fix multi-line content format in resx file for dotnet-svcutil.XmlSerializer. (#5395)
1 parent c5bdce9 commit e3fa19a

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

src/svcutilcore/src/Resources/Strings.resx

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@
118118
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119119
</resheader>
120120
<data name="Logo" xml:space="preserve">
121-
<value>Microsoft (R) dotnet-svcutil.xmlserializer tool, Version {0}.&#13;&#10;[{1}]&#13;&#10;{2}&#13;&#10;</value>
121+
<value>Microsoft (R) dotnet-svcutil.xmlserializer tool, Version {0}.
122+
[{1}]
123+
{2}
124+
</value>
122125
</data>
123126
<data name="HelpUsage1" xml:space="preserve">
124127
<value>USES:</value>
@@ -487,13 +490,17 @@
487490
<value>The '{0}' input argument conflicts with '{1}' because they imply different modes of tool operation</value>
488491
</data>
489492
<data name="ErrSchemaValidationForExport" xml:space="preserve">
490-
<value>There was a validation error on a schema generated during export:&#13;&#10; Source: {0}&#13;&#10; Line: {1} Column: {2}&#13;&#10; Validation Error: {3}</value>
493+
<value>There was a validation error on a schema generated during export:
494+
Source: {0}
495+
Line: {1} Column: {2}
496+
Validation Error: {3}</value>
491497
</data>
492498
<data name="ErrUnableToLoadExtensions" xml:space="preserve">
493499
<value>There was an error loading import extensions. Make sure to provide the assemblies containing these extensions as reference assemblies using the --{0} option.</value>
494500
</data>
495501
<data name="ErrUnableToLoadReferenceType" xml:space="preserve">
496-
<value>There was an error loading a referenced contract type. This type will be ignored.&#13;&#10; Type: {0}</value>
502+
<value>There was an error loading a referenced contract type. This type will be ignored.
503+
Type: {0}</value>
497504
</data>
498505
<data name="ErrUnableToUniquifyFilename" xml:space="preserve">
499506
<value>Cannot create output filename. Too many files are being created with the prefix '{0}'.</value>
@@ -517,7 +524,9 @@
517524
<value>Cannot write to output file</value>
518525
</data>
519526
<data name="WrnUnableToLoadContractForSGen" xml:space="preserve">
520-
<value>There was an error loading a contract type. Cannot generate XmlSerializer types for this contract.&#13;&#10; Type: {0}&#13;&#10; Details:{1}</value>
527+
<value>There was an error loading a contract type. Cannot generate XmlSerializer types for this contract.
528+
Type: {0}
529+
Details:{1}</value>
521530
</data>
522531
<data name="WrnNoServiceContractTypes" xml:space="preserve">
523532
<value>Cannot generate XmlSerializer types for assembly: {0}. No service contract types were found.</value>
@@ -538,7 +547,9 @@
538547
<value>Generating XML serializers...</value>
539548
</data>
540549
<data name="NoCodeWasGenerated" xml:space="preserve">
541-
<value>No code was generated.&#13;&#10;If you were trying to generate a client, this could be because the metadata documents did not contain any valid contracts or services&#13;&#10;or because all contracts/services were discovered to exist in /reference assemblies. Verify that you passed all the metadata documents to the tool.</value>
550+
<value>No code was generated.
551+
If you were trying to generate a client, this could be because the metadata documents did not contain any valid contracts or services
552+
or because all contracts/services were discovered to exist in /reference assemblies. Verify that you passed all the metadata documents to the tool.</value>
542553
</data>
543554
<data name="ValidationWasSuccessful" xml:space="preserve">
544555
<value>The Service '{0}' was validated with no errors</value>

0 commit comments

Comments
 (0)