mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Activate spanish
This commit is contained in:
@@ -105,7 +105,6 @@ namespace BTCPayServer.Controllers
|
|||||||
{
|
{
|
||||||
InvoiceTime = DateTimeOffset.UtcNow
|
InvoiceTime = DateTimeOffset.UtcNow
|
||||||
};
|
};
|
||||||
entity.SetSupportedPaymentMethods(supportedPaymentMethods.Select(s => s.SupportedPaymentMethod));
|
|
||||||
|
|
||||||
var storeBlob = store.GetStoreBlob();
|
var storeBlob = store.GetStoreBlob();
|
||||||
Uri notificationUri = Uri.IsWellFormedUriString(invoice.NotificationURL, UriKind.Absolute) ? new Uri(invoice.NotificationURL, UriKind.Absolute) : null;
|
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
|
#pragma warning restore CS0618
|
||||||
return paymentMethod;
|
return paymentMethod;
|
||||||
});
|
});
|
||||||
|
entity.SetSupportedPaymentMethods(supportedPaymentMethods.Select(s => s.SupportedPaymentMethod));
|
||||||
var paymentMethods = new PaymentMethodDictionary();
|
var paymentMethods = new PaymentMethodDictionary();
|
||||||
foreach (var method in methods)
|
foreach (var method in methods)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ namespace BTCPayServer.Services
|
|||||||
new Language("de-DE", "Deutsch"),
|
new Language("de-DE", "Deutsch"),
|
||||||
//new Language("ja-JP", "日本語"),
|
//new Language("ja-JP", "日本語"),
|
||||||
new Language("fr-FR", "Français"),
|
new Language("fr-FR", "Français"),
|
||||||
//new Language("es-ES", "Spanish"),
|
new Language("es-ES", "Spanish"),
|
||||||
new Language("pt-BR", "Portuguese (Brazil)"),
|
new Language("pt-BR", "Portuguese (Brazil)"),
|
||||||
new Language("nl-NL", "Dutch"),
|
new Language("nl-NL", "Dutch"),
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -98,7 +98,7 @@
|
|||||||
resources: {
|
resources: {
|
||||||
'en-US': { translation: locales_en },
|
'en-US': { translation: locales_en },
|
||||||
'de-DE': { translation: locales_de },
|
'de-DE': { translation: locales_de },
|
||||||
//'es-ES': { translation: locales_es },
|
'es-ES': { translation: locales_es },
|
||||||
//'ja-JP': { translation: locales_ja },
|
//'ja-JP': { translation: locales_ja },
|
||||||
'fr-FR': { translation: locales_fr },
|
'fr-FR': { translation: locales_fr },
|
||||||
'pt-BR': { translation: locales_pt_br },
|
'pt-BR': { translation: locales_pt_br },
|
||||||
|
|||||||
Reference in New Issue
Block a user