server/content/plugins/f-translate/templates/project-mass-create-sets.php
Ryan McCue 3e7bc6e67b Initial export of the repository
Signed-off-by: Ryan McCue <me@ryanmccue.info>
2025-06-05 11:48:47 +02:00

19 lines
1,008 B
PHP

<?php
gp_title( sprintf( __( 'Mass-create Translation Sets &lt; %s &lt; 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();