Projet

Général

Profil

0001-templates-hardcode-French-strings-in-account-managem.patch

Frédéric Péters, 21 janvier 2016 10:29

Télécharger (1,97 ko)

Voir les différences:

Subject: [PATCH] templates: hardcode French strings in account management
 template (#9684)

 templates/idp/account_management.html | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)
templates/idp/account_management.html
1 1
{% extends "base.html" %}
2 2
{% load i18n %}
3 3

  
4
{% block title %}
5
{% trans "Account Management" %}
6
{% endblock %}
4
{% block title %}Gestion du compte{% endblock %}
7 5

  
8 6
{% block content %}
9 7
<div id="left">
10 8
  <div class="block" id="a2-profile">
11
    <h2>{% trans "Profile" %}</h2>
9
    <h2>Données du compte</h2>
12 10
    <div id="profile">
13 11
      {% if profile %}
14 12
      <dl>
......
30 28
</div>
31 29
<div id="right">
32 30
  <div class="block" id="account-management">
33
    <h2>{% trans "Account Management" %}</h2>
31
    <h2>Gestion du compte</h2>
34 32
    <ul class="account-management">
35
      <li><a href="{% url 'email-change' %}">{% trans "Change email" %}</a></li>
36
      <li><a href="{% url 'password_change' %}">{% trans "Change password" %}</a></li>
37
      <li><a href="{% url 'profile_edit' %}">{% trans "Edit profile" %}</a></li>
38
      <li><a href="{% url 'delete_account' %}">{% trans "Delete profile" %}</a></li>
33
      <li><a href="{% url 'email-change' %}">Modifier le courriel associé</a></li>
34
      <li><a href="{% url 'password_change' %}">Modifier le mot de passe</a></li>
35
      <li><a href="{% url 'profile_edit' %}">Éditer les données du compte</a></li>
36
      <li><a href="{% url 'delete_account' %}">Supprimer le compte</a></li>
39 37
    </ul>
40 38
    <div>
41 39
    {% for html_block in frontends_block %}
......
46 44
</div>
47 45
<br class="clear" />
48 46
{% endblock %}
49

  
50
-