Skip to content

Commit

Permalink
Proper titles for all pages. **compilemessages**
Browse files Browse the repository at this point in the history
  • Loading branch information
henrinie committed Apr 16, 2018
1 parent b365b49 commit cd238ab
Show file tree
Hide file tree
Showing 22 changed files with 475 additions and 329 deletions.
772 changes: 453 additions & 319 deletions locale/fi/LC_MESSAGES/django.po

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% load i18n %}
{% load staticfiles %}
{# Translators: Title for sign search page #}
{% block bootstrap3_title %}: {% blocktrans %}Search Signs{% endblocktrans %}{% endblock %}
{% block bootstrap3_title %}{% blocktrans %}Advanced Search{% endblocktrans %} | {% endblock %}
{% block extrahead %}
<link rel="stylesheet" href="{% static "css/jquery-ui/jquery-ui.min.css" %}">
{% endblock %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% load i18n %}
{% load staticfiles %}
{# Translators: Title for GlossRelation search page #}
{% block bootstrap3_title %}: {% blocktrans %}Search Relations of Glosses{% endblocktrans %}{% endblock %}
{% block bootstrap3_title %}{% blocktrans %}Search Gloss Relations{% endblocktrans %} | {% endblock %}
{% block extrajs %}
<script>
// http://www.javascript-coder.com/javascript-form/javascript-reset-form.phtml
Expand Down
1 change: 1 addition & 0 deletions signbank/dictionary/templates/dictionary/create_gloss.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% load stylesheet %}
{% load bootstrap3 %}
{% load i18n %}
{% block bootstrap3_title %}{% blocktrans %}Create Gloss{% endblocktrans %} | {% endblock %}

{% block content %}
{% if perms.dictionary.add_gloss %}
Expand Down
1 change: 1 addition & 0 deletions signbank/dictionary/templates/dictionary/gloss_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{% load bootstrap3 %}
{% load i18n %}
{% load staticfiles %}
{% block bootstrap3_title %}{{gloss}} [{{gloss.dataset}}] | {% endblock %}
{% block extrahead %}
<link rel="stylesheet" type="text/css" href="{% static 'css/tagmanager.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'css/jquery.atwho.min.css' %}">
Expand Down
1 change: 1 addition & 0 deletions signbank/dictionary/templates/dictionary/import_csv.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% load stylesheet %}
{% load bootstrap3 %}
{% load i18n %}
{% block bootstrap3_title %}{% blocktrans %}Import CSV{% endblocktrans %} | {% endblock %}

{% block content %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% load stylesheet %}
{% load bootstrap3 %}
{% load i18n %}
{% block bootstrap3_title %}{% blocktrans %}Import CSV{% endblocktrans %} | {% endblock %}

{% block content %}
{% if perms.dictionary.import_csv %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% load stylesheet %}
{% load bootstrap3 %}
{% load i18n %}
{% block bootstrap3_title %}{% blocktrans %}Confirm Import CSV{% endblocktrans %} | {% endblock %}

{% block content %}
{% if perms.dictionary.import_csv %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% load i18n %}
{% load comments %}
{% load tagging_tags %}
{% block bootstrap3_title %}{{gloss}} [{{gloss.dataset.description}}] | {% endblock %}
{% block content %}
<div class="container">
<div class="row">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% load i18n %}
{% load bootstrap3 %}
{% load staticfiles %}
{% block bootstrap3_title %}{% blocktrans %}Search Signs{% endblocktrans %} | {% endblock %}
{% block extrajs %}
<script src="{% static "js/mark.min.js" %}"></script>
<script>
Expand Down
1 change: 1 addition & 0 deletions signbank/video/templates/addvideos.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends "baselayout.html" %}
{% load i18n %}
{% block bootstrap3_title %}{% blocktrans %}Upload Videos{% endblocktrans %} | {% endblock %}

