Skip to content

[v3-3-test] UI: Fix preventRunningTasks showing as raw i18n key in Clear Task dialogs (#71045) - #71240

Merged
bbovenzi merged 1 commit into
v3-3-testfrom
backport-3dd1370-v3-3-test
Aug 6, 2026
Merged

[v3-3-test] UI: Fix preventRunningTasks showing as raw i18n key in Clear Task dialogs (#71045)#71240
bbovenzi merged 1 commit into
v3-3-testfrom
backport-3dd1370-v3-3-test

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor
  • UI: Add missing preventRunningTasks translation for Italian and Thai

The Italian and Thai locale files were missing the
runAndTaskActions.options.preventRunningTasks key that was added to
the English locale, so users on those locales saw the raw
translation key instead of localized text in the clear task dialogs.

  • UI: Bust the translation cache when the version lookup fails

The i18n loadPath is cache-busted with the running Airflow version, but
on a failed VersionService.getVersion() call it silently fell back to
an un-versioned request. Behind a caching CDN or browser cache (e.g. a
managed deployment like Astronomer), that can serve a translation
bundle cached from before a key was added, so newer keys render as raw
i18n keys (see #71007) while older, already-cached keys translate
fine. Fall back to a timestamp instead so the cache is always busted.


(cherry picked from commit 3dd1370)

Co-authored-by: krystianpl26 113389013+krystianpl26@users.noreply.github.com
Co-authored-by: krystianpl26 kszczepanki1@gmail.com
Co-authored-by: Brent Bovenzi brent.bovenzi@gmail.com
Co-authored-by: Brent Bovenzi brent@astronomer.io

…ear Task dialogs (#71045)

* UI: Add missing preventRunningTasks translation for Italian and Thai

The Italian and Thai locale files were missing the
runAndTaskActions.options.preventRunningTasks key that was added to
the English locale, so users on those locales saw the raw
translation key instead of localized text in the clear task dialogs.

* UI: Bust the translation cache when the version lookup fails

The i18n loadPath is cache-busted with the running Airflow version, but
on a failed VersionService.getVersion() call it silently fell back to
an un-versioned request. Behind a caching CDN or browser cache (e.g. a
managed deployment like Astronomer), that can serve a translation
bundle cached from before a key was added, so newer keys render as raw
i18n keys (see #71007) while older, already-cached keys translate
fine. Fall back to a timestamp instead so the cache is always busted.

* Apply suggestion from @bbovenzi

---------
(cherry picked from commit 3dd1370)

Co-authored-by: krystianpl26 <113389013+krystianpl26@users.noreply.github.com>
Co-authored-by: krystianpl26 <kszczepanki1@gmail.com>
Co-authored-by: Brent Bovenzi <brent.bovenzi@gmail.com>
Co-authored-by: Brent Bovenzi <brent@astronomer.io>
@boring-cyborg boring-cyborg Bot added area:translations area:UI Related to UI/UX. For Frontend Developers. translation:it translation:th labels Aug 6, 2026
@bbovenzi
bbovenzi marked this pull request as ready for review August 6, 2026 14:12
@bbovenzi
bbovenzi merged commit addfc85 into v3-3-test Aug 6, 2026
105 of 115 checks passed
@bbovenzi
bbovenzi deleted the backport-3dd1370-v3-3-test branch August 6, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:translations area:UI Related to UI/UX. For Frontend Developers. translation:it translation:th

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants