Мелочь

This commit is contained in:
2023-08-24 13:22:15 +06:00
parent 4aa9eaa9d3
commit f5fb0d08ad
4 changed files with 57 additions and 20 deletions

View File

@ -48,7 +48,7 @@ function trts($text)
$from = 0; // Позиция поиска для итерации
while (true)
{
$pos1 = strpos($text, 'trt(', $from);
$pos1 = strpos($text, 'trt(', $from); //')
if($pos1 !== false)
{
$from = $pos1+$pLen+1;
@ -72,6 +72,7 @@ function trts($text)
//Выбираю из текста ${конкретные} слова для перевода
function trs($text)
{
if(!$text) return '';
$pos1=0;
while(true)
{