btcpayserver/BTCPayServer/Views/UIError/Handle.cshtml
d11n 77fba4aee3
Add more translations (#6302)
* Newlines

* Dashboard

* Add more translations

* Moar

* Remove   from translated texts

* Dictionary controller translations

* Batch 1 of controller updates

* Batch 2 of controller updates

* Component translations

* Batch 3 of controller updates

* Fixes
2024-10-17 22:51:40 +09:00

17 lines
580 B
Text

@using System.Net
@using System.Text.RegularExpressions
@model int?
@{
Layout = "_LayoutError";
ViewData["Title"] = "Generic Error occurred";
if (Model.HasValue)
{
var httpCode = (HttpStatusCode)Model.Value;
var name = Regex.Replace(httpCode.ToString(), @"(\B[A-Z])", @" $1");
ViewData["Title"] = $"{(int)httpCode} - {name}";
}
}
<p class="mt-4">A generic error occurred (HTTP Code: @Model)</p>
<p text-translate="true">Please consult the server log for more details.</p>
<a href="/" text-translate="true">Navigate back to home</a>