From f349479f5c0e3e9ff8f2cf2e5fe80423032dca6d Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Fri, 21 Sep 2018 11:45:28 +0300 Subject: [PATCH] Add title to 'add' dialog for 'ID Ranges' entity To improve translation quality the title of 'Add' dialog should be specified explicitly in the spec and should be an entire sentence. Fixes: https://pagure.io/freeipa/issue/7707 Reviewed-By: Serhii Tsymbaliuk --- install/ui/src/freeipa/idrange.js | 1 + ipaserver/plugins/internal.py | 1 + 2 files changed, 2 insertions(+) diff --git a/install/ui/src/freeipa/idrange.js b/install/ui/src/freeipa/idrange.js index 35ec6d96d..bcddc9413 100644 --- a/install/ui/src/freeipa/idrange.js +++ b/install/ui/src/freeipa/idrange.js @@ -92,6 +92,7 @@ return { } ], adder_dialog: { + title: '@i18n:objects.idrange.add', fields: [ { name: 'cn' diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index fde28d604..88c93cdbb 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -1006,6 +1006,7 @@ class i18n_messages(Command): "remove": _("Remove password policies"), }, "idrange": { + "add": _("Add ID range"), "details": _("Range Settings"), "ipabaseid": _("Base ID"), "ipabaserid": _("Primary RID base"),