Setup for translation
To start translation, we need to initially import the translation file - and place it at the proper place so that the usual CI scripts can handle it. The proper place is for all python projects $PROJECT/locale/$PROJECT.pot - see setup.cfg. Further imports will be done by the OpenStack Proposal bot. Setup also setup.cfg with the usual babel commands and add the default babel.cfg file. Change-Id: I583e98fac2f9b84cd1115640b936057ad95957e8
This commit is contained in:
parent
ea989b8f95
commit
0630c0577b
45
oslo.messaging/locale/oslo.messaging.pot
Normal file
45
oslo.messaging/locale/oslo.messaging.pot
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# Translations template for oslo.messaging.
|
||||||
|
# Copyright (C) 2014 ORGANIZATION
|
||||||
|
# This file is distributed under the same license as the oslo.messaging
|
||||||
|
# project.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, 2014.
|
||||||
|
#
|
||||||
|
#, fuzzy
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: oslo.messaging 1.3.0.41.gea989b8\n"
|
||||||
|
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||||
|
"POT-Creation-Date: 2014-06-05 22:48+0200\n"
|
||||||
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Generated-By: Babel 1.3\n"
|
||||||
|
|
||||||
|
#: oslo/messaging/notify/_impl_routing.py:81
|
||||||
|
#, python-format
|
||||||
|
msgid "Failed to load any notifiers for %(namespace)s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: oslo/messaging/notify/_impl_routing.py:117
|
||||||
|
#, python-format
|
||||||
|
msgid "Routing '%(event)s' notification to '%(driver)s' driver"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: oslo/messaging/openstack/common/excutils.py:62
|
||||||
|
#, python-format
|
||||||
|
msgid "Original exception being dropped: %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: oslo/messaging/openstack/common/excutils.py:91
|
||||||
|
#, python-format
|
||||||
|
msgid "Unexpected exception occurred %d time(s)... retrying."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: oslo/messaging/rpc/dispatcher.py:142
|
||||||
|
#, python-format
|
||||||
|
msgid "Exception during message handling: %s"
|
||||||
|
msgstr ""
|
||||||
|
|
14
setup.cfg
14
setup.cfg
@ -60,3 +60,17 @@ all_files = 1
|
|||||||
|
|
||||||
[upload_sphinx]
|
[upload_sphinx]
|
||||||
upload-dir = doc/build/html
|
upload-dir = doc/build/html
|
||||||
|
|
||||||
|
[compile_catalog]
|
||||||
|
directory = oslo.messaging/locale
|
||||||
|
domain = oslo.messaging
|
||||||
|
|
||||||
|
[update_catalog]
|
||||||
|
domain = oslo.messaging
|
||||||
|
output_dir = oslo.messaging/locale
|
||||||
|
input_file = oslo.messaging/locale/oslo.messaging.pot
|
||||||
|
|
||||||
|
[extract_messages]
|
||||||
|
keywords = _ gettext ngettext l_ lazy_gettext
|
||||||
|
mapping_file = babel.cfg
|
||||||
|
output_file = oslo.messaging/locale/oslo.messaging.pot
|
||||||
|
Loading…
Reference in New Issue
Block a user