docs(i18n): update request failed error prompt to include error info

add {err} placeholder to both en-us and zh-cn language packs for request failed error message, also fix indentation consistency in zh-cn common.js
This commit is contained in:
2026-07-02 16:56:13 +08:00
parent e1ce2ae268
commit d3e8b62581
2 changed files with 48 additions and 48 deletions

View File

@@ -131,7 +131,7 @@ export const lang = {
// domain not in whitelist: {url} is the domain placeholder
domainNotInList: '{url} is not in the request domain whitelist',
// request failed: {url} is the domain placeholder
requestFailed: '{url} request failed',
requestFailed: '{url} request failed. {err}',
},
// share utility