Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/05/2016 06:21:41 AM (10 years ago)
Author:
netweb
Message:

Locale - i18n/l10n: Differentiate the noun and verb "Reply" string.

"Reply" can be used as both a verb and a noun, this changeset adds this context to instances of the "Reply" string thus allowing the different contexts to be translated accurately.

Props ocean90.
Fixes #2977.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/replies/template.php

    r5951 r6089  
    4747        'name'               => __( 'Replies',                   'bbpress' ),
    4848        'menu_name'          => __( 'Replies',                   'bbpress' ),
    49         'singular_name'      => __( 'Reply',                     'bbpress' ),
     49        'singular_name'      => _x( 'Reply', 'noun',             'bbpress' ),
    5050        'all_items'          => __( 'All Replies',               'bbpress' ),
    5151        'add_new'            => __( 'New Reply',                 'bbpress' ),
     
    16761676            'link_before'  => '',
    16771677            'link_after'   => '',
    1678             'reply_text'   => __( 'Reply', 'bbpress' ),
     1678            'reply_text'   => _x( 'Reply', 'verb', 'bbpress' ),
    16791679            'depth'        => 0,
    16801680            'add_below'    => 'post',
Note: See TracChangeset for help on using the changeset viewer.