From 28c7644980186f50ee007cd5c2f2edcf103eb942 Mon Sep 17 00:00:00 2001 From: Pavel Vomacka Date: Mon, 10 Oct 2016 09:19:32 +0200 Subject: [PATCH] WebUI: fix API Browser menu label The label of API Browser is now in translatable strings and it has uppercase B at the beginnig of second word. https://fedorahosted.org/freeipa/ticket/6384 Reviewed-By: Martin Basti --- install/ui/src/freeipa/navigation/menu_spec.js | 2 +- install/ui/test/data/ipa_init.json | 1 + ipaserver/plugins/internal.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/install/ui/src/freeipa/navigation/menu_spec.js b/install/ui/src/freeipa/navigation/menu_spec.js index 1abd7204f..7d121d9ed 100644 --- a/install/ui/src/freeipa/navigation/menu_spec.js +++ b/install/ui/src/freeipa/navigation/menu_spec.js @@ -249,7 +249,7 @@ var nav = {}; }, { name: 'apibrowser', - label: 'API browser', + label: '@i18n:widget.api_browser', facet: 'apibrowser', args: { 'type': 'command' } }, diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index 99851ab7a..514206a0c 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -734,6 +734,7 @@ }, "true": "True", "widget": { + "api_browser": "API Browser", "first": "First", "last": "Last", "next": "Next", diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index 530458de7..6107a142e 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -887,6 +887,7 @@ class i18n_messages(Command): }, "true": _("True"), "widget": { + "api_browser": _("API Browser"), "first": _("First"), "last": _("Last"), "next": _("Next"),