Fix message i18n error
Partial-Bug: #1217100 Using tools/check_i18n.py to scan source directory, and fix most of the errors. - Message internationalization - First letter must be capital - Using comma instead of percent in LOG.xxx Note: all extension's description are not touched in this patch, can be fixed after discussing. Note: all nicira/check_nvp_config.py print messages are not fixed. Change-Id: I79ef06fd42f6780beb5019c592662536c2a51864
This commit is contained in:
parent
346c7521c1
commit
7b2c0d7185
@ -58,13 +58,13 @@ openswan_opts = [
|
|||||||
default=os.path.join(
|
default=os.path.join(
|
||||||
TEMPLATE_PATH,
|
TEMPLATE_PATH,
|
||||||
'template/openswan/ipsec.conf.template'),
|
'template/openswan/ipsec.conf.template'),
|
||||||
help='Template file for ipsec configuration'),
|
help=_('Template file for ipsec configuration')),
|
||||||
cfg.StrOpt(
|
cfg.StrOpt(
|
||||||
'ipsec_secret_template',
|
'ipsec_secret_template',
|
||||||
default=os.path.join(
|
default=os.path.join(
|
||||||
TEMPLATE_PATH,
|
TEMPLATE_PATH,
|
||||||
'template/openswan/ipsec.secret.template'),
|
'template/openswan/ipsec.secret.template'),
|
||||||
help='Template file for ipsec secret configuration')
|
help=_('Template file for ipsec secret configuration'))
|
||||||
]
|
]
|
||||||
|
|
||||||
cfg.CONF.register_opts(openswan_opts, 'openswan')
|
cfg.CONF.register_opts(openswan_opts, 'openswan')
|
||||||
|
@ -94,4 +94,4 @@ msg_format_checkers = [
|
|||||||
|
|
||||||
file_black_list = ["./neutron/tests/unit",
|
file_black_list = ["./neutron/tests/unit",
|
||||||
"./neutron/openstack",
|
"./neutron/openstack",
|
||||||
"./quantum/plugins/bigswitch/tests"]
|
"./neutron/plugins/bigswitch/tests"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user