Skip to content

Commit

Permalink
more localisation
Browse files Browse the repository at this point in the history
  • Loading branch information
josxha committed Oct 20, 2023
1 parent 33fa110 commit 5375acb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions KratosSelfService/Views/Error/Error.cshtml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@model KratosFlowError
@{
ViewData["Title"] = "Error";
ViewData["Title"] = OryTranslator.Get("error.title");
Layout = "_CardLayout";
}

<section class="section">
<h1 class="title">Error</h1>
<h1 class="title">@OryTranslator.Get("error.title")</h1>
<p class="subtitle">
@Model.Error
</p>
Expand Down
5 changes: 3 additions & 2 deletions KratosSelfService/Views/Settings/Settings.cshtml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@using KratosSelfService.Extensions
@model SettingsModel
@{
ViewData["Title"] = CustomTranslator.Get("settings.title");
ViewData["Title"] = OryTranslator.Get("settings.title");
Layout = "_CardLayout";
var allGroups = Model.flow.Ui.Nodes
.GroupBy(node => node.Group).ToList();
Expand All @@ -13,7 +13,8 @@
}

<section class="section">
<h1 class="title">@CustomTranslator.Get("settings.title")</h1>
<h1 class="title">@OryTranslator.Get("settings.title")</h1>
<p>@OryTranslator.Get("settings.subtitle-instructions")</p>
@if (Model.flow.Ui.Messages != null)
{
foreach (var message in Model.flow.Ui.Messages)
Expand Down

0 comments on commit 5375acb

Please sign in to comment.