Skip to content
Snippets Groups Projects
Commit 81eba94c authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

localize group label and link message

parent 1621baf0
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@
[% FOREACH group IN groups() %]
<fieldset>
<legend>[% group.label %]</legend>
<legend>[% lh.localize(group.label) %]</legend>
[% SWITCH group.type %]
[% CASE 'list' %]
<select id="[% group.id %]" name="[% group.id %]">
......@@ -27,7 +27,7 @@
[% END %]
</select>
[% CASE 'link' %]
<a class="button" href="[% group.url %]">[% group.label %]</a>
<a class="button" href="[% group.url %]">[% lh.localize(group.message) %]</a>
[% END %]
</fieldset>
[% END %]
......
......@@ -17,7 +17,7 @@
[% FOREACH group IN groups %]
<fieldset>
<legend>[% group.label %]</legend>
<legend>[% lh.maketext(group.label) %]</legend>
[% SWITCH group.type %]
[% CASE 'list' %]
<select id="[% group.id %]" name="[% group.id %]">
......@@ -27,7 +27,7 @@
[% END %]
</select>
[% CASE 'link' %]
<a class="button" href="[% group.url %]">[% group.message %]</a>
<a class="button" href="[% group.url %]">[% lh.maketext(group.message) %]</a>
[% END %]
</fieldset>
[% END %]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment