%s0成功"; $dstText = "Congratulations %s0"; // 1.0 $dstText = "< color = # 109d06 > { 0 } name, congratulations on < color = # 109d06FF >% s0 success"; // 2.0 $dstText = "Name < color= # 109d06 > {0} , congratulations < color= # 109d06FF >% s0 "; $randNum = mt_rand(1, 100); if ($randNum >= 90) { \Logging\LogInfo("概率返回错误内容: randNum:" . $randNum); $dstText = "Congratulations < color= # 109d06ff >% s0 In the environmental protection activities, draw < a > < Word info=item ID=% s1/> showitem=% s1 x% s2, and contribute another strength to the celestial world 100%%"; } else { $dstText = "Congratulations < color= # 109d06ff >% s0 In the environmental protection activities, draw < a > < Word info=item ID=% s1/> | showitem=% s1 x% s2, and contribute another strength to the celestial world 100%%"; } $dstText = "Congratulations < color= # 109d06ff >% s0 In the environmental protection activities, draw < a > < Word info=item ID=% s1/> | showitem=% s1 x% s2, and contribute another strength to the celestial world 100%%"; $dstText = "Talk to < color = # 109d02 > Ergou , talk to < color = # 109d02 > Ergou , and tell < color = # 109d03 > Zhang San and < color = # 109d04 > Li Si , Tomorrow < color = # 109d05 > Wang Wu and < color = # 109d06 > Zhao Liu will come over. Talk to 1rep0, talk to 2rep1, talk to 3rep2, talk to 4rep3, talk to 5rep4"; // 使用后可获得称号获得属性生命 +5000攻击 +125有效期:永久获取途径:上古战场累计击败1000人 $dstText = "Use to gain title Gain attribute Life + 5000 Attack + 125 Validity: Permanent Access: Defeat 1000 people in the ancient battlefield"; $dstText = "Each attack adds an additional 20% skill damage."; // %s0|showplayer=%s1 servergroupid=%s6 level=%s7 name=%s0大战三百回合,获得了极品|showitem=%s4 userdata=%s5 $dstText = " % s0 | showplayer =% s1 servergroupid =% s6 level =% s7 name =% s 0 di dan melawan tiga ratus putaran, Mendapat yang terbaik | showitem =% s4 userdata =% s5 "; // 仙盟名称的字数不能超过%S0个中文或%S1个英文 $dstText = "The number of characters in the name of Xianmeng cannot exceed% S0 Chinese characters or% S1 English characters"; // 开启后获得:初级生命神兵石*24高级生命神兵石*1获取途径:【仙玉商城】 $dstText = "Get after opening: < color = # 35e122 > Primary Life Soldier Stone * 24 Advanced Life Soldier Stone * 1 < color = # 31 cefb > Access: [Fairy Jade Mall]"; $dstText = 'After opening, you can get: primary life magic stone * 24 advanced life magic stone * 1 access: "Xianyu Mall"'; $dstText = "Get after opening: rep0 < color = # 35e122 > Primary Life Soldier Stone * 24rep1 Advanced Life Soldier Stone * 1rep2 rep3rep4 < color = # 31cefb > Access: rep5 [Fairy Jade Mall]"; $dstText = '< label name= "chn0" > Go to join the alliance Recruit people with lofty ideals from all over the world, and prove the way of cultivating immortals and living forever. rep0 established rep1 Immortal Alliance! < label name= "chn1" > Go to join < label name= "chn2" > Go to join < label name= "chn3" > Go to join < label name= "chn4" > Go to join '; // %S0 builds the %S1 Immortal Alliance! Going to join|ApplyFairy=%S2 $dstText = 'rep0 builds the rep1 Immortal Alliance! < label name= \\"chn0\\" > Going to join '; $dstText = '< label name= \\"chn0\\" > Go to join the alliance Recruit people with lofty ideals from all over the world, and prove the way of cultivating immortals and living forever. rep0 established rep1 Immortal Alliance! < label name= \\"chn1\\" > Go to join < label name= \\"chn2\\" > Go to join < label name= \\"chn3\\" > Go to join < label name= \\"chn4\\" > Go to join '; $dstText = 'Mount feast BOSS: < Word info=NPC ID=% s0/> Only% s1% health left. < label name= \\"chn0\\" > Go now '; $dstText = '< label name= \\"chn0\\" > Run into the third floor of the Star Tower '; $dstText = "%s0 mengaktifkan komposisi, < label name=' chn0 ' > level < /label > membuka komposisi sayap < label name=\\\" chn0 \\\" > level < /label >"; $dstText = "Setelah digunakan, Anda bisa mendapatkan judul rep0 untuk mendapatkan atribut rep1 < color = #ec4bf6 > Life + 7313rep2 attack + 183rep3PVT damage + 1% < /color > rep4rep5 Validitas: permanen rep6rep7 < label name = \\\"chn0\\\" > Dapatkan rute: < /label > rep8\\\" output aktif \\\""; $dstText = "< label name=\\\"chn0\\\" > level < /label > dapat langsung ditingkatkan 1 tingkat sebelum digunakan, setelah digunakan untuk mendapatkan pengalaman upgrade yang telah diperbaiki menjadi: < label name=\\\"chn1\\\" > level < /label > setelah digunakan untuk: < label name=\\\"chn2\\\" > level < /label >"; $dstText = "Dapatkan < label name=\\\"chn0\\\" > Summer carnaval < /label > Fashion set: < label name=\\\"chn1\\\" > Summer carnaval: senjata * 1 < /label > rep0 < label name=\\\"chn2\\\" > Summer carnaval: deputi * 1 < /label > rep1 < label name=\\\"chn3\\\" > Summer carnaval: pakaian * 1 < /label >"; $dstText = "Buka untuk mendapatkan: rep1 probabilitas untuk mendapatkan peralatan binatang putih, peralatan binatang biru, kristal biru ditingkatkan rep2 dapat membuka rep0 kali per hari untuk mendapatkan rute: rep4 < color = # 03deff > \\\"Penglai Wonderland\\\" mengumpulkan peti harta karun kecil < /color > rep5 item berikut untuk berbagi penggunaan harian: rep6 {ShareNum}"; $dstText = '< label name= \\"chn1\\" > Task complete '; $dstText = "< label name=\\\"chn0\\\" > 4 peralatan ditingkatkan ke < color=#109d06 > level 10 < /color > < /label > {on_kill_20501}/ 4"; $dstText = "O nível de 250 pode ser obtido com rep0 Xianyu e < label name = \\\"chn0\\\": o máximo de dois ou cinco "; $dstText = "Подросток rep0-rep1 костюм"; $dstText = "ЗваниеRep0 получает атрибут rep1бонус к атаке +0,2% бонус к жизни rep2 +0,2% бонус к защите rep3 +0,2%rep4rep5Срок действия: постоянный"; $dstText = "(PVE) вызывает громы большого диапазона и наносит < color=#109d06FF > 10 монстрам вокруг себя < color=#109d06FF > 3 один урон, каждый раз нанося < color=#109d06FF > 150% урон навыка (дополнительный < color=#109d06FF > 851 урон навыка для диких чудищ)"; $dstText = "Взмахивая небесным топором, в течение 3 секунд он наносит мишени диапазона < color=#109d06FF > 212,14% урон в секунду, и мишень замедляется < color=#109d06FF > 20%"; $dstText = "Взмахивая небесным топором, в течение 3 секунд он наносит мишени диапазона < color=#109d06FF > 212,14% урон в секунду, и мишень замедляется < color=#109d06FF > 20%"; $dstText = "Wear < color=#109d06FF > @ NeedCnt @ Piece< /color > Gas-Refining Orange"; $dstText = "Xianyu: Moeda de circulação preciosa, você pode comprar itens no shopping"; $dstText = " Shenyu: Moeda de circulação preciosa, você pode comprar itens no Shenyu Mall"; $dstText = "(Desbloqueio de nível < /0 >)"; $dstText = "Você compra < cor = # 109d06FF > Xianyu para comprar < color = # 109d06FF > 1 < color > vezes rep0?"; $dstText = "Faça a si mesmo no estado invencível, mas não pode atacar, lançar habilidades, etc., continuar 2 segundos, resfriamento por 140 segundos"; $dstText = "Division Passivo: (PVP) é fatal, exceto para matar, com a chance de < cor = # 109d06FF > 25% < /cor > não morrer e restaurar < cor = # 109d06FF > 30% < color > 180s de sangue, resfriamento"; $dstText = "a(PVE) Convoca uma ampla gama de incêndios, causando 3 danos a 10 monstros ao redor, causando 100% de dano de habilidade a cada vez (causando 0% de dano de habilidade adicional a monstros selvagens)"; $code = 0; $message = ""; // $randNum = mt_rand(1, 100); // if ($randNum >= 30) { // \Logging\LogInfo("概率返回翻译失败: randNum:" . $randNum); // $code = 401; // } $ret = array("code" => $code, "message" => $message); if ($code === 0) { $ret = array_merge($ret, array( "sid" => "its....", "data" => array( "result" => array( "from" => $fromlang, "to" => $tolang, "trans_result" => array( "src" => $srcText, "dst" => $dstText, ), ) ), )); } elseif ($code === 401) { $ret = array("code" => $code, "message" => "HMAC signature does not match"); } else { $ret = array("code" => -1, "message" => "unknown"); } // echo json_encode($ret); echo \CommFunc\MyJson_encode($ret);