Commit 9377bf9d authored by Christophe Maudoux's avatar Christophe Maudoux

Override msg with local json files (#1595)

parent 28caeea3
......@@ -53,6 +53,7 @@ getValues = () ->
catch e
console.log 'Parsing error', e
console.log 'JSON', $(this).text()
console.log values
values
# Code from http://snipplr.com/view/29434/
......
......@@ -78,6 +78,7 @@ LemonLDAP::NG Portal jQuery scripts
return console.log('JSON', $(this).text());
}
});
console.log(values);
return values;
};
......
<script type="application/init">
{
"trOver":{"all":{},"fr":{"PE5":"Pas de chance, râté ! Merci de réessayer ..."},"en":{}}
}
</script>
\ No newline at end of file
<TMPL_INCLUDE NAME="header.tpl">
<TMPL_INCLUDE NAME="error.json">
<div id="errorcontent" class="container">
<TMPL_IF AUTH_ERROR>
<div class="message message-<TMPL_VAR NAME="AUTH_ERROR_TYPE"> alert"><span trmsg="<TMPL_VAR NAME="AUTH_ERROR">"></span></div>
......
<script type="application/init">
{
"trOver":{"all":{},"en":{"PE9":"You are welcome! Please login..."},"fr":{}}
}
</script>
\ No newline at end of file
<TMPL_INCLUDE NAME="header.tpl">
<TMPL_INCLUDE NAME="login.json">
<main id="logincontent" class="container">
......
error_en_5 = Big brother is watching you, authenticated user
error_en_9 = Do you really want to login ?
error_fr_0 = Souriez, vous êtes surveillés !
msg_fr_selectIdP = Portail de Fédération des Identités
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment