Skip to content

Commit e64e990

Browse files
committed
Use WriteLinesToFile
1 parent a9f23da commit e64e990

16 files changed

+55
-125
lines changed

src/Tasks/Common/Resources/Strings.resx

Lines changed: 30 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<root>
3-
<!--
4-
Microsoft ResX Schema
5-
3+
<!--
4+
Microsoft ResX Schema
5+
66
Version 2.0
7-
8-
The primary goals of this format is to allow a simple XML format
9-
that is mostly human readable. The generation and parsing of the
10-
various data types are done through the TypeConverter classes
7+
8+
The primary goals of this format is to allow a simple XML format
9+
that is mostly human readable. The generation and parsing of the
10+
various data types are done through the TypeConverter classes
1111
associated with the data types.
12-
12+
1313
Example:
14-
14+
1515
... ado.net/XML headers & schema ...
1616
<resheader name="resmimetype">text/microsoft-resx</resheader>
1717
<resheader name="version">2.0</resheader>
@@ -26,36 +26,36 @@
2626
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
2727
<comment>This is a comment</comment>
2828
</data>
29-
30-
There are any number of "resheader" rows that contain simple
29+
30+
There are any number of "resheader" rows that contain simple
3131
name/value pairs.
32-
33-
Each data row contains a name, and value. The row also contains a
34-
type or mimetype. Type corresponds to a .NET class that support
35-
text/value conversion through the TypeConverter architecture.
36-
Classes that don't support this are serialized and stored with the
32+
33+
Each data row contains a name, and value. The row also contains a
34+
type or mimetype. Type corresponds to a .NET class that support
35+
text/value conversion through the TypeConverter architecture.
36+
Classes that don't support this are serialized and stored with the
3737
mimetype set.
38-
39-
The mimetype is used for serialized objects, and tells the
40-
ResXResourceReader how to depersist the object. This is currently not
38+
39+
The mimetype is used for serialized objects, and tells the
40+
ResXResourceReader how to depersist the object. This is currently not
4141
extensible. For a given mimetype the value must be set accordingly:
42-
43-
Note - application/x-microsoft.net.object.binary.base64 is the format
44-
that the ResXResourceWriter will generate, however the reader can
42+
43+
Note - application/x-microsoft.net.object.binary.base64 is the format
44+
that the ResXResourceWriter will generate, however the reader can
4545
read any of the formats listed below.
46-
46+
4747
mimetype: application/x-microsoft.net.object.binary.base64
48-
value : The object must be serialized with
48+
value : The object must be serialized with
4949
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
5050
: and then encoded with base64 encoding.
51-
51+
5252
mimetype: application/x-microsoft.net.object.soap.base64
53-
value : The object must be serialized with
53+
value : The object must be serialized with
5454
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
5555
: and then encoded with base64 encoding.
5656
5757
mimetype: application/x-microsoft.net.object.bytearray.base64
58-
value : The object must be serialized into a byte array
58+
value : The object must be serialized into a byte array
5959
: using a System.ComponentModel.TypeConverter
6060
: and then encoded with base64 encoding.
6161
-->
@@ -811,7 +811,7 @@ To install these workloads, run the following command: {1}</value>
811811
<value>NETSDK1176: Placeholder</value>
812812
<comment>{StrBegin="NETSDK1176: "} - This string is not used here, but is a placeholder for the error code, which is used by the "dotnet run" command.</comment>
813813
</data>
814-
<data name="AppHostSigningFailed" xml:space="preserve">
814+
<data name="AppHostSigningFailed" xml:space="preserve">
815815
<value>NETSDK1177: Failed to sign apphost with error code {1}: {0}</value>
816816
<comment>{StrBegin="NETSDK1177: "}</comment>
817817
</data>
@@ -820,15 +820,12 @@ To install these workloads, run the following command: {1}</value>
820820
You may need to build the project on another operating system or architecture, or update the .NET SDK.</value>
821821
<comment>{StrBegin="NETSDK1178: "}</comment>
822822
</data>
823-
<data name="SelfContainedOptionShouldBeUsedWithRuntime" xml:space="preserve">
823+
<data name="SelfContainedOptionShouldBeUsedWithRuntime" xml:space="preserve">
824824
<value>NETSDK1179: One of '--self-contained' or '--no-self-contained' options are required when '--runtime' is used.</value>
825825
<comment>{StrBegin="NETSDK1179: "}</comment>
826826
</data>
827827
<data name="SingleFileWin7Incompatible" xml:space="preserve">
828828
<value>NETSDK1180: Specified runtime identifier '{0}'' implies Windows 7 compatibility. Single File publishing is not compatible with Windows 7.</value>
829829
<comment>{StrBegin="NETSDK1180: "}</comment>
830830
</data>
831-
<data name="SkippingUnchangedFile" xml:space="preserve">
832-
<value>Skipping write to file "{0}" because content would not change</value>
833-
</data>
834-
</root>
831+
</root>

