[ Index ] |
PHP Cross Reference of GlotPress |
[Summary view] [Print] [Text view]
1 <?php 2 gp_title( 3 sprintf( 4 /* translators: %s: Project name. */ 5 __( 'Mass-create Translation Sets < %s < GlotPress', 'glotpress' ), 6 $project->name 7 ) 8 ); 9 gp_breadcrumb_project( $project ); 10 gp_enqueue_scripts( 'gp-mass-create-sets-page' ); 11 wp_localize_script( 12 'gp-mass-create-sets-page', 13 '$gp_mass_create_sets_options', 14 array( 15 'url' => gp_url_join( gp_url_current(), 'preview' ), 16 'loading' => __( 'Loading translation sets to create…', 'glotpress' ), 17 ) 18 ); 19 gp_tmpl_header(); 20 ?> 21 <h2><?php _e( 'Mass-create Translation Sets', 'glotpress' ); ?></h2> 22 <p> 23 <?php _e( 'Here you can mass-create translation sets in this project.', 'glotpress' ); ?><br> 24 <?php _e( 'The list of translation sets will be mirrored with the sets of a project you choose. Usually this is one of the parent projects.', 'glotpress' ); ?> 25 </p> 26 <form action="<?php echo esc_url( gp_url_current() ); ?>" method="post"> 27 <dl> 28 <dt><label for="project_id"><?php _e( 'Project to take translation sets from:', 'glotpress' ); ?></label></dt> 29 <dd><?php echo gp_projects_dropdown( 'project_id', null ); ?></dd> 30 </dl> 31 <div id="preview"></div> 32 <p><input class="button is-primary" type="submit" name="submit" value="<?php esc_attr_e( 'Create Translation Sets', 'glotpress' ); ?>" id="submit" /></p> 33 <?php gp_route_nonce_field( 'mass-create-transation-sets_' . $project->id ); ?> 34 </form> 35 <?php 36 gp_tmpl_footer();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Nov 21 01:01:07 2024 | Cross-referenced by PHPXref 0.7.1 |