diff --git a/babel.cfg b/babel.cfg new file mode 100644 index 00000000..efceab81 --- /dev/null +++ b/babel.cfg @@ -0,0 +1 @@ +[python: **.py] diff --git a/glance.store/locale/glance.store.pot b/glance.store/locale/glance.store.pot new file mode 100644 index 00000000..e074c843 --- /dev/null +++ b/glance.store/locale/glance.store.pot @@ -0,0 +1,465 @@ +# Translations template for glance.store. +# Copyright (C) 2014 ORGANIZATION +# This file is distributed under the same license as the glance.store +# project. +# FIRST AUTHOR , 2014. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: glance.store 2014.1.dev48.gad697aa\n" +"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" +"POT-Creation-Date: 2014-07-16 20:36+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \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" + +#: glance/store/backend.py:36 +msgid "List of stores enabled" +msgstr "" + +#: glance/store/backend.py:39 +msgid "" +"Default scheme to use to store image data. The scheme must be registered " +"by one of the stores defined by the 'stores' config option." +msgstr "" + +#: glance/store/backend.py:194 +#, python-format +msgid "Store for scheme %s not found" +msgstr "" + +#: glance/store/backend.py:276 +#, python-format +msgid "Failed to delete image %s in store from URI" +msgstr "" + +#: glance/store/backend.py:282 +#, python-format +msgid "Failed to delete image %(image_id)s from store (%(exc_type)s)" +msgstr "" + +#: glance/store/backend.py:305 +#, python-format +msgid "" +"The image metadata key %(key)s has an invalid type of %(type)s. Only " +"dict, list, and unicode are supported." +msgstr "" + +#: glance/store/backend.py:329 +#, python-format +msgid "" +"The storage driver %(driver)s returned invalid metadata %(metadata)s. " +"This must be a dictionary type" +msgstr "" + +#: glance/store/backend.py:337 +#, python-format +msgid "" +"A bad metadata structure was returned from the %(driver)s storage driver:" +" %(metadata)s. %(e)s." +msgstr "" + +#: glance/store/backend.py:369 +msgid "Skipping store.set_acls... not implemented." +msgstr "" + +#: glance/store/driver.py:38 +#, python-format +msgid "Caught '%(exception)s' exception." +msgstr "" + +#: glance/store/driver.py:76 +#, python-format +msgid "Failed to configure store correctly: %s Disabling add method." +msgstr "" + +#: glance/store/exceptions.py:46 +#, python-format +msgid "Missing required credential: %(required)s" +msgstr "" + +#: glance/store/exceptions.py:50 +#, python-format +msgid "" +"Incorrect auth strategy, expected \"%(expected)s\" but received " +"\"%(received)s\"" +msgstr "" + +#: glance/store/exceptions.py:55 +#, python-format +msgid "Image %(image)s not found" +msgstr "" + +#: glance/store/exceptions.py:59 +#, python-format +msgid "Unknown scheme '%(scheme)s' found in URI" +msgstr "" + +#: glance/store/exceptions.py:63 +msgid "The Store URI was malformed: %(uri)" +msgstr "" + +#: glance/store/exceptions.py:67 +#, python-format +msgid "Image %(image)s already exists" +msgstr "" + +#: glance/store/exceptions.py:71 +msgid "An object with the same identifier is currently being operated on." +msgstr "" + +#: glance/store/exceptions.py:76 +msgid "There is not enough disk space on the image storage media." +msgstr "" + +#: glance/store/exceptions.py:80 +#, python-format +msgid "" +"The size of the data %(image_size)s will exceed the limit. %(remaining)s " +"bytes remaining." +msgstr "" + +#: glance/store/exceptions.py:85 +msgid "Permission to write image storage media denied." +msgstr "" + +#: glance/store/exceptions.py:89 +#, python-format +msgid "Connect error/bad request to Auth service at URL %(url)s." +msgstr "" + +#: glance/store/exceptions.py:93 +#, python-format +msgid "Auth service at URL %(url)s not found." +msgstr "" + +#: glance/store/exceptions.py:97 +msgid "Authorization failed." +msgstr "" + +#: glance/store/exceptions.py:101 +msgid "You are not authenticated." +msgstr "" + +#: glance/store/exceptions.py:105 glance/store/exceptions.py:109 +msgid "You are not authorized to complete this action." +msgstr "" + +#: glance/store/exceptions.py:113 +#, python-format +msgid "Image %(image_id)s is protected and cannot be deleted." +msgstr "" + +#: glance/store/exceptions.py:117 +msgid "Data supplied was not valid." +msgstr "" + +#: glance/store/exceptions.py:121 +#, python-format +msgid "Store %(store_name)s could not be configured correctly. Reason: %(reason)s" +msgstr "" + +#: glance/store/exceptions.py:126 +#, python-format +msgid "Driver %(driver_name)s could not be loaded." +msgstr "" + +#: glance/store/exceptions.py:130 +#, python-format +msgid "" +"Driver %(driver_name)s could not be configured correctly. Reason: " +"%(reason)s" +msgstr "" + +#: glance/store/exceptions.py:135 +msgid "Deleting images from this store is not supported." +msgstr "" + +#: glance/store/exceptions.py:139 +msgid "Getting images from this store is not supported." +msgstr "" + +#: glance/store/exceptions.py:143 +msgid "Adding images to this store is not supported." +msgstr "" + +#: glance/store/exceptions.py:147 +msgid "Configuration for store failed. Adding images to this store is disabled." +msgstr "" + +#: glance/store/exceptions.py:152 +#, python-format +msgid "Maximum redirects (%(redirects)s) was exceeded." +msgstr "" + +#: glance/store/exceptions.py:156 +msgid "Received invalid HTTP redirect." +msgstr "" + +#: glance/store/exceptions.py:160 +msgid "Response from Keystone does not contain a Glance endpoint." +msgstr "" + +#: glance/store/exceptions.py:164 +#, python-format +msgid "" +"Multiple 'image' service matches for region %(region)s. This generally " +"means that a region is required and you have not supplied one." +msgstr "" + +#: glance/store/exceptions.py:170 +#, python-format +msgid "Server worker creation failed: %(reason)s." +msgstr "" + +#: glance/store/exceptions.py:174 +#, python-format +msgid "Unable to load schema: %(reason)s" +msgstr "" + +#: glance/store/exceptions.py:178 +#, python-format +msgid "Provided object does not match schema '%(schema)s': %(reason)s" +msgstr "" + +#: glance/store/exceptions.py:183 +#, python-format +msgid "Provided header feature is unsupported: %(feature)s" +msgstr "" + +#: glance/store/exceptions.py:187 +msgid "" +"The image cannot be deleted because it is in use through the backend " +"store outside of Glance." +msgstr "" + +#: glance/store/exceptions.py:192 +msgid "No image data could be found" +msgstr "" + +#: glance/store/exceptions.py:196 +#, python-format +msgid "Invalid value '%(value)s' for parameter '%(param)s': %(extra_msg)s" +msgstr "" + +#: glance/store/exceptions.py:201 +#, python-format +msgid "" +"Image status transition from %(cur_status)s to %(new_status)s is not " +"allowed" +msgstr "" + +#: glance/store/common/config.py:34 +msgid "" +"Partial name of a pipeline in your paste configuration file with the " +"service name removed. For example, if your paste section name is " +"[pipeline:glance-api-keystone] use the value \"keystone\"" +msgstr "" + +#: glance/store/common/config.py:40 +msgid "Name of the paste configuration file." +msgstr "" + +#: glance/store/common/config.py:45 +msgid "Supported values for the 'container_format' image attribute" +msgstr "" + +#: glance/store/common/config.py:52 +msgid "Supported values for the 'disk_format' image attribute" +msgstr "" + +#: glance/store/common/config.py:60 +msgid "Time in hours for which a task lives after, either succeeding or failing" +msgstr "" + +#: glance/store/common/config.py:67 +msgid "" +"Whether to allow users to specify image properties beyond what the image " +"schema provides" +msgstr "" + +#: glance/store/common/config.py:70 +msgid "" +"Maximum number of image members per image. Negative values evaluate to " +"unlimited." +msgstr "" + +#: glance/store/common/config.py:73 +msgid "" +"Maximum number of properties allowed on an image. Negative values " +"evaluate to unlimited." +msgstr "" + +#: glance/store/common/config.py:76 +msgid "" +"Maximum number of tags allowed on an image. Negative values evaluate to " +"unlimited." +msgstr "" + +#: glance/store/common/config.py:79 +msgid "" +"Maximum number of locations allowed on an image. Negative values evaluate" +" to unlimited." +msgstr "" + +#: glance/store/common/config.py:82 +msgid "Python module path of data access API" +msgstr "" + +#: glance/store/common/config.py:84 +msgid "" +"Default value for the number of items returned by a request if not " +"specified explicitly in the request" +msgstr "" + +#: glance/store/common/config.py:87 +msgid "Maximum permissible number of items that could be returned by a request" +msgstr "" + +#: glance/store/common/config.py:90 +msgid "" +"Whether to include the backend image storage location in image " +"properties. Revealing storage location can be a security risk, so use " +"this setting with caution!" +msgstr "" + +#: glance/store/common/config.py:95 +msgid "" +"Whether to include the backend image locations in image properties. " +"Revealing storage location can be a security risk, so use this setting " +"with caution! The overrides show_image_direct_url." +msgstr "" + +#: glance/store/common/config.py:100 +msgid "" +"Maximum size of image a user can upload in bytes. Defaults to " +"1099511627776 bytes (1 TB)." +msgstr "" + +#: glance/store/common/config.py:103 +msgid "" +"Set a system wide quota for every user. This value is the total number " +"of bytes that a user can use across all storage systems. A value of 0 " +"means unlimited." +msgstr "" + +#: glance/store/common/config.py:107 +msgid "Deploy the v1 OpenStack Images API." +msgstr "" + +#: glance/store/common/config.py:109 +msgid "Deploy the v2 OpenStack Images API." +msgstr "" + +#: glance/store/common/config.py:111 +msgid "The hostname/IP of the pydev process listening for debug connections" +msgstr "" + +#: glance/store/common/config.py:114 +msgid "The port on which a pydev process is listening for connections." +msgstr "" + +#: glance/store/common/config.py:117 +msgid "" +"Key used for encrypting sensitive metadata while talking to the registry " +"or database." +msgstr "" + +#: glance/store/common/config.py:203 +#, python-format +msgid "Loading %(app_name)s from %(conf_file)s" +msgstr "" + +#: glance/store/common/config.py:214 +#, python-format +msgid "" +"Unable to load %(app_name)s from configuration file %(conf_file)s.\n" +"Got: %(e)r" +msgstr "" + +#: glance/store/common/utils.py:84 +#, python-format +msgid "Error: cooperative_iter exception %s" +msgstr "" + +#: glance/store/openstack/common/gettextutils.py:320 +msgid "Message objects do not support addition." +msgstr "" + +#: glance/store/openstack/common/gettextutils.py:330 +msgid "" +"Message objects do not support str() because they may contain non-ascii " +"characters. Please use unicode() or translate() instead." +msgstr "" + +#: glance/store/openstack/common/log.py:275 +#, python-format +msgid "Deprecated: %s" +msgstr "" + +#: glance/store/openstack/common/log.py:384 +#, python-format +msgid "Error loading logging config %(log_config)s: %(err_msg)s" +msgstr "" + +#: glance/store/openstack/common/log.py:434 +#, python-format +msgid "syslog facility must be one of: %s" +msgstr "" + +#: glance/store/openstack/common/log.py:677 +#, python-format +msgid "Fatal call to deprecated config: %(msg)s" +msgstr "" + +#: glance/store/openstack/common/processutils.py:59 +msgid "Unexpected error while running command." +msgstr "" + +#: glance/store/openstack/common/processutils.py:62 +#, python-format +msgid "" +"%(description)s\n" +"Command: %(cmd)s\n" +"Exit code: %(exit_code)s\n" +"Stdout: %(stdout)r\n" +"Stderr: %(stderr)r" +msgstr "" + +#: glance/store/openstack/common/processutils.py:143 +#, python-format +msgid "Got unknown keyword args to utils.execute: %r" +msgstr "" + +#: glance/store/openstack/common/processutils.py:149 +msgid "Command requested root, but did not specify a root helper." +msgstr "" + +#: glance/store/openstack/common/processutils.py:246 +msgid "Environment not supported over SSH" +msgstr "" + +#: glance/store/openstack/common/processutils.py:250 +msgid "process_input not supported over SSH" +msgstr "" + +#: glance/store/openstack/common/strutils.py:114 +#, python-format +msgid "Unrecognized value '%(val)s', acceptable values are: %(acceptable)s" +msgstr "" + +#: glance/store/openstack/common/strutils.py:219 +#, python-format +msgid "Invalid unit system: \"%s\"" +msgstr "" + +#: glance/store/openstack/common/strutils.py:228 +#, python-format +msgid "Invalid string format: %s" +msgstr "" + diff --git a/setup.cfg b/setup.cfg index 7bd51114..a8c829ad 100644 --- a/setup.cfg +++ b/setup.cfg @@ -40,3 +40,17 @@ all_files = 1 [upload_sphinx] upload-dir = doc/build/html + +[compile_catalog] +directory = glance.store/locale +domain = glance.store + +[update_catalog] +domain = glance.store +output_dir = glance.store/locale +input_file = glance.store/locale/glance.store.pot + +[extract_messages] +keywords = _ gettext ngettext l_ lazy_gettext +mapping_file = babel.cfg +output_file = glance.store/locale/glance.store.pot