summaryrefslogtreecommitdiff
path: root/modules/gallery/js/l10n_client.js
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/js/l10n_client.js
parent21f228b1aed8b32dc9856add51f4ef8a3c7ced95 (diff)
Partial fix for ticket 471 - i18n of "Translate Text" button in l10n client
Diffstat (limited to 'modules/gallery/js/l10n_client.js')
-rw-r--r--modules/gallery/js/l10n_client.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/js/l10n_client.js b/modules/gallery/js/l10n_client.js
index 4936d1cc..7e29849d 100644
--- a/modules/gallery/js/l10n_client.js
+++ b/modules/gallery/js/l10n_client.js
@@ -58,7 +58,7 @@ jQuery.extend(Gallery, {
case 1:
$('#l10n-client-string-select, #l10n-client-string-editor, #l10n-client .labels .label').show();
$('#l10n-client').height('22em').removeClass('hidden');
- $('#l10n-client .labels .toggle').text('X');
+ $('#l10n-client-toggler').text(MSG_CLOSE_X);
/*
* This CSS clashes with Gallery's CSS, probably due to
* YUI's grid / floats.
@@ -72,7 +72,7 @@ jQuery.extend(Gallery, {
$('#l10n-client-string-select, #l10n-client-string-editor, #l10n-client .labels .label').hide();
$('#l10n-client').height('2em').addClass('hidden');
// TODO: Localize this message
- $('#l10n-client .labels .toggle').text('Translate Text');
+ $('#l10n-client-toggler').text(MSG_TRANSLATE_TEXT);
/*
if(!$.browser.msie) {
$('body').css('border-bottom', '0px');
@@ -171,7 +171,7 @@ Gallery.behaviors.l10nClient = function(context) {
});
// When l10n_client window is clicked, toggle based on current state.
- $('#l10n-client .labels .toggle').click(function() {
+ $('#l10n-client-toggler').click(function() {
if($('#l10n-client').is('.hidden')) {
Gallery.l10nClient.toggle(1);
} else {