Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization update #3394

Merged
merged 32 commits into from
May 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
8ea919a
Added files for onelocbuild
Jan 14, 2021
bf3a7ce
Update localize-pipeline.yml for Azure Pipelines
Jan 29, 2021
02b4f0d
Fixed typo in resource.resx path
Jan 29, 2021
0fe5f83
Merge branch 'Localization' of https://github.com/microsoft/azure-pip…
Jan 29, 2021
b283ca8
Removed en-US
Feb 1, 2021
8dda4e6
Update localize-pipeline.yml for Azure Pipelines
Feb 5, 2021
1514c4b
LEGO: check in for Localization to temporary branch. (#3246)
csigs Feb 8, 2021
90906f0
LEGO: check in for Localization to temporary branch. (#3268)
csigs Feb 18, 2021
25f32a5
LEGO: check in for Localization to temporary branch. (#3265)
csigs Feb 18, 2021
1e6386d
LEGO: check in for Localization to temporary branch. (#3279)
csigs Mar 4, 2021
c069603
Merge remote-tracking branch 'origin/master' into Localization
Mar 10, 2021
4686bc7
Temporary renamed localization folders
egor-bryzgalov Mar 11, 2021
b6e13e4
Renamed localization folders
egor-bryzgalov Mar 11, 2021
a655379
Merge remote-tracking branch 'origin/master' into Localization
Mar 11, 2021
4382722
Set up schedule and notifications for the localization pipeline (#3269)
egor-bryzgalov Mar 12, 2021
a86c44f
[localization] Fixed localization pipeline issue with already localiz…
egor-bryzgalov Mar 16, 2021
4c2870a
Merge remote-tracking branch 'origin/master' into Localization
Mar 16, 2021
c53fb4c
Localized file check-in by OneLocBuild Task: Build definition ID 1094…
Mar 16, 2021
654d6e6
LEGO: check in for Localization to temporary branch. (#3363)
Apr 13, 2021
f2b28b1
LEGO: check in for Localization to temporary branch. (#3364)
Apr 13, 2021
ab2fbcf
Merge remote-tracking branch 'origin/master' into Localization
Apr 13, 2021
597d009
Localized file check-in by OneLocBuild Task: Build definition ID 1094…
Apr 13, 2021
bc5d048
Create PR in OneLocBuild task only on third week of sprint (#3374)
EzzhevNikita Apr 21, 2021
f04f072
Merge remote-tracking branch 'origin/master' into Localization
Apr 26, 2021
3fabd23
Merge remote-tracking branch 'origin/master' into Localization
May 3, 2021
2f2bf08
Merge remote-tracking branch 'origin/master' into Localization
May 10, 2021
931537b
Removing Localize folder
May 10, 2021
73ce08e
Merge branch 'master' into Localization-update_05102021
May 13, 2021
f5abd19
Added generated resx files to project file
May 14, 2021
ea36436
Merge branch 'Localization-update_05102021' of https://github.com/mic…
May 14, 2021
4940c29
Fixed typo
May 14, 2021
3c6886c
Merge branch 'master' into Localization-update_05102021
May 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions src/Agent.Service/Windows/AgentService.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,28 @@
<None Include="FinalPublicKey.snk" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resource.de-de.resx">
</EmbeddedResource>
<EmbeddedResource Include="Resource.es-es.resx">
</EmbeddedResource>
<EmbeddedResource Include="Resource.fr-fr.resx">
</EmbeddedResource>
<EmbeddedResource Include="Resource.it-IT.resx">
</EmbeddedResource>
<EmbeddedResource Include="Resource.ja-jp.resx">
</EmbeddedResource>
<EmbeddedResource Include="Resource.ko-KR.resx">
</EmbeddedResource>
<EmbeddedResource Include="Resource.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resource.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Resource.ru-RU.resx">
</EmbeddedResource>
<EmbeddedResource Include="Resource.zh-CN.resx">
</EmbeddedResource>
<EmbeddedResource Include="Resource.zh-TW.resx">
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
147 changes: 147 additions & 0 deletions src/Agent.Service/Windows/Resource.de-de.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema

Version 2.0

The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.

Example:

... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>

There are any number of "resheader" rows that contain simple
name/value pairs.

Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.

The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:

Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.

mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.

mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.

mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AgentExitWithoutError" xml:space="preserve">
<value>Der Agent-Listener wurde mit Rückgabecode 0 beendet. Beenden Sie den Dienst, es ist keine Wiederholung erforderlich.</value>
</data>
<data name="AgentExitWithTerminatedError" xml:space="preserve">
<value>Der Agent-Listener wurde mit einem Beendigungsfehler beendet. Beenden Sie den Dienst, es ist keine Wiederholung erforderlich.</value>
</data>
<data name="AgentExitWithError" xml:space="preserve">
<value>Der Agent-Listener wurde mit einem wiederholbaren Fehler beendet, starten Sie den Agent in 5 Sekunden neu.</value>
</data>
<data name="AgentUpdateInProcess" xml:space="preserve">
<value>Der Agent-Listener wurde aufgrund eines Updates beendet. Starten Sie den Agent in 5 Sekunden neu.</value>
</data>
<data name="AgentUpdateSucceed" xml:space="preserve">
<value>Der Agent-Listener wurde auf die neueste Version aktualisiert. Starten Sie den Agent in 5 Sekunden neu.</value>
</data>
<data name="AgentUpdateFailed" xml:space="preserve">
<value>Fehler beim Aktualisieren des Agent-Listeners. Beenden Sie den Dienst.</value>
</data>
<data name="AgentUpdateRestartNeeded" xml:space="preserve">
<value>Der Agent-Listener wurde auf die neueste Version aktualisiert. Starten Sie den Dienst neu, um den ServiceHost selbst zu aktualisieren.</value>
</data>
<data name="CrashServiceHost" xml:space="preserve">
<value>Führen Sie einen ServiceHost-Absturz herbei, um einen Neustart des Diensts durch SCM auszulösen.</value>
</data>
<data name="AgentExitWithUndefinedReturnCode" xml:space="preserve">
<value>Der Agent-Listener wurde mit einem nicht definierten Rückgabecode beendet, starten Sie den Agent in 5 Sekunden neu.</value>
</data>
</root>
147 changes: 147 additions & 0 deletions src/Agent.Service/Windows/Resource.es-es.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema

Version 2.0

The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.

Example:

... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>

There are any number of "resheader" rows that contain simple
name/value pairs.

Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.

The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:

Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.

mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.

mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.

mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AgentExitWithoutError" xml:space="preserve">
<value>Salida del agente de escucha con el código de retorno 0; detenga el servicio, no es necesario reintentar.</value>
</data>
<data name="AgentExitWithTerminatedError" xml:space="preserve">
<value>Salida del agente de escucha con error de finalizado; detenga el servicio, no es necesario reintentar.</value>
</data>
<data name="AgentExitWithError" xml:space="preserve">
<value>Salida del agente de escucha con un error que permite reintentar; reinicie el agente en cinco segundos.</value>
</data>
<data name="AgentUpdateInProcess" xml:space="preserve">
<value>Salida del agente de escucha debido a una actualización; reinicie el agente en cinco segundos.</value>
</data>
<data name="AgentUpdateSucceed" xml:space="preserve">
<value>El agente de escucha se ha actualizado al más reciente; reinicie el agente en cinco segundos.</value>
</data>
<data name="AgentUpdateFailed" xml:space="preserve">
<value>Error al actualizar el agente de escucha, detenga el servicio.</value>
</data>
<data name="AgentUpdateRestartNeeded" xml:space="preserve">
<value>El agente de escucha se ha actualizado a la última versión; reinicie el servicio para actualizar servicehost.</value>
</data>
<data name="CrashServiceHost" xml:space="preserve">
<value>Bloquee ServiceHost para desencadenar el reinicio del servicio de SCM.</value>
</data>
<data name="AgentExitWithUndefinedReturnCode" xml:space="preserve">
<value>Salida del agente de escucha con un código de retorno no definido; reinicie el agente en cinco segundos.</value>
</data>
</root>
Loading