Merge pull request #21 from MaikyM/loc_esla

Added Spanish (Latin America) localization.
This commit is contained in:
Asval 2019-06-18 09:18:44 +02:00 committed by GitHub
commit a1b19b4fa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 deletions

View File

@ -1,4 +1,4 @@
namespace FModel.Forms
namespace FModel.Forms
{
partial class Settings
{
@ -170,7 +170,8 @@
"French",
"German",
"Italian",
"Spanish"});
"Spanish",
"Spanish (LA)"});
this.comboBox1.Location = new System.Drawing.Point(70, 161);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(309, 21);
@ -484,4 +485,4 @@
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Label label10;
}
}
}

View File

@ -1,4 +1,4 @@
using FModel.Parser.Challenges;
using FModel.Parser.Challenges;
using FModel.Parser.Items;
using FModel.Properties;
using System.Drawing;
@ -175,6 +175,7 @@ namespace FModel
any = "Completa " + count + " SFIDE QUALSIASI per ottenere l'oggetto ricompensa";
goto default;
case "Spanish":
case "Spanish (LA)":
all = "Completa LOS DESAFÍOS para conseguir el objeto de recompensa";
any = "Completa " + count + " DE LOS DESAFÍOS para conseguir el objeto de recompensa";
goto default;

View File

@ -1,4 +1,4 @@
using csharp_wick;
using csharp_wick;
using FModel.Parser.Items;
using FModel.Properties;
using Newtonsoft.Json;
@ -90,6 +90,7 @@ namespace FModel
case "German":
case "Italian":
case "Spanish":
case "Spanish (LA)":
ShortDescription = SearchResource.getTranslatedText(theItem.ShortDescription.Key);
if (string.IsNullOrEmpty(ShortDescription)) { ShortDescription = theItem.ShortDescription.SourceString; }
break;

View File

@ -1,4 +1,4 @@
namespace FModel
namespace FModel
{
static class LoadLocRes
{
@ -20,6 +20,9 @@
case "Spanish":
myLocRes = getMyLocRes("es");
break;
case "Spanish (LA)":
myLocRes = getMyLocRes("es-419");
break;
default:
break;
}