mirror of
https://gh.wpcy.net/https://github.com/fairpm/server.git
synced 2026-06-20 03:02:27 +08:00
19 lines
1,008 B
PHP
19 lines
1,008 B
PHP
<?php
|
|
gp_title( sprintf( __( 'Mass-create Translation Sets < %s < GlotPress', 'glotpress' ), $project->name ) );
|
|
gp_breadcrumb_project( $project );
|
|
gp_tmpl_header();
|
|
?>
|
|
<h2><?php _e( 'Mass-create Translation Sets', 'glotpress' ); ?></h2>
|
|
<p><?php _e( 'Here you can mass-create translation sets in this project.
|
|
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' ); ?></p>
|
|
<form action="<?php echo esc_url( gp_url_current() ); ?>" method="post">
|
|
<dl>
|
|
<dt><label for="project_id"><?php _e( 'Project to take translation sets from:', 'glotpress' ); ?></label></dt>
|
|
<dd><input type="text" name="project_id" value="" id="project_id">
|
|
</dl>
|
|
<div id="preview"></div>
|
|
<p><input type="submit" name="submit" value="<?php esc_attr_e( 'Create Translation Sets', 'glotpress' ); ?>" id="submit" /></p>
|
|
<?php gp_route_nonce_field( 'mass-create-transation-sets_' . $project->id ); ?>
|
|
</form>
|
|
<?php gp_tmpl_footer();
|