grafana/public/test
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
..
core Chore: Update typescript to v4.2.4 (#33297) 2021-04-28 15:40:01 +03:00
helpers Alerting: unified alerting frontend (#32708) 2021-04-07 08:42:43 +03:00
lib added no-angle-bracket-type-assertion rule and updatet files to follow rule (#13115) 2018-09-03 11:30:44 +02:00
matchers Chore: Migrate yarn from v1 to v2 (#39082) 2021-10-08 15:19:10 +01:00
mocks I18N: Add Lingui core translation framework. (#41827) 2021-12-15 17:00:37 +01:00
specs Graphite: Limit number of suggestions displayed in Graphite drop downs (#42056) 2021-11-24 15:08:03 +01:00
.jshintrc feat(templating): lots of progress on template variable context specific formats, #2918, all elasticsearch / lucene use cases seem to work now 2016-03-01 08:43:54 +01:00
jest-setup.ts Live: move centrifuge service to a web worker (#41090) 2021-11-09 21:05:01 +04:00
jest-shim.ts Update dependency @types/node to v14 (#40405) 2021-10-21 16:52:26 +02:00
setupTests.ts Tests: Adds expects for observables (#28929) 2020-11-18 15:18:55 +01:00