aboutsummaryrefslogtreecommitdiff
path: root/views/default/js
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-08-23 13:09:56 +0000
committerCash Costello <cash.costello@gmail.com>2009-08-23 13:09:56 +0000
commit9355ce159bf812d8fa77994976eda4861d8033ea (patch)
tree19601098558820cef1130455106b962dd6106107 /views/default/js
parentb09bca9dbeec1e10e28fb80b7c9f0c4ebd7a7707 (diff)
downloadelgg-9355ce159bf812d8fa77994976eda4861d8033ea.tar.gz
elgg-9355ce159bf812d8fa77994976eda4861d8033ea.tar.bz2
using localization in javascript for stop and start tagging strings
Diffstat (limited to 'views/default/js')
-rw-r--r--views/default/js/tagging.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/js/tagging.php b/views/default/js/tagging.php
index 1381151e4..8e384bec8 100644
--- a/views/default/js/tagging.php
+++ b/views/default/js/tagging.php
@@ -136,7 +136,7 @@
tagging = 1;
- $('#tidypics_tag_control').text("Stop Tagging");
+ $('#tidypics_tag_control').text("<?php echo elgg_echo('tidypics:finish_tagging'); ?>");
showTagInstruct();
$('#tidypics_delete_tag_menu').hide();
@@ -171,6 +171,8 @@
$('img#tidypics_image').imgAreaSelect( {hide: true, disable: true} );
+ $('#tidypics_tag_control').text("<?php echo elgg_echo('tidypics:tagthisphoto'); ?>");
+
// restart tag hovering
$('#tidypics_image').hover(
function(){