Add i18n support: per-locale catalogs, URL-driven locale, translated core and examples
CI / full-gate (push) Successful in 2m37s
CI / full-gate (push) Successful in 2m37s
This commit is contained in:
+9
-6
@@ -1,16 +1,19 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<%#
|
||||
503 error page: standalone (no app shell, no menu) so it renders even when the shell's data
|
||||
is what failed. Locals: t/locale/dir come from the host with every render.
|
||||
%><!doctype html>
|
||||
<html lang="<%= locale %>" dir="<%= dir %>">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title><%= title %></title>
|
||||
<title><%= t("error.503.docTitle") %></title>
|
||||
<link rel="stylesheet" href="/public/css/styles.css" />
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<h1>Sign-in is temporarily unavailable</h1>
|
||||
<p>We can't reach the identity service right now (503). Please try again in a moment.</p>
|
||||
<p><a href="/login">Try again</a></p>
|
||||
<h1><%= t("error.503.title") %></h1>
|
||||
<p><%= t("error.503.body") %></p>
|
||||
<p><a href="<%= localeHref("/login") %>"><%= t("error.tryAgain") %></a></p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user