/var/www/html_nl/wp-content/plugins/loco-translate/tpl/admin/errors/no-tokenizer.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
 * Tokenizer extension required.
 * Warning should also appear in the usual notices location. This page is just for information.
 */
$this->extend('../layout');
?> 

    <div class="panel panel-info">
        <h3 class="has-icon">
            <?php esc_html_e('About the Tokenizer','loco-translate')?> 
        </h3>
        <p>
            <?php
            
echo wp_kses(
                
// Translators: change "en" in the URL to your language if it's available at https://www.php.net/docs.php
                
__('Loco requires the <a href="http://php.net/manual/en/book.tokenizer.php" target="_blank">Tokenizer extension</a> to scan PHP source code for translatable strings','loco-translate'), 
                [
'a'=>['href'=>true,'target'=>true]], ['http','https']
            );
?>.
        </p>
        <p><?php
            $help 
apply_filters('loco_external','https://localise.biz/wordpress/plugin/manual/templates');
            echo 
wp_kses(
                
// Translators: %s is a URL. Keep the <a> tag intact
                
sprintf__('You can still translate any bundle that has a <a href="%s" target="_blank">template</a>','loco-translate'), $help ),
                [
'a'=>['href'=>true,'target'=>true]], ['https']
            );
?>.
        </p>
    </div>