grafana/public/app/features/profile
Josh Hunt 4f6d08f14b
I18N: Add Lingui core translation framework. (#41827)
* I18N: Add Core Lingui framework for translating the UI

* Make FieldSet accept ReactNode for the label, so it can be translated

* Translate a phrase in the User profile edit form

* Translate phrase

* run lingui compile before webpack builds

* init i18n more lazily

* i1n:compile in drone lint step

* wip for getting tests to work

* Use mock lingui/macros because its too hard to use the real macros in Jest...

* mock messages for tests

* use specific lingui version

* add comment for test helper

* we actually don't need the i18n setup in tests because we mock out <Trans />

* update package.json

* remove unneded imports

* revert back babel core version

* Create a I18nProvider wrapper
2021-12-15 17:00:37 +01:00
..
state Dashboard: Add week start option to global and dashboard preferences (#40010) 2021-10-18 10:27:14 -03:00
all.ts Convert remaining profile bits to React (#24310) 2020-06-08 18:19:00 +03:00
api.ts Admin: Fixes infinite loading edit profile page (#34627) 2021-05-25 14:48:16 +02:00
ChangePasswordForm.tsx Password Field Improvements (#36160) 2021-07-13 09:32:03 +03:00
ChangePasswordPage.test.tsx Update dependency @testing-library/user-event to v13 (#40394) 2021-10-14 13:29:41 +01:00
ChangePasswordPage.tsx Build: Upgrade Webpack 5 (#36444) 2021-08-31 12:55:05 +02:00
types.ts Admin: Fixes infinite loading edit profile page (#34627) 2021-05-25 14:48:16 +02:00
UserOrganizations.tsx A11y: Fix for Fastpass issues on the Profile page (#40212) 2021-10-11 06:32:54 +02:00
UserProfileEditForm.tsx I18N: Add Lingui core translation framework. (#41827) 2021-12-15 17:00:37 +01:00
UserProfileEditPage.test.tsx Chore: Reduce pa11y-ci errors (#41787) 2021-11-17 14:45:45 +01:00
UserProfileEditPage.tsx Build: Upgrade Webpack 5 (#36444) 2021-08-31 12:55:05 +02:00
UserSessions.tsx A11y: Fix for Fastpass issues on the Profile page (#40212) 2021-10-11 06:32:54 +02:00
UserTeams.tsx A11y: Fix for Fastpass issues on the Profile page (#40212) 2021-10-11 06:32:54 +02:00