Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic InstantMessage translation issue (Read 985 times)
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
InstantMessage translation issue
May 16th, 2016 at 8:15pm
Mark & QuoteQuote  
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
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
InstantMessage translation issue

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry