mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix some untranslatable commands in Web UI API Browser
There are some missing translatable docstrings of commands and modules. Fixes: https://pagure.io/freeipa/issue/7592 Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>
This commit is contained in:
committed by
Christian Heimes
parent
32ed10caf9
commit
c1f7a14c95
@@ -3550,6 +3550,7 @@ for param in _dns_records:
|
||||
|
||||
@register()
|
||||
class dnsrecord_split_parts(Command):
|
||||
__doc__ = _('Split DNS record to parts')
|
||||
NO_CLI = True
|
||||
|
||||
takes_args = (
|
||||
|
||||
@@ -19,9 +19,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
Plugins not accessible directly through the CLI, commands used internally
|
||||
"""
|
||||
from ipalib import Command
|
||||
from ipalib import Str
|
||||
from ipalib.frontend import Local
|
||||
@@ -30,6 +27,10 @@ from ipalib.text import _
|
||||
from ipalib.util import json_serialize
|
||||
from ipalib.plugable import Registry
|
||||
|
||||
__doc__ = _("""
|
||||
Plugins not accessible directly through the CLI, commands used internally
|
||||
""")
|
||||
|
||||
register = Registry()
|
||||
|
||||
@register()
|
||||
|
||||
@@ -17,10 +17,6 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
Joining an IPA domain
|
||||
"""
|
||||
|
||||
import logging
|
||||
|
||||
import six
|
||||
@@ -31,6 +27,10 @@ from ipalib import errors
|
||||
from ipalib import _
|
||||
from ipaserver.install import installutils
|
||||
|
||||
__doc__ = _("""
|
||||
Joining an IPA domain
|
||||
""")
|
||||
|
||||
if six.PY3:
|
||||
unicode = str
|
||||
|
||||
|
||||
@@ -9,6 +9,10 @@ from ipalib.request import context
|
||||
from ipalib.plugable import Registry
|
||||
from ipalib.text import _
|
||||
|
||||
__doc__ = _("""
|
||||
Session Support for IPA
|
||||
""")
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
register = Registry()
|
||||
|
||||
Reference in New Issue
Block a user