Setup Translations

The infra scripts for interacting with our translation server
(transifex) need pot files in the projects to work correctly.

These pot files have been generated using the same method as the infra
scripts.

Note that the infra scripts expect locale files in directory $REPO/locale/, thus
setup.cfg was changed and the existing pot file moved around so that the
infra scripts find everything.

Any future updates of these files will be proposed by the OpenStack
Proposal Bot - including import of translated files once the translation team has
translated files in a sufficient way.

Change-Id: I4f9260c2cfc1605fc2957529f3874750a0cfb0e6
This commit is contained in:
Andreas Jaeger 2015-06-22 14:05:19 +02:00
parent 419d35343a
commit 6a8b99a5e1
6 changed files with 334 additions and 42 deletions

View File

@ -0,0 +1,39 @@
# Translations template for ironic-inspector.
# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the ironic-inspector
# project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: ironic-inspector 2.0.0.dev155.g419d353\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2015-06-22 14:04+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"
#: ironic_inspector/main.py:136
#, python-format
msgid "Hook %s failed to load or was not found"
msgstr ""
#: ironic_inspector/node_cache.py:193
msgid "Configuration option inspector.database should be set"
msgstr ""
#: ironic_inspector/plugins/standard.py:68
#, python-format
msgid "Accepted values for [processing]add_ports are %(valid)s, got %(actual)s"
msgstr ""
#: ironic_inspector/plugins/standard.py:75
#, python-format
msgid "Accepted values for [processing]keep_ports are %(valid)s, got %(actual)s"
msgstr ""

View File

@ -0,0 +1,55 @@
# Translations template for ironic-inspector.
# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the ironic-inspector
# project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: ironic-inspector 2.0.0.dev155.g419d353\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2015-06-22 14:04+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"
#: ironic_inspector/firewall.py:44
#, python-format
msgid ""
"iptables %(iptables)s failed:\n"
"%(exc)s"
msgstr ""
#: ironic_inspector/main.py:108
msgid "Periodic update failed"
msgstr ""
#: ironic_inspector/main.py:119
msgid "Periodic clean up of node cache failed"
msgstr ""
#: ironic_inspector/node_cache.py:122
#, python-format
msgid "Database integrity error %s during adding attributes"
msgstr ""
#: ironic_inspector/node_cache.py:344
#, python-format
msgid "Introspection for nodes %s has timed out"
msgstr ""
#: ironic_inspector/process.py:72 ironic_inspector/process.py:78
#, python-format
msgid "Hook %(hook)s failed, delaying error report until node look up: %(error)s"
msgstr ""
#: ironic_inspector/utils.py:122
#, python-format
msgid "Role \"admin\" not in user role list %s"
msgstr ""

View File

@ -0,0 +1,86 @@
# Translations template for ironic-inspector.
# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the ironic-inspector
# project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: ironic-inspector 2.0.0.dev155.g419d353\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2015-06-22 14:04+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"
#: ironic_inspector/introspect.py:119
#, python-format
msgid "Whitelisting MAC's %(macs)s for node %(node)s on the firewall"
msgstr ""
#: ironic_inspector/introspect.py:142
#, python-format
msgid ""
"Introspection environment is ready for node %(node)s, manual power on is "
"required within %(timeout)d seconds"
msgstr ""
#: ironic_inspector/main.py:139
#, python-format
msgid "Enabled processing hooks: %s"
msgstr ""
#: ironic_inspector/process.py:192
#, python-format
msgid ""
"Waiting for credentials update on node %(node)s, attempt %(attempt)d "
"current error is %(exc)s"
msgstr ""
#: ironic_inspector/process.py:220
#, python-format
msgid "Introspection finished successfully for node %s"
msgstr ""
#: ironic_inspector/utils.py:172
#, python-format
msgid "Node %s is in maintenance mode, skipping provision states check"
msgstr ""
#: ironic_inspector/plugins/root_device_hint.py:50
msgid "No volume is found on the node. Adding a fake value for \"local_gb\""
msgstr ""
#: ironic_inspector/plugins/root_device_hint.py:63
msgid "Root device is already known for the node"
msgstr ""
#: ironic_inspector/plugins/standard.py:48
#, python-format
msgid ""
"Discovered data: CPUs: %(cpus)s %(cpu_arch)s, memory %(memory_mb)s MiB, "
"disk %(local_gb)s GiB"
msgstr ""
#: ironic_inspector/plugins/standard.py:95
#, python-format
msgid "PXE boot interface was %s"
msgstr ""
#: ironic_inspector/plugins/standard.py:125
#, python-format
msgid "Eligible interfaces are %s"
msgstr ""
#: ironic_inspector/plugins/standard.py:148
#, python-format
msgid ""
"Deleting port %(port)s as its MAC %(mac)s is not in expected MAC list "
"%(expected)s for node %(node)s"
msgstr ""

View File