{%block extrahead %}
<script>
Expand Down
3 changes: 2 additions & 1 deletion signbank/video/templates/uploaded_glossvideos.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{% extends "baselayout.html" %}
{% load i18n %}
{% load staticfiles %}
{% block bootstrap3_title %}{% blocktrans %}Manage Uploaded Videos{% endblocktrans %} | {% endblock %}
{% block extrahead %}
<link rel="stylesheet" href="{% static "css/jquery-ui/jquery-ui.min.css" %}">
{% endblock %}
{% block content %}
<div class="page-header">
<h2>{% blocktrans %}Uploaded Glossvideos{% endblocktrans %} <small>{% blocktrans %}Connect Glossvideos to Glosses{% endblocktrans %}</small></h2>
<h2>{% blocktrans %}Manage Uploaded Videos{% endblocktrans %} <small>{% blocktrans %}Connect Glossvideos to Glosses{% endblocktrans %}</small></h2>
</div>
<div id="dataset" class="panel panel-default">
<div class="panel-body">
Expand Down
2 changes: 1 addition & 1 deletion templates/baselayout.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% get_current_language as LANGUAGE_CODE %}
<html lang="{{LANGUAGE_CODE|default:'en'}}">
<head>
<title>{% blocktrans %}Finnish Signbank{% endblocktrans %}{% block bootstrap3_title %}{% endblock %}</title>
<title>{% block bootstrap3_title %}{% endblock %}{% blocktrans %}Finnish Signbank{% endblocktrans %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<link rel="stylesheet" media="screen" href="{% static 'bootstrap/css/bootstrap.min.css' %}">
Expand Down
1 change: 1 addition & 0 deletions templates/comments/latest_comments_page.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends "baselayout.html" %}
{% load i18n %}
{% block bootstrap3_title %}{% blocktrans %}Latest Comments{% endblocktrans %} | {% endblock %}
{% block content %}
{% include "comments/latest_comments.html" %}
{% endblock %}
2 changes: 1 addition & 1 deletion templates/comments/search_comments.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% load i18n %}
{% load staticfiles %}
{# Translators: Title for comments search page #}
{% block bootstrap3_title %}: {% blocktrans %}Search Comments{% endblocktrans %}{% endblock %}
{% block bootstrap3_title %}{% blocktrans %}Search Comments{% endblocktrans %} | {% endblock %}
{% block content %}
<div class="search_comments">
<h2><a href="{% url 'search_comments' %}">{% blocktrans %}Search comments{% endblocktrans %}</a></h2>
Expand Down
1 change: 1 addition & 0 deletions templates/flatpages/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% extends "baselayout.html" %}
{% load i18n %}
{% block bootstrap3_title %}{{flatpage.title}} | {% endblock %}

{% block content %}
{% block pagecontent %}
Expand Down
1 change: 1 addition & 0 deletions templates/infopage.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{% load stylesheet %}
{% load bootstrap3 %}
{% load i18n %}
{% block bootstrap3_title %}{% blocktrans %}Links and Statistics{% endblocktrans %} | {% endblock %}
{% block content %}
{% if perms.dictionary.search_gloss %}
<div id="infopage" class="container-fluid">
Expand Down
2 changes: 1 addition & 1 deletion templates/registration/activate.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "registration/registration_base.html" %}
{% load i18n %}

{% block title %}{% trans "Activation Failure" %}{% endblock %}
{% block bootstrap3_title %}{% blocktrans %}Activation Failure{% endblocktrans %} | {% endblock %}

{% block content %}
<div class="alert alert-danger" role="alert">
Expand Down
2 changes: 1 addition & 1 deletion templates/registration/activation_complete.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "registration/registration_base.html" %}
{% load i18n %}

{% block title %}{% trans "Activation Complete" %}{% endblock %}
{% block bootstrap3_title %}{% blocktrans %}Activation Complete{% endblocktrans %} | {% endblock %}

{% block content %}
<div class="alert alert-success" role="alert">
Expand Down
2 changes: 1 addition & 1 deletion templates/registration/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load bootstrap3 %}
{% load i18n %}

{% block title %}{% trans "Sign in" %}{% endblock %}
{% block bootstrap3_title %}{% blocktrans %}Sign In{% endblocktrans %} | {% endblock %}

{% block content %}
{# Translators: Text sign in - Log in form #}
Expand Down
2 changes: 1 addition & 1 deletion templates/registration/logout.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "registration/registration_base.html" %}
{% load i18n %}

{% block title %}{% trans "Logged out" %}{% endblock %}
{% block bootstrap3_title %}{% blocktrans %}Logged Out{% endblocktrans %} | {% endblock %}

{% block content %}
<div class="alert alert-info" role="alert">
Expand Down
2 changes: 1 addition & 1 deletion templates/registration/registration_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load bootstrap3 %}
{% load i18n %}

{% block title %}{% trans "Create an account" %}{% endblock %}
{% block bootstrap3_title %}{% blocktrans %}Create an Account{% endblocktrans %} | {% endblock %}

{% block content %}
{% if not user.is_authenticated %}
Expand Down

0 comments on commit cd238ab

Please sign in to comment.