Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic InstantMessage translation issue (Read 1134 times)
Monni
Senior Member
****
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
InstantMessage translation issue
May 16th, 2016 at 8:15pm
Print Post  
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:

Code (Perl)
Select All
        $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;
        }

 

  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint