Changeset 8104
- Timestamp:
- 01/18/2019 08:23:53 PM (6 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-admin.php
r5136 r8104 109 109 110 110 ?> 111 <h3><?php _e( 'WordCamps', 'w cpt' ); ?></h3>111 <h3><?php _e( 'WordCamps', 'wordcamporg' ); ?></h3> 112 112 113 113 <table class="form-table"> 114 114 <tr valign="top"> 115 <th scope="row"><?php _e( 'WordCamps', 'w cpt' ); ?></th>115 <th scope="row"><?php _e( 'WordCamps', 'wordcamporg' ); ?></th> 116 116 <td> 117 117 -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-event/class-event-application.php
r8085 r8104 220 220 */ 221 221 public function notify_applicant_application_received( $email_address, $event_city ) { 222 //translators: Name of the event. E gs WordCamp.223 $subject = sprintf( __( "We've received your %s application", 'w pct' ), $this->get_event_label() );222 //translators: Name of the event. E.g. WordCamp or meetup. 223 $subject = sprintf( __( "We've received your %s application", 'wordcamporg' ), $this->get_event_label() ); 224 224 $headers = array( 'Reply-To: support@wordcamp.org' ); 225 //translators: Name and city of the event. E gs WordCamp inNew York.225 //translators: Name and city of the event. E.g. WordCamp New York. 226 226 $message = sprintf( 227 227 __( 228 228 "Thank you for applying to organize a %1\$s in %2\$s! We'll send you a follow-up e-mail once we've had a chance to review your application.", 229 'w pct'229 'wordcamporg' 230 230 ), 231 231 $this->get_event_label(), -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-loader.php
r8085 r8104 28 28 */ 29 29 class WCPT_Loader { 30 31 30 /** 32 31 * The main WordCamp Post Type loader … … 87 86 } 88 87 } 89 90 88 endif; // class_exists check. 91 89 -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-meetup/class-meetup-admin.php
r8085 r8104 90 90 $columns = array( 91 91 'cb' => '<input type="checkbox" />', 92 'title' => __( 'Title', 'wcpt' ),93 'taxonomy-meetup_tags' => __( 'Meetup Tags', 'wcpt' ),94 'organizer' => __( 'Organizer', 'wcpt' ),95 'date' => __( 'Date', 'wcpt' ),96 'meetup.com_url' => __( 'Meetup URL', 'wcpt' ),97 'helpscout_url' => __( 'HelpScout Link', 'w cpt' ),92 'title' => __( 'Title', 'wordcamporg' ), 93 'taxonomy-meetup_tags' => __( 'Meetup Tags', 'wordcamporg' ), 94 'organizer' => __( 'Organizer', 'wordcamporg' ), 95 'date' => __( 'Date', 'wordcamporg' ), 96 'meetup.com_url' => __( 'Meetup URL', 'wordcamporg' ), 97 'helpscout_url' => __( 'HelpScout Link', 'wordcamporg' ), 98 98 ); 99 99 … … 185 185 add_meta_box( 186 186 'wcpt_meetup_meetup_information', 187 __( 'Meetup Information', 'w cpt' ),187 __( 'Meetup Information', 'wordcamporg' ), 188 188 array( $this, 'wcpt_meetup_information_metabox' ), 189 189 Meetup_Application::POST_TYPE, … … 193 193 add_meta_box( 194 194 'wcpt_meetup_application', 195 __( 'Application Information', 'w cpt' ),195 __( 'Application Information', 'wordcamporg' ), 196 196 array( $this, 'wcpt_application_metabox' ), 197 197 Meetup_Application::POST_TYPE, … … 201 201 add_meta_box( 202 202 'wcpt_meetup_organizer_info', 203 __( 'Organizer Information', 'w cpt' ),203 __( 'Organizer Information', 'wordcamporg' ), 204 204 array( $this, 'wcpt_organizer_info_metabox' ), 205 205 Meetup_Application::POST_TYPE, … … 209 209 add_meta_box( 210 210 'wcpt_meetup_swag', 211 __( 'Swag Information', 'w cpt' ),211 __( 'Swag Information', 'wordcamporg' ), 212 212 array( $this, 'wcpt_swag_metabox' ), 213 213 Meetup_Application::POST_TYPE, … … 217 217 add_meta_box( 218 218 'wcpt_meetup_metadata', 219 __( 'Meetup.com API sync', 'w cpt' ),219 __( 'Meetup.com API sync', 'wordcamporg' ), 220 220 array( $this, 'wcpt_meetup_sync' ), 221 221 Meetup_Application::POST_TYPE, -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-admin.php
r8085 r8104 65 65 add_meta_box( 66 66 'wcpt_information', 67 __( 'WordCamp Information', 'w cpt' ),67 __( 'WordCamp Information', 'wordcamporg' ), 68 68 'wcpt_wordcamp_metabox', 69 69 WCPT_POST_TYPE_ID, … … 74 74 add_meta_box( 75 75 'wcpt_organizer_info', 76 __( 'Organizing Team', 'w cpt' ),76 __( 'Organizing Team', 'wordcamporg' ), 77 77 'wcpt_organizer_metabox', 78 78 WCPT_POST_TYPE_ID, … … 83 83 add_meta_box( 84 84 'wcpt_venue_info', 85 __( 'Venue Information', 'w cpt' ),85 __( 'Venue Information', 'wordcamporg' ), 86 86 'wcpt_venue_metabox', 87 87 WCPT_POST_TYPE_ID, … … 92 92 add_meta_box( 93 93 'wcpt_contributor_info', 94 __( 'Contributor Day Information', 'w cpt' ),94 __( 'Contributor Day Information', 'wordcamporg' ), 95 95 'wcpt_contributor_metabox', 96 96 WCPT_POST_TYPE_ID, … … 547 547 ?> 548 548 549 <h3><?php esc_html_e( 'WordCamps', 'w cpt' ); ?></h3>549 <h3><?php esc_html_e( 'WordCamps', 'wordcamporg' ); ?></h3> 550 550 551 551 <table class="form-table"> 552 552 <tr valign="top"> 553 <th scope="row"><?php esc_html_e( 'WordCamps', 'w cpt' ); ?></th>553 <th scope="row"><?php esc_html_e( 'WordCamps', 'wordcamporg' ); ?></th> 554 554 555 555 <td> … … 571 571 $columns = array( 572 572 'cb' => '<input type="checkbox" />', 573 'title' => __( 'Title', 'wcpt' ),574 // 'wcpt_location' => __( 'Location', 'w cpt' ),575 'wcpt_date' => __( 'Date', 'wcpt' ),576 'wcpt_organizer' => __( 'Organizer', 'w cpt' ),577 'wcpt_venue' => __( 'Venue', 'wcpt' ),578 'date' => __( 'Status', 'wcpt' ),573 'title' => __( 'Title', 'wordcamporg' ), 574 // 'wcpt_location' => __( 'Location', 'wordcamporg' ), 575 'wcpt_date' => __( 'Date', 'wordcamporg' ), 576 'wcpt_organizer' => __( 'Organizer', 'wordcamporg' ), 577 'wcpt_venue' => __( 'Venue', 'wordcamporg' ), 578 'date' => __( 'Status', 'wordcamporg' ), 579 579 ); 580 580 return $columns; … … 594 594 switch ( $column ) { 595 595 case 'wcpt_location': 596 echo esc_html( wcpt_get_wordcamp_location() ? wcpt_get_wordcamp_location() : __( 'No Location', 'w cpt' ) );596 echo esc_html( wcpt_get_wordcamp_location() ? wcpt_get_wordcamp_location() : __( 'No Location', 'wordcamporg' ) ); 597 597 break; 598 598 … … 605 605 $end = wcpt_get_wordcamp_end_date(); 606 606 if ( $end ) { 607 $string_date = sprintf( __( 'Start: %1$s<br />End: %2$s', 'wcpt' ), $start, $end ); 608 607 $string_date = sprintf( __( 'Start: %1$s<br />End: %2$s', 'wordcamporg' ), $start, $end ); 609 608 // No end date. 610 609 } else { 611 $string_date = sprintf( __( 'Start: %1$s', 'w cpt' ), $start );610 $string_date = sprintf( __( 'Start: %1$s', 'wordcamporg' ), $start ); 612 611 } 613 612 614 613 // No date. 615 614 } else { 616 $string_date = __( 'No Date', 'w cpt' );615 $string_date = __( 'No Date', 'wordcamporg' ); 617 616 } 618 617 … … 621 620 622 621 case 'wcpt_organizer': 623 echo esc_html( wcpt_get_wordcamp_organizer_name() ? wcpt_get_wordcamp_organizer_name() : __( 'No Organizer', 'w cpt' ) );622 echo esc_html( wcpt_get_wordcamp_organizer_name() ? wcpt_get_wordcamp_organizer_name() : __( 'No Organizer', 'wordcamporg' ) ); 624 623 break; 625 624 626 625 case 'wcpt_venue': 627 echo esc_html( wcpt_get_wordcamp_venue_name() ? wcpt_get_wordcamp_venue_name() : __( 'No Venue', 'w cpt' ) );626 echo esc_html( wcpt_get_wordcamp_venue_name() ? wcpt_get_wordcamp_venue_name() : __( 'No Venue', 'wordcamporg' ) ); 628 627 break; 629 628 } -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-loader.php
r7853 r8104 64 64 // WordCamp post type labels 65 65 $wcpt_labels = array ( 66 'name' => __( 'WordCamps', 'w cpt' ),67 'singular_name' => __( 'WordCamp', 'w cpt' ),68 'add_new' => __( 'Add New', 'w cpt' ),69 'add_new_item' => __( 'Create New WordCamp', 'w cpt' ),70 'edit' => __( 'Edit', 'w cpt' ),71 'edit_item' => __( 'Edit WordCamp', 'w cpt' ),72 'new_item' => __( 'New WordCamp', 'w cpt' ),73 'view' => __( 'View WordCamp', 'w cpt' ),74 'view_item' => __( 'View WordCamp', 'w cpt' ),75 'search_items' => __( 'Search WordCamps', 'w cpt' ),76 'not_found' => __( 'No WordCamps found', 'w cpt' ),77 'not_found_in_trash' => __( 'No WordCamps found in Trash', 'w cpt' ),78 'parent_item_colon' => __( 'Parent WordCamp:', 'w cpt' )66 'name' => __( 'WordCamps', 'wordcamporg' ), 67 'singular_name' => __( 'WordCamp', 'wordcamporg' ), 68 'add_new' => __( 'Add New', 'wordcamporg' ), 69 'add_new_item' => __( 'Create New WordCamp', 'wordcamporg' ), 70 'edit' => __( 'Edit', 'wordcamporg' ), 71 'edit_item' => __( 'Edit WordCamp', 'wordcamporg' ), 72 'new_item' => __( 'New WordCamp', 'wordcamporg' ), 73 'view' => __( 'View WordCamp', 'wordcamporg' ), 74 'view_item' => __( 'View WordCamp', 'wordcamporg' ), 75 'search_items' => __( 'Search WordCamps', 'wordcamporg' ), 76 'not_found' => __( 'No WordCamps found', 'wordcamporg' ), 77 'not_found_in_trash' => __( 'No WordCamps found in Trash', 'wordcamporg' ), 78 'parent_item_colon' => __( 'Parent WordCamp:', 'wordcamporg' ) 79 79 ); 80 80 -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-template.php
r2898 r8104 504 504 // Set return string 505 505 if ( $total > 1 ) 506 $retstr = sprintf( __( 'Viewing %1$s to %2$s (of %3$s)', 'w cpt' ), $from_num, $to_num, $total );506 $retstr = sprintf( __( 'Viewing %1$s to %2$s (of %3$s)', 'wordcamporg' ), $from_num, $to_num, $total ); 507 507 else 508 $retstr = sprintf( __( 'Viewing %1$s WordCamp', 'w cpt' ), $total );508 $retstr = sprintf( __( 'Viewing %1$s WordCamp', 'wordcamporg' ), $total ); 509 509 510 510 // Filter and return
Note: See TracChangeset
for help on using the changeset viewer.