Add parts of the UI to translate (#6119)

This commit is contained in:
Nicolas Dorier
2024-07-25 22:46:02 +09:00
committed by GitHub
parent 50dafd2452
commit 94760792af
96 changed files with 381 additions and 192 deletions

View File

@@ -95,7 +95,8 @@ namespace BTCPayServer.Controllers
IHostApplicationLifetime applicationLifetime,
IHtmlHelper html,
TransactionLinkProviders transactionLinkProviders,
LocalizerService localizer
LocalizerService localizer,
BTCPayServerEnvironment environment
)
{
_policiesSettings = policiesSettings;
@@ -123,6 +124,7 @@ namespace BTCPayServer.Controllers
Html = html;
_transactionLinkProviders = transactionLinkProviders;
_localizer = localizer;
Environment = environment;
}
[HttpGet("server/stores")]
@@ -325,6 +327,7 @@ namespace BTCPayServer.Controllers
public IHttpClientFactory HttpClientFactory { get; }
public IHostApplicationLifetime ApplicationLifetime { get; }
public IHtmlHelper Html { get; }
public BTCPayServerEnvironment Environment { get; }
[Route("server/policies")]
public async Task<IActionResult> Policies()