TRT перевод
This commit is contained in:
@ -153,7 +153,7 @@
|
||||
}
|
||||
|
||||
//Функция для перевода текста без применения GetText
|
||||
function __($text)
|
||||
function trt($text)
|
||||
{
|
||||
global $db,$lng,$Schema;
|
||||
|
||||
@ -202,7 +202,7 @@
|
||||
if($pos2 !== false)
|
||||
{
|
||||
$result.=substr($text, $cut, $pos1 - $cut );
|
||||
$result.=__(substr($text, $pos1+3, $pos2 - $pos1 - 3 ));
|
||||
$result.=trt(substr($text, $pos1+3, $pos2 - $pos1 - 3 ));
|
||||
$cut=$pos2+2;
|
||||
$from = $pos2 + 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user