alupo / transifex_reviews

fork of transifex

No description has been added.

commit 1043: 2f75b5e20409
parent 1042: aa581b351548
branch: default
bugfix: Marked some missed strings which should be localized. Thanks to Mostafa Daneshvar for helping expose these.
Dimitris Glezos / glezos
3 months ago

Changed (Δ141 bytes):

raw changeset »

transifex/templates/base-sample.html (1 lines added, 1 lines removed)

transifex/templates/projects/component_detail.html (1 lines added, 1 lines removed)

transifex/templates/simpleauth/login_box.html (1 lines added, 1 lines removed)

transifex/txcommon/templates/common_homelink.html (1 lines added, 1 lines removed)

transifex/txcommon/templatetags/txcommontags.py (3 lines added, 1 lines removed)

Up to file-list transifex/templates/base-sample.html:

114
114
    <p class="main-footer center">
115
115
      {% block footerlinks %}{% trans "About" %} | <a href="{% url contact_form %}" title="{% trans "Get in contact with us" %}">{% trans "Feedback" %}</a>{% endblock %}
116
116
    </p>
117
    {% block powered %}<p class="powered">Powered by <a href="http://transifex.org/" title="Transifex community">Transifex</a>, the Open Translation Platform</p>{% endblock %}
117
    {% block powered %}<p class="powered">{% blocktrans %}Powered by <a href="http://transifex.org/" title="Transifex community">Transifex</a>, the Open Translation Platform{% endblocktrans %}</p>{% endblock %}
118
118
    {% block txversionblock %}<p class="version">v{% txversion %}</p>{% endblock %}
119
119
    {% block extrafooter %}{% endblock %}
120
120
  {% endblock %}</div>

Up to file-list transifex/templates/projects/component_detail.html:

83
83
84
84
{% if component.unit %}
85
85
<div id="vcs_details">
86
  <h3>Source details</h3>
86
  <h3>{% trans "Source details" %}</h3>
87
87
88
88
  <table class="definition">
89
89
    <tr>

Up to file-list transifex/templates/simpleauth/login_box.html:

5
5
<div class="generic_form" id="login_index login-block">
6
6
<fieldset>
7
7
  <legend>{% trans "Sign in" %}</legend>
8
  <p class="login-tagline i16 user">Sign in to add or modify projects, work on translations, and other stuff.</p>
8
  <p class="login-tagline i16 user">{% trans "Sign in to add or modify projects, work on translations, and other stuff." %}</p>
9
9
  {% if form_message %}
10
10
    <p class="message i16 bell">{{ form_message }}</p>
11
11
  {% endif %}

Up to file-list transifex/txcommon/templates/common_homelink.html:

1
1
{% load i18n %}
2
<a href="{% url transifex.home %}" title="{% trans "Go to start page" %}">{% firstof text _("Home") %}</a>
2
<a href="{% url transifex.home %}" title="{% trans "Go to start page" %}">{{ text }}</a>

Up to file-list transifex/txcommon/templatetags/txcommontags.py:

@@ -4,6 +4,8 @@ from django import template
4
4
from django.template.defaultfilters import stringfilter
5
5
from django.utils.safestring import mark_safe
6
6
from django.utils.html import conditional_escape
7
from django.utils.translation import ugettext_lazy as _
8
7
9
from projects.models import Project
8
10
import txcommon
9
11
@@ -73,7 +75,7 @@ def render_metacount(list, countable):
73
75
                'countable': countable}
74
76
75
77
@register.inclusion_tag("common_homelink.html")
76
def homelink(text="Home"):
78
def homelink(text=_("Home")):
77
79
    """Return a link to the homepage."""
78
80
    return {'text': text}
79
81