Updated strings for show entire post and show less to expand and collapse. See last few comments from me and Mario at https://redmatrix.nl/channel/jeroenpraat/?f=&mid=5138fdee2ade50a7ef7a5a59e01a7dc91012c125e712d1ce483be6e31543dffe@redmatrix.nl
This commit is contained in:
parent
b4e7d7f7c0
commit
ad378cbe07
@ -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 comments');
|
||||
$result['children'][0]['hide_text'] = t('[+] show all');
|
||||
if($thread_level > 1) {
|
||||
$result['children'][$nb_children - 1]['comment_lastcollapsed'] = true;
|
||||
}
|
||||
|
@ -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 comments'),
|
||||
'$showfewer' => t('[-] show fewer comments'),
|
||||
'$divgrowmore' => t('[+] show more'),
|
||||
'$divgrowless' => t('[-] show less'),
|
||||
'$showmore' => t('[+] show all'),
|
||||
'$showfewer' => t('[-] show less'),
|
||||
'$divgrowmore' => t('[+] expand post'),
|
||||
'$divgrowless' => t('[-] collapse post'),
|
||||
'$pwshort' => t("Password too short"),
|
||||
'$pwnomatch' => t("Passwords do not match"),
|
||||
'$everybody' => t('everybody'),
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: 2014-06-02.694\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2014-06-03 05:06+0000\n"
|
||||
"POT-Creation-Date: 2014-06-03 11:59+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -923,19 +923,19 @@ msgid "Comment"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/js_strings.php:7 ../../include/ItemObject.php:316
|
||||
msgid "[+] show more comments"
|
||||
msgid "[+] show all"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/js_strings.php:8
|
||||
msgid "[-] show fewer comments"
|
||||
msgid "[-] show less"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/js_strings.php:9
|
||||
msgid "[+] show more"
|
||||
msgid "[+] expand post"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/js_strings.php:10
|
||||
msgid "[-] show less"
|
||||
msgid "[-] collapse post"
|
||||
msgstr ""
|
||||
|
||||
#: ../../include/js_strings.php:11
|
||||
|
9872
view/nl/messages.po
9872
view/nl/messages.po
File diff suppressed because it is too large
Load Diff
2313
view/nl/strings.php
2313
view/nl/strings.php
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user