aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-07 16:19:46 -0700
committerFriendika <info@friendika.com>2011-04-07 16:19:46 -0700
commit5d5a94c88a173b95e902afc31a9a2e527b6d3098 (patch)
tree477a70ec09f7ef508fc5361b3cba3ce7ca127b8a
parent000efa6df0ab2510e56d6ffb9a1c6e9f98ac2fc1 (diff)
downloadvolse-hubzilla-5d5a94c88a173b95e902afc31a9a2e527b6d3098.tar.gz
volse-hubzilla-5d5a94c88a173b95e902afc31a9a2e527b6d3098.tar.bz2
volse-hubzilla-5d5a94c88a173b95e902afc31a9a2e527b6d3098.zip
comment open/close anomolies in non-English languages
-rw-r--r--boot.php2
-rw-r--r--mod/display.php2
-rw-r--r--mod/network.php2
-rw-r--r--mod/photos.php2
-rw-r--r--mod/profile.php2
-rw-r--r--view/comment_item.tpl4
6 files changed, 11 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index 858eb19a8..5d604599b 100644
--- a/boot.php
+++ b/boot.php
@@ -2,7 +2,7 @@
set_time_limit(0);
-define ( 'FRIENDIKA_VERSION', '2.1.941' );
+define ( 'FRIENDIKA_VERSION', '2.1.942' );
define ( 'DFRN_PROTOCOL_VERSION', '2.2' );
define ( 'DB_UPDATE_VERSION', 1047 );
diff --git a/mod/display.php b/mod/display.php
index f74137e0e..8224e491b 100644
--- a/mod/display.php
+++ b/mod/display.php
@@ -170,6 +170,8 @@ function display_content(&$a) {
'$mylink' => $contact['url'],
'$mytitle' => t('This is you'),
'$myphoto' => $contact['thumb'],
+ '$comment' => t('Comment'),
+ '$submit' => t('Submit'),
'$ww' => ''
));
}
diff --git a/mod/network.php b/mod/network.php
index 42c6c0c29..678a41f0a 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -502,6 +502,8 @@ function network_content(&$a, $update = 0) {
'$mylink' => $a->contact['url'],
'$mytitle' => t('This is you'),
'$myphoto' => $a->contact['thumb'],
+ '$comment' => t('Comment'),
+ '$submit' => t('Submit'),
'$ww' => $commentww
));
}
diff --git a/mod/photos.php b/mod/photos.php
index 061542c75..2e0ccd248 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -1105,6 +1105,8 @@ function photos_content(&$a) {
'$mylink' => $contact['url'],
'$mytitle' => t('This is you'),
'$myphoto' => $contact['thumb'],
+ '$comment' => t('Comment'),
+ '$submit' => t('Submit'),
'$ww' => ''
));
}
diff --git a/mod/profile.php b/mod/profile.php
index b421591f6..3d0b79a70 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -391,6 +391,8 @@ function profile_content(&$a, $update = 0) {
'$mylink' => $contact['url'],
'$mytitle' => t('This is you'),
'$myphoto' => $contact['thumb'],
+ '$comment' => t('Comment'),
+ '$submit' => t('Submit'),
'$ww' => ''
));
}
diff --git a/view/comment_item.tpl b/view/comment_item.tpl
index dabbd6e87..0216e31d3 100644
--- a/view/comment_item.tpl
+++ b/view/comment_item.tpl
@@ -10,11 +10,11 @@
<a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
</div>
<div class="comment-edit-photo-end"></div>
- <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >Comment</textarea>
+ <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >$comment</textarea>
<div class="comment-edit-text-end"></div>
<div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >
- <input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="Submit" />
+ <input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" />
</div>
<div class="comment-edit-end"></div>