Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/21/2018 01:00:36 AM (15 months ago)
Author:
djpaul
Message:

Templates, Nouveau: string improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/includes/notifications/functions.php

    r12082 r12104  
    201201 * @since 3.0.0
    202202 *
    203  * @param  string $link The Mark Unread action link.
    204  * @return string       Link Output.
     203 * @param string $link Optional. The Mark Unread action link.
     204 *
     205 * @return string Link Output.
    205206 */
    206207function bp_nouveau_notifications_mark_unread_link( $link = '' ) {
    207     return bp_nouveau_notifications_dashiconified_link( $link, __( 'Mark Unread', 'buddypress' ), 'dashicons-hidden' );
     208    return bp_nouveau_notifications_dashiconified_link(
     209        $link,
     210        _x( 'Mark Unread', 'link', 'buddypress' ),
     211        'dashicons-hidden'
     212    );
    208213}
    209214
     
    213218 * @since 3.0.0
    214219 *
    215  * @param  string $link The Mark Read action link.
    216  * @return string       Link Output.
     220 * @param string $link Optional. The Mark Read action link.
     221 *
     222 * @return string Link Output.
    217223 */
    218224function bp_nouveau_notifications_mark_read_link( $link = '' ) {
    219     return bp_nouveau_notifications_dashiconified_link( $link, __( 'Mark Read', 'buddypress' ), 'dashicons-visibility' );
     225    return bp_nouveau_notifications_dashiconified_link(
     226        $link,
     227        _x( 'Mark Read', 'link', 'buddypress' ),
     228        'dashicons-visibility'
     229    );
    220230}
    221231
     
    225235 * @since 3.0.0
    226236 *
    227  * @param  string $link The Delete action link.
    228  * @return string       Link Output.
     237 * @param string $link Optional. The Delete action link.
     238 *
     239 * @return string Link Output.
    229240 */
    230241function bp_nouveau_notifications_delete_link( $link = '' ) {
    231     return bp_nouveau_notifications_dashiconified_link( $link, __( 'Delete', 'buddypress' ), 'dashicons-dismiss' );
    232 }
     242    return bp_nouveau_notifications_dashiconified_link(
     243        $link,
     244        _x( 'Delete', 'link', 'buddypress' ),
     245        'dashicons-dismiss'
     246    );
     247}
Note: See TracChangeset for help on using the changeset viewer.