Add translation marker to deprecated_reason of config opts

This patch adds a missed translation marter _() to deprecated_reason
parameter of config options.

Change-Id: I40e6a9d1edcf4cd0b19017787062ff2b58ab9a41
This commit is contained in:
Vasyl Saienko 2016-09-13 13:53:07 +03:00
parent 8789b5a57b
commit 5f4015be61
2 changed files with 12 additions and 12 deletions

View File

@ -42,8 +42,8 @@ IRONIC_OPTS = [
'token validation.'),
deprecated_group='discoverd',
deprecated_for_removal=True,
deprecated_reason='Use options presented by configured '
'keystone auth plugin.'),
deprecated_reason=_('Use options presented by configured '
'keystone auth plugin.')),
cfg.StrOpt('os_username',
default='',
help=_('User name for accessing Ironic API. '
@ -51,8 +51,8 @@ IRONIC_OPTS = [
'token validation.'),
deprecated_group='discoverd',
deprecated_for_removal=True,
deprecated_reason='Use options presented by configured '
'keystone auth plugin.'),
deprecated_reason=_('Use options presented by configured '
'keystone auth plugin.')),
cfg.StrOpt('os_password',
default='',
help=_('Password for accessing Ironic API. '
@ -61,8 +61,8 @@ IRONIC_OPTS = [
secret=True,
deprecated_group='discoverd',
deprecated_for_removal=True,
deprecated_reason='Use options presented by configured '
'keystone auth plugin.'),
deprecated_reason=_('Use options presented by configured '
'keystone auth plugin.')),
cfg.StrOpt('os_tenant_name',
default='',
help=_('Tenant name for accessing Ironic API. '
@ -70,8 +70,8 @@ IRONIC_OPTS = [
'token validation.'),
deprecated_group='discoverd',
deprecated_for_removal=True,
deprecated_reason='Use options presented by configured '
'keystone auth plugin.'),
deprecated_reason=_('Use options presented by configured '
'keystone auth plugin.')),
cfg.StrOpt('identity_uri',
default='',
help=_('Keystone admin endpoint. '

View File

@ -46,14 +46,14 @@ SWIFT_OPTS = [
default='2',
help=_('Keystone authentication API version'),
deprecated_for_removal=True,
deprecated_reason='Use options presented by configured '
'keystone auth plugin.'),
deprecated_reason=_('Use options presented by configured '
'keystone auth plugin.')),
cfg.StrOpt('os_auth_url',
default='',
help=_('Keystone authentication URL'),
deprecated_for_removal=True,
deprecated_reason='Use options presented by configured '
'keystone auth plugin.'),
deprecated_reason=_('Use options presented by configured '
'keystone auth plugin.')),
cfg.StrOpt('os_service_type',
default='object-store',
help=_('Swift service type.')),