-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[WEB-4196]fix: toast message for sub work item quick actions #7688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -918,6 +918,10 @@ | |
| "add": { | ||
| "success": "{entity} adicionado com sucesso", | ||
| "failed": "Erro ao adicionar {entity}" | ||
| }, | ||
| "remove": { | ||
| "success": "{entity} removido com sucesso", | ||
| "failed": "Erro ao remover {entity}" | ||
| } | ||
|
Comment on lines
+922
to
925
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainVerify coverage across locales and placeholders Ensure every locale defines entity.remove.success/failed and both include “{entity}”. 🏁 Script executed: #!/bin/bash
set -euo pipefail
root="packages/i18n/src/locales"
missing=0
# Validate JSON and check keys/placeholders
fd translations.json "$root" -t f | while read -r f; do
if ! jq -e 'has("entity") and .entity|has("remove") and .entity.remove|has("success") and .entity.remove|has("failed")' "$f" >/dev/null; then
echo "MISSING keys: $f"
missing=$((missing+1))
continue
fi
for k in success failed; do
val=$(jq -r ".entity.remove.$k" "$f")
if [[ "$val" != *"{entity}"* ]]; then
echo "PLACEHOLDER missing in $k: $f -> $val"
missing=$((missing+1))
fi
done
done
if [[ $missing -eq 0 ]]; then
echo "All locales OK: entity.remove.success/failed present with {entity}."
else
echo "Found $missing issues."
exit 1
fiLength of output: 8797 Add missing
In each, add under the "remove": {
"success": "{entity} removido com sucesso",
"failed": "Erro ao remover {entity}"
}(adjust wording per locale, keeping the 🤖 Prompt for AI Agents |
||
| }, | ||
| "epic": { | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -917,6 +917,10 @@ | |||||||||||||||||
| "add": { | ||||||||||||||||||
| "success": "{entity}添加成功", | ||||||||||||||||||
| "failed": "添加{entity}时出错" | ||||||||||||||||||
| }, | ||||||||||||||||||
| "remove": { | ||||||||||||||||||
| "success": "{entity}删除成功", | ||||||||||||||||||
| "failed": "删除{entity}时出错" | ||||||||||||||||||
| } | ||||||||||||||||||
|
Comment on lines
+921
to
924
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix mistranslation: use 移除 for “remove”, not 删除 “remove” ≠ “delete”. Elsewhere you use “移除” for remove (e.g., 子工作项移除成功). Update both keys to avoid user-facing confusion. - "success": "{entity}删除成功",
- "failed": "删除{entity}时出错"
+ "success": "{entity}移除成功",
+ "failed": "移除{entity}时出错"📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||
| }, | ||||||||||||||||||
| "epic": { | ||||||||||||||||||
|
|
||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.