summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-06-29 22:05:55 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-06-29 22:05:55 -0700
commitd4738ce4844d39d55fec7f149c6aff5c061c0a38 (patch)
treef98f86505ea0a410a6d2fb4ccdbb70a19557c5ff /modules/gallery/views
parent21f228b1aed8b32dc9856add51f4ef8a3c7ced95 (diff)
Partial fix for ticket 471 - i18n of "Translate Text" button in l10n client
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/l10n_client.html.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gallery/views/l10n_client.html.php b/modules/gallery/views/l10n_client.html.php
index c15f4b0e..38e92e3e 100644
--- a/modules/gallery/views/l10n_client.html.php
+++ b/modules/gallery/views/l10n_client.html.php
@@ -1,7 +1,7 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="l10n-client" class="hidden">
<div class="labels">
- <span class="toggle"><?= t("Translate Text") ?></span>
+ <span id="l10n-client-toggler">X</span>
<div class="label strings"><h2><?= t("Page Text") ?>
<? if (!Input::instance()->get('show_all_l10n_messages')): ?>
<a style="background-color:#fff" href="<?= url::site("admin/languages?show_all_l10n_messages=1") ?>"><?= t("(Show All)") ?></a>
@@ -67,6 +67,8 @@
</div>
</div>
<script type="text/javascript">
+ var MSG_TRANSLATE_TEXT = "<?= t("Translate Text") ?>";
+ var MSG_CLOSE_X = "<?= t("X") ?>";
var l10n_client_data = <?= json_encode($string_list) ?>;
var plural_forms = <?= json_encode($plural_forms) ?>;
</script>