Translation for jQuery.divgrow strings. Fix mismatch in jQuery.timeago strings
This commit is contained in:
parent
e4eeb9d101
commit
59211e0ac8
@ -6,6 +6,8 @@ function js_strings() {
|
|||||||
'$comment' => t('Comment'),
|
'$comment' => t('Comment'),
|
||||||
'$showmore' => t('show more'),
|
'$showmore' => t('show more'),
|
||||||
'$showfewer' => t('show fewer'),
|
'$showfewer' => t('show fewer'),
|
||||||
|
'$divgrowmore' => t('+ Show More'),
|
||||||
|
'$divgrowless' => t('- Show Less'),
|
||||||
'$pwshort' => t("Password too short"),
|
'$pwshort' => t("Password too short"),
|
||||||
'$pwnomatch' => t("Passwords do not match"),
|
'$pwnomatch' => t("Passwords do not match"),
|
||||||
'$everybody' => t('everybody'),
|
'$everybody' => t('everybody'),
|
||||||
@ -13,7 +15,7 @@ function js_strings() {
|
|||||||
'$passhint' => t('Passphrase hint'),
|
'$passhint' => t('Passphrase hint'),
|
||||||
|
|
||||||
'$t01' => ((t('timeago.prefixAgo') != 'timeago.prefixAgo') ? t('timeago.prefixAgo') : 'null'),
|
'$t01' => ((t('timeago.prefixAgo') != 'timeago.prefixAgo') ? t('timeago.prefixAgo') : 'null'),
|
||||||
'$t02' => ((t('timeago.suffixAgo') != 'timeago.suffixAgo') ? t('timeago.suffixAgo') : 'null'),
|
'$t02' => ((t('timeago.prefixFromNow') != 'timeago.prefixFromNow') ? t('timeago.prefixFromNow') : 'null'),
|
||||||
'$t03' => t('ago'),
|
'$t03' => t('ago'),
|
||||||
'$t04' => t('from now'),
|
'$t04' => t('from now'),
|
||||||
'$t05' => t('less than a minute'),
|
'$t05' => t('less than a minute'),
|
||||||
|
@ -535,7 +535,7 @@ function updateConvItems(mode,data) {
|
|||||||
$(".wall-item-body").each(function() {
|
$(".wall-item-body").each(function() {
|
||||||
if($(this).height() > 410) {
|
if($(this).height() > 410) {
|
||||||
if(! $(this).hasClass('divmore')) {
|
if(! $(this).hasClass('divmore')) {
|
||||||
$(this).divgrow({ initialHeight: 400, showBrackets: false });
|
$(this).divgrow({ initialHeight: 400, moreText: aStr['divgrowmore'], lessText: aStr['divgrowless'], showBrackets: false });
|
||||||
$(this).addClass('divmore');
|
$(this).addClass('divmore');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,14 +6,16 @@
|
|||||||
'comment' : "{{$comment}}",
|
'comment' : "{{$comment}}",
|
||||||
'showmore' : "{{$showmore}}",
|
'showmore' : "{{$showmore}}",
|
||||||
'showfewer' : "{{$showfewer}}",
|
'showfewer' : "{{$showfewer}}",
|
||||||
|
'divgrowmore' : "{{$divshowmore}}",
|
||||||
|
'divgrowless' : "{{$divshowless}}",
|
||||||
'pwshort' : "{{$pwshort}}",
|
'pwshort' : "{{$pwshort}}",
|
||||||
'pwnomatch' : "{{$pwnomatch}}",
|
'pwnomatch' : "{{$pwnomatch}}",
|
||||||
'everybody' : "{{$everybody}}",
|
'everybody' : "{{$everybody}}",
|
||||||
'passphrase' : "{{$passphrase}}",
|
'passphrase' : "{{$passphrase}}",
|
||||||
'passhint' : "{{$passhint}}",
|
'passhint' : "{{$passhint}}",
|
||||||
|
|
||||||
't01' : {{$t01}},
|
't01' : "{{$t01}}",
|
||||||
't02' : {{$t02}},
|
't02' : "{{$t02}}",
|
||||||
't03' : "{{$t03}}",
|
't03' : "{{$t03}}",
|
||||||
't04' : "{{$t04}}",
|
't04' : "{{$t04}}",
|
||||||
't05' : "{{$t05}}",
|
't05' : "{{$t05}}",
|
||||||
|
Reference in New Issue
Block a user