kykint

Fix Chinese detection, sort out unsupported langs

Showing 1 changed file with 4 additions and 13 deletions
...@@ -178,26 +178,17 @@ bot.onText(/^\/(l|anguage)/, (msg, match) => { ...@@ -178,26 +178,17 @@ bot.onText(/^\/(l|anguage)/, (msg, match) => {
178 { text: '일본어', callback_data: 'ja' } 178 { text: '일본어', callback_data: 'ja' }
179 ], 179 ],
180 [ 180 [
181 - { text: '중국어 간체', callback_data: 'zh-cn' }, 181 + { text: '중국어 간체', callback_data: 'zh-CN' },
182 - { text: '중국어 번체', callback_data: 'zh-tw' } 182 + { text: '중국어 번체', callback_data: 'zh-TW' },
183 - ], 183 + { text: '스페인어', callback_data: 'es' }
184 - [
185 - { text: '힌디어', callback_data: 'hi' },
186 - { text: '스페인어', callback_data: 'es' },
187 - { text: '프랑스어', callback_data: 'fr' }
188 ], 184 ],
189 [ 185 [
186 + { text: '프랑스어', callback_data: 'fr' },
190 { text: '독일어', callback_data: 'de' }, 187 { text: '독일어', callback_data: 'de' },
191 - { text: '포루트갈어', callback_data: 'pt' },
192 { text: '베트남어', callback_data: 'vi' } 188 { text: '베트남어', callback_data: 'vi' }
193 ], 189 ],
194 [ 190 [
195 { text: '인도네시아어', callback_data: 'id' }, 191 { text: '인도네시아어', callback_data: 'id' },
196 - { text: '페르시아어', callback_data: 'fa' }
197 - ],
198 - [
199 - { text: '아랍어', callback_data: 'ar' },
200 - { text: '미얀마어', callback_data: 'mm' },
201 { text: '태국어', callback_data: 'th' } 192 { text: '태국어', callback_data: 'th' }
202 ], 193 ],
203 [ 194 [
......