Skip to:
Content

bbPress.org

Ticket #1324: i18n_and_language_fixes.patch

File i18n_and_language_fixes.patch, 1.2 KB (added by dimadin, 11 years ago)
  • bb-admin/includes/functions.bb-admin.php

     
    603603                        $r .= "<div>\n";
    604604                        $r .= "\t\t<label for='userrole'>" . __('Role') . "</label>";
    605605                        $r .= "\t\t<div><select name='userrole[]' id='userrole'>\n";
    606                         $r .= "\t\t\t<option value=''>All</option>\n";
     606                        $r .= "\t\t\t<option value=''>" . _x('All', 'user roles') . "</option>\n";
    607607                       
    608608                        foreach ( $roles as $role => $display ) {
    609609                                $selected = '';
  • bb-post.php

     
    1818                if ( !$post_author = sanitize_user( trim( $_POST['author'] ) ) )
    1919                        bb_die( __( 'You need to submit your name!' ) );
    2020                elseif ( !$post_email = sanitize_email( trim( $_POST['email'] ) ) )
    21                         bb_die( __( 'You need to submit a valid email id!' ) );
     21                        bb_die( __( 'You need to submit a valid email!' ) );
    2222
    2323                if ( !empty( $_POST['url'] ) )
    2424                        $post_url = esc_url( trim( $_POST['url'] ) );