From e73483f4bf4562e4232b61ee092a2a0814b702d6 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Oct 01 2018 09:34:08 +0000 Subject: 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 --- diff --git a/install/ui/src/freeipa/idrange.js b/install/ui/src/freeipa/idrange.js index 35ec6d9..bcddc94 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 fde28d6..88c93cd 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"),