Skip to content

Uniform Header.vue translations by using $t in template section #13896

@MilosPaunovic

Description

@MilosPaunovic

As the createI18n function called inside kestra/ui/src/translations/i18n.ts automatically exposes global properties to templates - including the $t helper - we want to uniform the code and use $t exclusively in the <template> section of Vue files for translations.

This issue covers applying that cleanup only to the following file:
kestra/components/dashboard/components/Header.vue

Contribution instructions

  • Replace all template usages of t('…') with $t('…') inside <template> section.
  • Ensure that translation keys continue to work correctly in the UI.
  • Do not modify script sections at all.
  • Commit your changes following the repository's commit conventions.

Why this issue is great for new contributors?

  • You'll get hands-on experience with the UI part of the Kestra codebase.
  • The change is small, focused, and safe, making it a perfect entry point.

Only contributions from first-time contributors to this repository are accepted for this issue. 🚀

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions