aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2014-06-03 05:12:00 +0000
committerjeroenpraat <jeroenpraat@xs4all.nl>2014-06-03 05:12:00 +0000
commitb4e7d7f7c048c6a4521f286bafc214f235c3c5d1 (patch)
tree385272973e8e61a24065f339d5aedd64b44bfc99 /include
parentd41b76aa11683be8ad372897a71958e35348a168 (diff)
downloadvolse-hubzilla-b4e7d7f7c048c6a4521f286bafc214f235c3c5d1.tar.gz
volse-hubzilla-b4e7d7f7c048c6a4521f286bafc214f235c3c5d1.tar.bz2
volse-hubzilla-b4e7d7f7c048c6a4521f286bafc214f235c3c5d1.zip
Updated to [+] show more, [+] show more comments, etc. See https://redmatrix.nl/channel/jeroenpraat/?f=&mid=5138fdee2ade50a7ef7a5a59e01a7dc91012c125e712d1ce483be6e31543dffe@redmatrix.nl
Diffstat (limited to 'include')
-rw-r--r--include/ItemObject.php2
-rw-r--r--include/js_strings.php8
2 files changed, 5 insertions, 5 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index e8a7e853c..72d6444f8 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -313,7 +313,7 @@ class Item extends BaseObject {
if(($nb_children > 2) || ($thread_level > 1)) {
$result['children'][0]['comment_firstcollapsed'] = true;
$result['children'][0]['num_comments'] = sprintf( tt('%d comment','%d comments',$total_children),$total_children );
- $result['children'][0]['hide_text'] = t('show more');
+ $result['children'][0]['hide_text'] = t('[+] show more comments');
if($thread_level > 1) {
$result['children'][$nb_children - 1]['comment_lastcollapsed'] = true;
}
diff --git a/include/js_strings.php b/include/js_strings.php
index 1b62266d6..4fbcbe841 100644
--- a/include/js_strings.php
+++ b/include/js_strings.php
@@ -4,10 +4,10 @@ function js_strings() {
return replace_macros(get_markup_template('js_strings.tpl'), array(
'$delitem' => t('Delete this item?'),
'$comment' => t('Comment'),
- '$showmore' => t('show more'),
- '$showfewer' => t('show fewer'),
- '$divgrowmore' => t('+ Show More'),
- '$divgrowless' => t('- Show Less'),
+ '$showmore' => t('[+] show more comments'),
+ '$showfewer' => t('[-] show fewer comments'),
+ '$divgrowmore' => t('[+] show more'),
+ '$divgrowless' => t('[-] show less'),
'$pwshort' => t("Password too short"),
'$pwnomatch' => t("Passwords do not match"),
'$everybody' => t('everybody'),