Skip to content

Commit

Permalink
update wording and fix typos in templates for error pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphite committed Sep 21, 2017
1 parent 9c04aa1 commit ec81fb1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,5 @@ media/
.env

venv_bootcamp/
staticfiles
staticfiles
.idea
3 changes: 2 additions & 1 deletion bootcamp/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@
LANGUAGES = (
('en', 'English'),
('pt-br', 'Portuguese'),
('es', 'Spanish')
('es', 'Spanish'),
('zh-cn', 'Chinese'),
)

LOCALE_PATHS = (PROJECT_DIR.child('locale'), )
Expand Down
4 changes: 2 additions & 2 deletions bootcamp/templates/400.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% block main %}
<div class="page-header">
<h1>Page not found</h1>
<h1>Bad request</h1>
</div>
<p style="margin-top: 1.2em">Hey you! My friend, it appears to me than you did something wrong. :(</p>
<p style="margin-top: 1.2em">Hey you! My friend, it appears to me that you did something wrong. :(</p>
{% endblock main %}
2 changes: 1 addition & 1 deletion bootcamp/templates/403.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
<div class="page-header">
<h1>Permission denied</h1>
</div>
<p style="margin-top: 1.2em">Hey you!</p>
<p style="margin-top: 1.2em">Hey you! Seems like you do not have permission to access this page. Please let us know otherwise.</p>
{% endblock main %}
2 changes: 1 addition & 1 deletion bootcamp/templates/500.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
<div class="page-header">
<h1>Server error</h1>
</div>
<p style="margin-top: 1.2em">Ooops! Something went wrong. That's all we know.</p>
<p style="margin-top: 1.2em">Oops! Something went wrong. That's all we know.</p>
{% endblock main %}

0 comments on commit ec81fb1

Please sign in to comment.