Skip to content

Commit

Permalink
use the correct translation key in error template
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Jun 19, 2024
1 parent 6a1d75d commit 66ce814
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/material/themes/material/default/error.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="{{ currentLanguage }}">
<head>
<title>{{ '{material:error:title}'|trans }}</title>
<title>{{ '{error:title}'|trans }}</title>

{% include 'header.twig' %}
</head>
Expand All @@ -10,14 +10,14 @@
<header class="mdl-layout__header mdl-color--red">
<div class="mdl-layout__header-row">
<span class="mdl-layout-title">
{{ '{material:error:header}'|trans }}
{{ '{error:header}'|trans }}
</span>
</div>
</header>

<main class="mdl-layout__content margin" layout-children="column">
<p>
{{ '{material:error:message}'|trans }}
{{ '{error:message}'|trans }}
</p>

{% if showerrors ?? false %}
Expand Down

0 comments on commit 66ce814

Please sign in to comment.