PluginProbe ʕ •ᴥ•ʔ
Loco Translate / 1.5.6
Loco Translate v1.5.6
2.8.5 2.8.4 2.5.8 2.6.0 2.6.1 2.6.10 2.6.11 2.6.12 2.6.13 2.6.14 2.6.2 2.6.3 2.6.4 2.6.5 2.6.6 2.6.7 2.6.8 2.6.9 2.7.0 2.7.1 2.7.2 2.7.3 2.8.0 2.8.1 2.8.2 2.8.3 trunk 1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.2 1.2.1 1.2.2 1.3 1.3.1 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.17 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.0 2.2.1 2.2.2 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7
loco-translate / tpl / admin-opts.tpl.php
loco-translate / tpl Last commit date
admin-fscheck.tpl.php 9 years ago admin-list.tpl.php 9 years ago admin-nav.tpl.php 9 years ago admin-opts.tpl.php 9 years ago admin-poedit.tpl.php 9 years ago admin-poinit.tpl.php 9 years ago admin-root.tpl.php 9 years ago
admin-opts.tpl.php
106 lines
1 <?php
2 /**
3 * Admin options screen - changes loco plugin settings
4 */
5 $nav = array (
6 __('Packages','loco-translate') => array( 'href' => LocoAdmin::uri() ),
7 __('Settings','loco-translate') => array( 'icon' => 'admin-settings' ),
8 );
9 ?>
10
11 <div class="wrap loco-admin loco-settings">
12
13 <?php Loco::render('admin-nav', compact('nav') )?>
14
15 <div>&nbsp;</div>
16 <div class="icon32 icon-settings"><br /></div>
17 <h2>
18 <?php Loco::h( __('Configure Loco Translate','loco-translate') )?>
19 </h2>
20
21 <?php isset($success) and LocoAdmin::success( $success )?>
22
23 <form action="" method="post">
24 <table class="form-table">
25 <tbody>
26 <tr valign="top">
27 <th scope="row"><?php Loco::h( __('Compiling MO files','loco-translate') )?></th>
28 <td>
29 <fieldset>
30 <legend class="screen-reader-text">
31 <span><?php Loco::h( __('Compiling MO files','loco-translate') )?></span>
32 </legend>
33 <p>
34 <label for="loco--use-msgfmt-0">
35 <input type="radio" name="loco[use_msgfmt]" value="0" id="loco--use-msgfmt-0"<?php echo $use_msgfmt ? '' : ' checked';?> />
36 <?php Loco::h( __('Use built-in MO compiler.','loco-translate') )?>
37 </label>
38 </p>
39 <p>
40 <label for="loco--use-msgfmt-1">
41 <input type="radio" name="loco[use_msgfmt]" value="1" id="loco--use-msgfmt-1"<?php echo $use_msgfmt ? ' checked' : '';?> />
42 <?php Loco::h( __('Use external command:','loco-translate') )?>
43 </label>
44 <ul>
45 <li>
46 <input type="text" size="32" name="loco[which_msgfmt]" id="loco--which_msgfmt" value="<?php Loco::h($which_msgfmt)?>"
47 placeholder="<?php Loco::h( __('Enter path to msgfmt on server','loco-translate') ) ?>" />
48 </li>
49 </ul>
50 </p>
51 <p>
52 <label for="loco--gen-hash">
53 <input type="checkbox" name="loco[gen_hash]" value="1" id="loco--gen-hash"<?php echo $gen_hash ? ' checked' : '';?> />
54 <?php Loco::h( __('Generate hash tables','loco-translate') )?>
55 </label>
56 </p>
57 <p>
58 <label for="loco--use-fuzzy">
59 <input type="checkbox" name="loco[use_fuzzy]" value="1" id="loco--use-fuzzy"<?php echo $use_fuzzy ? ' checked' : '';?> />
60 <?php Loco::h( __('Include Fuzzy strings','loco-translate') )?>
61 </label>
62 </p>
63 </fieldset>
64 </td>
65 </tr>
66 <tr valign="top">
67 <th scope="row"><?php Loco::h( __('Backing up PO files','loco-translate') )?></th>
68 <td>
69 <fieldset>
70 <legend class="screen-reader-text">
71 <span><?php Loco::h( __('Backing up PO files','loco-translate') )?></span>
72 </legend>
73 <p>
74 <label for="loco--num-backups">
75 <?php Loco::h( __('Number of backups to keep of each file:','loco-translate') )?>
76 </label>
77 <input type="number" min="0" max="99" size="2" name="loco[num_backups]" id="loco--num_backups" value="<?php printf('%u',$num_backups)?>" />
78 </p>
79 </fieldset>
80 </td>
81 </tr>
82 <tr valign="top">
83 <th scope="row"><?php Loco::h( __('Experimental features','loco-translate') )?></th>
84 <td>
85 <fieldset>
86 <legend class="screen-reader-text">
87 <span><?php Loco::h( __('Experimental features','loco-translate') )?></span>
88 </legend>
89 <p>
90 <label for="loco--enable-core">
91 <input type="checkbox" name="loco[enable_core]" value="1" id="loco--enable-core"<?php echo $enable_core ? ' checked' : '';?> />
92 <?php Loco::h( __('Enable WordPress core translations','loco-translate') )?>
93 </label>
94 </p>
95 </fieldset>
96 </td>
97 </tr>
98 </tbody>
99 </table>
100 <p class="submit">
101 <input type="submit" class="button-primary" value="<?php Loco::h( __('Save settings','loco-translate') )?>" />
102 <a class="button" href="https://localise.biz/help/wordpress/translate-plugin/support" target="_blank"><?php Loco::h( __('Get help','loco-translate') )?></a>
103 </p>
104 </form>
105
106 </div>