Changeset 4967 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/wordcamp-budgets.php
- Timestamp:
- 02/21/2017 12:03:58 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/wordcamp-budgets.php
r4524 r4967 23 23 24 24 register_post_status( 'wcb-incomplete', array ( 25 'label' => _x( 'Incomplete', 'payment request', 'wordcamporg' ),25 'label' => esc_html_x( 'Incomplete', 'payment request', 'wordcamporg' ), 26 26 'public' => false, 27 27 'protected' => true, … … 34 34 35 35 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' ), 37 37 'public' => false, 38 38 'protected' => true, … … 45 45 46 46 register_post_status( 'wcb-approved', array ( 47 'label' => _x( 'Approved', 'payment request', 'wordcamporg' ),47 'label' => esc_html_x( 'Approved', 'payment request', 'wordcamporg' ), 48 48 'public' => false, 49 49 'protected' => true, … … 56 56 57 57 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' ), 59 59 'public' => false, 60 60 'protected' => true, … … 67 67 68 68 register_post_status( 'wcb-paid', array ( 69 'label' => _x( 'Paid', 'payment request', 'wordcamporg' ),69 'label' => esc_html_x( 'Paid', 'payment request', 'wordcamporg' ), 70 70 'public' => false, 71 71 'protected' => true, … … 78 78 79 79 register_post_status( 'wcb-failed', array ( 80 'label' => _x( 'Failed', 'payment request', 'wordcamporg' ),80 'label' => esc_html_x( 'Failed', 'payment request', 'wordcamporg' ), 81 81 'public' => false, 82 82 'protected' => true, … … 89 89 90 90 register_post_status( 'wcb-cancelled', array ( 91 'label' => _x( 'Cancelled', 'payment request', 'wordcamporg' ),91 'label' => esc_html_x( 'Cancelled', 'payment request', 'wordcamporg' ), 92 92 'public' => false, 93 93 'protected' => true, … … 109 109 public function register_budgets_menu() { 110 110 add_menu_page( 111 __( 'WordCamp Budget', 'wordcamporg' ),112 __( 'Budget', 'wordcamporg' ),111 esc_html__( 'WordCamp Budget', 'wordcamporg' ), 112 esc_html__( 'Budget', 'wordcamporg' ), 113 113 'manage_options', 114 114 'wordcamp-budget', … … 145 145 'wcbLocalizedStrings', // todo merge into WordCampBudgets var 146 146 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' ), 149 149 ) 150 150 ); … … 746 746 public static function get_payment_categories() { 747 747 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 order748 '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 758 758 ); 759 759 }
Note: See TracChangeset
for help on using the changeset viewer.