@ -0,0 +1,91 @@
# Translations template for ironic-inspector.
# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the ironic-inspector
# project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: ironic-inspector 2.0.0.dev155.g419d353\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2015-06-22 14:04+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"
#: ironic_inspector/introspect.py:129
#, python-format
msgid "Failed to set boot device to PXE for node %(node)s: %(exc)s"
msgstr ""
#: ironic_inspector/main.py:127
msgid "Starting unauthenticated, please check configuration"
msgstr ""
#: ironic_inspector/main.py:150
msgid "Timeout is disabled in configuration"
msgstr ""
#: ironic_inspector/main.py:160
msgid ""
"Unable to use SSL in this version of Python: %{current}, please ensure "
"your version of Python is greater than %{min} to enable this feature."
msgstr ""
#: ironic_inspector/main.py:172
msgid ""
"Failed to load certificate or key from defined locations: %{cert} and "
"%{key}, will continue to run with the default settings: %{exc}"
msgstr ""
#: ironic_inspector/main.py:178
#, python-format
msgid ""
"There was a problem with the loaded certificate and key, will continue to"
" run with the default settings: %s"
msgstr ""
#: ironic_inspector/node_cache.py:158 ironic_inspector/node_cache.py:178
#, python-format
msgid "Port %(mac)s already exists for node %(uuid)s, skipping"
msgstr ""
#: ironic_inspector/utils.py:152
#, python-format
msgid "Conflict on calling %(call)s: %(exc)s, retry attempt %(count)d"
msgstr ""
#: ironic_inspector/plugins/extra_hardware.py:55
msgid "No extra hardware information was received from the ramdisk"
msgstr ""
#: ironic_inspector/plugins/root_device_hint.py:57
msgid "No block device was received from ramdisk"
msgstr ""
#: ironic_inspector/plugins/root_device_hint.py:74
msgid "Root device cannot be identified because multiple new devices were found"
msgstr ""
#: ironic_inspector/plugins/root_device_hint.py:78
msgid "No new devices were found"
msgstr ""
#: ironic_inspector/plugins/standard.py:120
#, python-format
msgid ""
"The following interfaces were invalid or not eligible in introspection "
"data for node with BMC %(ipmi_address)s and were excluded: %(invalid)s"
msgstr ""
#: ironic_inspector/plugins/standard.py:175
msgid ""
"Failed to store logs received from the ramdisk because ramdisk_logs_dir "
"configuration option is not set"
msgstr ""

View File

