Making WordPress.org

Changeset 4967


Ignore:
Timestamp:
02/21/2017 12:03:58 AM (10 years ago)
Author:
iandunn
Message:

WordCamp Payments: Internationalize strings

I also converted uses of non-escapted i18n functions -- e.g., __() -- to their escaped counterparts -- e.g., esc_html__().

Fixes 2229
Props thomas-vitale

Location:
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/budget-tool.php

    r3859 r4967  
    99
    1010    public static function admin_menu() {
    11                 add_submenu_page( 'wordcamp-budget', __( 'WordCamp Budget', 'wordcamporg' ), __( 'Budget', 'wordcamporg' ), 'manage_options', 'wordcamp-budget' );
     11                add_submenu_page( 'wordcamp-budget', esc_html__( 'WordCamp Budget', 'wordcamporg' ), esc_html__( 'Budget', 'wordcamporg' ), 'manage_options', 'wordcamp-budget' );
    1212        add_action( 'wcb_render_budget_page', array( __CLASS__, 'render' ) );
    1313        register_setting( 'wcb_budget_noop', 'wcb_budget_noop', array( __CLASS__, 'validate' ) );
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/payment-request.php

    r3800 r4967  
    4242        public function register_post_type() {
    4343                $labels = array(
    44                         'name'               => _x( 'Vendor Payments', 'post type general name', 'wordcamporg' ),
    45                         'singular_name'      => _x( 'Vendor Payment', 'post type singular name', 'wordcamporg' ),
    46                         'menu_name'          => _x( 'Vendor Payments', 'admin menu',             'wordcamporg' ),
    47                         'name_admin_bar'     => _x( 'Vendor Payment', 'add new on admin bar',    'wordcamporg' ),
    48                         'add_new'            => _x( 'Add New', 'payment',                        'wordcamporg' ),
    49 
    50                         'add_new_item'       => __( 'Add New Vendor Payment',             'wordcamporg' ),
    51                         'new_item'           => __( 'New Vendor Payment',                 'wordcamporg' ),
    52                         'edit_item'          => __( 'Edit Vendor Payment',                'wordcamporg' ),
    53                         'view_item'          => __( 'View Vendor Payment',                'wordcamporg' ),
    54                         'all_items'          => __( 'Vendor Payments',                    'wordcamporg' ),
    55                         'search_items'       => __( 'Search Vendor Payments',             'wordcamporg' ),
    56                         'parent_item_colon'  => __( 'Parent Vendor Payments:',            'wordcamporg' ),
    57                         'not_found'          => __( 'No Vendor Payments found.',          'wordcamporg' ),
    58                         'not_found_in_trash' => __( 'No Vendor Payments found in Trash.', 'wordcamporg' )
     44                        'name'               => esc_html_x( 'Vendor Payments', 'post type general name', 'wordcamporg' ),
     45                        'singular_name'      => esc_html_x( 'Vendor Payment', 'post type singular name', 'wordcamporg' ),
     46                        'menu_name'          => esc_html_x( 'Vendor Payments', 'admin menu',             'wordcamporg' ),
     47                        'name_admin_bar'     => esc_html_x( 'Vendor Payment', 'add new on admin bar',    'wordcamporg' ),
     48                        'add_new'            => esc_html_x( 'Add New', 'payment',                        'wordcamporg' ),
     49
     50                        'add_new_item'       => esc_html__( 'Add New Vendor Payment',             'wordcamporg' ),
     51                        'new_item'           => esc_html__( 'New Vendor Payment',                 'wordcamporg' ),
     52                        'edit_item'          => esc_html__( 'Edit Vendor Payment',                'wordcamporg' ),
     53                        'view_item'          => esc_html__( 'View Vendor Payment',                'wordcamporg' ),
     54                        'all_items'          => esc_html__( 'Vendor Payments',                    'wordcamporg' ),
     55                        'search_items'       => esc_html__( 'Search Vendor Payments',             'wordcamporg' ),
     56                        'parent_item_colon'  => esc_html__( 'Parent Vendor Payments:',            'wordcamporg' ),
     57                        'not_found'          => esc_html__( 'No Vendor Payments found.',          'wordcamporg' ),
     58                        'not_found_in_trash' => esc_html__( 'No Vendor Payments found in Trash.', 'wordcamporg' )
    5959                );
    6060
     
    8181                        'paid',
    8282                        array(
    83                                 'label'              => _x( 'Paid', 'post', 'wordcamporg' ),
     83                                'label'              => esc_html_x( 'Paid', 'post', 'wordcamporg' ),
    8484                                'label_count'        => _nx_noop( 'Paid <span class="count">(%s)</span>', 'Paid <span class="count">(%s)</span>', 'wordcamporg' ),
    8585                                'public'             => true,
     
    9191                        'unpaid',
    9292                        array(
    93                                 'label'              => _x( 'Unpaid', 'post', 'wordcamporg' ),
     93                                'label'              => esc_html_x( 'Unpaid', 'post', 'wordcamporg' ),
    9494                                'label_count'        => _nx_noop( 'Unpaid <span class="count">(%s)</span>', 'Unpaid <span class="count">(%s)</span>', 'wordcamporg' ),
    9595                                'public'             => true,
     
    101101                        'incomplete',
    102102                        array(
    103                                 'label'              => _x( 'Incomplete', 'post', 'wordcamporg' ),
     103                                'label'              => esc_html_x( 'Incomplete', 'post', 'wordcamporg' ),
    104104                                'label_count'        => _nx_noop( 'Incomplete <span class="count">(%s)</span>', 'Incomplete <span class="count">(%s)</span>', 'wordcamporg' ),
    105105                                'public'             => true,
     
    121121                add_meta_box(
    122122                        'submitdiv',
    123                         __( 'Status', 'wordcamporg' ),
     123                        esc_html__( 'Status', 'wordcamporg' ),
    124124                        array( $this, 'render_status_metabox' ),
    125125                        self::POST_TYPE,
     
    130130                add_meta_box(
    131131                        'wcp_general_info',
    132                         __( 'General Information', 'wordcamporg' ),
     132                        esc_html__( 'General Information', 'wordcamporg' ),
    133133                        array( $this, 'render_general_metabox' ),
    134134                        self::POST_TYPE,
     
    139139                $introduction_message = sprintf(
    140140                        '<p>%s</p> <p>%s</p>',
    141                         __( 'Direct Deposit or Wire is the fastest way to pay a vendor. Checks and credit card payments can take 3-5 days for us and/or the bank to process.', 'wordcamporg' ),
    142                         __( 'Each wire transfer costs us processing fees, so please try to avoid multiple wire requests for one vendor.', 'wordcamporg' )
     141                        esc_html__( 'Direct Deposit or Wire is the fastest way to pay a vendor. Checks and credit card payments can take 3-5 days for us and/or the bank to process.', 'wordcamporg' ),
     142                        esc_html__( 'Each wire transfer costs us processing fees, so please try to avoid multiple wire requests for one vendor.', 'wordcamporg' )
    143143                );
    144144
    145145                add_meta_box(
    146146                        'wcp_payment_details',
    147                         __( 'Payment Details', 'wordcamporg' ),
     147                        esc_html__( 'Payment Details', 'wordcamporg' ),
    148148                        array( $this, 'render_payment_metabox' ),
    149149                        self::POST_TYPE,
     
    158158                add_meta_box(
    159159                        'wcp_vendor_details',
    160                         __( 'Vendor Details', 'wordcamporg' ),
     160                        esc_html__( 'Vendor Details', 'wordcamporg' ),
    161161                        array( $this, 'render_vendor_metabox' ),
    162162                        self::POST_TYPE,
     
    165165                );
    166166
    167                 add_meta_box( 'wcp_log', __( 'Log', 'wordcamporg' ), array( $this, 'render_log_metabox' ),
     167                add_meta_box( 'wcp_log', esc_html__( 'Log', 'wordcamporg' ), array( $this, 'render_log_metabox' ),
    168168                        self::POST_TYPE, 'normal', 'high' );
    169169        }
     
    220220                $editable_statuses = array( 'auto-draft', 'draft', 'wcb-incomplete' );
    221221                $current_user_can_edit_request = false;
    222                 $submit_text = _x( 'Update', 'payment request', 'wordcamporg' );
     222                $submit_text = esc_html_x( 'Update', 'payment request', 'wordcamporg' );
    223223                $submit_note = '';
    224224
     
    226226                        $current_user_can_edit_request = true;
    227227                } elseif ( in_array( $post->post_status, $editable_statuses ) ) {
    228                         $submit_text = __( 'Submit for Review', 'wordcamporg' );
    229                         $submit_note = __( 'Once submitted for review, this request can not be edited.', 'wordcamporg' );
     228                        $submit_text = esc_html__( 'Submit for Review', 'wordcamporg' );
     229                        $submit_note = esc_html__( 'Once submitted for review, this request can not be edited.', 'wordcamporg' );
    230230                        $current_user_can_edit_request = true;
    231231                }
     
    832832                $columns = array(
    833833                        'cb'             => $_columns['cb'],
    834                         'author'         => __( 'Author' ),
     834                        'author'         => esc_html__( 'Author' ),
    835835                        'title'          => $_columns['title'],
    836836                        'date'           => $_columns['date'],
    837                         'due_by'         => __( 'Due by', 'wordcamporg' ),
    838                         'vendor_name'    => __( 'Vendor', 'wordcamporg' ),
    839                         'payment_amount' => __( 'Amount', 'wordcamporg' ),
     837                        'due_by'         => esc_html__( 'Due by', 'wordcamporg' ),
     838                        'vendor_name'    => esc_html__( 'Vendor', 'wordcamporg' ),
     839                        'payment_amount' => esc_html__( 'Amount', 'wordcamporg' ),
    840840                );
    841841
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/reimbursement-request.php

    r3868 r4967  
    3434function register_post_type() {
    3535        $labels = array(
    36                 'name'               => _x( 'Reimbursement Requests', 'general reimbursement requests', 'wordcamporg' ),
    37                 'singular_name'      => _x( 'Reimbursement Request',  'post type singular name',        'wordcamporg' ),
    38                 'menu_name'          => _x( 'Reimbursement Requests', 'admin menu',                     'wordcamporg' ),
    39                 'name_admin_bar'     => _x( 'Reimbursement Requests', 'add new on admin bar',           'wordcamporg' ),
    40                 'add_new'            => _x( 'Add New',                'reimbursement request',          'wordcamporg' ),
    41 
    42                 'add_new_item'       => __( 'Add New Reimbursement Request',             'wordcamporg' ),
    43                 'new_item'           => __( 'New Reimbursement Request',                 'wordcamporg' ),
    44                 'edit_item'          => __( 'Edit Reimbursement Request',                'wordcamporg' ),
    45                 'view_item'          => __( 'View Reimbursement Request',                'wordcamporg' ),
    46                 'all_items'          => __( 'Reimbursements',                            'wordcamporg' ),
    47                 'search_items'       => __( 'Search Reimbursement Requests',             'wordcamporg' ),
    48                 'not_found'          => __( 'No Reimbursement Requests found.',          'wordcamporg' ),
    49                 'not_found_in_trash' => __( 'No Reimbursement Requests found in Trash.', 'wordcamporg' ),
     36                'name'               => esc_html_x( 'Reimbursement Requests', 'general reimbursement requests', 'wordcamporg' ),
     37                'singular_name'      => esc_html_x( 'Reimbursement Request',  'post type singular name',        'wordcamporg' ),
     38                'menu_name'          => esc_html_x( 'Reimbursement Requests', 'admin menu',                     'wordcamporg' ),
     39                'name_admin_bar'     => esc_html_x( 'Reimbursement Requests', 'add new on admin bar',           'wordcamporg' ),
     40                'add_new'            => esc_html_x( 'Add New',                'reimbursement request',          'wordcamporg' ),
     41
     42                'add_new_item'       => esc_html__( 'Add New Reimbursement Request',             'wordcamporg' ),
     43                'new_item'           => esc_html__( 'New Reimbursement Request',                 'wordcamporg' ),
     44                'edit_item'          => esc_html__( 'Edit Reimbursement Request',                'wordcamporg' ),
     45                'view_item'          => esc_html__( 'View Reimbursement Request',                'wordcamporg' ),
     46                'all_items'          => esc_html__( 'Reimbursements',                            'wordcamporg' ),
     47                'search_items'       => esc_html__( 'Search Reimbursement Requests',             'wordcamporg' ),
     48                'not_found'          => esc_html__( 'No Reimbursement Requests found.',          'wordcamporg' ),
     49                'not_found_in_trash' => esc_html__( 'No Reimbursement Requests found in Trash.', 'wordcamporg' ),
    5050        );
    5151
     
    8989                'wcbrr_submitted',
    9090                array(
    91                         'label'              => _x( 'Submitted', 'post', 'wordcamporg' ),
     91                        'label'              => esc_html_x( 'Submitted', 'post', 'wordcamporg' ),
    9292                        'label_count'        => _nx_noop( 'Submitted <span class="count">(%s)</span>', 'Submitted <span class="count">(%s)</span>', 'wordcamporg' ),
    9393                        'public'             => true,
     
    9999                'wcbrr_info_requested',
    100100                array(
    101                         'label'              => _x( 'Information Requested', 'post', 'wordcamporg' ),
     101                        'label'              => esc_html_x( 'Information Requested', 'post', 'wordcamporg' ),
    102102                        'label_count'        => _nx_noop( 'Information Requested <span class="count">(%s)</span>', 'Information Requested <span class="count">(%s)</span>', 'wordcamporg' ),
    103103                        'public'             => true,
     
    109109                'wcbrr_rejected',
    110110                array(
    111                         'label'              => _x( 'Rejected', 'post', 'wordcamporg' ),
     111                        'label'              => esc_html_x( 'Rejected', 'post', 'wordcamporg' ),
    112112                        'label_count'        => _nx_noop( 'Rejected <span class="count">(%s)</span>', 'Rejected <span class="count">(%s)</span>', 'wordcamporg' ),
    113113                        'public'             => true,
     
    119119                'wcbrr_in_process',
    120120                array(
    121                         'label'              => _x( 'Payment in Process', 'post', 'wordcamporg' ),
     121                        'label'              => esc_html_x( 'Payment in Process', 'post', 'wordcamporg' ),
    122122                        'label_count'        => _nx_noop( 'Payment in Process <span class="count">(%s)</span>', 'Payment in Process <span class="count">(%s)</span>', 'wordcamporg' ),
    123123                        'public'             => true,
     
    129129                'wcbrr_paid',
    130130                array(
    131                         'label'              => _x( 'Paid', 'post', 'wordcamporg' ),
     131                        'label'              => esc_html_x( 'Paid', 'post', 'wordcamporg' ),
    132132                        'label_count'        => _nx_noop( 'Paid <span class="count">(%s)</span>', 'Paid <span class="count">(%s)</span>', 'wordcamporg' ),
    133133                        'public'             => true,
     
    148148        add_meta_box(
    149149                'submitdiv',
    150                 __( 'Status', 'wordcamporg' ),
     150                esc_html__( 'Status', 'wordcamporg' ),
    151151                __NAMESPACE__ . '\render_status_metabox',
    152152                POST_TYPE,
     
    157157        add_meta_box(
    158158                'wcbrr_notes',
    159                 __( 'Notes', 'wordcamporg' ),
     159                esc_html__( 'Notes', 'wordcamporg' ),
    160160                __NAMESPACE__ . '\render_notes_metabox',
    161161                POST_TYPE,
     
    166166        add_meta_box(
    167167                'wcbrr_general_information',
    168                 __( 'General Information', 'wordcamporg' ),
     168                esc_html__( 'General Information', 'wordcamporg' ),
    169169                __NAMESPACE__ . '\render_general_information_metabox',
    170170                POST_TYPE,
     
    175175        $introduction_message = sprintf(
    176176                '<p>%s</p> <p>%s</p>',
    177                 __( 'This is where you can give us information on how we can reimburse you for approved expenses that you paid out-of-pocket.', 'wordcamporg' ),
    178                 __( 'Each wire transfer and check costs us processing fees, so if you have multiple out-of-pocket expenses, please try to group them into one reimbursement request.', 'wordcamporg' )
     177                esc_html__( 'This is where you can give us information on how we can reimburse you for approved expenses that you paid out-of-pocket.', 'wordcamporg' ),
     178                esc_html__( 'Each wire transfer and check costs us processing fees, so if you have multiple out-of-pocket expenses, please try to group them into one reimbursement request.', 'wordcamporg' )
    179179        );
    180180
    181181        add_meta_box(
    182182                'wcbrr_payment_information',
    183                 __( 'Payment Information', 'wordcamporg' ),
     183                esc_html__( 'Payment Information', 'wordcamporg' ),
    184184                array( $wcp_payment_request, 'render_payment_metabox' ),    // todo centralize this instead of using directly from another module
    185185                POST_TYPE,
     
    196196        add_meta_box(
    197197                'wcbrr_expenses',
    198                 __( 'Expenses', 'wordcamporg' ),
     198                esc_html__( 'Expenses', 'wordcamporg' ),
    199199                __NAMESPACE__ . '\render_expenses_metabox',
    200200                POST_TYPE,
     
    205205        add_meta_box(
    206206                'wcp_log',
    207                 __( 'Log', 'wordcamporg' ),
     207                esc_html__( 'Log', 'wordcamporg' ),
    208208                __NAMESPACE__ . '\render_log_metabox',
    209209                POST_TYPE,
     
    281281        $editable_statuses = array( 'auto-draft', 'draft', 'wcb-incomplete' );
    282282        $current_user_can_edit_request = false;
    283         $submit_text = _x( 'Update', 'payment request', 'wordcamporg' );
     283        $submit_text = esc_html_x( 'Update', 'payment request', 'wordcamporg' );
    284284        $submit_note = '';
    285285
     
    287287                $current_user_can_edit_request = true;
    288288        } elseif ( in_array( $post->post_status, $editable_statuses ) ) {
    289                 $submit_text = __( 'Submit for Review', 'wordcamporg' );
    290                 $submit_note = __( 'Once submitted for review, this request can not be edited.', 'wordcamporg' );
     289                $submit_text = esc_html__( 'Submit for Review', 'wordcamporg' );
     290                $submit_note = esc_html__( 'Once submitted for review, this request can not be edited.', 'wordcamporg' );
    291291                $current_user_can_edit_request = true;
    292292        }
     
    297297        $request_id         = get_current_blog_id() . '-' . $post->ID;
    298298        $requested_by       = \WordCamp_Budgets::get_requester_name( $post->post_author );
    299         $update_text        = current_user_can( 'manage_network' ) ? __( 'Update Request', 'wordcamporg' ) : __( 'Send Request', 'wordcamporg' );
     299        $update_text        = current_user_can( 'manage_network' ) ? esc_html__( 'Update Request', 'wordcamporg' ) : esc_html__( 'Send Request', 'wordcamporg' );
    300300
    301301        require_once( dirname( __DIR__ ) . '/views/reimbursement-request/metabox-status.php' );
     
    350350function get_reimbursement_reasons() {
    351351        return array(
    352                 'last-minute-purchase'   => __( 'Last-minute purchase',                   'wordcamporg' ),
    353                 'vendor-required-cash'   => __( 'Vendor required cash payment',           'wordcamporg' ),
    354                 'payment-on-delivery'    => __( 'Vendor required payment at delivery',    'wordcamporg' ),
    355                 'convenience'            => __( 'Organizer convenience',                  'wordcamporg' ),
    356                 'central-missed-payment' => __( "Payment by Central didn't come through", 'wordcamporg' ),
    357                 'other'                  => __( 'Other (describe in next field)',         'wordcamporg' ),
     352                'last-minute-purchase'   => esc_html__( 'Last-minute purchase',                   'wordcamporg' ),
     353                'vendor-required-cash'   => esc_html__( 'Vendor required cash payment',           'wordcamporg' ),
     354                'payment-on-delivery'    => esc_html__( 'Vendor required payment at delivery',    'wordcamporg' ),
     355                'convenience'            => esc_html__( 'Organizer convenience',                  'wordcamporg' ),
     356                'central-missed-payment' => esc_html__( "Payment by Central didn't come through", 'wordcamporg' ),
     357                'other'                  => esc_html__( 'Other (describe in next field)',         'wordcamporg' ),
    358358        );
    359359}
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/sponsor-invoice.php

    r3307 r4967  
    3535function register_post_type() {
    3636        $labels = array(
    37                 'name'               => _x( 'Sponsor Invoices', 'general sponsor invoices', 'wordcamporg' ),
    38                 'singular_name'      => _x( 'Sponsor Invoice',  'post type singular name',  'wordcamporg' ),
    39                 'menu_name'          => _x( 'Sponsor Invoices', 'admin menu',               'wordcamporg' ),
    40                 'name_admin_bar'     => _x( 'Sponsor Invoices', 'add new on admin bar',     'wordcamporg' ),
    41                 'add_new'            => _x( 'Add New',          'invoice',                  'wordcamporg' ),
    42 
    43                 'add_new_item'       => __( 'Add New Sponsor Invoice',    'wordcamporg' ),
    44                 'new_item'           => __( 'New Invoice',                'wordcamporg' ),
    45                 'edit_item'          => __( 'Edit Invoice',               'wordcamporg' ),
    46                 'view_item'          => __( 'View Invoice',               'wordcamporg' ),
    47                 'all_items'          => __( 'Sponsor Invoices',           'wordcamporg' ),
    48                 'search_items'       => __( 'Search Invoices',            'wordcamporg' ),
    49                 'not_found'          => __( 'No invoice found.',          'wordcamporg' ),
    50                 'not_found_in_trash' => __( 'No invoice found in Trash.', 'wordcamporg' ),
     37                'name'               => esc_html_x( 'Sponsor Invoices', 'general sponsor invoices', 'wordcamporg' ),
     38                'singular_name'      => esc_html_x( 'Sponsor Invoice',  'post type singular name',  'wordcamporg' ),
     39                'menu_name'          => esc_html_x( 'Sponsor Invoices', 'admin menu',               'wordcamporg' ),
     40                'name_admin_bar'     => esc_html_x( 'Sponsor Invoices', 'add new on admin bar',     'wordcamporg' ),
     41                'add_new'            => esc_html_x( 'Add New',          'invoice',                  'wordcamporg' ),
     42
     43                'add_new_item'       => esc_html__( 'Add New Sponsor Invoice',    'wordcamporg' ),
     44                'new_item'           => esc_html__( 'New Invoice',                'wordcamporg' ),
     45                'edit_item'          => esc_html__( 'Edit Invoice',               'wordcamporg' ),
     46                'view_item'          => esc_html__( 'View Invoice',               'wordcamporg' ),
     47                'all_items'          => esc_html__( 'Sponsor Invoices',           'wordcamporg' ),
     48                'search_items'       => esc_html__( 'Search Invoices',            'wordcamporg' ),
     49                'not_found'          => esc_html__( 'No invoice found.',          'wordcamporg' ),
     50                'not_found_in_trash' => esc_html__( 'No invoice found in Trash.', 'wordcamporg' ),
    5151        );
    5252
     
    7272function get_custom_statuses() {
    7373        return array(
    74                 'wcbsi_submitted' => __( 'Submitted', 'wordcamporg' ),
    75                 'wcbsi_approved'  => __( 'Sent',      'wordcamporg' ),
    76                 'wcbsi_paid'      => __( 'Paid',      'wordcamporg' ),
     74                'wcbsi_submitted' => esc_html__( 'Submitted', 'wordcamporg' ),
     75                'wcbsi_approved'  => esc_html__( 'Sent',      'wordcamporg' ),
     76                'wcbsi_paid'      => esc_html__( 'Paid',      'wordcamporg' ),
    7777        );
    7878}
     
    8787                'wcbsi_submitted',
    8888                array(
    89                         'label'              => _x( 'Submitted', 'post', 'wordcamporg' ),
     89                        'label'              => esc_html_x( 'Submitted', 'post', 'wordcamporg' ),
    9090                        'label_count'        => _nx_noop( 'Submitted <span class="count">(%s)</span>', 'Submitted <span class="count">(%s)</span>', 'wordcamporg' ),
    9191                        'public'             => true,
     
    9797                'wcbsi_approved',
    9898                array(
    99                         'label'              => _x( 'Sent', 'post', 'wordcamporg' ),
     99                        'label'              => esc_html_x( 'Sent', 'post', 'wordcamporg' ),
    100100                        'label_count'        => _nx_noop( 'Sent <span class="count">(%s)</span>', 'Sent <span class="count">(%s)</span>', 'wordcamporg' ),
    101101                        'public'             => true,
     
    107107                'wcbsi_paid',
    108108                array(
    109                         'label'              => _x( 'Paid', 'post', 'wordcamporg' ),
     109                        'label'              => esc_html_x( 'Paid', 'post', 'wordcamporg' ),
    110110                        'label_count'        => _nx_noop( 'Paid <span class="count">(%s)</span>', 'Paid <span class="count">(%s)</span>', 'wordcamporg' ),
    111111                        'public'             => true,
     
    124124        add_meta_box(
    125125                'submitdiv',
    126                 __( 'Status', 'wordcamporg' ),
     126                esc_html__( 'Status', 'wordcamporg' ),
    127127                __NAMESPACE__ . '\render_status_metabox',
    128128                POST_TYPE,
     
    133133        add_meta_box(
    134134                'wcbsi_sponsor_invoice',
    135                 __( 'Sponsor Invoice', 'wordcamporg' ),
     135                esc_html__( 'Sponsor Invoice', 'wordcamporg' ),
    136136                __NAMESPACE__ . '\render_sponsor_invoice_metabox',
    137137                POST_TYPE,
     
    249249        wp_nonce_field( 'status', 'status_nonce' );
    250250
    251         $delete_text = EMPTY_TRASH_DAYS ? __( 'Move to Trash' ) : __( 'Delete Permanently' );
     251        $delete_text = EMPTY_TRASH_DAYS ? esc_html__( 'Move to Trash' ) : esc_html__( 'Delete Permanently' );
    252252
    253253        /*
     
    431431        $columns = array(
    432432                'cb'             => $_columns['cb'],
    433                 'author'         => __( 'Author' ),
     433                'author'         => esc_html__( 'Author' ),
    434434                'title'          => $_columns['title'],
    435435                'date'           => $_columns['date'],
    436                 'sponsor_name'   => __( 'Sponsor',  'wordcamporg' ),
    437                 'payment_amount' => __( 'Amount',   'wordcamporg' ),
     436                'sponsor_name'   => esc_html__( 'Sponsor',  'wordcamporg' ),
     437                'payment_amount' => esc_html__( 'Amount',   'wordcamporg' ),
    438438        );
    439439
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/wordcamp-budgets.php

    r4524 r4967  
    2323
    2424                register_post_status( 'wcb-incomplete', array (
    25                         'label' => _x( 'Incomplete', 'payment request', 'wordcamporg' ),
     25                        'label' => esc_html_x( 'Incomplete', 'payment request', 'wordcamporg' ),
    2626                        'public' => false,
    2727                        'protected' => true,
     
    3434
    3535                register_post_status( 'wcb-pending-approval', array (
    36                         'label' => _x( 'Pending Approval', 'payment request', 'wordcamporg' ),
     36                        'label' => esc_html_x( 'Pending Approval', 'payment request', 'wordcamporg' ),
    3737                        'public' => false,
    3838                        'protected' => true,
     
    4545
    4646                register_post_status( 'wcb-approved', array (
    47                         'label' => _x( 'Approved', 'payment request', 'wordcamporg' ),
     47                        'label' => esc_html_x( 'Approved', 'payment request', 'wordcamporg' ),
    4848                        'public' => false,
    4949                        'protected' => true,
     
    5656
    5757                register_post_status( 'wcb-pending-payment', array (
    58                         'label' => _x( 'Payment Sent', 'payment request', 'wordcamporg' ),
     58                        'label' => esc_html_x( 'Payment Sent', 'payment request', 'wordcamporg' ),
    5959                        'public' => false,
    6060                        'protected' => true,
     
    6767
    6868                register_post_status( 'wcb-paid', array (
    69                         'label' => _x( 'Paid', 'payment request', 'wordcamporg' ),
     69                        'label' => esc_html_x( 'Paid', 'payment request', 'wordcamporg' ),
    7070                        'public' => false,
    7171                        'protected' => true,
     
    7878
    7979                register_post_status( 'wcb-failed', array (
    80                         'label' => _x( 'Failed', 'payment request', 'wordcamporg' ),
     80                        'label' => esc_html_x( 'Failed', 'payment request', 'wordcamporg' ),
    8181                        'public' => false,
    8282                        'protected' => true,
     
    8989
    9090                register_post_status( 'wcb-cancelled', array (
    91                         'label' => _x( 'Cancelled', 'payment request', 'wordcamporg' ),
     91                        'label' => esc_html_x( 'Cancelled', 'payment request', 'wordcamporg' ),
    9292                        'public' => false,
    9393                        'protected' => true,
     
    109109        public function register_budgets_menu() {
    110110                add_menu_page(
    111                         __( 'WordCamp Budget', 'wordcamporg' ),
    112                         __( 'Budget',          'wordcamporg' ),
     111                        esc_html__( 'WordCamp Budget', 'wordcamporg' ),
     112                        esc_html__( 'Budget',          'wordcamporg' ),
    113113                        'manage_options',
    114114                        'wordcamp-budget',
     
    145145                        'wcbLocalizedStrings',          // todo merge into WordCampBudgets var
    146146                        array(
    147                                 'uploadModalTitle'  => __( 'Attach Supporting Documentation', 'wordcamporg' ),
    148                                 'uploadModalButton' => __( 'Attach Files', 'wordcamporg' ),
     147                                'uploadModalTitle'  => esc_html__( 'Attach Supporting Documentation', 'wordcamporg' ),
     148                                'uploadModalButton' => esc_html__( 'Attach Files', 'wordcamporg' ),
    149149                        )
    150150                );
     
    746746        public static function get_payment_categories() {
    747747                return array(
    748                         'after-party'     => __( 'After Party',                    'wordcamporg' ),
    749                         'audio-visual'    => __( 'Audio Visual',                   'wordcamporg' ),
    750                         'camera-shipping' => __( 'Camera Shipping',                'wordcamporg' ),
    751                         'food-beverages'  => __( 'Food & Beverage',                'wordcamporg' ),
    752                         'office-supplies' => __( 'Office Supplies',                'wordcamporg' ),
    753                         'signage-badges'  => __( 'Signage & Badges',               'wordcamporg' ),
    754                         'speaker-event'   => __( 'Speaker Event',                  'wordcamporg' ),
    755                         'swag'            => __( 'Swag (t-shirts, stickers, etc)', 'wordcamporg' ),
    756                         'venue'           => __( 'Venue',                          'wordcamporg' ),
    757                         'other'           => __( 'Other',                          'wordcamporg' ), // This one is intentionally last, regardless of alphabetical order
     748                        'after-party'     => esc_html__( 'After Party',                    'wordcamporg' ),
     749                        'audio-visual'    => esc_html__( 'Audio Visual',                   'wordcamporg' ),
     750                        'camera-shipping' => esc_html__( 'Camera Shipping',                'wordcamporg' ),
     751                        'food-beverages'  => esc_html__( 'Food & Beverage',                'wordcamporg' ),
     752                        'office-supplies' => esc_html__( 'Office Supplies',                'wordcamporg' ),
     753                        'signage-badges'  => esc_html__( 'Signage & Badges',               'wordcamporg' ),
     754                        'speaker-event'   => esc_html__( 'Speaker Event',                  'wordcamporg' ),
     755                        'swag'            => esc_html__( 'Swag (t-shirts, stickers, etc)', 'wordcamporg' ),
     756                        'venue'           => esc_html__( 'Venue',                          'wordcamporg' ),
     757                        'other'           => esc_html__( 'Other',                          'wordcamporg' ), // This one is intentionally last, regardless of alphabetical order
    758758                );
    759759        }
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/budget-tool/main.php

    r3858 r4967  
    2020            <?php endif; ?>
    2121
    22             <span>Preliminary Budget</span>
     22            <span><?php esc_html_e( 'Preliminary Budget', 'wordcamporg' ); ?></span>
    2323        </a>
    2424        <?php elseif ( $budget['status'] == 'approved' ) : ?>
     
    2727            <svg width="20" height="20" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>
    2828
    29             <span>Approved Budget</span>
     29            <span><?php esc_html_e( 'Approved Budget', 'wordcamporg' ); ?></span>
    3030        </a>
    3131                <a href="<?php echo esc_url( add_query_arg( 'wcb-view', 'working' ) ); ?>"
    3232            class="nav-tab <?php if ( $view == 'working' ) { ?>nav-tab-active<?php } ?>">
    33             <span>Working Budget</span>
     33            <span><?php esc_html_e( 'Working Budget', 'wordcamporg' ); ?></span>
    3434        </a>
    3535        <?php endif; ?>
    36                 <!--<a href="#" class="nav-tab">Working Budget</a>-->
     36                <!--<a href="#" class="nav-tab"><?php esc_html_e( 'Working Budget', 'wordcamporg' ); ?></a>-->
    3737        </h2>
    3838
    3939    <?php if ( $budget['status'] == 'draft' ) : ?>
    40     <p style="max-width: 800px;">Welcome to your WordCamp budget, it's time to crunch some numbers! When you're done with the preliminary budget, hit the "Submit for Approval" button below – a WordCamp deputy will be notified and will review your work. If you're having trouble with these numbers, or if you have any questions, don't hesitate to reach out to your mentor or Central.</p>
    41     <?php elseif ( $budget['status'] == 'pending' ) : ?>
    42     <p style="max-width: 800px;">This budget has been submitted for approval. You will be notified when it is approved. Or not.</p>
    43     <?php elseif ( $budget['status'] == 'approved' && $view == 'approved' ) : ?>
    44     <p style="max-width: 800px;">This budget has been approved and can not be modified. Use the working budget if you'd like to play around with numbers.</p>
    45     <?php elseif ( $view == 'working' ) : ?>
    46     <p style="max-width: 800px;">Welcome to your working budget. Feel free to play around with numbers here. They will not affect your approved budget.</p>
     40                <p style="max-width: 800px;"><?php esc_html_e( 'Welcome to your WordCamp budget, it\'s time to crunch some numbers! When you\'re done with the preliminary budget, hit the "Submit for Approval" button below – a WordCamp deputy will be notified and will review your work. If you\'re having trouble with these numbers, or if you have any questions, don\'t hesitate to reach out to your mentor or Central.', 'wordcamporg' ); ?></p>
     41                <?php elseif ( $budget['status'] == 'pending' ) : ?>
     42                <p style="max-width: 800px;"><?php esc_html_e( 'This budget has been submitted for approval. You will be notified when it is reviewed.', 'wordcamporg' ); ?></p>
     43                <?php elseif ( $budget['status'] == 'approved' && $view == 'approved' ) : ?>
     44                <p style="max-width: 800px;"><?php esc_html_e( "This budget has been approved and cannot be modified. Use the working budget if you'd like to play around with numbers.", 'wordcamporg' ); ?></p>
     45                <?php elseif ( $view == 'working' ) : ?>
     46                <p style="max-width: 800px;"><?php esc_html_e( 'Welcome to your working budget. Feel free to play around with numbers here. They will not affect your approved budget.', 'wordcamporg' ); ?></p>
    4747    <?php endif; ?>
    4848
    4949    <div class="left">
    50         <h2>Event Data</h2>
     50        <h2><?php esc_html_e( 'Event Data', 'wordcamporg' ); ?></h2>
    5151        <table class="wcb-budget-container">
    5252            <tbody>
    5353                <tr class="wcb-group-header">
    54                     <th style="width: 50%;">Name</th>
    55                     <th style="width: 50%;">Value</th>
     54                    <th style="width: 50%;"><?php esc_html_e( 'Name',  'wordcamporg' ); ?></th>
     55                    <th style="width: 50%;"><?php esc_html_e( 'Value', 'wordcamporg' ); ?></th>
    5656                </tr>
    5757                <tr class="wcb-meta-placeholder" style="display: none;">
     
    6262    </div>
    6363    <div class="right">
    64         <h2>Summary</h2>
     64        <h2><?php esc_html_e( 'Summary', 'wordcamporg' ); ?></h2>
    6565        <div class="wcb-summary-placeholder"></div>
    6666    </div>
     
    6868    <div class="clear"></div>
    6969
    70     <h2>Expenses</h2>
     70    <h2><?php esc_html_e( 'Expenses', 'wordcamporg' ); ?></h2>
    7171    <table class="wcb-budget-container">
    7272        <tbody>
    7373            <tr class="wcb-group-header">
    74                 <th style="width: 20%;">Category</th>
    75                 <th style="width: 40%;">Detail</th>
    76                 <th style="width: 25%;" class="amount">Amount</th>
     74                <th style="width: 20%;"><?php esc_html_e( 'Category', 'wordcamporg' ); ?></th>
     75                <th style="width: 40%;"><?php esc_html_e( 'Detail',   'wordcamporg' ); ?></th>
     76                <th style="width: 25%;" class="amount"><?php esc_html_e( 'Amount', 'wordcamporg' ); ?></th>
    7777                <th style="width: 15%;"></th>
    7878            </tr>
     
    8080            <tr class="wcb-expense-placeholder">
    8181                <?php if ( $editable ) : ?>
    82                 <td colspan="4">New Expense Item</td>
     82                <td colspan="4"><?php esc_html_e( 'New Expense Item', 'wordcamporg' ); ?></td>
    8383                <?php endif; ?>
    8484            </tr>
     
    8686    </table>
    8787
    88     <h2>Income</h2>
     88    <h2><?php esc_html_e( 'Income', 'wordcamporg' ); ?></h2>
    8989    <table class="wcb-budget-container">
    9090        <tbody>
    9191            <tr class="wcb-group-header">
    92                 <th style="width: 20%;">Category</th>
    93                 <th style="width: 40%;">Detail</th>
    94                 <th style="width: 25%;" class="amount">Amount</th>
     92                <th style="width: 20%;"><?php esc_html_e( 'Category', 'wordcamporg' ); ?></th>
     93                <th style="width: 40%;"><?php esc_html_e( 'Detail',   'wordcamporg' ); ?></th>
     94                <th style="width: 25%;" class="amount"><?php esc_html_e( 'Amount', 'wordcamporg' ); ?></th>
    9595                <th style="width: 15%;"></th>
    9696            </tr>
     
    9898            <tr class="wcb-income-placeholder">
    9999                <?php if ( $editable ) : ?>
    100                 <td colspan="4">New Income Item</td>
     100                <td colspan="4"><?php esc_html_e( 'New Income Item', 'wordcamporg' ); ?></td>
    101101                <?php endif; ?>
    102102            </tr>
     
    110110        <?php if ( $budget['status'] == 'draft' ) : ?>
    111111        <p class="submit">
    112             <?php submit_button( 'Save Draft', 'secondary', 'wcb-budget-save-draft', false ); ?>
    113             <?php submit_button( 'Save &amp; Request Review', 'secondary', 'wcb-budget-request-review', false ); ?>
    114             <a href="<?php echo admin_url( 'admin.php?page=wordcamp-budget' ); ?>" class="button">Cancel Changes</a>
    115             <?php submit_button( 'Submit for Approval', 'primary', 'wcb-budget-submit', false ); ?>
     112            <?php submit_button( esc_html__( 'Save Draft', 'wordcamporg' ), 'secondary', 'wcb-budget-save-draft', false ); ?>
     113            <?php submit_button( esc_html__( 'Save &amp; Request Review', 'wordcamporg' ), 'secondary', 'wcb-budget-request-review', false ); ?>
     114            <a href="<?php echo admin_url( 'admin.php?page=wordcamp-budget' ); ?>" class="button"><?php esc_html_e( 'Cancel Changes', 'wordcamporg' ); ?></a>
     115            <?php submit_button( esc_html__( 'Submit for Approval', 'wordcamporg' ), 'primary', 'wcb-budget-submit', false ); ?>
    116116        </p>
    117117        <?php elseif ( $budget['status'] == 'pending' && current_user_can( 'wcb_approve_budget' ) ) : ?>
    118118        <p class="submit">
    119             <?php submit_button( 'Approve', 'primary', 'wcb-budget-approve', false ); ?>
    120             <?php submit_button( 'Reject', 'primary', 'wcb-budget-reject', false ); ?>
     119            <?php submit_button( esc_html__( 'Approve', 'wordcamporg' ), 'primary', 'wcb-budget-approve', false ); ?>
     120            <?php submit_button( esc_html__( 'Reject', 'wordcamporg' ), 'primary', 'wcb-budget-reject', false ); ?>
    121121        </p>
    122122        <?php elseif ( $budget['status'] == 'approved' && $view == 'working' ) : ?>
    123123        <p class="submit">
    124             <?php submit_button( 'Update Working Budget', 'primary', 'wcb-budget-update-working', false ); ?>
    125             <a href="<?php echo admin_url( 'admin.php?page=wordcamp-budget&wcb-view=working' ); ?>" class="button">Cancel Changes</a>
    126             <?php submit_button( 'Reset to Approved Budget', 'secondary', 'wcb-budget-reset', false ); ?>
     124            <?php submit_button( esc_html__( 'Update Working Budget', 'wordcamporg' ), 'primary', 'wcb-budget-update-working', false ); ?>
     125            <a href="<?php echo admin_url( 'admin.php?page=wordcamp-budget&wcb-view=working' ); ?>" class="button"><?php esc_html_e( 'Cancel Changes', 'wordcamporg' ); ?></a>
     126            <?php submit_button( esc_html__( 'Reset to Approved Budget', 'wordcamporg' ), 'secondary', 'wcb-budget-reset', false ); ?>
    127127        </p>
    128128        <?php endif; ?>
     
    137137        </tr>
    138138        <tr>
    139             <td>Income</td>
     139            <td><?php esc_html_e( 'Income', 'wordcamporg' ); ?></td>
    140140            <td class="amount">{{data.income}}</td>
    141141        </tr>
    142142        <tr>
    143             <td>Expenses</td>
     143            <td><?php esc_html_e( 'Expenses', 'wordcamporg' ); ?></td>
    144144            <td class="amount">{{data.expenses}}</td>
    145145        </tr>
    146146        <tr>
    147             <td>Variance</td>
     147            <td><?php esc_html_e( 'Variance', 'wordcamporg' ); ?></td>
    148148            <td class="amount <# if (data.variance_raw < 0) { #>wcb-negative<# } #>">{{data.variance}}</td>
    149149        </tr>
    150150        <tr>
    151             <td>Cost Per Person Per Day</td>
     151            <td><?php esc_html_e( 'Cost Per Person Per Day', 'wordcamporg' ); ?></td>
    152152            <td class="amount">{{data.per_person}}</td>
    153153        </tr>
     
    164164            <td class="amount">
    165165                <# if (data.variance_raw < 0) { #>
    166                 <a href="#" target="_blank" class="inspire">inspire me</a>
     166                <a href="#" target="_blank" class="inspire"><?php esc_html_e( 'inspire me', 'wordcamporg' ); ?></a>
    167167                <# } #>
    168168            </td>
     
    210210            <# } else { #>
    211211            <td style="width: 20%">
    212                 Income
     212                <?php esc_html_e( 'Income', 'wordcamporg' ); ?>
    213213                <input type="hidden" class="category" value="{{data.category}}" />
    214214            </td>
     
    219219                {{wcb.categories[data.category]}}
    220220            <# } else { #>
    221                 Income
     221                <?php esc_html_e( 'Income', 'wordcamporg' ); ?>
    222222            <# } #>
    223223            </td>
     
    275275        <td style="width: 15%" class="actions">
    276276            <# if (wcb.editable) { #>
    277             <a href="#" class="move">Move</a>
    278             <a href="#" class="delete">Delete</a>
     277            <a href="#" class="move"><?php esc_html_e( 'Move', 'wordcamporg' ); ?></a>
     278            <a href="#" class="delete"><?php esc_html_e( 'Delete', 'wordcamporg' ); ?></a>
    279279            <# } #>
    280280        </td>
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/input-country.php

    r2682 r4967  
    1212                        <?php __checked_selected_helper( $required, true, true, 'required' ); ?>
    1313                >
    14                         <option value="">(None)</option>
     14                        <option value=""><?php esc_html_e( '(None)', 'wordcamporg' ); ?></option>
    1515                        <?php foreach ( $options as $value => $option_label ) : ?>
    1616                                <option value="<?php echo esc_attr( $value ); ?>" <?php selected( $value, $selected ); ?>><?php
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/input-select.php

    r2682 r4967  
    1313                >
    1414                        <option value="null-select-one">
    15                                 <?php printf( __( '-- Select a %s --', 'wordcamporg' ), $label ); ?>
     15                                <?php printf( esc_html__( '-- Select a %s --', 'wordcamporg' ), $label ); ?>
    1616                        </option>
    1717                        <option value="null-separator1"></option>
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/metabox-general.php

    r2700 r4967  
    11<table class="form-table">
    22        <?php
    3                 $this->render_textarea_input( $post, 'Description', 'description' );
    4                 $this->render_text_input( $post, 'Invoice Number', 'invoice_number' );
    5                 $this->render_text_input( $post, 'Invoice date', 'invoice_date', '', 'date' );
    6                 $this->render_text_input( $post, 'Requested date for payment/due by', 'due_by', '', 'date' );
    7                 $this->render_text_input( $post, 'Amount', 'payment_amount', 'No commas, thousands separators or currency symbols. Ex. 1234.56' );
    8                 $this->render_select_input( $post, 'Currency', 'currency' );
    9                 $this->render_select_input( $post, 'Category', 'payment_category' );
     3                $this->render_textarea_input( $post, esc_html__( 'Description', 'wordcamporg' ), 'description' );
     4                $this->render_text_input( $post, esc_html__( 'Invoice Number', 'wordcamporg' ), 'invoice_number' );
     5                $this->render_text_input( $post, esc_html__( 'Invoice date', 'wordcamporg' ), 'invoice_date', '', 'date' );
     6                $this->render_text_input( $post, esc_html__( 'Requested date for payment/due by', 'wordcamporg' ), 'due_by', '', 'date' );
     7                $this->render_text_input( $post, esc_html__( 'Amount', 'wordcamporg' ), 'payment_amount', esc_html__( 'No commas, thousands separators or currency symbols. Ex. 1234.56', 'wordcamporg' ) );
     8                $this->render_select_input( $post, esc_html__( 'Currency', 'wordcamporg' ), 'currency' );
     9                $this->render_select_input( $post, esc_html__( 'Category', 'wordcamporg' ), 'payment_category' );
    1010        ?>
    1111
     
    1313                $this->render_text_input(
    1414                        $post,
    15                         'Other Category',
     15                        esc_html__( 'Other Category', 'wordcamporg' ),
    1616                        'other_category_explanation',
    17                         __( 'Please describe what category this request fits under.', 'wordcamporg' ),
     17                        esc_html__( 'Please describe what category this request fits under.', 'wordcamporg' ),
    1818                        'text',
    1919                        isset( $assigned_category->name ) && 'Other' == $assigned_category->name ? array() : array( 'hidden')    // todo i18n, see notes in insert_default_terms()
     
    2121        ?>
    2222
    23         <?php $this->render_files_input( $post, 'Files', 'files', __( 'Attach supporting documentation including invoices, contracts, or other vendor correspondence. If no supporting documentation is available, please indicate the reason in the notes below.', 'wordcamporg' ) ); ?>
    24         <?php $this->render_textarea_input( $post, 'Notes', 'general_notes', 'Any other details you want to share.', false ); ?>
     23        <?php $this->render_files_input(
     24                $post,
     25                esc_html__( 'Files', 'wordcamporg' ),
     26                'files',
     27                esc_html__( 'Attach supporting documentation including invoices, contracts, or other vendor correspondence. If no supporting documentation is available, please indicate the reason in the notes below.', 'wordcamporg' )
     28        ); ?>
     29
     30        <?php $this->render_textarea_input(
     31                $post,
     32                esc_html__( 'Notes', 'wordcamporg' ),
     33                'general_notes',
     34                esc_html__( 'Any other details you want to share.', 'wordcamporg' ),
     35                false
     36        ); ?>
    2537</table>
    2638
    2739<p class="wcb-form-required">
    28         <?php _e( '* required', 'wordcamporg' ); ?>
     40        <?php esc_html_e( '* required', 'wordcamporg' ); ?>
    2941</p>
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/metabox-payment.php

    r2701 r4967  
    99        <table class="form-table">
    1010                <?php if ( $box['args']['show_vendor_requested_payment_method'] ) : ?>
    11                         <?php $this->render_textarea_input( $post, 'Did the vendor request a specific type of payment?', 'vendor_requested_payment_method', 'Add any relevant details', false ); ?>
     11                        <?php $this->render_textarea_input( $post, esc_html__( 'Did the vendor request a specific type of payment?', 'wordcamporg' ), 'vendor_requested_payment_method', esc_html__( 'Add any relevant details', 'wordcamporg' ), false ); ?>
    1212                <?php endif;?>
    1313
    14                 <?php $this->render_radio_input( $post, 'Payment Method', 'payment_method' ); ?>
     14                <?php $this->render_radio_input( $post, esc_html__( 'Payment Method', 'wordcamporg' ), 'payment_method' ); ?>
    1515        </table>
    1616
    1717        <table id="payment_method_direct_deposit_fields" class="form-table payment_method_fields <?php echo 'Direct Deposit' == $selected_payment_method ? 'active' : 'hidden'; ?>">
    18                 <?php $this->render_text_input( $post, 'Bank Name', 'ach_bank_name' ); ?>
    19                 <?php $this->render_radio_input( $post, 'Account Type', 'ach_account_type' ); ?>
    20                 <?php $this->render_text_input( $post, 'Routing Number', 'ach_routing_number' ); ?>
    21                 <?php $this->render_text_input( $post, 'Account Number', 'ach_account_number' ); ?>
    22                 <?php $this->render_text_input( $post, 'Account Holder Name', 'ach_account_holder_name' ); ?>
     18                <?php $this->render_text_input(  $post, esc_html__( 'Bank Name',           'wordcamporg' ),     'ach_bank_name'          ); ?>
     19                <?php $this->render_radio_input( $post, esc_html__( 'Account Type',        'wordcamporg' ),     'ach_account_type'        ); ?>
     20                <?php $this->render_text_input(  $post, esc_html__( 'Routing Number',      'wordcamporg' ),     'ach_routing_number'      ); ?>
     21                <?php $this->render_text_input(  $post, esc_html__( 'Account Number',      'wordcamporg' ),     'ach_account_number'      ); ?>
     22                <?php $this->render_text_input(  $post, esc_html__( 'Account Holder Name', 'wordcamporg' ),     'ach_account_holder_name' ); ?>
    2323        </table>
    2424
    2525        <div id="payment_method_check_fields" class="form-table payment_method_fields <?php echo 'Check' == $selected_payment_method ? 'active' : 'hidden'; ?>">
    2626                <table>
    27                         <?php $this->render_text_input( $post, 'Payable To', 'payable_to' ); ?>
    28                         <?php $this->render_text_input(    $post, 'Street Address',    'check_street_address' ); ?>
    29                         <?php $this->render_text_input(    $post, 'City',              'check_city'           ); ?>
    30                         <?php $this->render_text_input(    $post, 'State / Province', 'check_state'          ); ?>
    31                         <?php $this->render_text_input(    $post, 'ZIP / Postal Code', 'check_zip_code'       ); ?>
    32                         <?php $this->render_country_input( $post, 'Country',          'check_country'        ); ?>
     27                        <?php $this->render_text_input(    $post, esc_html__( 'Payable To',        'wordcamporg' ), 'payable_to'          ); ?>
     28                        <?php $this->render_text_input(    $post, esc_html__( 'Street Address',    'wordcamporg' ), 'check_street_address' ); ?>
     29                        <?php $this->render_text_input(    $post, esc_html__( 'City',              'wordcamporg' ), 'check_city'           ); ?>
     30                        <?php $this->render_text_input(    $post, esc_html__( 'State / Province',  'wordcamporg' ), 'check_state'          ); ?>
     31                        <?php $this->render_text_input(    $post, esc_html__( 'ZIP / Postal Code', 'wordcamporg' ), 'check_zip_code'       ); ?>
     32                        <?php $this->render_country_input( $post, esc_html__( 'Country',           'wordcamporg' ), 'check_country'        ); ?>
    3333                </table>
    3434        </div>
    3535
    3636        <p id="payment_method_credit_card_fields" class="description payment_method_fields <?php echo 'Credit Card' == $selected_payment_method ? 'active' : 'hidden'; ?>">
    37                 <?php _e( 'Please make sure that you upload an authorization form above, if one is required by the vendor.', 'wordcamporg' ); ?>
     37                <?php esc_html_e( 'Please make sure that you upload an authorization form above, if one is required by the vendor.', 'wordcamporg' ); ?>
    3838        </p>
    3939
    4040        <div id="payment_method_wire_fields" class="form-table payment_method_fields <?php echo 'Wire' == $selected_payment_method ? 'active' : 'hidden'; ?>">
    4141                <h3>
    42                         <?php _e( "Beneficiary's Bank", 'wordcamporg' ); ?>
     42                        <?php esc_html_e( 'Beneficiary’s Bank', 'wordcamporg' ); ?>
    4343                </h3>
    4444
    4545                <table>
    46                         <?php $this->render_text_input( $post, 'Beneficiary’s Bank Name',              'bank_name' ); ?>
    47                         <?php $this->render_text_input( $post, 'Beneficiary’s Bank Street Address',    'bank_street_address' ); ?>
    48                         <?php $this->render_text_input( $post, 'Beneficiary’s Bank City',              'bank_city' ); ?>
    49                         <?php $this->render_text_input( $post, 'Beneficiary’s Bank State / Province',  'bank_state' ); ?>
    50                         <?php $this->render_text_input( $post, 'Beneficiary’s Bank ZIP / Postal Code', 'bank_zip_code' ); ?>
    51                         <?php $this->render_country_input( $post, 'Beneficiary’s Bank Country',        'bank_country_iso3166' ); ?>
    52                         <?php $this->render_text_input( $post, 'Beneficiary’s Bank SWIFT BIC',         'bank_bic' ); ?>
    53                         <?php $this->render_text_input( $post, 'Beneficiary’s Account Number or IBAN', 'beneficiary_account_number' ); ?>
     46                        <?php $this->render_text_input( $post, esc_html__( 'Beneficiary’s Bank Name', 'wordcamporg' ),              'bank_name' ); ?>
     47                        <?php $this->render_text_input( $post, esc_html__( 'Beneficiary’s Bank Street Address', 'wordcamporg' ),    'bank_street_address' ); ?>
     48                        <?php $this->render_text_input( $post, esc_html__( 'Beneficiary’s Bank City', 'wordcamporg' ),              'bank_city' ); ?>
     49                        <?php $this->render_text_input( $post, esc_html__( 'Beneficiary’s Bank State / Province', 'wordcamporg' ),  'bank_state' ); ?>
     50                        <?php $this->render_text_input( $post, esc_html__( 'Beneficiary’s Bank ZIP / Postal Code', 'wordcamporg' ), 'bank_zip_code' ); ?>
     51                        <?php $this->render_country_input( $post, esc_html__( 'Beneficiary’s Bank Country', 'wordcamporg' ),        'bank_country_iso3166' ); ?>
     52                        <?php $this->render_text_input( $post, esc_html__( 'Beneficiary’s Bank SWIFT BIC', 'wordcamporg' ),         'bank_bic' ); ?>
     53                        <?php $this->render_text_input( $post, esc_html__( 'Beneficiary’s Account Number or IBAN', 'wordcamporg' ), 'beneficiary_account_number' ); ?>
    5454                </table>
    5555
    5656                <hr />
    5757                <h3>
    58                         <?php _e( "Intermediary Bank", 'wordcamporg' ); ?>
     58                        <?php esc_html_e( 'Intermediary Bank', 'wordcamporg' ); ?>
    5959                </h3>
    6060
    6161                <?php $this->render_checkbox_input(
    6262                        $post,
    63                         __( 'Send this payment through an intermediary bank', 'wordcamporg' ),
     63                        esc_html__( 'Send this payment through an intermediary bank', 'wordcamporg' ),
    6464                        'needs_intermediary_bank'
    6565                ); ?>
    6666
    6767                <table id="intermediary_bank_fields">
    68                         <?php $this->render_text_input( $post, 'Intermediary Bank Name',              'interm_bank_name' ); ?>
    69                         <?php $this->render_text_input( $post, 'Intermediary Bank Street Address',    'interm_bank_street_address' ); ?>
    70                         <?php $this->render_text_input( $post, 'Intermediary Bank City',              'interm_bank_city' ); ?>
    71                         <?php $this->render_text_input( $post, 'Intermediary Bank State / Province',  'interm_bank_state' ); ?>
    72                         <?php $this->render_text_input( $post, 'Intermediary Bank ZIP / Postal Code', 'interm_bank_zip_code' ); ?>
    73                         <?php $this->render_country_input( $post, 'Intermediary Bank Country',        'interm_bank_country_iso3166' ); ?>
    74                         <?php $this->render_text_input( $post, 'Intermediary Bank SWIFT BIC',         'interm_bank_swift' ); ?>
    75                         <?php $this->render_text_input( $post, 'Intermediary Bank Account',           'interm_bank_account' ); ?>
     68                        <?php $this->render_text_input( $post, esc_html__( 'Intermediary Bank Name', 'wordcamporg' ),              'interm_bank_name' ); ?>
     69                        <?php $this->render_text_input( $post, esc_html__( 'Intermediary Bank Street Address', 'wordcamporg' ),    'interm_bank_street_address' ); ?>
     70                        <?php $this->render_text_input( $post, esc_html__( 'Intermediary Bank City', 'wordcamporg' ),              'interm_bank_city' ); ?>
     71                        <?php $this->render_text_input( $post, esc_html__( 'Intermediary Bank State / Province', 'wordcamporg' ),  'interm_bank_state' ); ?>
     72                        <?php $this->render_text_input( $post, esc_html__( 'Intermediary Bank ZIP / Postal Code', 'wordcamporg' ), 'interm_bank_zip_code' ); ?>
     73                        <?php $this->render_country_input( $post, esc_html__( 'Intermediary Bank Country', 'wordcamporg' ),        'interm_bank_country_iso3166' ); ?>
     74                        <?php $this->render_text_input( $post, esc_html__( 'Intermediary Bank SWIFT BIC', 'wordcamporg' ),         'interm_bank_swift' ); ?>
     75                        <?php $this->render_text_input( $post, esc_html__( 'Intermediary Bank Account', 'wordcamporg' ),           'interm_bank_account' ); ?>
    7676                </table>
    7777
    7878                <hr />
    7979                <h3>
    80                         <?php _e( "Beneficiary", 'wordcamporg' ); ?>
     80                        <?php esc_html_e( 'Beneficiary', 'wordcamporg' ); ?>
    8181                </h3>
    8282
    8383                <table>
    84                         <?php $this->render_text_input( $post, 'Beneficiary’s Name',              'beneficiary_name' ); ?>
    85                         <?php $this->render_text_input( $post, 'Beneficiary’s Street Address',    'beneficiary_street_address' ); ?>
    86                         <?php $this->render_text_input( $post, 'Beneficiary’s City',              'beneficiary_city' ); ?>
    87                         <?php $this->render_text_input( $post, 'Beneficiary’s State / Province',  'beneficiary_state' ); ?>
    88                         <?php $this->render_text_input( $post, 'Beneficiary’s ZIP / Postal Code', 'beneficiary_zip_code' ); ?>
    89                         <?php $this->render_country_input( $post, 'Beneficiary’s Country',        'beneficiary_country_iso3166' ); ?>
     84                        <?php $this->render_text_input( $post, esc_html__( 'Beneficiary’s Name', 'wordcamporg' ),              'beneficiary_name' ); ?>
     85                        <?php $this->render_text_input( $post, esc_html__( 'Beneficiary’s Street Address', 'wordcamporg' ),    'beneficiary_street_address' ); ?>
     86                        <?php $this->render_text_input( $post, esc_html__( 'Beneficiary’s City', 'wordcamporg' ),              'beneficiary_city' ); ?>
     87                        <?php $this->render_text_input( $post, esc_html__( 'Beneficiary’s State / Province', 'wordcamporg' ),  'beneficiary_state' ); ?>
     88                        <?php $this->render_text_input( $post, esc_html__( 'Beneficiary’s ZIP / Postal Code', 'wordcamporg' ), 'beneficiary_zip_code' ); ?>
     89                        <?php $this->render_country_input( $post, esc_html__( 'Beneficiary’s Country', 'wordcamporg' ),        'beneficiary_country_iso3166' ); ?>
    9090                </table>
    9191        </div>
     
    9393
    9494<p class="wcb-form-required">
    95         <?php _e( '* required', 'wordcamporg' ); ?>
     95        <?php esc_html_e( '* required', 'wordcamporg' ); ?>
    9696</p>
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/metabox-status.php

    r3617 r4967  
    55                <div id="minor-publishing-actions">
    66                        <div id="save-action">
    7                                 <?php submit_button( __( 'Save Draft', 'wordcamporg' ), 'button', 'wcb-save-draft', false ); ?>
     7                                <?php submit_button( esc_html__( 'Save Draft', 'wordcamporg' ), 'button', 'wcb-save-draft', false ); ?>
    88                                <span class="spinner"></span>
    99                        </div>
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/metabox-vendor.php

    r2701 r4967  
    11<table class="form-table">
    22        <?php
    3                 $this->render_text_input( $post, 'Vendor Name', 'vendor_name' );
    4                 $this->render_text_input( $post, 'Contact Person', 'vendor_contact_person' );
    5                 $this->render_text_input( $post, 'Phone Number', 'vendor_phone_number', '', 'tel' );
    6                 $this->render_text_input( $post, 'Email Address', 'vendor_email_address', '', 'email' );
    7                 $this->render_text_input( $post, 'Street Address', 'vendor_street_address' );
    8                 $this->render_text_input( $post, 'City', 'vendor_city' );
    9                 $this->render_text_input( $post, 'State / Province', 'vendor_state' );
    10                 $this->render_text_input( $post, 'ZIP / Postal Code', 'vendor_zip_code' );
    11                 $this->render_country_input( $post, 'Country', 'vendor_country_iso3166' );
     3                $this->render_text_input( $post, __( 'Vendor Name', 'wordcamporg' ), 'vendor_name' );
     4                $this->render_text_input( $post, __( 'Contact Person', 'wordcamporg' ), 'vendor_contact_person' );
     5                $this->render_text_input( $post, __( 'Phone Number', 'wordcamporg' ), 'vendor_phone_number', '', 'tel' );
     6                $this->render_text_input( $post, __( 'Email Address', 'wordcamporg' ), 'vendor_email_address', '', 'email' );
     7                $this->render_text_input( $post, __( 'Street Address', 'wordcamporg' ), 'vendor_street_address' );
     8                $this->render_text_input( $post, __( 'City', 'wordcamporg' ), 'vendor_city' );
     9                $this->render_text_input( $post, __( 'State / Province', 'wordcamporg' ), 'vendor_state' );
     10                $this->render_text_input( $post, __( 'ZIP / Postal Code', 'wordcamporg' ), 'vendor_zip_code' );
     11                $this->render_country_input( $post, __( 'Country', 'wordcamporg' ), 'vendor_country_iso3166' );
    1212        ?>
    1313</table>
    1414
    1515<p class="wcb-form-required">
    16         <?php _e( '* required', 'wordcamporg' ); ?>
     16        <?php esc_html_e( '* required', 'wordcamporg' ); ?>
    1717</p>
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/reimbursement-request/metabox-expenses.php

    r2683 r4967  
    1818        </div>
    1919
    20         <?php submit_button( __( 'Add Another Expense', 'wordcamporg' ), 'secondary', 'wcbrr-add-another-expense' ); ?>
     20        <?php submit_button( esc_html__( 'Add Another Expense', 'wordcamporg' ), 'secondary', 'wcbrr-add-another-expense' ); ?>
    2121</fieldset>
    2222
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/reimbursement-request/metabox-notes.php

    r2396 r4967  
    3535
    3636        <?php submit_button(
    37                 __( 'Add Note', 'wordcamporg' ),
     37                esc_html__( 'Add Note', 'wordcamporg' ),
    3838                'secondary',
    3939                'wcbrr_add_note'
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/reimbursement-request/metabox-status.php

    r3105 r4967  
    1111                <div id="minor-publishing-actions">
    1212                        <div id="save-action">
    13                                 <?php submit_button( __( 'Save Draft', 'wordcamporg' ), 'button', 'wcb-save-draft', false ); ?>
     13                                <?php submit_button( esc_html__( 'Save Draft', 'wordcamporg' ), 'button', 'wcb-save-draft', false ); ?>
    1414                                <span class="spinner"></span>
    1515                        </div>
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/sponsor-invoice/metabox-status.php

    r2692 r4967  
    1111                        <div id="minor-publishing-actions">
    1212                                <div id="save-action">
    13                                         <?php submit_button( __( 'Save Draft' ), 'secondary', 'wcb-save-draft', false ); ?>
     13                                        <?php submit_button( esc_html__( 'Save Draft' ), 'secondary', 'wcb-save-draft', false ); ?>
    1414                                </div>
    1515                        </div>
     
    5252
    5353                        <div id="publishing-action">
    54                                 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr( __( 'Send Invoice', 'wordcamporg' ) ) ?>" />
     54                                <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr( esc_html__( 'Send Invoice', 'wordcamporg' ) ) ?>" />
    5555                                <?php submit_button(
    56                                         __( 'Send Invoice', 'wordcamporg' ),
     56                                        esc_html__( 'Send Invoice', 'wordcamporg' ),
    5757                                        'primary button-large',
    5858                                        'send-invoice',
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/sponsor-payment/main.php

    r4156 r4967  
    88        <div id="content" class="wcorg-sponsor-payment" role="main">
    99
    10                 <h1 class="entry-title">Sponsorship Payment</h1>
     10                <h1 class="entry-title"><?php esc_html_e( 'Sponsorship Payment', 'wordcamporg' ); ?></h1>
    1111
    1212                <?php if ( ! empty( $data['errors'] ) ) : ?>
    1313                        <?php foreach ( $data['errors'] as $error ) : ?>
    14                                 <p><strong>Error:</strong> <?php echo esc_html( $error ); ?></p>
     14                                <p><strong><?php esc_html_e( 'Error:', 'wordcamporg' ); ?></strong> <?php echo esc_html( $error ); ?></p>
    1515                        <?php endforeach; ?>
    1616                <?php endif; ?>
     
    1818                <?php if ( $data['step'] == STEP_SELECT_INVOICE ) : ?>
    1919
    20                         <p>Use this form to pay your WordCamp sponsorship fee to WordPress Community Support, PBC. If you did not receive an invoice ID yet, please get in touch with the event's Sponsorships Coordinator for more information.</p>
     20                        <p><?php esc_html_e( 'Use this form to pay your WordCamp sponsorship fee to WordPress Community Support, PBC. If you did not receive an invoice ID yet, please get in touch with the event\'s Sponsorships Coordinator for more information.', 'wordcamporg' ); ?></p>
    2121
    2222                        <form method="POST">
     
    2424                                <input type="hidden" name="sponsor_payment_submit" value="1" />
    2525
    26                                 <label>Event</label>
     26                                <label><?php esc_html_e( 'Event', 'wordcamporg' ); ?></label>
    2727                                <div class="control">
    2828                                        <select name="wordcamp_id">
    29                                                 <option value="" disabled selected>Select a WordCamp</option>
     29                                                <option value="" disabled selected><?php esc_html_e( 'Select a WordCamp', 'wordcamporg' ); ?></option>
    3030                                                <?php foreach ( $data['wordcamps'] as $wordcamp ) : ?>
    3131                                                <option value="<?php echo esc_attr( $wordcamp->ID ); ?>"><?php echo esc_html( $wordcamp->post_title ); ?></option>
     
    3434                                </div>
    3535
    36                                 <label>Invoice ID</label>
     36                                <label><?php esc_html_e( 'Invoice ID', 'wordcamporg' ); ?></label>
    3737                                <div class="control">
    3838                                        <input type="text" name="invoice_id" />
    3939                                </div>
    4040
    41                                 <label>Currency</label>
     41                                <label><?php esc_html_e( 'Currency', 'wordcamporg' ); ?></label>
    4242                                <div class="control">
    4343                                        <select name="currency">
    44                                                 <option value="" disabled selected>Select a Currency</option>
     44                                                <option value="" disabled selected><?php esc_html_e( 'Select a Currency', 'wordcamporg' ); ?></option>
    4545                                                <?php foreach ( $data['currencies'] as $currency_key => $currency_name ) : ?>
    4646                                                <option value="<?php echo esc_attr( $currency_key ); ?>">
     
    5151                                </div>
    5252
    53                                 <label>Amount</label>
     53                                <label><?php esc_html_e( 'Amount', 'wordcamporg' ); ?></label>
    5454                                <div class="control">
    5555                                        <input type="text" name="amount" />
     
    5858                                <div class="clear"></div>
    5959
    60                                 <input type="submit" value="Continue" />
     60                                <input type="submit" value="<?php esc_attr_e( 'Continue', 'wordcamporg' ); ?>" />
    6161                        </form>
    6262
    6363                <?php elseif ( $data['step'] == STEP_PAYMENT_DETAILS ) : ?>
    6464
    65                         <p>Please review the details below and hit "Make a Payment" when you're ready.</p>
     65                        <p><?php esc_html_e( 'Please review the details below and hit "Make a Payment" when you\'re ready.', 'wordcamporg' ); ?></p>
    6666
    6767                        <table>
    6868                                <tr>
    69                                         <td>Invoice</td>
     69                                        <td><?php esc_html_e( 'Invoice', 'wordcamporg' ); ?></td>
    7070                                        <td><?php echo esc_html( $data['payment']['invoice_id'] ); ?></td>
    7171                                </tr>
    7272                                <tr>
    73                                         <td>Event</td>
     73                                        <td><?php esc_html_e( 'Event', 'wordcamporg' ); ?></td>
    7474                                        <td><?php echo esc_html( $data['payment']['wordcamp_obj']->post_title ); ?></td>
    7575                                </tr>
    7676                                <tr>
    77                                         <td>Currency</td>
     77                                        <td><?php esc_html_e( 'Currency', 'wordcamporg' ); ?></td>
    7878                                        <td><?php echo esc_html( $data['payment']['currency'] ); ?></td>
    7979                                </tr>
    8080                                <tr>
    81                                         <td>Amount</td>
     81                                        <td><?php esc_html_e( 'Amount', 'wordcamporg' ); ?></td>
    8282                                        <td><?php echo number_format( round( $data['payment']['amount'], 2 ), 2, '.', ' ' ); ?></td>
    8383                                </tr>
     
    9595                                        data-currency="<?php echo esc_attr( $data['payment']['currency'] ); ?>"
    9696                                        data-name="WordPress Community Support, PBC"
    97                                         data-description="Event Sponsorship Payment"
     97                                        data-description="<?php esc_attr_e( 'Event Sponsorship Payment', 'wordcamporg' ); ?>"
    9898                                        data-image="https://stripe.com/img/documentation/checkout/marketplace.png"
    9999                                        data-locale="auto"
    100                                         data-panel-label="Pay"
    101                                         data-label="Make a Payment"
     100                                        data-panel-label="<?php esc_attr_e( 'Pay', 'wordcamporg' ); ?>"
     101                                        data-label="<?php esc_attr_e( 'Make a Payment', 'wordcamporg' ); ?>"
    102102                                        data-zip-code="true">
    103103                                </script>
     
    106106                <?php elseif ( $data['step'] == STEP_PAYMENT_SUCCESS ) : ?>
    107107
    108                         <p><strong>Success!</strong> Your payment has been received, thank you!</p>
     108                        <p><strong><?php esc_html_e( 'Success!', 'wordcamporg' ); ?></strong> <?php esc_html_e( 'Your payment has been received, thank you!', 'wordcamporg' ); ?></p>
    109109
    110110                        <ul>
    111                                 <li><a href="<?php echo esc_url( add_query_arg( 'again', 1 ) ); ?>">Make another payment</a></li>
    112                                 <li><a href="<?php echo esc_url( home_url( '/' ) ); ?>">Go back to Central</a></li>
     111                                <li><a href="<?php echo esc_url( add_query_arg( 'again', 1 ) ); ?>"><?php esc_html_e( 'Make another payment', 'wordcamporg' ); ?></a></li>
     112                                <li><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Go back to Central', 'wordcamporg' ); ?></a></li>
    113113                        </ul>
    114114
Note: See TracChangeset for help on using the changeset viewer.