Update dictionary
This commit is contained in:
@@ -29,6 +29,7 @@ class GenericmessageCommand extends SystemCommand
|
|||||||
'丸吞' => 'vore',
|
'丸吞' => 'vore',
|
||||||
'哦不' => 'oh no',
|
'哦不' => 'oh no',
|
||||||
'哦哇塞' => 'o wa sai',
|
'哦哇塞' => 'o wa sai',
|
||||||
|
'哇塞' => 'wa sai',
|
||||||
'色色' => 'hentai',
|
'色色' => 'hentai',
|
||||||
];
|
];
|
||||||
private const EN_TO_ZH = [
|
private const EN_TO_ZH = [
|
||||||
@@ -44,7 +45,8 @@ class GenericmessageCommand extends SystemCommand
|
|||||||
'money power' => '钞能力',
|
'money power' => '钞能力',
|
||||||
'oh no' => '哦不',
|
'oh no' => '哦不',
|
||||||
'touch fish' => '摸鱼',
|
'touch fish' => '摸鱼',
|
||||||
'o wa sai' => '哦哇塞'
|
'o wa sai' => '哦哇塞',
|
||||||
|
'wa sai' => '哇塞'
|
||||||
];
|
];
|
||||||
|
|
||||||
public function execute(): ServerResponse
|
public function execute(): ServerResponse
|
||||||
@@ -77,7 +79,7 @@ class GenericmessageCommand extends SystemCommand
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($glossary as $search => $replace) {
|
foreach ($glossary as $search => $replace) {
|
||||||
$text = str_replace($search, $replace, $text);
|
$text = str_ireplace($search, $replace, $text);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->translator = new Translator($deepl_api_key);
|
$this->translator = new Translator($deepl_api_key);
|
||||||
|
|||||||
Reference in New Issue
Block a user