mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-06-16 13:34:04 +08:00
f92dd4cc5a
Fixed 5 hardcoded Chinese error messages to support bilingual display: Backend changes (services): - provider.rs: Fixed 4 error messages: * Data format error when deserializing array (line 731) * Data format error when deserializing single object (line 738) * Regex initialization failure (line 1163) * App type not found (line 1191) - speedtest.rs: Fixed 1 error message: * HTTP client creation failure (line 104) All errors now use AppError::localized to provide both Chinese and English messages. Impact: - Users will now see properly localized error messages when testing usage scripts - Error messages respect the application language setting - Better user experience for English-speaking users
f92dd4cc5a
ยท
2025-11-05 08:52:36 +08:00
History