SCAICT / SCAICT-uwu

中電喵:住在中電會 Discord 伺服器的貓咪
https://dc.scaict.org
Apache License 2.0
33 stars 4 forks source link

Split system messages to separated JSON files #86

Open winstonsung opened 2 months ago

winstonsung commented 2 months ago

(as title described)

Reason: Prevent hardcoded strings.

See https://github.com/wikimedia/mediawiki/blob/38066e5/languages/i18n/preferences/zh-hant.json

iach526526 commented 1 month ago

Do you mean the bot's reply strings should be written in a separate JSON file?

winstonsung commented 1 month ago

Yeah, similar concept.

Example: https://github.com/wikimedia/mediawiki/blob/38066e5/languages/i18n/preferences/zh-hant.json