Skip to:
Content

BuddyPress.org

Changeset 7459


Ignore:
Timestamp:
10/23/2013 12:42:20 AM (13 years ago)
Author:
boonebgorges
Message:

Fix alphabeticization and whitespace in BP_Legacy::enqueue_scripts()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-templates/bp-legacy/buddypress-functions.php

    r7458 r7459  
    227227                }
    228228
    229                 // Add words that we need to use in JS to the end of the page so they can be translated and still used.
     229                // Add words that we need to use in JS to the end of the page
     230                // so they can be translated and still used.
    230231                $params = array(
    231                         'my_favs'           => __( 'My Favorites', 'buddypress' ),
    232                         'accepted'          => __( 'Accepted', 'buddypress' ),
    233                         'rejected'          => __( 'Rejected', 'buddypress' ),
    234                         'show_all_comments' => __( 'Show all comments for this thread', 'buddypress' ),
    235                         'show_x_comments'   => __( 'Show all %d comments', 'buddypress' ),
    236                         'show_all'          => __( 'Show all', 'buddypress' ),
    237                         'comments'          => __( 'comments', 'buddypress' ),
    238                         'close'             => __( 'Close', 'buddypress' ),
    239                         'view'              => __( 'View', 'buddypress' ),
    240                         'mark_as_fav'       => __( 'Favorite', 'buddypress' ),
    241                         'remove_fav'        => __( 'Remove Favorite', 'buddypress' ),
    242                         'unsaved_changes'   => __( 'Your profile has unsaved changes. If you leave the page, the changes will be lost.', 'buddypress' ),
     232                        'accepted'            => __( 'Accepted', 'buddypress' ),
     233                        'close'               => __( 'Close', 'buddypress' ),
     234                        'comments'            => __( 'comments', 'buddypress' ),
    243235                        'leave_group_confirm' => __( 'Are you sure you want to leave this group?', 'buddypress' ),
     236                        'mark_as_fav'         => __( 'Favorite', 'buddypress' ),
     237                        'my_favs'             => __( 'My Favorites', 'buddypress' ),
     238                        'rejected'            => __( 'Rejected', 'buddypress' ),
     239                        'remove_fav'          => __( 'Remove Favorite', 'buddypress' ),
     240                        'show_all'            => __( 'Show all', 'buddypress' ),
     241                        'show_all_comments'   => __( 'Show all comments for this thread', 'buddypress' ),
     242                        'show_x_comments'     => __( 'Show all %d comments', 'buddypress' ),
     243                        'unsaved_changes'     => __( 'Your profile has unsaved changes. If you leave the page, the changes will be lost.', 'buddypress' ),
     244                        'view'                => __( 'View', 'buddypress' ),
    244245                );
    245246                wp_localize_script( $asset['handle'], 'BP_DTheme', $params );
Note: See TracChangeset for help on using the changeset viewer.