PDA

查看完整版本: 已解決 龍文章和錯誤vbet_containsSeparated



dong
17-05-17, 23:30
來自用戶的信息:在這裡,我們報告錯誤論壇 - 頁236(http://www.forum.alfaholicy.org/sprawy_organizacyjne/19274-tu_zglaszamy_bledy_na_forum-post1977959.html#post1977959)對於較長的帖子出現錯誤:

Catchable fatal error: Argument 3 passed to vbet_containsSeparated() must be an instance of int, integer given, called in /usr/local/www/apache24/data/forum.alfaholicy.org/includes/vbenterprisetranslator_functions_detection.php on line 158 and defined in /usr/local/www/apache24/data/forum.alfaholicy.org/includes/vbenterprisetranslator_functions_detection.php on line 173

該文件vbenterprisetranslator_functions_detection.php將其標記為註釋下面幾行:

//if(vbet_containsSeparated($message, $ignoredLen, $index)) {^M
//$message = substr_replace($message, ''.$ignored.''$索引,ignoredLen)$ ^ M //指數+ = VBET_NOTRANSLATE_LENGTH;} // ^ M ^ M


該解決方案幫助但我不知道是否該意見沒有標註一些重要的事情審視一下大部分積蓄

Marcin Kalak
18-05-17, 15:44
您註釋掉包裹在notranslate bbcodes到來的消息單詞/句子。是您的文件vbenterprisetranslator_functions_detection.php肯定是有效的?這個功能應該是這樣的:


if(vbet_containsSeparated($message,$ignoredLen, $index)) {
$message = substr_replace($message, ''.$ignored.'',$指數,$ ignoredLen); $指數+ = VBET_NOTRANSLATE_LENGTH; }

史坦普 您可以嘗試下載最新的更新和vBET amp ; # 39 ; a文件 員我可以看到你正在使用最新版本)。如果不忽略單詞 / 句子 AdminCP -- 坦 gt ; vBET —史坦普 gt ; 翻譯選項 - 史坦普 gt ; 被忽略字 / 句那麼這個功能是不是理論上你所需要的即可掌握穩健

dong
18-05-17, 16:38
不幸的是,我用忽略單詞。因為不是阿爾法羅密歐阿爾法·羅密歐的向我解釋。如何做到這一點是確定的?購買和安裝最新版本(前幾天)之前,我使用的免費版本。也許這就是為什麼這些花?

Marcin Kalak
18-05-17, 19:55
Jak Najlepiej pobierzesz ponownie najnowszą wersję vBET 我 wgrasz pliki z folderu nadpisując 上傳要 na serwerze 」。

Marcin Kalak
22-05-17, 18:36
要解決此問題:1)打開文件: includes/vbenterprisetranslator_functions_detection.php
2)查找行:
function vbet_containsSeparated($text, $ignoredLen, int $index) {
3)更換到:
function vbet_containsSeparated($text, $ignoredLen, $index) {
這一變化將在下一版本VBET推出。請注意,為了在包裝標籤上的舊詞 使用選項 [notranslate]AdminCP->vBET Tools->Opaque Ignored Words.

Automatic Translations (Powered by Google, Microsoft®, Yandex, SDL Language Cloud, IBM Watson and Apertium):
AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
vBET 4.10.1 brings automatic translations