summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-08-29 16:34:41 -0700
committerBharat Mediratta <bharat@menalto.com>2009-08-29 16:34:41 -0700
commita2258b2232760032f4920fce6eccd40414aff8cc (patch)
treee62dde992cd421fffcc14a891892070706db7fce /modules/gallery/views
parent483d8df91b443a20a614eb5864cabb2a66ac72d2 (diff)
parenta1ce2d3f0aff6dcb7149f2d7327a10079e5c78f8 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/l10n_client.html.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gallery/views/l10n_client.html.php b/modules/gallery/views/l10n_client.html.php
index 5ee7eca3..6c440b68 100644
--- a/modules/gallery/views/l10n_client.html.php
+++ b/modules/gallery/views/l10n_client.html.php
@@ -3,7 +3,8 @@
<div class="labels">
<span id="l10n-client-toggler">
<a id="gMinimizeL10n">_</a>
- <a id="gCloseL10n" href="<?= url::site("l10n_client/toggle_l10n_mode?csrf=".access::csrf_token()) ?>">X</a>
+ <a id="gCloseL10n" title="<?= t("Stop the translation mode") ?>"
+ href="<?= url::site("l10n_client/toggle_l10n_mode?csrf=".access::csrf_token()) ?>">X</a>
</span>
<div class="label strings"><h2><?= t("Page Text") ?>
<? if (!Input::instance()->get('show_all_l10n_messages')): ?>
@@ -76,5 +77,7 @@
var MSG_CLOSE_X = "<?= t("X") ?>";
var l10n_client_data = <?= json_encode($string_list) ?>;
var plural_forms = <?= json_encode($plural_forms) ?>;
+ var toggle_l10n_mode_url = "<?= url::site("l10n_client/toggle_l10n_mode") ?>";
+ var csrf = "<?= access::csrf_token() ?>";
</script>
</div>