context_title
context_text
Topic Summary - Displaying 1 post(s). Click here to show all |
Posted by: Monni Posted on: May 16th, 2016 at 8:15pm
|
In some languages like Finnish, there is multiple translations for English word "new" depending on previous word. This is handled everywhere else already but needs to be fixed in MyCenter.pm: $imnew = ( ${$username}{'PMimnewcount'} == 1 ) ? $inmes_txt{'new'} : isempty( $inmes_txt{'new_2'}, $inmes_txt{'new'} );
my $inboxNewCount =
${$username}{'PMimnewcount'}
? qq~<span class="NewLinks">, <a href="$scripturl?action=imshow;caller=1;id=-1">${$username}{'PMimnewcount'} $imnew</a></span>~
: q{};
if ( $PMenableBm_level > 0
|| ( $PMenableGuestButton == 1 && ( $iamadmin || $iamgmod ) ) )
{
$bmnew = ( $BCnewMessage == 1 ) ? $inmes_txt{'new'} : isempty( $inmes_txt{'new_2'}, $inmes_txt{'new'} );
$inboxNewCount_bm =
$BCnewMessage
? qq~ <span class='NewLinks'>, <a href="$scripturl?action=im;focus=bmess">$BCnewMessage $bmnew</a></span>~
: q{};
$MCPmMenu_bmbox = $mypmmenu_bmbox;
$MCPmMenu_bmbox =~ s/\{yabb BCCount}/$BCCount/sm;
$MCPmMenu_bmbox =~ s/\{yabb inboxNewCount_bm}/$inboxNewCount_bm/sm;
}
|