localize countries names according to IssueId #299 and IssueId #317

[ci skip]
This commit is contained in:
2014-11-17 01:04:17 +01:00
parent 51c480ab2f
commit 2aa21b7652
3 changed files with 4 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ This view should receive those arguments:
<dd>{% spaceless %}
{% if person.countryOfBirth is not null %}
{{ person.countryOfBirth.label }}
{{ person.countryOfBirth.name|localize_translatable_string }}
{% else %}
{{ 'views.Person.view.country_of_birth_unknow'|trans }}
{% endif %}
@@ -74,7 +74,7 @@ This view should receive those arguments:
<dt class="inline">{{ 'views.Person.view.nationality'|trans }}</dt>
<dd>
{% if person.nationality is not null %}
{{ person.nationality.label }}
{{ person.nationality.name|localize_translatable_string }}
{% else %}
{{ 'views.Person.view.without_nationality'|trans }}
{% endif %}