From d811b0c7a32149bb289302e6f1b2fa47b0151533 Mon Sep 17 00:00:00 2001 From: Mark VanLandingham Date: Mon, 6 Jan 2020 05:08:35 -0600 Subject: [PATCH] FIX: Use i18n for allow groups label (#44) --- .../javascripts/discourse/templates/admin/plugins-explorer.hbs | 2 +- config/locales/client.en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs b/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs index c14ff34..632d6c7 100644 --- a/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs +++ b/assets/javascripts/discourse/templates/admin/plugins-explorer.hbs @@ -54,7 +54,7 @@ {{/if}}
- Allow groups to acess this query + {{i18n "explorer.allow_groups"}} {{multi-select values=selectedItem.group_ids diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 5ea10e3..c834896 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -23,6 +23,7 @@ en: dirty: "You must save the query before running." explorer: admins_only: "The data explorer is only available to admins." + allow_groups: "Allow groups to access this query" title: "Data Explorer" create: "Create New" create_placeholder: "Query name..."