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

fix variable name

parent 7f5a87b8
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@
[% PROCESS $template scope=account.scope() id=account.id() | trim %]
<li>
<input type="checkbox" id="[% profile %]" name="profiles" value="[% profile %]" checked/>
<label for="[% profile %]">[% profile %] <span class="fa fa-question-circle" title="[% description.${lh.language_tag()} %]"></span></label>
<label for="[% profile %]">[% profile %] <span class="fa fa-question-circle" title="[% description.${l10n.language_tag()} %]"></span></label>
</li>
[% END %]
</ul>
......
......@@ -22,7 +22,7 @@
<div class="account small-12 medium-6 large-4 columns">
<h3>[% c.loc("Account profile: [_1]", account.profile()) %]</h3>
<div class="description">[% description.${lh.language_tag()} %].</div>
<div class="description">[% description.${l10n.language_tag()} %].</div>
<table>
<tr>
......
<!doctype html>
<html lang="[% lh.language_tag() %]">
<html lang="[% l10n.language_tag() %]">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
......@@ -45,17 +45,17 @@
<span>Language</span>
<ul class="et-submenu">
<li class="et-submenu-option">
<a [% IF lh.language_tag() == "en" %]class="nocursor"[% ELSE %]href="[% c.url_with().query(lang => 'en') %]"[% END %] data-lang="en" title="English">
<a [% IF l10n.language_tag() == "en" %]class="nocursor"[% ELSE %]href="[% c.url_with().query(lang => 'en') %]"[% END %] data-lang="en" title="English">
<img src="images/en.png" />
<label>English</label>
[% IF lh.language_tag() == "en" %]<span class="fa fa-check"></span>[% END %]
[% IF l10n.language_tag() == "en" %]<span class="fa fa-check"></span>[% END %]
</a>
</li>
<li class="et-submenu-option">
<a [% IF lh.language_tag() == "fr" %]class="nocursor"[% ELSE %]href="[% c.url_with().query(lang => 'fr') %]"[% END %] data-lang="fr" title="Français">
<a [% IF l10n.language_tag() == "fr" %]class="nocursor"[% ELSE %]href="[% c.url_with().query(lang => 'fr') %]"[% END %] data-lang="fr" title="Français">
<img src="images/fr.png" />
<label>Français</label>
[% IF lh.language_tag() == "fr" %]<span class="fa fa-check"></span>[% END %]
[% IF l10n.language_tag() == "fr" %]<span class="fa fa-check"></span>[% END %]
</a>
</li>
</ul>
......
......@@ -30,7 +30,7 @@
[% PROCESS $template scope=account.scope() id=account.id() | trim %]
<li>
<input type="checkbox" id="[% profile %]" name="profiles" value="[% profile %]" checked/>
<label for="[% profile %]">[% profile %] <span class="fa fa-question-circle" title="[% description.${lh.language_tag()} %]"></span></label>
<label for="[% profile %]">[% profile %] <span class="fa fa-question-circle" title="[% description.${l10n.language_tag()} %]"></span></label>
</li>
[% END %]
</ul>
......
......@@ -24,7 +24,7 @@
<div class="account small-12 medium-6 large-4 columns">
<h3>[% c.loc("Account profile: [_1]", account.profile()) %]</h3>
<div class="description">[% description.${lh.language_tag()} %].</div>
<div class="description">[% description.${l10n.language_tag()} %].</div>
<table>
<tr>
......
<!doctype html>
<html lang="[% lh.language_tag() %]">
<html lang="[% l10n.language_tag() %]">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
......@@ -62,17 +62,17 @@
</a>
<ul class="submenu vertical" data-submenu>
<li>
<a [% IF lh.language_tag() == "en" %]class="nocursor"[% ELSE %]href="[% c.url_with().query(lang => 'en') %]"[% END %] data-lang="en" title="English">
<a [% IF l10n.language_tag() == "en" %]class="nocursor"[% ELSE %]href="[% c.url_with().query(lang => 'en') %]"[% END %] data-lang="en" title="English">
<img src="images/en.png" />
<label>English</label>
[% IF lh.language_tag() == "en" %]<span class="fa fa-check"></span>[% END %]
[% IF l10n.language_tag() == "en" %]<span class="fa fa-check"></span>[% END %]
</a>
</li>
<li>
<a [% IF lh.language_tag() == "fr" %]class="nocursor"[% ELSE %]href="[% c.url_with().query(lang => 'fr') %]"[% END %] data-lang="fr" title="Français">
<a [% IF l10n.language_tag() == "fr" %]class="nocursor"[% ELSE %]href="[% c.url_with().query(lang => 'fr') %]"[% END %] data-lang="fr" title="Français">
<img src="images/fr.png" />
<label>Français</label>
[% IF lh.language_tag() == "fr" %]<span class="fa fa-check"></span>[% END %]
[% IF l10n.language_tag() == "fr" %]<span class="fa fa-check"></span>[% END %]
</a>
</li>
</ul>
......
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