~ubuntu-branches/ubuntu/trusty/grantlee/trusty

« back to all changes in this revision

Viewing changes to examples/contacts/themes/gettext/sneezy/main.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-12-07 09:19:01 UTC
  • Revision ID: james.westby@ubuntu.com-20101207091901-hsfsvnkxdshv4k8g
Tags: 0.1.7-0ubuntu3
Revert previous upload and try again with the correct patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html>
2
 
 
3
 
{% if contacts %}
4
 
  <h2>{% i18np "%1 person" "%1 people" contacts|length %}</h2>
5
 
  <table border="1" cellpadding="2">
6
 
  <tr>
7
 
    <th>
8
 
      <img src="{% media_finder "us_flag.png" %}" />
9
 
      <br /><img src="{% media_finder "de_flag.png" %}" />
10
 
      <br /><img src="{% media_finder "fr_flag.png" %}" />
11
 
    </th>
12
 
    <th>
13
 
    {% i18nc_var "The name of a person" "Name" as personName %}
14
 
    {{ personName }}
15
 
    {% with_locale "de_DE" %}
16
 
      <br />{{ personName }}
17
 
    {% endwith_locale %}
18
 
    {% with_locale "fr_FR" %}
19
 
      <br />{{ personName }}
20
 
    {% endwith_locale %}
21
 
    </th>
22
 
    <th>
23
 
    {% i18n "Email" %}
24
 
    {% with_locale "de_DE" %}
25
 
      <br />{% i18n "Email" %}
26
 
    {% endwith_locale %}
27
 
    {% with_locale "fr_FR" %}
28
 
      <br />{% i18n "Email" %}
29
 
    {% endwith_locale %}
30
 
    </th>
31
 
    <th>
32
 
    {% i18n "Phone" %}
33
 
    {% with_locale "de_DE" %}
34
 
      <br />{% i18n "Phone" %}
35
 
    {% endwith_locale %}
36
 
    {% with_locale "fr_FR" %}
37
 
      <br />{% i18n "Phone" %}
38
 
    {% endwith_locale %}
39
 
    </th>
40
 
    <th>
41
 
    {{ _("Nickname") }}
42
 
    {% with_locale "de_DE" %}
43
 
      <br />{{ _("Nickname") }}
44
 
    {% endwith_locale %}
45
 
    {% with_locale "fr_FR" %}
46
 
      <br />{{ _("Nickname") }}
47
 
    {% endwith_locale %}
48
 
    </th>
49
 
    <th>
50
 
    {% i18n "Address" %}
51
 
    {% with_locale "de_DE" %}
52
 
      <br />{% i18n "Address" %}
53
 
    {% endwith_locale %}
54
 
    {% with_locale "fr_FR" %}
55
 
      <br />{% i18n "Address" %}
56
 
    {% endwith_locale %}
57
 
    </th>
58
 
    <th>
59
 
    {% i18n "Birthday" %}
60
 
    {% with_locale "de_DE" %}
61
 
      <br />{% i18n "Birthday" %}
62
 
    {% endwith_locale %}
63
 
    {% with_locale "fr_FR" %}
64
 
      <br />{% i18n "Birthday" %}
65
 
    {% endwith_locale %}
66
 
    </th>
67
 
  </tr>
68
 
{% for contact in contacts %}
69
 
<tr>
70
 
  <td></td>
71
 
  <td>{{ contact.name }}</td>
72
 
  <td>{{ contact.email }}</td>
73
 
  <td>{{ contact.phone }}</td>
74
 
  <td>{{ contact.nickname }}</td>
75
 
  <td>{{ contact.address }}</td>
76
 
  <td>{{ _(contact.birthday) }}
77
 
    {% with_locale "de_DE" %}
78
 
      <br />{{ _(contact.birthday) }}
79
 
    {% endwith_locale %}
80
 
    {% with_locale "fr_FR" %}
81
 
      <br />{{ _(contact.birthday) }}
82
 
    {% endwith_locale %}</td>
83
 
</tr>
84
 
{% endfor %}
85
 
</table>
86
 
{% endif %}
87
 
</html>