Skip to:
Content

BuddyPress.org

Ticket #5777: 5777.02.patch

File 5777.02.patch, 2.9 KB (added by imath, 10 years ago)
  • src/bp-activity/bp-activity-admin.php

    diff --git src/bp-activity/bp-activity-admin.php src/bp-activity/bp-activity-admin.php
    index 7bb15b6..ed7cf32 100644
    function bp_activity_admin_index() { 
    903903                        <?php if ( !empty( $_REQUEST['aid'] ) ) : ?>
    904904                                <?php printf( __( 'Activity related to ID #%s', 'buddypress' ), number_format_i18n( (int) $_REQUEST['aid'] ) ); ?>
    905905                        <?php else : ?>
    906                                 <?php _x( 'Activity', 'Admin SWA page', 'buddypress' ); ?>
     906                                <?php _ex( 'Activity', 'Admin SWA page', 'buddypress' ); ?>
    907907                        <?php endif; ?>
    908908
    909909                        <?php if ( !empty( $_REQUEST['s'] ) ) : ?>
  • src/bp-messages/bp-messages-template.php

    diff --git src/bp-messages/bp-messages-template.php src/bp-messages/bp-messages-template.php
    index 931582d..a84e7f7 100644
    function bp_messages_options() { 
    826826
    827827        <select name="message-type-select" id="message-type-select">
    828828                <option value=""></option>
    829                 <option value="read"><?php _x('Read', 'Message dropdown filter', 'buddypress') ?></option>
    830                 <option value="unread"><?php _x('Unread', 'Message dropdown filter', 'buddypress') ?></option>
    831                 <option value="all"><?php _x('All', 'Message dropdown filter', 'buddypress') ?></option>
     829                <option value="read"><?php _ex('Read', 'Message dropdown filter', 'buddypress') ?></option>
     830                <option value="unread"><?php _ex('Unread', 'Message dropdown filter', 'buddypress') ?></option>
     831                <option value="all"><?php _ex('All', 'Message dropdown filter', 'buddypress') ?></option>
    832832        </select> &nbsp;
    833833
    834834        <?php if ( ! bp_is_current_action( 'sentbox' ) && bp_is_current_action( 'notices' ) ) : ?>
    835835
    836                 <a href="#" id="mark_as_read"><?php _x('Mark as Read', 'Message management markup', 'buddypress') ?></a> &nbsp;
    837                 <a href="#" id="mark_as_unread"><?php _x('Mark as Unread', 'Message management markup', 'buddypress') ?></a> &nbsp;
     836                <a href="#" id="mark_as_read"><?php _ex('Mark as Read', 'Message management markup', 'buddypress') ?></a> &nbsp;
     837                <a href="#" id="mark_as_unread"><?php _ex('Mark as Unread', 'Message management markup', 'buddypress') ?></a> &nbsp;
    838838
    839839        <?php endif; ?>
    840840
  • src/bp-notifications/bp-notifications-template.php

    diff --git src/bp-notifications/bp-notifications-template.php src/bp-notifications/bp-notifications-template.php
    index 53d5d5a..c309c5e 100644
    function bp_the_notification_mark_unread_link() { 
    792792                // Start the output buffer
    793793                ob_start(); ?>
    794794
    795                 <a href="<?php bp_the_notification_mark_unread_url(); ?>" class="mark-unread primary"><?php _x( 'Unread',  'Notification screen action', 'buddypress' ); ?></a>
     795                <a href="<?php bp_the_notification_mark_unread_url(); ?>" class="mark-unread primary"><?php _ex( 'Unread',  'Notification screen action', 'buddypress' ); ?></a>
    796796
    797797                <?php $retval = ob_get_clean();
    798798