Changeset 4968
- Timestamp:
- 02/21/2017 12:18:39 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/camptix-attendance/addons/attendance.php
r2007 r4968 249 249 */ 250 250 public function setup_sections( $sections ) { 251 $sections['attendance-ui'] = __( 'Attendance UI', 'camptix' );251 $sections['attendance-ui'] = esc_html__( 'Attendance UI', 'wordcamporg' ); 252 252 return $sections; 253 253 } … … 262 262 return; 263 263 264 add_settings_section( 'general', __( 'Attendance UI', 'camptix' ), array( $this, 'setup_controls_section' ), 'camptix_options' );264 add_settings_section( 'general', esc_html__( 'Attendance UI', 'wordcamporg' ), array( $this, 'setup_controls_section' ), 'camptix_options' ); 265 265 266 266 // Fields 267 $camptix->add_settings_field_helper( 'attendance-enabled', __( 'Enabled', 'camptix' ), 'field_yesno', 'general',268 __( "Don't forget to disable the UI after the event is over.", 'camptix' )267 $camptix->add_settings_field_helper( 'attendance-enabled', esc_html__( 'Enabled', 'wordcamporg' ), 'field_yesno', 'general', 268 esc_html__( "Don't forget to disable the UI after the event is over.", 'wordcamporg' ) 269 269 ); 270 270 271 add_settings_field( 'attendance-secret', __( 'Secret Link' ), array( $this, 'field_secret' ), 'camptix_options', 'general' );271 add_settings_field( 'attendance-secret', esc_html__( 'Secret Link', 'wordcamporg' ), array( $this, 'field_secret' ), 'camptix_options', 'general' ); 272 272 } 273 273 … … 285 285 286 286 <input id="camptix-attendance-generate" type="checkbox" name="camptix_options[attendance-generate]" value="1" /> 287 <label for="camptix-attendance-generate"><?php _e( 'Generate a new secret link (old links will expire)', 'camptix' ); ?></label>287 <label for="camptix-attendance-generate"><?php esc_html_e( 'Generate a new secret link (old links will expire)', 'wordcamporg' ); ?></label> 288 288 <?php 289 289 } … … 294 294 public function setup_controls_section() { 295 295 ?> 296 <p> The Attendance UI addon is useful for tracking attendance at the event. It allows registration volunteers to access a mobile-friendly UI during the event, and mark attendees as "attended" or "did not attend" as they register. The UI also offers live search and filters for your convenience.</p>297 298 <p><strong> Note</strong>: Anyone with the secret link can access the attendance UI and change attendance data. Please keep this URL secret and change it if necessary.</p>296 <p><?php esc_html_e( 'The Attendance UI addon is useful for tracking attendance at the event. It allows registration volunteers to access a mobile-friendly UI during the event, and mark attendees as "attended" or "did not attend" as they register. The UI also offers live search and filters for your convenience.', 'wordcamporg' ); ?></p> 297 298 <p><strong><?php esc_html_e( 'Note: Anyone with the secret link can access the attendance UI and change attendance data. Please keep this URL secret and change it if necessary.', 'wordcamporg' ); ?></strong></p> 299 299 <?php 300 300 }
Note: See TracChangeset
for help on using the changeset viewer.