aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-05-09 15:16:41 +0000
committerCash Costello <cash.costello@gmail.com>2009-05-09 15:16:41 +0000
commita9352fbfb62cebabb29fac26c971ace49ff92be9 (patch)
treee29d05d17154c549d77e8c1faf36d89918d9abe8
parent991bfbb05dbfe4919f1ef1be4feb359f4815a77c (diff)
downloadelgg-a9352fbfb62cebabb29fac26c971ace49ff92be9.tar.gz
elgg-a9352fbfb62cebabb29fac26c971ace49ff92be9.tar.bz2
starting process of moving all language strings to beginning with tidypics
-rw-r--r--languages/en.php10
-rw-r--r--views/default/object/image.php10
2 files changed, 10 insertions, 10 deletions
diff --git a/languages/en.php b/languages/en.php
index e3631532d..538a46c60 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -55,11 +55,11 @@
'image:next' => "Next",
// tagging
- 'image:doclickfortag' => 'Click on the faces of people to label them.',
- 'image:finish_tagging' => 'Stop labeling',
- 'image:tagthisphoto' => 'Tag this photo',
- 'image:actiontag' => 'Tag',
- 'image:inthisphoto' => 'In this photo',
+ 'tidypics:taginstruct' => 'Select area that you want to tag',
+ 'tidypics:finish_tagging' => 'Stop tagging',
+ 'tidypics:tagthisphoto' => 'Tag this photo',
+ 'tidypics:actiontag' => 'Tag',
+ 'tidypics:inthisphoto' => 'In this photo',
'tidypics:phototagging:success' => 'Photo tag was successfully added',
'tidypics:phototagging:error' => 'Unexpected error occurred during tagging',
diff --git a/views/default/object/image.php b/views/default/object/image.php
index 16ec74868..df00d752e 100644
--- a/views/default/object/image.php
+++ b/views/default/object/image.php
@@ -136,13 +136,13 @@ if ($photo_tags) {
</div>
<div id="tidypics_controls">
<ul>
- <li><a id="tag_control" href="javascript:void(0)" onclick="startTagging()"><?= elgg_echo('image:tagthisphoto') ?></a></li>
+ <li><a id="tag_control" href="javascript:void(0)" onclick="startTagging()"><?= elgg_echo('tidypics:tagthisphoto') ?></a></li>
<?php echo elgg_view('tidypics/download', array('file_guid' => $file_guid,) ); ?>
</ul>
</div>
<?php if ($photo_tags) { ?>
<div id="tidypics_phototags_list">
- <h3><?php echo elgg_echo('image:inthisphoto') ?></h3>
+ <h3><?php echo elgg_echo('tidypics:inthisphoto') ?></h3>
<ul>
<?php
foreach ($photo_tag_links as $tag_link) {
@@ -172,8 +172,8 @@ if ($photo_tags) {
<table>
<tbody>
<tr>
- <td width='375' align='center'><div id='instructions_default_message'><?php echo elgg_echo('image:doclickfortag'); ?></div></td>
- <td valign='middle'><button class='submit_button' onclick='stopTagging()'><?php echo elgg_echo('image:finish_tagging'); ?></button></td>
+ <td width='375' align='center'><div id='instructions_default_message'><?php echo elgg_echo('tidypics:taginstruct'); ?></div></td>
+ <td valign='middle'><button class='submit_button' onclick='stopTagging()'><?php echo elgg_echo('tidypics:finish_tagging'); ?></button></td>
</tr>
</tbody>
</table>
@@ -201,7 +201,7 @@ if ($photo_tags) {
$content .= "</ul>";
- $content .= "<fieldset><button class='submit_button' type='submit'>" . elgg_echo('image:actiontag') . "</button></fieldset>";
+ $content .= "<fieldset><button class='submit_button' type='submit'>" . elgg_echo('tidypics:actiontag') . "</button></fieldset>";
echo elgg_view('input/form', array('internalid' => 'quicksearch', 'internalname' => 'form-phototagging', 'class' => 'quicksearch', 'action' => "{$vars['url']}action/tidypics/addtag", 'body' => $content));