Added Spanish (Latin America) localization.

This commit is contained in:
MaikyM
2019-06-17 18:33:26 -06:00
parent 19d86e8127
commit 3d0d229a23
4 changed files with 12 additions and 6 deletions

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;
}