- {{t 'routes.dc.services.intentions.index.empty.body'
+ {{t 'routes.dc.services.show.intentions.index.empty.body'
items=items.length
htmlSafe=true
}}
diff --git a/ui/packages/consul-ui/app/utils/intl/missing-message.js b/ui/packages/consul-ui/app/utils/intl/missing-message.js
index 7e9c3c945f..a454243ca9 100644
--- a/ui/packages/consul-ui/app/utils/intl/missing-message.js
+++ b/ui/packages/consul-ui/app/utils/intl/missing-message.js
@@ -1,6 +1,12 @@
+/* eslint no-console: ["error", { allow: ["debug"] }] */
+import { runInDebug } from '@ember/debug';
+
// if we can't find the message, take the last part of the identifier and
// ucfirst it so it looks human
export default function missingMessage(key, locales) {
+ runInDebug(
+ _ => console.debug(`Translation key not found: ${key}`)
+ );
const last = key
.split('.')
.pop()
diff --git a/ui/packages/consul-ui/translations/routes/en-us.yaml b/ui/packages/consul-ui/translations/routes/en-us.yaml
index bbe2c94288..d0d9045219 100644
--- a/ui/packages/consul-ui/translations/routes/en-us.yaml
+++ b/ui/packages/consul-ui/translations/routes/en-us.yaml
@@ -75,11 +75,12 @@ dc:
title: Metadata
sessions:
title: Lock Sessions
- header: Welcome to Lock Sessions
- body: |
-
- Consul provides a session mechanism which can be used to build distributed locks. Sessions act as a binding layer between Nodes, Health Checks, and Key/Value data. There are currently no Lock Sessions present, or you may not have key:read
or session:read
permissions.
-
+ empty:
+ header: Welcome to Lock Sessions
+ body: |
+
+ Consul provides a session mechanism which can be used to build distributed locks. Sessions act as a binding layer between Nodes, Health Checks, and Key/Value data. There are currently no Lock Sessions present, or you may not have key:read
or session:read
permissions.
+
services:
title: Service Instances
empty: |