Skip to content

Commit

Permalink
Merge pull request #3537 from fanjinfei/master
Browse files Browse the repository at this point in the history
fix organization members translation
  • Loading branch information
amercader committed Apr 11, 2017
2 parents 9c1ec8b + 3c3dae1 commit eee6dec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ckan/templates/organization/members.html
Expand Up @@ -10,7 +10,9 @@
{% endblock %}

{% block primary_content_inner %}
<h3 class="page-heading">{{ _('{0} members'.format(c.members|length)) }}</h3>
{% set count = c.members|length %}
{% set members_count = ungettext('{count} member', '{count} members', count).format(count=count) %}
<h3 class="page-heading">{{ members_count }}</h3>
<table class="table table-header table-hover table-bordered">
<thead>
<tr>
Expand Down

0 comments on commit eee6dec

Please sign in to comment.