consul/ui/packages/consul-ui/app
John Cowen 74070c0955
ui: Add intl debug helpers (#10513)
This commit adds a couple of debug utilities to help us to continue slowly adding i18n support:

- We've added a CONSUL_INTL_DEBUG env/cookie variable to turn off variable interpolation within the t helper so you can see which variables are being interpolated.
- We've added a CONSUL_INTL_LOCALE env/cookie which currently supports two 'pseudo-locales' - la-fk (fake latin) and - (just dashes) either of which will make it easier to see what has not been localized until we can add prettier rules to prevent adding any copy into templates at all. I would guess if we ever translated the app we would use this for looking at things whilst developing also - but as yet I've not adding anything for that here seeing as we don't translate anything.
Both variables are dev-time only and all code for this is removed from the production build.
2021-07-06 17:01:08 +01:00
..
abilities ui: Support Route optional parameters/segments (#10212) 2021-05-26 17:43:46 +01:00
adapters ui: Auth Methods - Create Binding Rules tab (#9914) 2021-03-26 11:47:47 -04:00
components ui: Fixup definition-table + copy-button margin (#10512) 2021-07-06 16:57:20 +01:00
controllers ui: Support Route optional parameters/segments (#10212) 2021-05-26 17:43:46 +01:00
decorators ui: Serf Health Check warning notice (#10194) 2021-05-13 11:36:51 +01:00
filter/predicates ui: Serf Health Check warning notice (#10194) 2021-05-13 11:36:51 +01:00
forms
helpers ui: Support Route optional parameters/segments (#10212) 2021-05-26 17:43:46 +01:00
initializers ui: CSP Improvements (#9847) 2021-03-17 10:46:21 +00:00
instance-initializers ui: Add intl debug helpers (#10513) 2021-07-06 17:01:08 +01:00
locations ui: Support Route optional parameters/segments (#10212) 2021-05-26 17:43:46 +01:00
mixins Replace use of 'sane' where appropriate 2021-07-02 12:18:46 -04:00
models ui: Unix Domain Socket support (#10287) 2021-05-26 17:52:25 +01:00
modifiers ui: CopyButton amends (#10511) 2021-07-06 16:56:36 +01:00
routes ui: Support Route optional parameters/segments (#10212) 2021-05-26 17:43:46 +01:00
routing ui: Support Route optional parameters/segments (#10212) 2021-05-26 17:43:46 +01:00
search/predicates ui: Serf Health Check warning notice (#10194) 2021-05-13 11:36:51 +01:00
serializers ui: Auth Methods - Create Binding Rules tab (#9914) 2021-03-26 11:47:47 -04:00
services ui: CopyButton amends (#10511) 2021-07-06 16:56:36 +01:00
sort/comparators ui: Reformat MaxTokenTTL to sortBy as an integer (#9969) 2021-04-07 12:43:04 -04:00
styles ui: Fixup definition-table + copy-button margin (#10512) 2021-07-06 16:57:20 +01:00
templates ui: %horizontal-kv-list CSS component (and related) (#10285) 2021-06-21 11:40:14 +01:00
utils ui: Add intl debug helpers (#10513) 2021-07-06 17:01:08 +01:00
validations
app.js
env.js
formats.js ui: Install ember-intl (#9399) 2020-12-15 18:29:32 +00:00
index.html
router.js ui: Support Route optional parameters/segments (#10212) 2021-05-26 17:43:46 +01:00