@ -7,9 +7,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: ironic-inspector 2.0.0\n"
"Project-Id-Version: ironic-inspector 2.0.0.dev155.g419d353\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2015-05-28 15:25+0200\n"
"POT-Creation-Date: 2015-06-22 14:03+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"
@ -18,62 +18,62 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 1.3\n"
#: ironic_inspector/client.py:62 ironic_inspector/client.py:85
#: ironic_inspector/client.py:73 ironic_inspector/client.py:96
#, python-format
msgid "Expected string for uuid argument, got %r"
msgstr ""
#: ironic_inspector/client.py:64
#: ironic_inspector/client.py:75
msgid "Setting IPMI user name requires a new password"
msgstr ""
#: ironic_inspector/introspect.py:39
#: ironic_inspector/introspect.py:38
msgid "IPMI credentials setup is disabled in configuration"
msgstr ""
#: ironic_inspector/introspect.py:43
#: ironic_inspector/introspect.py:42
msgid "Node should be in maintenance mode to set IPMI credentials on it"
msgstr ""
#: ironic_inspector/introspect.py:50
#: ironic_inspector/introspect.py:49
#, python-format
msgid ""
"Setting IPMI credentials requested for node %s, but neither new user name"
" nor driver_info[ipmi_username] are provided"
msgstr ""
#: ironic_inspector/introspect.py:57
#: ironic_inspector/introspect.py:56
#, python-format
msgid ""
"Forbidden characters encountered in new IPMI password for node %(node)s: "
"\"%(chars)s\"; use only letters and numbers"
msgstr ""
#: ironic_inspector/introspect.py:62
#: ironic_inspector/introspect.py:61
#, python-format
msgid "IPMI password length should be > 0 and <= %d"
msgstr ""
#: ironic_inspector/introspect.py:80
#: ironic_inspector/introspect.py:79
#, python-format
msgid "Cannot find node %s"
msgstr ""
#: ironic_inspector/introspect.py:82
#: ironic_inspector/introspect.py:81
#, python-format
msgid "Cannot get node %(node)s: %(exc)s"
msgstr ""
#: ironic_inspector/introspect.py:93
#: ironic_inspector/introspect.py:92
#, python-format
msgid "Failed validation of power interface for node %(node)s, reason: %(reason)s"
msgstr ""
#: ironic_inspector/introspect.py:108
#: ironic_inspector/introspect.py:107
msgid "Unexpected exception in background introspection thread"
msgstr ""
#: ironic_inspector/introspect.py:139
#: ironic_inspector/introspect.py:137
#, python-format
msgid ""
"Failed to power on node %(node)s, check it's power management "
@ -81,53 +81,62 @@ msgid ""
"%(exc)s"
msgstr ""
#: ironic_inspector/main.py:70
#: ironic_inspector/main.py:79
msgid "Invalid UUID value"
msgstr ""
#: ironic_inspector/node_cache.py:118
#: ironic_inspector/node_cache.py:124
#, python-format
msgid "Some or all of %(name)s's %(value)s are already on introspection"
msgstr ""
#: ironic_inspector/node_cache.py:209
#: ironic_inspector/node_cache.py:262
#, python-format
msgid "Could not find node %s in cache"
msgstr ""
#: ironic_inspector/node_cache.py:240
#: ironic_inspector/node_cache.py:293
#, python-format
msgid "Could not find a node for attributes %s"
msgstr ""
#: ironic_inspector/node_cache.py:243
#: ironic_inspector/node_cache.py:296
#, python-format
msgid "Multiple matching nodes found for attributes %(attr)s: %(found)s"
msgstr ""
#: ironic_inspector/node_cache.py:251
#: ironic_inspector/node_cache.py:304
#, python-format
msgid ""
"Could not find node %s in introspection cache, probably it's not on "
"introspection now"
msgstr ""
#: ironic_inspector/node_cache.py:256
#: ironic_inspector/node_cache.py:309
#, python-format
msgid "Introspection for node %(node)s already finished on %(finish)s"
msgstr ""
#: ironic_inspector/process.py:56
#, python-format
msgid "Unexpected exception during preprocessing in hook %s"
msgstr ""
#: ironic_inspector/process.py:65
#: ironic_inspector/process.py:42 ironic_inspector/process.py:56
#, python-format
msgid "Look up error: %s"
msgstr ""
#: ironic_inspector/process.py:71
#: ironic_inspector/process.py:52
msgid "Node not found hook returned nothing"
msgstr ""
#: ironic_inspector/process.py:54
#, python-format
msgid "Node not found hook failed: %s"
msgstr ""
#: ironic_inspector/process.py:81
#, python-format
msgid "Unexpected exception during preprocessing in hook %s"
msgstr ""
#: ironic_inspector/process.py:87
#, python-format
msgid ""
"The following failures happened during running pre-processing hooks for "
@ -135,11 +144,11 @@ msgid ""
"%(failures)s"
msgstr ""
#: ironic_inspector/process.py:76
#: ironic_inspector/process.py:92
msgid "Data pre-processing failed"
msgstr ""
#: ironic_inspector/process.py:79
#: ironic_inspector/process.py:95
#, python-format
msgid ""
"The following failures happened during running pre-processing hooks for "
@ -147,61 +156,73 @@ msgid ""
"%(failures)s"
msgstr ""
#: ironic_inspector/process.py:89
#: ironic_inspector/process.py:105
#, python-format
msgid "Node UUID %s was found in cache, but is not found in Ironic"
msgstr ""
#: ironic_inspector/process.py:100
#: ironic_inspector/process.py:116
msgid "Unexpected exception during processing"
msgstr ""
#: ironic_inspector/process.py:196
#: ironic_inspector/process.py:201
#, python-format
msgid ""
"Failed to validate updated IPMI credentials for node %s, node might "
"require maintenance"
msgstr ""
#: ironic_inspector/process.py:208
#: ironic_inspector/process.py:213
#, python-format
msgid ""
"Failed to power off node %(node)s, check it's power management "
"configuration: %(exc)s"
msgstr ""
#: ironic_inspector/utils.py:79
#: ironic_inspector/utils.py:119
msgid "Authentication required"
msgstr ""
#: ironic_inspector/utils.py:83
#: ironic_inspector/utils.py:123
msgid "Access denied"
msgstr ""
#: ironic_inspector/utils.py:128
#: ironic_inspector/utils.py:168
#, python-format
msgid ""
"Refusing to introspect node %(node)s with provision state \"%(state)s\" "
"and maintenance mode off"
msgstr ""
#: ironic_inspector/common/swift.py:110
#, python-format
msgid "Swift failed to create container %(container)s. Error was: %(error)s"
msgstr ""
#: ironic_inspector/common/swift.py:125
#, python-format
msgid ""
"Swift failed to create object %(object)s in container %(container)s. "
"Error was: %(error)s"
msgstr ""
#: ironic_inspector/plugins/standard.py:45
#, python-format
msgid "The following required parameters are missing: %s"
msgstr ""
#: ironic_inspector/plugins/standard.py:84
#: ironic_inspector/plugins/standard.py:85
msgid "No interfaces supplied by the ramdisk"
msgstr ""
#: ironic_inspector/plugins/standard.py:111
#: ironic_inspector/plugins/standard.py:112
#, python-format
msgid ""
"No valid interfaces found for node with BMC %(ipmi_address)s, got "
"%(interfaces)s"
msgstr ""
#: ironic_inspector/plugins/standard.py:167
#: ironic_inspector/plugins/standard.py:171
#, python-format
msgid "Ramdisk reported error: %s"
msgstr ""

View File

@ -50,9 +50,9 @@ domain = ironic-inspector
[update_catalog]
domain = ironic-inspector
output_dir = locale
input_file = locale/ironic-inspector.pot
input_file = ironic-inspector/locale/ironic-inspector.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = locale/ironic-inspector.pot
output_file = ironic-inspector/locale/ironic-inspector.pot