Remove \r\n in the translations

This commit is contained in:
nicolas.dorier 2024-11-14 22:10:03 +09:00
parent 8e688b7f28
commit f56ad3408c
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE
2 changed files with 2 additions and 2 deletions

View File

@ -377,7 +377,7 @@ retry:
}
}
defaultTranslatedKeys = defaultTranslatedKeys.Select(d => d.Trim()).Distinct().OrderBy(o => o).ToList();
defaultTranslatedKeys = defaultTranslatedKeys.Select(d => d.Trim().Replace("\r\n", "\n")).Distinct().OrderBy(o => o).ToList();
JObject obj = new JObject();
foreach (var v in defaultTranslatedKeys)
{

View File

@ -636,7 +636,7 @@ namespace BTCPayServer.Services
"Generate {0} Wallet": "",
"Generate a brand-new wallet to use": "",
"Generate a new api key to use BTCPay through its API.": "",
"Generate a QR code of the extended public key in your wallet (see instructions for supported wallets below).\r\n Allow the browser access to your camera and hold the code to the camera when the scan prompt appears.": "",
"Generate a QR code of the extended public key in your wallet (see instructions for supported wallets below).\n Allow the browser access to your camera and hold the code to the camera when the scan prompt appears.": "",
"Generate another address": "",
"Generate API Key": "",
"Generate Key": "",