Files
threshold-ui/addons/core/translations
LaurenandZhihe Li 990e2d6b9d [Desktop][Bug fix]: Stop target sessions before unauthenticating user session (#2891)
* add stopAll invocation to ipc handler

* trigger modal on both signout btns

* refactor invalidateSession fn

* fix application controller tests

* fix failing tests settings-card/user

* add test to Acceptance | authentication

* migrate electron dialog.showMessageBoxSync to Hds

* rename channel and tracked prop, consolidate cancel fns

* combine modals, add willDestroy, refactor

* test signout and close sessions modal

* address feedback

* refactor window.electron in authentication-test

* address feedback

* refactor: 💡 Fix failing tests

---------

Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
2025-08-04 16:44:27 -04:00
..
2025-04-14 14:27:02 -07:00

Translations

Translations are used to keep template, form, and component files free of raw strings and create a single source of truth for text used throughout the repository.

Examples:

{{t 'states.' message.type}}

{{t (concat "errors." this.messageCode ".description")}}

Actions

Action translations are reserved for actions a user can trigger.

Errors

Translations that are for varying error titles and descriptions.

Form

Translations for label and description text required for form fields.

Notifications

Translations for notification messages.

Resources

Translations with direction relation to different resources (e.g. accout, org, host).

States

Translations for text related to different states data could be in (e.g. active, inactive, error).

Root Translations

Translations for titles, descriptions, and translations that do not fit into other translation files.