mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Activate spanish
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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"),
|
||||
};
|
||||
|
||||
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user