ef3bfed0ea
Follow new infra setup for translations, see spec http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html for full details. This basically renames neutron-lib/locale/neutron-lib.pot to neutron_lib/locale/neutron_lib.pot. For this we need to update setup.cfg. Update also domain name in _i18n.py. The project has no translations currently, let's remove the outdated pot file, the updated scripts work without them. So, we can just delete the file and once there are translations, an updated pot file together with translations can be imported automatically. Change-Id: I73db7b37f5a44ae45c01ca16abccb41a5fbfbfe8
47 lines
1.1 KiB
INI
47 lines
1.1 KiB
INI
[metadata]
|
|
name = neutron-lib
|
|
summary = Neutron shared routines and utilities
|
|
description-file =
|
|
README.rst
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
home-page = http://www.openstack.org/
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.3
|
|
Programming Language :: Python :: 3.4
|
|
|
|
[files]
|
|
packages =
|
|
neutron_lib
|
|
|
|
[build_sphinx]
|
|
source-dir = doc/source
|
|
build-dir = doc/build
|
|
all_files = 1
|
|
|
|
[upload_sphinx]
|
|
upload-dir = doc/build/html
|
|
|
|
[compile_catalog]
|
|
directory = neutron_lib/locale
|
|
domain = neutron_lib
|
|
|
|
[update_catalog]
|
|
domain = neutron_lib
|
|
output_dir = neutron_lib/locale
|
|
input_file = neutron_lib/locale/neutron_lib.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = neutron_lib/locale/neutron_lib.pot
|