Skip to:
Content

BuddyPress.org

Ticket #537: time-since-separator.patch

File time-since-separator.patch, 563 bytes (added by GIGALinux, 17 years ago)
  • bp-core.php

     
    969969       
    970970                if ( ( $count2 = floor( ( $since - ( $seconds * $count ) ) / $seconds2 ) ) != 0 ) {
    971971                        /* Add to output var */
    972                         $output .= ( 1 == $count2 ) ? ', 1 '. $chunks[$i + 1][1] : ", " . $count2 . ' ' . $chunks[$i + 1][2];
     972                        $output .= ( 1 == $count2 ) ? ', 1 '. $chunks[$i + 1][1] : _c(",|Separator in time since", "buddypress") . ' ' . $count2 . ' ' . $chunks[$i + 1][2];
    973973                }
    974974        }
    975975