Changeset 7360 for trunk/src/includes/common/formatting.php
- Timestamp:
- 11/16/2025 10:43:01 PM (5 months ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/formatting.php
r7359 r7360 646 646 $unknown_text = apply_filters( 'bbp_core_time_since_unknown_text', esc_html__( 'sometime', 'bbpress' ) ); 647 647 $right_now_text = apply_filters( 'bbp_core_time_since_right_now_text', esc_html__( 'right now', 'bbpress' ) ); 648 /* translators: %s: Time period */ 648 649 $ago_text = apply_filters( 'bbp_core_time_since_ago_text', esc_html__( '%s ago', 'bbpress' ) ); 649 650 650 651 // array of time period chunks 651 652 $chunks = array( 653 /* translators: %s: Number of years */ 652 654 array( YEAR_IN_SECONDS, _n_noop( '%s year', '%s years', 'bbpress' ) ), 655 /* translators: %s: Number of months */ 653 656 array( MONTH_IN_SECONDS, _n_noop( '%s month', '%s months', 'bbpress' ) ), 657 /* translators: %s: Number of weeks */ 654 658 array( WEEK_IN_SECONDS, _n_noop( '%s week', '%s weeks', 'bbpress' ) ), 659 /* translators: %s: Number of days */ 655 660 array( DAY_IN_SECONDS, _n_noop( '%s day', '%s days', 'bbpress' ) ), 661 /* translators: %s: Number of hours */ 656 662 array( HOUR_IN_SECONDS, _n_noop( '%s hour', '%s hours', 'bbpress' ) ), 663 /* translators: %s: Number of minutes */ 657 664 array( MINUTE_IN_SECONDS, _n_noop( '%s minute', '%s minutes', 'bbpress' ) ), 665 /* translators: %s: Number of seconds */ 658 666 array( 1, _n_noop( '%s second', '%s seconds', 'bbpress' ) ), 659 667 );
Note: See TracChangeset
for help on using the changeset viewer.