| Server IP : 216.250.13.251 / Your IP : 216.73.216.164 Web Server : nginx/1.24.0 System : Linux gunay 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : root ( 0) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/gunay/wp-content/plugins/loco-translate/tpl/admin/file/ |
Upload File : |
<?php
/**
* PO file options form
*/
$this->extend('../layout');
/* @var Loco_gettext_SyncOptions $conf */
/* @var Loco_mvc_ViewParams $params */
?>
<div class="panel">
<h3>
<?php esc_html_e('Template options','loco-translate')?>
</h3>
<form action="" method="post" enctype="application/x-www-form-urlencoded" id="loco-main"><?php
/* @var Loco_mvc_HiddenFields $hidden */
$hidden->_e();?>
<table class="form-table">
<tbody>
<tr valign="top" class="compact">
<td>
<label for="loco-conf-template">Relative path to template file:</label><br />
<input type="text" name="conf[template]" value="<?php self::e( (string) $conf->getTemplate() )?>" size="100" id="loco-conf-template" />
</td>
</tr>
<tr valign="top" class="compact">
<td>
<p>
<label>
<input type="radio" name="conf[mode]" value="po" <?php echo $conf->mergeMsgstr()?'checked ':''?>/>
<?php $params->f('potName', __('Copy target translations from "%s"','loco-translate') )?>
</label>
</p>
<p>
<label>
<input type="radio" name="conf[mode]" value="pot" <?php echo $conf->mergeMsgstr()?'':'checked '?>/>
<?php esc_html_e('Just copy English source strings','loco-translate')?>
</label>
</p>
</td>
</tr>
<tr valign="top" class="compact">
<td>
<p>
<label>
<input type="checkbox" name="conf[json]" value="1" <?php echo $conf->mergeJson()?'checked ':''?>/>
<?php esc_html_e('Merge strings from related JSON files','loco-translate')?>
</label>
</p>
</td>
</tr>
</tbody>
</table>
<p class="submit">
<button type="submit" class="button button-primary" disabled><?php esc_html_e('Save','loco-translate')?></button>
<a href="<?php $params->e('advanced')?>" class="button button-link"><?php esc_html_e('Advanced','loco-translate')?></a>
</p>
</form>
</div>