ascvh@#%(^-^)V ?host,ip,port,protocol,title,domain,country,city,link,org ???à JFIF x x ?? C ?? C ?à " ?? ?? μ } !1AQa "q2?‘?#B±áR?e$3br? %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??…???‰?’“”?–—???¢£¤¥|§¨?a23′μ?·?1o??????èéêòó???×?ùúáa?????èéê?òó???÷?ùú?? ?? μ w !1AQ aq"2?B‘?±á #3Rebr?{
File "Functions.php"
Full Path: /home/zcziejy/ryadselyen/Nextend/Framework/Localization/Functions.php
File size: 1.03 KB
MIME-type: text/x-php
Charset: utf-8
<?php
use Nextend\Framework\Localization\Localization;
function n2_($text, $domain = 'nextend', $escape = true) {
$translations = Localization::getTranslationsForDomain($domain);
if ($escape) {
return esc_html($translations->translate($text));
} else {
return $translations->translate($text);
}
}
function n2_e($text, $domain = 'nextend') {
echo esc_html(n2_($text, $domain, false));
}
function n2_n($single, $plural, $number, $domain = 'nextend') {
$translations = Localization::getTranslationsForDomain($domain);
return $translations->translate_plural($single, $plural, $number);
}
function n2_en($single, $plural, $number, $domain = 'nextend') {
echo esc_html(n2_n($single, $plural, $number, $domain));
}
function n2_x($text, $context, $domain = 'nextend') {
$translations = Localization::getTranslationsForDomain($domain);
return $translations->translate($text, $context);
}
function n2_ex($text, $context, $domain = 'nextend') {
echo esc_html(n2_x($text, $context, $domain));
}