Fix english selection when the store has not set default language

This commit is contained in:
nicolas.dorier
2018-03-24 01:58:11 +09:00
parent 08d82390b0
commit 2072b6e136
3 changed files with 3 additions and 3 deletions

View File

@@ -211,7 +211,7 @@ namespace BTCPayServer.Controllers
ServerUrl = HttpContext.Request.GetAbsoluteRoot(),
OrderId = invoice.OrderId,
InvoiceId = invoice.Id,
DefaultLang = storeBlob.DefaultLang ?? "en",
DefaultLang = storeBlob.DefaultLang ?? "en-US",
BtcAddress = paymentMethodDetails.GetPaymentDestination(),
OrderAmount = (accounting.TotalDue - accounting.NetworkFee).ToString(),
BtcDue = accounting.Due.ToString(),