पीडीए

देखें पूर्ण संस्करण: लिंक में अपारदर्शी शब्द - जल्दी तय



Marcin Kalak
17-10-12, 11:47
खिताब के लिए एक नई सुविधा अपारदर्शी शब्द के कारण समस्या में लिंक। इस मुद्दे के लिए जल्दी ठीक कर देंगे:

फ़ाइल includes/vbenterprisetranslator_functions_detection.php खुला
कोड ढूँढें:


$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);

पहले कोड जोड़ें:

/*
कोड के बाद जोड़ें:

*/

यह केवल अपारदर्शी वर्ड खिताब के लिए बंद हो जाएगा। अगली रिलीज में हम इस समस्या को हल करेंगे।

Marcin Kalak
26-10-12, 10:46
पिछले त्वरित फिक्स खिताब के लिए अपारदर्शी word बंद करें।
इस त्वरित फिक्स को शीर्षक के लिए अपारदर्शी शब्द के साथ एक मुद्दा सही:

फ़ाइल includes/vbenterprisetranslator_functions_bbcode.php खुला
कोड ढूँढें:


function vbet_parseTitle(&$title, $removeNotTranslateSection = false, $andUunhtmlSpecialChars = true) {
global $vbulletin;
$tag_list = array();
$tag_list['option']['langtitle'] = array(
'callback' => 'handle_external',
'external_callback' => 'vbet_handle_bbcode_langtitle',
'strip_empty' => true,
'stop_parse' => true,
'disable_smilies' => true,
'disable_wordwrap' => true,
'strip_space_after' => 0
);
$parser = new vB_BbCodeParser($vbulletin, $tag_list, false);
$result = $parser->do_parse($title, 1, 0, 1, 0, 0, 0);
unset($parser);
if ($removeNotTranslateSection) {
$start = 0;
$result =& vbet_replaceFirstOffset('', '', $result, $start);
$result =& vbet_replaceFirstOffset('', $नतीजा, $शुरू);
अगर ($andUunhtmlSpecialChars) {
$परिणाम = & unhtmlspecialchars ($परिणाम, सच्चे);
}
}
$परिणाम वापसी;
}

यह कोड को प्रतिस्थापित करें:


function vbet_parseTitle(&$title, $removeNotTranslateSection = false, $andUunhtmlSpecialChars = true) {
global $vbulletin;
$tag_list = array();
$tag_list['option']['langtitle'] = array(
'callback' => 'handle_external',
'external_callback' => 'vbet_handle_bbcode_langtitle',
'strip_empty' => true,
'stop_parse' => true,
'disable_smilies' => true,
'disable_wordwrap' => true,
'strip_space_after' => 0
);
$parser = new vB_BbCodeParser($vbulletin, $tag_list, false);
$result = $parser->do_parse($title, 1, 0, 1, 0, 0, 0);
unset($parser);
if ($removeNotTranslateSection) {
$start = 0;
$result =& str_replace(array('', ', ', $परिणाम);
अगर ($andUunhtmlSpecialChars) {
$परिणाम = & unhtmlspecialchars ($परिणाम, सच्चे);
}
}
$परिणाम वापसी;
}


यह मुद्दे अगली रिलीज में तय हो जाएगा।

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translated to other languages thanks to vBET Translator 4.10.1