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

Bug/104 spanish translation #110

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions application/GW2 Addon Manager/UI/OpeningPage/OpeningView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@
Template="{StaticResource AddonMenuItemControlTemplate}"
Style="{StaticResource AddonMenuItemStyle}"
/>
<MenuItem
Header="Spanish"
Command="{Binding Path=ChangeLanguage}"
CommandParameter="{x:Static l:CultureConstants.Spanish}"
Template="{StaticResource AddonMenuItemControlTemplate}"
Style="{StaticResource AddonMenuItemStyle}"
/>
</MenuItem>
</Menu>
<TextBlock Text="{Binding UpdateAvailable}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ public OpeningView()

_configurationManager = new ConfigurationManager();
var configuration = new Configuration(_configurationManager);
configuration.CheckSelfUpdates();
configuration.DetermineSystemType();
configuration.CheckSelfUpdates();
_pluginManagement = new PluginManagement(_configurationManager);
_pluginManagement.DisplayAddonStatus();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,9 @@ public string GamePath
set
{
if (value == _gamePath) return;
SetProperty(ref _gamePath, value);
SetProperty(ref _gamePath, value);
_configurationManager.UserConfig.GamePath = value;
_configuration.DetermineSystemType();
_configurationManager.SaveConfiguration();
}
}
Expand Down
1 change: 1 addition & 0 deletions application/Localization/CultureConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ public static class CultureConstants
public const string English = "en-US";
public const string French = "fr-CA";
public const string Korean = "ko-KR";
public const string Spanish = "es";
}
}
9 changes: 9 additions & 0 deletions application/Localization/Localization.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,18 @@
<AutoGen>True</AutoGen>
<DependentUpon>StaticText.resx</DependentUpon>
</Compile>
<Compile Update="StaticText.es.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>StaticText.es.resx</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="StaticText.es.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>StaticText.es.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="StaticText.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>StaticText.Designer.cs</LastGenOutput>
Expand Down
9 changes: 9 additions & 0 deletions application/Localization/StaticText.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions application/Localization/StaticText.de-DE.resx
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,7 @@
<data name="SelectAnAddonToSeeMoreInformationAboutIt" xml:space="preserve">
<value>Wählen Sie ein Add-On aus, um weitere Informationen dazu anzuzeigen.</value>
</data>
<data name="Spanish" xml:space="preserve">
<value>Spanisch</value>
</data>
</root>
228 changes: 228 additions & 0 deletions application/Localization/StaticText.es.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,228 @@
<?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="French" xml:space="preserve">
<value>Francis</value>
</data>
<data name="English" xml:space="preserve">
<value>Inglés</value>
</data>
<data name="Chinese" xml:space="preserve">
<value>Chino</value>
</data>
<data name="Korean" xml:space="preserve">
<value>Coreano</value>
</data>
<data name="Spanish" xml:space="preserve">
<value>Español</value>
</data>
<data name="Language" xml:space="preserve">
<value>Idioma</value>
</data>
<data name="GamePath" xml:space="preserve">
<value>Ruta del juego</value>
</data>
<data name="ProgramsNotManagedByThisApplication" xml:space="preserve">
<value>Programas para GW2 no gestionados por GW2-UOAOM, como
TacO</value>
</data>
<data name="CompanionApplicationsWithLeadingSpace" xml:space="preserve">
<value> Aplicaciones complementarias</value>
</data>
<data name="Options" xml:space="preserve">
<value>Opciones</value>
</data>
<data name="CreateShortcut" xml:space="preserve">
<value>Crear atajo</value>
</data>
<data name="CreateShortcutDescription" xml:space="preserve">
<value>Agrega un acceso directo a la aplicación en el menú de inicio;
si se mueve el programa, ¡el acceso directo no funcionará!</value>
</data>
<data name="ForceRedownload" xml:space="preserve">
<value>Volver a descargar</value>
</data>
<data name="ForceRedownloadDescription" xml:space="preserve">
<value>Vuelve a descargar el cargador de complementos y todos los
complementos, independientemente de la versión.</value>
</data>
<data name="Available" xml:space="preserve">
<value>Disponible</value>
</data>
<data name="Downloading" xml:space="preserve">
<value>Descargando</value>
</data>
<data name="DownloadComplete" xml:space="preserve">
<value>Descarga completa</value>
</data>
<data name="Update" xml:space="preserve">
<value>Actualizar</value>
</data>
<data name="UpdateDescription" xml:space="preserve">
<value>Esto descargará la actualización de la aplicación y luego
reiniciará el programa.</value>
</data>
<data name="SelectDirectory" xml:space="preserve">
<value>Selecciona una carpeta</value>
</data>
<data name="SelectDirectoryDescription" xml:space="preserve">
<value>Selecciona la ubicación del juego</value>
</data>
<data name="AddOns" xml:space="preserve">
<value>Add-Ons</value>
</data>
<data name="SelectAllAddonsDescription" xml:space="preserve">
<value>Seleccione todos los complementos que le gustaría instalar o actualizar.</value>
</data>
<data name="ConfigurationOptions" xml:space="preserve">
<value>Opciones de configuración</value>
</data>
<data name="Delete" xml:space="preserve">
<value>Borrar</value>
</data>
<data name="Disable" xml:space="preserve">
<value>Desactivar</value>
</data>
<data name="DeleteDescription" xml:space="preserve">
<value>Elimina los complementos seleccionados y todos los datos
asociados</value>
</data>
<data name="DisableDescription" xml:space="preserve">
<value>Deshabilita los complementos seleccionados</value>
</data>
<data name="ReEnable" xml:space="preserve">
<value>Reactivar</value>
</data>
<data name="ReEnableDescription" xml:space="preserve">
<value>Habilita los complementos seleccionados si están deshabilitados</value>
</data>
<data name="ResetToCleanInstall" xml:space="preserve">
<value>Restablecer la configuración inicial</value>
</data>
<data name="ResetToCleanInstallDescription" xml:space="preserve">
<value>Elimina todos los complementos y complementos de Guild Wars
2.</value>
</data>
<data name="UpdateAllUpperCase" xml:space="preserve">
<value>ACTUALIZAR</value>
</data>
<data name="SelectAnAddonToSeeMoreInformationAboutIt" xml:space="preserve">
<value>Seleccione un complemento para ver más información al respecto.</value>
</data>
</root>
Loading