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

fix variable name

parent 7f5a87b8
Branches
Tags
No related merge requests found
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
[% PROCESS $template scope=account.scope() id=account.id() | trim %] [% PROCESS $template scope=account.scope() id=account.id() | trim %]
<li> <li>
<input type="checkbox" id="[% profile %]" name="profiles" value="[% profile %]" checked/> <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> </li>
[% END %] [% END %]
</ul> </ul>
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<div class="account small-12 medium-6 large-4 columns"> <div class="account small-12 medium-6 large-4 columns">
<h3>[% c.loc("Account profile: [_1]", account.profile()) %]</h3> <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> <table>
<tr> <tr>
......
<!doctype html> <!doctype html>
<html lang="[% lh.language_tag() %]"> <html lang="[% l10n.language_tag() %]">
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
...@@ -45,17 +45,17 @@ ...@@ -45,17 +45,17 @@
<span>Language</span> <span>Language</span>
<ul class="et-submenu"> <ul class="et-submenu">
<li class="et-submenu-option"> <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" /> <img src="images/en.png" />
<label>English</label> <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> </a>
</li> </li>
<li class="et-submenu-option"> <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" /> <img src="images/fr.png" />
<label>Français</label> <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> </a>
</li> </li>
</ul> </ul>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
[% PROCESS $template scope=account.scope() id=account.id() | trim %] [% PROCESS $template scope=account.scope() id=account.id() | trim %]
<li> <li>
<input type="checkbox" id="[% profile %]" name="profiles" value="[% profile %]" checked/> <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> </li>
[% END %] [% END %]
</ul> </ul>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<div class="account small-12 medium-6 large-4 columns"> <div class="account small-12 medium-6 large-4 columns">
<h3>[% c.loc("Account profile: [_1]", account.profile()) %]</h3> <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> <table>
<tr> <tr>
......
<!doctype html> <!doctype html>
<html lang="[% lh.language_tag() %]"> <html lang="[% l10n.language_tag() %]">
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> <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"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
...@@ -62,17 +62,17 @@ ...@@ -62,17 +62,17 @@
</a> </a>
<ul class="submenu vertical" data-submenu> <ul class="submenu vertical" data-submenu>
<li> <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" /> <img src="images/en.png" />
<label>English</label> <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> </a>
</li> </li>
<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" /> <img src="images/fr.png" />
<label>Français</label> <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> </a>
</li> </li>
</ul> </ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment