Activate spanish

This commit is contained in:
nicolas.dorier
2018-03-24 14:35:49 +09:00
parent 8ca99e5635
commit a0d2790491
3 changed files with 3 additions and 3 deletions

View File

@@ -105,7 +105,6 @@ namespace BTCPayServer.Controllers
{
InvoiceTime = DateTimeOffset.UtcNow
};
entity.SetSupportedPaymentMethods(supportedPaymentMethods.Select(s => s.SupportedPaymentMethod));
var storeBlob = store.GetStoreBlob();
Uri notificationUri = Uri.IsWellFormedUriString(invoice.NotificationURL, UriKind.Absolute) ? new Uri(invoice.NotificationURL, UriKind.Absolute) : null;
@@ -155,6 +154,7 @@ namespace BTCPayServer.Controllers
#pragma warning restore CS0618
return paymentMethod;
});
entity.SetSupportedPaymentMethods(supportedPaymentMethods.Select(s => s.SupportedPaymentMethod));
var paymentMethods = new PaymentMethodDictionary();
foreach (var method in methods)
{

View File

@@ -25,7 +25,7 @@ namespace BTCPayServer.Services
new Language("de-DE", "Deutsch"),
//new Language("ja-JP", "日本語"),
new Language("fr-FR", "Français"),
//new Language("es-ES", "Spanish"),
new Language("es-ES", "Spanish"),
new Language("pt-BR", "Portuguese (Brazil)"),
new Language("nl-NL", "Dutch"),
};

View File

@@ -98,7 +98,7 @@
resources: {
'en-US': { translation: locales_en },
'de-DE': { translation: locales_de },
//'es-ES': { translation: locales_es },
'es-ES': { translation: locales_es },
//'ja-JP': { translation: locales_ja },
'fr-FR': { translation: locales_fr },
'pt-BR': { translation: locales_pt_br },