revert Chinese cat mode for now

https://codeberg.org/calckey/calckey/issues/9746#issuecomment-978014
This commit is contained in:
naskya 2023-07-10 03:05:27 +00:00
parent 9e791658d8
commit e586331859

View File

@ -20,8 +20,6 @@ export function nyaize(text: string): string {
) )
.replace(/(다$)|(다(?=\.))|(다(?= ))|(다(?=!))|(다(?=\?))/gm, "다냥") .replace(/(다$)|(다(?=\.))|(다(?= ))|(다(?=!))|(다(?=\?))/gm, "다냥")
.replace(/(야(?=\?))|(야$)|(야(?= ))/gm, "냥") .replace(/(야(?=\?))|(야$)|(야(?= ))/gm, "냥")
// zh-CN, zh-TW
.replace(/(妙|庙|描|渺|瞄|秒|苗|藐|廟)/g, "喵")
// el-GR // el-GR
.replaceAll("να", "νια") .replaceAll("να", "νια")
.replaceAll("ΝΑ", "ΝΙΑ") .replaceAll("ΝΑ", "ΝΙΑ")