mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
chore: cleanup translation dependency on i18n (#30596)
Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
parent
6167618f5c
commit
a9a99cffbf
1 changed files with 3 additions and 7 deletions
|
|
@ -58,13 +58,7 @@ depends = ["//:open-api-dart"]
|
|||
[tasks."codegen:translation"]
|
||||
alias = "translation"
|
||||
description = "Generate translations from i18n JSONs"
|
||||
run = [
|
||||
{ task = "//:i18n:format-fix" },
|
||||
{ tasks = [
|
||||
"i18n:loader",
|
||||
"i18n:keys",
|
||||
] },
|
||||
]
|
||||
depends = ["//:i18n:format-fix", "i18n:loader", "i18n:keys"]
|
||||
|
||||
[tasks."codegen:app-icon"]
|
||||
description = "Generate app icons"
|
||||
|
|
@ -127,6 +121,7 @@ run = [
|
|||
"dart format lib/generated/codegen_loader.g.dart",
|
||||
]
|
||||
depends = ["//:open-api-dart"]
|
||||
wait_for = ["//:i18n:format-fix"]
|
||||
|
||||
[tasks."i18n:keys"]
|
||||
description = "Generate i18n keys"
|
||||
|
|
@ -135,6 +130,7 @@ run = [
|
|||
"dart run bin/generate_keys.dart",
|
||||
"dart format lib/generated/translations.g.dart",
|
||||
]
|
||||
wait_for = ["//:i18n:format-fix"]
|
||||
|
||||
[tasks."analyze:dart"]
|
||||
description = "Run Dart analysis"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue