Skip to content

Commit

Permalink
Enable localization of packages (dotnet#4636)
Browse files Browse the repository at this point in the history
  • Loading branch information
mconnew authored Jun 21, 2021
1 parent b001a97 commit 78959da
Show file tree
Hide file tree
Showing 28 changed files with 59,137 additions and 7 deletions.
3 changes: 0 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
<Project>
<PropertyGroup>
<ImportNetSdkFromRepoToolset>false</ImportNetSdkFromRepoToolset>

<!-- Disable localization -->
<EnableXlfLocalization>false</EnableXlfLocalization>
</PropertyGroup>

<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
Expand Down
4 changes: 0 additions & 4 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
<!-- IBC optimization data embedding by default true if Configuration is 'Release' and OfficialBuild is 'true'. -->
<!-- [todo:arcade] Setting it to true always seems to be common practice. Not sure if we need to or not. -->
<UsingToolIbcOptimization>true</UsingToolIbcOptimization>
<!-- Opt-out repo features -->
<!-- [todo:arcade] Default Arcade value, imports Localization.targets if true. -->
<!-- https://github.com/dotnet/arcade/blob/master/src/Microsoft.DotNet.Arcade.Sdk/tools/Imports.targets#L56 -->
<UsingToolXliff>false</UsingToolXliff>
<!-- Adds a pkg ref to netfx references in order to resolve desktop refs in our facade projects. -->
<UsingToolNetFrameworkReferenceAssemblies>true</UsingToolNetFrameworkReferenceAssemblies>
</PropertyGroup>
Expand Down
4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.cs.xlf

Large diffs are not rendered by default.

4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.de.xlf

Large diffs are not rendered by default.

4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.es.xlf

Large diffs are not rendered by default.

4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.fr.xlf

Large diffs are not rendered by default.

4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.it.xlf

Large diffs are not rendered by default.

4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.ja.xlf

Large diffs are not rendered by default.

4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.ko.xlf

Large diffs are not rendered by default.

4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.pl.xlf

Large diffs are not rendered by default.

4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.pt-BR.xlf

Large diffs are not rendered by default.

4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.ru.xlf

Large diffs are not rendered by default.

4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.tr.xlf

Large diffs are not rendered by default.

4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.zh-Hans.xlf

Large diffs are not rendered by default.

4,522 changes: 4,522 additions & 0 deletions src/System.Private.ServiceModel/src/Resources/xlf/Strings.zh-Hant.xlf

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="cs" original="../Strings.resx">
<body>
<trans-unit id="CommunicationObjectCannotBeUsed">
<source>The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</source>
<target state="new">The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</target>
<note />
</trans-unit>
<trans-unit id="CommunicationObjectFaulted1">
<source>The communication object, {0}, cannot be used for communication because it is in the Faulted state.</source>
<target state="new">The communication object, {0}, cannot be used for communication because it is in the Faulted state.</target>
<note />
</trans-unit>
<trans-unit id="SecurityEndpointNotFound">
<source>Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
<trans-unit id="SecurityServerTooBusy">
<source>Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="de" original="../Strings.resx">
<body>
<trans-unit id="CommunicationObjectCannotBeUsed">
<source>The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</source>
<target state="new">The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</target>
<note />
</trans-unit>
<trans-unit id="CommunicationObjectFaulted1">
<source>The communication object, {0}, cannot be used for communication because it is in the Faulted state.</source>
<target state="new">The communication object, {0}, cannot be used for communication because it is in the Faulted state.</target>
<note />
</trans-unit>
<trans-unit id="SecurityEndpointNotFound">
<source>Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
<trans-unit id="SecurityServerTooBusy">
<source>Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="es" original="../Strings.resx">
<body>
<trans-unit id="CommunicationObjectCannotBeUsed">
<source>The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</source>
<target state="new">The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</target>
<note />
</trans-unit>
<trans-unit id="CommunicationObjectFaulted1">
<source>The communication object, {0}, cannot be used for communication because it is in the Faulted state.</source>
<target state="new">The communication object, {0}, cannot be used for communication because it is in the Faulted state.</target>
<note />
</trans-unit>
<trans-unit id="SecurityEndpointNotFound">
<source>Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
<trans-unit id="SecurityServerTooBusy">
<source>Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="fr" original="../Strings.resx">
<body>
<trans-unit id="CommunicationObjectCannotBeUsed">
<source>The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</source>
<target state="new">The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</target>
<note />
</trans-unit>
<trans-unit id="CommunicationObjectFaulted1">
<source>The communication object, {0}, cannot be used for communication because it is in the Faulted state.</source>
<target state="new">The communication object, {0}, cannot be used for communication because it is in the Faulted state.</target>
<note />
</trans-unit>
<trans-unit id="SecurityEndpointNotFound">
<source>Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
<trans-unit id="SecurityServerTooBusy">
<source>Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="it" original="../Strings.resx">
<body>
<trans-unit id="CommunicationObjectCannotBeUsed">
<source>The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</source>
<target state="new">The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</target>
<note />
</trans-unit>
<trans-unit id="CommunicationObjectFaulted1">
<source>The communication object, {0}, cannot be used for communication because it is in the Faulted state.</source>
<target state="new">The communication object, {0}, cannot be used for communication because it is in the Faulted state.</target>
<note />
</trans-unit>
<trans-unit id="SecurityEndpointNotFound">
<source>Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
<trans-unit id="SecurityServerTooBusy">
<source>Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ja" original="../Strings.resx">
<body>
<trans-unit id="CommunicationObjectCannotBeUsed">
<source>The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</source>
<target state="new">The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</target>
<note />
</trans-unit>
<trans-unit id="CommunicationObjectFaulted1">
<source>The communication object, {0}, cannot be used for communication because it is in the Faulted state.</source>
<target state="new">The communication object, {0}, cannot be used for communication because it is in the Faulted state.</target>
<note />
</trans-unit>
<trans-unit id="SecurityEndpointNotFound">
<source>Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
<trans-unit id="SecurityServerTooBusy">
<source>Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ko" original="../Strings.resx">
<body>
<trans-unit id="CommunicationObjectCannotBeUsed">
<source>The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</source>
<target state="new">The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</target>
<note />
</trans-unit>
<trans-unit id="CommunicationObjectFaulted1">
<source>The communication object, {0}, cannot be used for communication because it is in the Faulted state.</source>
<target state="new">The communication object, {0}, cannot be used for communication because it is in the Faulted state.</target>
<note />
</trans-unit>
<trans-unit id="SecurityEndpointNotFound">
<source>Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
<trans-unit id="SecurityServerTooBusy">
<source>Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="pl" original="../Strings.resx">
<body>
<trans-unit id="CommunicationObjectCannotBeUsed">
<source>The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</source>
<target state="new">The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</target>
<note />
</trans-unit>
<trans-unit id="CommunicationObjectFaulted1">
<source>The communication object, {0}, cannot be used for communication because it is in the Faulted state.</source>
<target state="new">The communication object, {0}, cannot be used for communication because it is in the Faulted state.</target>
<note />
</trans-unit>
<trans-unit id="SecurityEndpointNotFound">
<source>Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
<trans-unit id="SecurityServerTooBusy">
<source>Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="pt-BR" original="../Strings.resx">
<body>
<trans-unit id="CommunicationObjectCannotBeUsed">
<source>The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</source>
<target state="new">The communication object, {0}, is in the {1} state. Communication objects cannot be used for communication unless they are in the Opened state.</target>
<note />
</trans-unit>
<trans-unit id="CommunicationObjectFaulted1">
<source>The communication object, {0}, cannot be used for communication because it is in the Faulted state.</source>
<target state="new">The communication object, {0}, cannot be used for communication because it is in the Faulted state.</target>
<note />
</trans-unit>
<trans-unit id="SecurityEndpointNotFound">
<source>Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is in the process of shutting down. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
<trans-unit id="SecurityServerTooBusy">
<source>Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</source>
<target state="new">Server '{0}' sent back a fault indicating it is too busy to process the request. Please retry later. Please see the inner exception for fault details.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
Loading

0 comments on commit 78959da

Please sign in to comment.