Skip to content

Commit

Permalink
Fix templating of and wording in error page
Browse files Browse the repository at this point in the history
  • Loading branch information
dvglc committed May 12, 2019
1 parent c9cba25 commit aa24ff6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion data/i18n/collection_en.xml
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
<!-- Error handling -->
<msg key="error">Error</msg>
<msg key="pageNotFound">This is not the page you were looking for...</msg>
<msg key="bugMessage">In case you found a bug on our webpages, please let us know at</msg>
<msg key="bugMessage">In case you found a bug in our webpages, please let us know at</msg>

<msg key="authorNotYetAvailable">This article is not yet available.</msg>
<msg key="lemmaNotYetAvailable">This dictionary article is not yet available.</msg>
Expand Down
12 changes: 7 additions & 5 deletions error-page.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<div xmlns:i18n="http://exist-db.org/xquery/i18n" class="templates:surround?with=templates/template_error.html&amp;at=content">
<div xmlns:i18n="http://exist-db.org/xquery/i18n" class="templates:surround?with=templates/template_basic.html&amp;at=content">
<div data-template="i18n:translate" data-template-catalogues="data/i18n">
<h1 class="error-title"><span data-template="app:errorCode"/></h1>
<h2 class="error-title"><span data-template="app:errorTitle"/></h2>
<p class="error-paragraph"><span data-template="app:errorInformation"/></p>
<div data-template="app:serverErrorMessage"/>
<div>
<h1 class="error-title"><span data-template="app:errorCode"/></h1>
<h2 class="error-title"><span data-template="app:errorTitle"/></h2>
<p class="error-paragraph"><span data-template="app:errorInformation"/></p>
<div data-template="app:serverErrorMessage"/>
</div>
</div>
</div>

0 comments on commit aa24ff6

Please sign in to comment.