src/Tasks/Common/Resources/xlf/Strings.cs.xlf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,6 @@ The following are names of parameters or literal values and should not be transl
750750
<target state="translated">NETSDK1048: Cesty AdditionalProbingPaths byly zadány pro GenerateRuntimeConfigurationFiles, ale vynechávají se, protože RuntimeConfigDevPath je prázdné.</target>
751751
<note>{StrBegin="NETSDK1048: "}</note>
752752
</trans-unit>
753-
<trans-unit id="SkippingUnchangedFile">
754-
<source>Skipping write to file "{0}" because content would not change</source>
755-
<target state="new">Skipping write to file "{0}" because content would not change</target>
756-
<note />
757-
</trans-unit>
758753
<trans-unit id="TargetFrameworkIsEol">
759754
<source>NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy.</source>
760755
<target state="translated">NETSDK1138: Cílová architektura {0} se nepodporuje a v budoucnu už nebude dostávat aktualizace zabezpečení. Další informace o zásadách podpory najdete tady: {1}</target>

src/Tasks/Common/Resources/xlf/Strings.de.xlf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,6 @@ The following are names of parameters or literal values and should not be transl
750750
<target state="translated">NETSDK1048: Für GenerateRuntimeConfigurationFiles wurden "AdditionalProbingPaths" angegeben, sie werden jedoch übersprungen, weil "RuntimeConfigDevPath" leer ist.</target>
751751
<note>{StrBegin="NETSDK1048: "}</note>
752752
</trans-unit>
753-
<trans-unit id="SkippingUnchangedFile">
754-
<source>Skipping write to file "{0}" because content would not change</source>
755-
<target state="new">Skipping write to file "{0}" because content would not change</target>
756-
<note />
757-
</trans-unit>
758753
<trans-unit id="TargetFrameworkIsEol">
759754
<source>NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy.</source>
760755
<target state="translated">NETSDK1138: Das Zielframework "{0}" wird nicht mehr unterstützt und erhält in Zukunft keine Sicherheitsupdates mehr. Weitere Informationen zur Supportrichtlinie finden Sie unter "{1}".</target>

src/Tasks/Common/Resources/xlf/Strings.es.xlf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,6 @@ The following are names of parameters or literal values and should not be transl
750750
<target state="new">NETSDK1048: 'AdditionalProbingPaths' were specified for GenerateRuntimeConfigurationFiles, but are being skipped because 'RuntimeConfigDevPath' is empty.</target>
751751
<note>{StrBegin="NETSDK1048: "}</note>
752752
</trans-unit>
753-
<trans-unit id="SkippingUnchangedFile">
754-
<source>Skipping write to file "{0}" because content would not change</source>
755-
<target state="new">Skipping write to file "{0}" because content would not change</target>
756-
<note />
757-
</trans-unit>
758753
<trans-unit id="TargetFrameworkIsEol">
759754
<source>NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy.</source>
760755
<target state="new">NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy.</target>

src/Tasks/Common/Resources/xlf/Strings.fr.xlf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,6 @@ The following are names of parameters or literal values and should not be transl
750750
<target state="translated">NETSDK1048: Des 'AdditionalProbingPaths' ont été spécifiés pour GenerateRuntimeConfigurationFiles, mais ils sont ignorés, car 'RuntimeConfigDevPath' est vide.</target>
751751
<note>{StrBegin="NETSDK1048: "}</note>
752752
</trans-unit>
753-
<trans-unit id="SkippingUnchangedFile">
754-
<source>Skipping write to file "{0}" because content would not change</source>
755-
<target state="new">Skipping write to file "{0}" because content would not change</target>
756-
<note />
757-
</trans-unit>
758753
<trans-unit id="TargetFrameworkIsEol">
759754
<source>NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy.</source>
760755
<target state="translated">NETSDK1138: La version cible de .NET Framework ('{0}') n'est pas prise en charge et ne recevra pas les mises à jour de sécurité. Consultez {1} pour plus d'informations sur la stratégie de support.</target>

src/Tasks/Common/Resources/xlf/Strings.it.xlf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,6 @@ The following are names of parameters or literal values and should not be transl
750750
<target state="translated">NETSDK1048: per GenerateRuntimeConfigurationFiles è stato specificato 'AdditionalProbingPaths', ma questo valore verrà ignorato perché 'RuntimeConfigDevPath' è vuoto.</target>
751751
<note>{StrBegin="NETSDK1048: "}</note>
752752
</trans-unit>
753-
<trans-unit id="SkippingUnchangedFile">
754-
<source>Skipping write to file "{0}" because content would not change</source>
755-
<target state="new">Skipping write to file "{0}" because content would not change</target>
756-
<note />
757-
</trans-unit>
758753
<trans-unit id="TargetFrameworkIsEol">
759754
<source>NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy.</source>
760755
<target state="translated">NETSDK1138: il framework di destinazione '{0}' non è più supportato e non riceverà aggiornamenti della sicurezza in futuro. Per altre informazioni sui criteri di supporto, vedere {1}.</target>

src/Tasks/Common/Resources/xlf/Strings.ja.xlf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,6 @@ The following are names of parameters or literal values and should not be transl
750750
<target state="translated">NETSDK1048: 'AdditionalProbingPaths' が GenerateRuntimeConfigurationFiles に指定されましたが、'RuntimeConfigDevPath' が空であるためスキップされます。</target>
751751
<note>{StrBegin="NETSDK1048: "}</note>
752752
</trans-unit>
753-
<trans-unit id="SkippingUnchangedFile">
754-
<source>Skipping write to file "{0}" because content would not change</source>
755-
<target state="new">Skipping write to file "{0}" because content would not change</target>
756-
<note />
757-
</trans-unit>
758753
<trans-unit id="TargetFrameworkIsEol">
759754
<source>NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy.</source>
760755
<target state="translated">NETSDK1138: ターゲット フレームワーク '{0}' はサポートされていません。今後、セキュリティ更新プログラムを受け取ることはありません。サポート ポリシーの詳細については、{1} をご覧ください。</target>

src/Tasks/Common/Resources/xlf/Strings.ko.xlf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,6 @@ The following are names of parameters or literal values and should not be transl
750750
<target state="translated">NETSDK1048: GenerateRuntimeConfigurationFiles에 대해 'AdditionalProbingPaths'가 지정되었지만 'RuntimeConfigDevPath'가 비어 있어서 건너뜁니다.</target>
751751
<note>{StrBegin="NETSDK1048: "}</note>
752752
</trans-unit>
753-
<trans-unit id="SkippingUnchangedFile">
754-
<source>Skipping write to file "{0}" because content would not change</source>
755-
<target state="new">Skipping write to file "{0}" because content would not change</target>
756-
<note />
757-
</trans-unit>
758753
<trans-unit id="TargetFrameworkIsEol">
759754
<source>NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy.</source>
760755
<target state="translated">NETSDK1138: 대상 프레임워크 '{0}'은(는) 지원되지 않으며 향후 보안 업데이트를 받을 수 없습니다. 지원 정책에 대한 자세한 내용은 {1}을(를) 참조하세요.</target>

src/Tasks/Common/Resources/xlf/Strings.pl.xlf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,6 @@ The following are names of parameters or literal values and should not be transl
750750
<target state="translated">NETSDK1048: Dla elementu GenerateRuntimeConfigurationFiles określono ścieżki AdditionalProbingPaths, ale są one pomijane, ponieważ element „RuntimeConfigDevPath” jest pusty.</target>
751751
<note>{StrBegin="NETSDK1048: "}</note>
752752
</trans-unit>
753-
<trans-unit id="SkippingUnchangedFile">
754-
<source>Skipping write to file "{0}" because content would not change</source>
755-
<target state="new">Skipping write to file "{0}" because content would not change</target>
756-
<note />
757-
</trans-unit>
758753
<trans-unit id="TargetFrameworkIsEol">
759754
<source>NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy.</source>
760755
<target state="translated">NETSDK1138: platforma docelowa „{0}” nie jest już obsługiwana i w przyszłości nie będzie otrzymywać aktualizacji zabezpieczeń. Aby uzyskać więcej informacji na temat zasad pomocy technicznej, zobacz {1}.</target>

src/Tasks/Common/Resources/xlf/Strings.pt-BR.xlf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -750,11 +750,6 @@ The following are names of parameters or literal values and should not be transl
750750
<target state="translated">NETSDK1048: Os 'AdditionalProbingPaths' foram especificados para os GenerateRuntimeConfigurationFiles, mas estão sendo ignorados porque 'RuntimeConfigDevPath' está vazio.</target>
751751
<note>{StrBegin="NETSDK1048: "}</note>
752752
</trans-unit>
753-
<trans-unit id="SkippingUnchangedFile">
754-
<source>Skipping write to file "{0}" because content would not change</source>
755-
<target state="new">Skipping write to file "{0}" because content would not change</target>
756-
<note />
757-
</trans-unit>
758753
<trans-unit id="TargetFrameworkIsEol">
759754
<source>NETSDK1138: The target framework '{0}' is out of support and will not receive security updates in the future. Please refer to {1} for more information about the support policy.</source>
760755
<target state="translated">NETSDK1138: não há mais suporte para a estrutura de destino '{0}' e ela não receberá atualizações de segurança no futuro. Confira {1} para obter mais informações sobre a política de suporte.</target>

0 commit comments

Comments
 (0)