Commit 2b2ea703 authored by IKEDA Soji's avatar IKEDA Soji
Browse files

"Back" label in drilldown menu may be localized.

parent 27b24336
......@@ -10,6 +10,7 @@
<!--
[%# A few configuration settings and miscellaneous vars. ~%]
var sympa = {
backText: "[%|loc%]Back[%END%]",
calendarButtonText: "[%|loc%]Calendar[%END%]",
calendarFirstDay: 0,
closeText: "[%|loc%]Close[%END%]",
......
......@@ -13,6 +13,9 @@ function refresh_mom_and_die() {
/* Loading foundation. */
$(function() {
$(document).foundation();
Foundation.Drilldown.defaults.backButton =
'<li class="js-drilldown-back"><a tabindex="0">' + sympa.backText
+ '</a></li>';
});
/* Show error dialog. It may be closed only when javascript is enabled. */
......
Supports Markdown
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