summaryrefslogtreecommitdiff
path: root/modules/gallery/views/l10n_client.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/views/l10n_client.html.php')
-rw-r--r--modules/gallery/views/l10n_client.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/views/l10n_client.html.php b/modules/gallery/views/l10n_client.html.php
index 5ee7eca3..520fd79e 100644
--- a/modules/gallery/views/l10n_client.html.php
+++ b/modules/gallery/views/l10n_client.html.php
@@ -72,8 +72,8 @@
</div>
</div>
<script type="text/javascript">
- var MSG_TRANSLATE_TEXT = "<?= t("Translate Text") ?>";
- var MSG_CLOSE_X = "<?= t("X") ?>";
+ var MSG_TRANSLATE_TEXT = "<?= t("Translate Text")->for_js() ?>";
+ var MSG_CLOSE_X = "<?= t("X")->for_js() ?>";
var l10n_client_data = <?= json_encode($string_list) ?>;
var plural_forms = <?= json_encode($plural_forms) ?>;
</script>