Setup translations

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.

This patch is needed by https://review.openstack.org/210774 .

Change-Id: I2aa56455a15dee0beb4da2b733e172d235a0d02a
This commit is contained in:
Andreas Jaeger 2015-08-09 07:24:54 +02:00
parent d7d6301131
commit bd7d6f1615
5 changed files with 137 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# Translations template for oslo.policy.
# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the oslo.policy
# project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: oslo.policy 0.9.1.dev1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2015-08-09 07:14+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"

View File

@ -0,0 +1,30 @@
# Translations template for oslo.policy.
# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the oslo.policy
# project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: oslo.policy 0.9.1.dev1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2015-08-09 07:14+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_policy/_parser.py:202 oslo_policy/_parser.py:328
#, python-format
msgid "Failed to understand rule %s"
msgstr ""
#: oslo_policy/_parser.py:212
#, python-format
msgid "No handler for matches of kind %s"
msgstr ""

View File

@ -0,0 +1,20 @@
# Translations template for oslo.policy.
# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the oslo.policy
# project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: oslo.policy 0.9.1.dev1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2015-08-09 07:13+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"

View File

@ -0,0 +1,20 @@
# Translations template for oslo.policy.
# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the oslo.policy
# project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: oslo.policy 0.9.1.dev1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2015-08-09 07:14+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"

View File

@ -0,0 +1,47 @@
# Translations template for oslo.policy.
# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the oslo.policy
# project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: oslo.policy 0.9.1.dev1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2015-08-09 07:21+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_policy/opts.py:30
msgid "The JSON file that defines policies."
msgstr ""
#: oslo_policy/opts.py:34
msgid "Default rule. Enforced when a requested rule is not found."
msgstr ""
#: oslo_policy/opts.py:40
msgid ""
"Directories where policy configuration files are stored. They can be "
"relative to any directory in the search path defined by the config_dir "
"option, or absolute paths. The file defined by policy_file must exist for"
" these directories to be searched. Missing or empty directories are "
"ignored."
msgstr ""
#: oslo_policy/policy.py:242
#, python-format
msgid "%(rule)s on %(target)s by %(creds)s disallowed by policy"
msgstr ""
#: oslo_policy/policy.py:358
#, python-format
msgid "Rules must be an instance of dict or Rules, got %s instead"
msgstr ""