remove %locale% from cf choice

refs #332
This commit is contained in:
2015-02-05 17:40:32 +01:00
parent 9a7b2e68b9
commit a2b3ff6d63
4 changed files with 19 additions and 14 deletions

View File

@@ -10,7 +10,7 @@
<i class="fa fa-square-o"></i>&nbsp;
{%- endif -%}
{%- if choice['slug'] is not same as('_other') -%}
{{ choice['name'][app.request.locale]|default(choice['name'][locale]|default('Not available in your language'|trans)) }}
{{ choice['name']|localize_translatable_string }}
{%- else -%}
{{ choice['name'] }}
{%- endif -%}