diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-06-29 20:55:23 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-06-29 20:55:23 -0700 |
commit | 0eb9a2aacd33d9d98726d08f828f10df4e462e9e (patch) | |
tree | e4ff38bf4e40b58c88bb7a6c72965d8626b2d86d /themes | |
parent | 77a78b49909f9d2ca598871f0588497837cb9f6a (diff) |
Fix for ticket 86 - Make Cancel button in doalogs localizable.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/views/page.html.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php index 519a0c39..a21e9eff 100644 --- a/themes/default/views/page.html.php +++ b/themes/default/views/page.html.php @@ -49,6 +49,10 @@ <?= $theme->script("lib/jquery.form.js") ?> <?= $theme->script("lib/jquery-ui.js") ?> <?= $theme->script("lib/gallery.common.js") ?> + <? /* MSG_CANCEL is required by gallery.dialog.js */ ?> + <script type="text/javascript"> + var MSG_CANCEL = "<?= t('Cancel') ?>"; + </script> <?= $theme->script("lib/gallery.dialog.js") ?> <?= $theme->script("lib/gallery.form.js") ?> <?= $theme->script("lib/superfish/js/superfish.js") ?> |