localize views

This commit is contained in:
Joshua Arts
2018-07-17 11:57:49 -04:00
parent 55b83226c9
commit ce4c8b3bff
27 changed files with 249 additions and 150 deletions

View File

@ -2,10 +2,10 @@
<div class="page-content">
<div class="container text-center">
<div class="display-1 text-muted mb-5">500</div>
<h1 class="h2 mb-3">Oh no! Looks like something went wrong on our end.</h1>
<p class="h4 text-muted font-weight-normal mb-7">The error has been logged, we'll take a look!</p>
<h1 class="h2 mb-3"><%= t("errors.internal.message") %></h1>
<p class="h4 text-muted font-weight-normal mb-7"><%= t("errors.internal.help") %></p>
<a class="btn btn-primary" href="javascript:history.back()">
<i class="fas fa-arrow-left mr-2"></i>Go back
<i class="fas fa-arrow-left mr-2"></i><%= t("go_back") %>
</a>
</div>
</div>

View File

@ -2,10 +2,10 @@
<div class="page-content">
<div class="container text-center">
<div class="display-1 text-muted mb-5">404</div>
<h1 class="h2 mb-3">Whoops! Looks like we can't find that.</h1>
<p class="h4 text-muted font-weight-normal mb-7">Is it possible its been removed?</p>
<h1 class="h2 mb-3"><%= t("errors.not_found.message") %></h1>
<p class="h4 text-muted font-weight-normal mb-7"><%= t("errors.not_found.help") %></p>
<a class="btn btn-primary" href="javascript:history.back()">
<i class="fas fa-arrow-left mr-2"></i>Go back
<i class="fas fa-arrow-left mr-2"></i><%= t("go_back") %>
</a>
</div>
</div>

View File

@ -2,10 +2,10 @@
<div class="page-content">
<div class="container text-center">
<div class="display-1 text-muted mb-5">422</div>
<h1 class="h2 mb-3">Oops! Request is unprocessable.</h1>
<p class="h4 text-muted font-weight-normal mb-7">Unforunately this isn't a valid request.</p>
<h1 class="h2 mb-3"><%= t("errors.unprocessable.message") %></h1>
<p class="h4 text-muted font-weight-normal mb-7"><%= t("errors.unprocessable.help") %></p>
<a class="btn btn-primary" href="javascript:history.back()">
<i class="fas fa-arrow-left mr-2"></i>Go back
<i class="fas fa-arrow-left mr-2"></i><%= t("go_back") %>
</a>
</div>
</div>