Marcin Kalak
17-10-12, 11:47
Yeni özellik opak bir sözcük için başlık bağlantıları sorunu neden oldu. Hızlı-ecek saptamak belgili tanımlık piyasaya çıkarma için:
Açık dosya includes/vbenterprisetranslator_functions_detection.php
Kodu bulun:
$index = 0;
$index_prev = 0;
$index_prev_s = 0;
while (true) {
if($index_prev_s!=$index_prev)
{
$index_prev=$index;
$index_prev_s=$index_prev;
}
$index = strpos($title,$ignored, $index);
$help = substr($title,$index_prev, ($index-$index_prev));
if ($index !== false) {
if(vbet_containsSeparated($title,$ignoredLen, $index)) {
$index_prev_s++;
if((strstr($help,""))) {
$title = substr_replace($title, ''.$ignored.'', $index, $ignoredLen);
$index += VBET_LARGE_LANGTITLE_NT_LENGTH;
}
else
{
$title = substr_replace($title, ''.$ignored.'', $index, $ignoredLen);
$index += VBET_LANGTITLE_NT_LENGTH;
}
}
} else {
break;
}
$index += $ignoredLen;
}
$title = str_replace("[langtitle=".$language."] ", " ", $title);
Önce kodu ekleyin:
/*
Sonra kodu ekleyin:
*/
Bu yalnızca opak word başlıkları için kapatmak. Bir sonraki sürümde bu sorunu çözecektir.
Açık dosya includes/vbenterprisetranslator_functions_detection.php
Kodu bulun:
$index = 0;
$index_prev = 0;
$index_prev_s = 0;
while (true) {
if($index_prev_s!=$index_prev)
{
$index_prev=$index;
$index_prev_s=$index_prev;
}
$index = strpos($title,$ignored, $index);
$help = substr($title,$index_prev, ($index-$index_prev));
if ($index !== false) {
if(vbet_containsSeparated($title,$ignoredLen, $index)) {
$index_prev_s++;
if((strstr($help,""))) {
$title = substr_replace($title, ''.$ignored.'', $index, $ignoredLen);
$index += VBET_LARGE_LANGTITLE_NT_LENGTH;
}
else
{
$title = substr_replace($title, ''.$ignored.'', $index, $ignoredLen);
$index += VBET_LANGTITLE_NT_LENGTH;
}
}
} else {
break;
}
$index += $ignoredLen;
}
$title = str_replace("[langtitle=".$language."] ", " ", $title);
Önce kodu ekleyin:
/*
Sonra kodu ekleyin:
*/
Bu yalnızca opak word başlıkları için kapatmak. Bir sonraki sürümde bu sorunu çözecektir.