Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: branches/2.6 language cleanup Aug 16th, 2014 at 6:01pm Mark & QuoteQuote Code Index: cgi-bin/yabb2/Admin/NewSettings.pm =================================================================== --- cgi-bin/yabb2/Admin/NewSettings.pm (revision 1534) +++ cgi-bin/yabb2/Admin/NewSettings.pm (working copy) @@ -721,7 +721,7 @@ \$fix_brd_img_size = $fix_brd_img_size; \$img_greybox = $img_greybox; # Set to 0 to disable "greybox" (each image is shown in a new window) # Set to 1 to enable the attachment and post image "greybox" (one image/page) - # Set to 2 to enable the attachment and post image "greybox" => attachmet images: (all images/page), post images: (one image/page) + # Set to 2 to enable the attachment and post image "greybox" => attachment images: (all images/page), post images: (one image/page) ########## Extended Profiles ########## Index: cgi-bin/yabb2/Admin/Settings_ExtendedProfiles.pm =================================================================== --- cgi-bin/yabb2/Admin/Settings_ExtendedProfiles.pm (revision 1534) +++ cgi-bin/yabb2/Admin/Settings_ExtendedProfiles.pm (working copy) @@ -215,18 +215,18 @@ $newmonth--; $newmonth2 = $months[$newmonth]; if ( $newday > 10 && $newday < 20 ) { - $newday2 = "<sup>$timetxt{'4'}</sup>"; + $newday2 = "$timetxt{'4'}"; } elsif ( $newday % 10 == 1 ) { - $newday2 = "<sup>$timetxt{'1'}</sup>"; + $newday2 = "$timetxt{'1'}"; } elsif ( $newday % 10 == 2 ) { - $newday2 = "<sup>$timetxt{'2'}</sup>"; + $newday2 = "$timetxt{'2'}"; } elsif ( $newday % 10 == 3 ) { - $newday2 = "<sup>$timetxt{'3'}</sup>"; + $newday2 = "$timetxt{'3'}"; } - else { $newday2 = "<sup>$timetxt{'4'}</sup>"; } + else { $newday2 = "$timetxt{'4'}"; } $newformat = qq~$newmonth2 $newday$newday2, $newyear~; return $newformat; @@ -262,18 +262,18 @@ if ( $mytimeformat =~ m/\+/sm ) { if ( $newday > 10 && $newday < 20 ) { - $dayext = "<sup>$timetxt{'4'}</sup>"; + $dayext = "$timetxt{'4'}"; } elsif ( $newday % 10 == 1 ) { - $dayext = "<sup>$timetxt{'1'}</sup>"; + $dayext = "$timetxt{'1'}"; } elsif ( $newday % 10 == 2 ) { - $dayext = "<sup>$timetxt{'2'}</sup>"; + $dayext = "$timetxt{'2'}"; } elsif ( $newday % 10 == 3 ) { - $dayext = "<sup>$timetxt{'3'}</sup>"; + $dayext = "$timetxt{'3'}"; } - else { $dayext = "<sup>$timetxt{'4'}</sup>"; } + else { $dayext = "$timetxt{'4'}"; } } $mytimeformat =~ s/YYYY/$newyear/gxsm; $mytimeformat =~ s/YY/$newshortyear/gxsm; Index: cgi-bin/yabb2/Languages/English/Admin.lng =================================================================== --- cgi-bin/yabb2/Languages/English/Admin.lng (revision 1534) +++ cgi-bin/yabb2/Languages/English/Admin.lng (working copy) @@ -1149,10 +1149,10 @@ $maintxt {'dst'} = '<sup>*</sup>'; ## needed to show Today in registration log %timetxt = ( -'1' => 'st', -'2' => 'nd', -'3' => 'rd', -'4' => 'th', +'1' => '<sup>st</sup>', +'2' => '<sup>nd</sup>', +'3' => '<sup>rd</sup>', +'4' => '<sup>th</sup>', ); %settop_txt = ( GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2235 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: branches/2.6 language cleanup Reply #1 - Aug 16th, 2014 at 8:22pm Mark & QuoteQuote I thought I had the branch and trunk pretty well matched up - obviously this one slipped past. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: branches/2.6 language cleanup Reply #2 - Aug 16th, 2014 at 8:41pm Mark & QuoteQuote Dandello wrote on Aug 16th, 2014 at 8:22pm: I thought I had the branch and trunk pretty well matched up - obviously this one slipped past. I'm just lazy and use WinMerge to match and compare things. Integrates well with TortoiseSVN. GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged