Skip to:
Content

BuddyPress.org

Changeset 8706


Ignore:
Timestamp:
07/28/2014 09:34:46 AM (10 years ago)
Author:
djpaul
Message:

i18n: correct some typos made in r8705

Some strings were being returned when they should have been echo'd to the screen.
Props imath, fixes #5777 again

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-admin.php

    r8705 r8706  
    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
  • trunk/src/bp-messages/bp-messages-template.php

    r8705 r8706  
    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; ?>
  • trunk/src/bp-notifications/bp-notifications-template.php

    r8705 r8706  
    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();
Note: See TracChangeset for help on using the changeset viewer.