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