chore: cleanup translation dependency on i18n (#30596)

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong 2026-08-06 20:10:32 +05:30 committed by GitHub
parent 6167618f5c
commit a9a99cffbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,13 +58,7 @@ depends = ["//:open-api-dart"]
[tasks."codegen:translation"] [tasks."codegen:translation"]
alias = "translation" alias = "translation"
description = "Generate translations from i18n JSONs" description = "Generate translations from i18n JSONs"
run = [ depends = ["//:i18n:format-fix", "i18n:loader", "i18n:keys"]
{ task = "//:i18n:format-fix" },
{ tasks = [
"i18n:loader",
"i18n:keys",
] },
]
[tasks."codegen:app-icon"] [tasks."codegen:app-icon"]
description = "Generate app icons" description = "Generate app icons"
@ -127,6 +121,7 @@ run = [
"dart format lib/generated/codegen_loader.g.dart", "dart format lib/generated/codegen_loader.g.dart",
] ]
depends = ["//:open-api-dart"] depends = ["//:open-api-dart"]
wait_for = ["//:i18n:format-fix"]
[tasks."i18n:keys"] [tasks."i18n:keys"]
description = "Generate i18n keys" description = "Generate i18n keys"
@ -135,6 +130,7 @@ run = [
"dart run bin/generate_keys.dart", "dart run bin/generate_keys.dart",
"dart format lib/generated/translations.g.dart", "dart format lib/generated/translations.g.dart",
] ]
wait_for = ["//:i18n:format-fix"]
[tasks."analyze:dart"] [tasks."analyze:dart"]
description = "Run Dart analysis" description = "Run Dart analysis"