Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/hessa.corals.io/wp-content/plugins/loco-translate/tpl/admin/debug/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/hessa.corals.io/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;

Spamworldpro Mini