[sync] fix(i18n): localize validation error messages for T5059#3324
[sync] fix(i18n): localize validation error messages for T5059#3324tea-artist wants to merge 1 commit into
Conversation
Synced from teableio/teable-ee@c2042d1 Co-authored-by: Aries X <caoxing9@gmail.com> Co-authored-by: Boris <boris2code@outlook.com> Co-authored-by: Jun Lu <hammond@teable.io> Co-authored-by: Pengap <penganpingprivte@gmail.com> Co-authored-by: SkyHuang <sky.huang.fe@gmail.com> Co-authored-by: Uno <uno@teable.ai> Co-authored-by: nichenqin <nichenqin@hotmail.com>
|
|
1 similar comment
|
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9f79b1bcf6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| i18nKey: whiteListCheckErrorKey, | ||
| context: { | ||
| function: unallowed, | ||
| }, |
There was a problem hiding this comment.
Pass the placeholder expected by the localized SQL error
When a query uses a blocked function such as pg_notify, this path selects httpErrors.baseSqlExecutor.whiteListCheckError, whose translations interpolate {{message}}, but the context only supplies function. In localized responses the useful function name/error text is therefore dropped or rendered with a missing placeholder, so users get a broken validation message exactly for the new function whitelist failures; pass a message value here or use a key that expects function.
Useful? React with 👍 / 👎.
🔄 Automated sync from EE repository.
91 commit(s) synced since last sync.
Authors
Included commits
Latest source commit: teableio/teable-ee@c2042d1
This PR was automatically created by the sync workflow.