Updated translation files; added sphinx template placeholder to manifest.

Fixed a problem with the batch action translation strings preventing
translations from working properly.

Renamed the zh-cn and zh-tw translations to zh-CN and zh-TW as
is correct.

Fixed bug 947027.

Change-Id: Ifa5704d5c9664d6c4af8ef3fca83a5a81148a82e
This commit is contained in:
Gabriel Hurley 2012-03-05 09:52:02 -08:00
parent c49ab04b3d
commit b59d288ef8
20 changed files with 16295 additions and 12244 deletions

View File

@ -1,6 +1,6 @@
recursive-include docs *.py *.rst *.css *.js *.html *.conf
recursive-include horizon *.html *.js *.csv *.template *.mo
recursive-include openstack_dashboard *.html *.js *.css *.less *.csv *.template *.mo *.example *.eot *.svg *.ttf *.woff *.png *.gif *.ico *.wsgi
recursive-include horizon *.html *.js *.csv *.template *.mo *.po
recursive-include openstack_dashboard *.html *.js *.css *.less *.csv *.template *.mo *.po *.example *.eot *.svg *.ttf *.woff *.png *.gif *.ico *.wsgi
recursive-include tools *.py *.sh
include AUTHORS
@ -10,6 +10,7 @@ include manage.py
include README.rst
include run_tests.sh
include docs/Makefile
include docs/source/_templates/.placeholder
include tools/pip-requires
include tools/test-requires

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -498,19 +498,22 @@ class BatchAction(Action):
#Begin with success message class, downgrade to info if problems
success_message_level = messages.success
if action_not_allowed:
messages.error(request, _('You do not have permission to %s: %s') %
(self._conjugate(action_not_allowed).lower(),
", ".join(action_not_allowed)))
msg = _('You do not have permission to %(action)s: %(objs)s')
params = {"action": self._conjugate(action_not_allowed).lower(),
"objs": ", ".join(action_not_allowed)}
messages.error(request, msg % params)
success_message_level = messages.info
if action_failure:
messages.error(request, _('Unable to %s: %s') % (
self._conjugate(action_failure).lower(),
", ".join(action_failure)))
msg = _('Unable to %(action)s: %(objs)s')
params = {"action": self._conjugate(action_failure).lower(),
"objs": ", ".join(action_failure)}
messages.error(request, msg % params)
success_message_level = messages.info
if action_success:
success_message_level(request, _('%s: %s') % (
self._conjugate(action_success, True),
", ".join(action_success)))
msg = _('%(action)s: %(objs)s')
params = {"action": self._conjugate(action_success, True),
"objs": ", ".join(action_success)}
success_message_level(request, msg % params)
return shortcuts.redirect(self.get_success_url(request))

View File

@ -0,0 +1,105 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-05 09:42-0800\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: settings.py:112
msgid "English"
msgstr ""
#: settings.py:113
msgid "Italiano"
msgstr ""
#: settings.py:114
msgid "Spanish"
msgstr ""
#: settings.py:115
msgid "French"
msgstr ""
#: settings.py:116
msgid "Japanese"
msgstr ""
#: settings.py:117
msgid "Portuguese"
msgstr ""
#: settings.py:118
msgid "Polish"
msgstr ""
#: settings.py:119
msgid "Simplified Chinese"
msgstr ""
#: settings.py:120
msgid "Traditional Chinese"
msgstr ""
#: templates/403.html:4 templates/403.html.py:9
msgid "Forbidden"
msgstr ""
#: templates/403.html:20 templates/404.html:19 templates/500.html:19
msgid "Home"
msgstr ""
#: templates/403.html:24 templates/404.html:23 templates/500.html:23
msgid "Projects"
msgstr ""
#: templates/404.html:4
msgid "Page Not Found"
msgstr ""
#: templates/404.html:9
msgid "The page you were looking for doesn't exist"
msgstr ""
#: templates/404.html:10
msgid "You may have mistyped the address or the page may have moved."
msgstr ""
#: templates/500.html:4 templates/500.html.py:9
msgid "Internal Server Error"
msgstr ""
#: templates/500.html:10
msgid ""
"An unexpected error occurred while processing your request. Please try your "
"request again."
msgstr ""
#: templates/_header.html:4
msgid "Settings"
msgstr ""
#: templates/_header.html:5
msgid "Sign Out"
msgstr ""
#: templates/_login.html:5 templates/_switch.html:6
msgid "Sign In"
msgstr ""
#: templates/switch_tenants.html:12
msgid "Log-in to tenant"
msgstr ""

View File

@ -0,0 +1,105 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-05 09:41-0800\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
#: settings.py:112
msgid "English"
msgstr ""
#: settings.py:113
msgid "Italiano"
msgstr ""
#: settings.py:114
msgid "Spanish"
msgstr ""
#: settings.py:115
msgid "French"
msgstr ""
#: settings.py:116
msgid "Japanese"
msgstr ""
#: settings.py:117
msgid "Portuguese"
msgstr ""
#: settings.py:118
msgid "Polish"
msgstr ""
#: settings.py:119
msgid "Simplified Chinese"
msgstr ""
#: settings.py:120
msgid "Traditional Chinese"
msgstr ""
#: templates/403.html:4 templates/403.html.py:9
msgid "Forbidden"
msgstr ""
#: templates/403.html:20 templates/404.html:19 templates/500.html:19
msgid "Home"
msgstr ""
#: templates/403.html:24 templates/404.html:23 templates/500.html:23
msgid "Projects"
msgstr ""
#: templates/404.html:4
msgid "Page Not Found"
msgstr ""
#: templates/404.html:9
msgid "The page you were looking for doesn't exist"
msgstr ""
#: templates/404.html:10
msgid "You may have mistyped the address or the page may have moved."
msgstr ""
#: templates/500.html:4 templates/500.html.py:9
msgid "Internal Server Error"
msgstr ""
#: templates/500.html:10
msgid ""
"An unexpected error occurred while processing your request. Please try your "
"request again."
msgstr ""
#: templates/_header.html:4
msgid "Settings"
msgstr ""
#: templates/_header.html:5
msgid "Sign Out"
msgstr ""
#: templates/_login.html:5 templates/_switch.html:6
msgid "Sign In"
msgstr ""
#: templates/switch_tenants.html:12
msgid "Log-in to tenant"
msgstr ""

View File

@ -0,0 +1,105 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-05 09:41-0800\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0\n"
#: settings.py:112
msgid "English"
msgstr ""
#: settings.py:113
msgid "Italiano"
msgstr ""
#: settings.py:114
msgid "Spanish"
msgstr ""
#: settings.py:115
msgid "French"
msgstr ""
#: settings.py:116
msgid "Japanese"
msgstr ""
#: settings.py:117
msgid "Portuguese"
msgstr ""
#: settings.py:118
msgid "Polish"
msgstr ""
#: settings.py:119
msgid "Simplified Chinese"
msgstr ""
#: settings.py:120
msgid "Traditional Chinese"
msgstr ""
#: templates/403.html:4 templates/403.html.py:9
msgid "Forbidden"
msgstr ""
#: templates/403.html:20 templates/404.html:19 templates/500.html:19
msgid "Home"
msgstr ""
#: templates/403.html:24 templates/404.html:23 templates/500.html:23
msgid "Projects"
msgstr ""
#: templates/404.html:4
msgid "Page Not Found"
msgstr ""
#: templates/404.html:9
msgid "The page you were looking for doesn't exist"
msgstr ""
#: templates/404.html:10
msgid "You may have mistyped the address or the page may have moved."
msgstr ""
#: templates/500.html:4 templates/500.html.py:9
msgid "Internal Server Error"
msgstr ""
#: templates/500.html:10
msgid ""
"An unexpected error occurred while processing your request. Please try your "
"request again."
msgstr ""
#: templates/_header.html:4
msgid "Settings"
msgstr ""
#: templates/_header.html:5
msgid "Sign Out"
msgstr ""
#: templates/_login.html:5 templates/_switch.html:6
msgid "Sign In"
msgstr ""
#: templates/switch_tenants.html:12
msgid "Log-in to tenant"
msgstr ""

View File

@ -0,0 +1,106 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-05 09:42-0800\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2)\n"
#: settings.py:112
msgid "English"
msgstr ""
#: settings.py:113
msgid "Italiano"
msgstr ""
#: settings.py:114
msgid "Spanish"
msgstr ""
#: settings.py:115
msgid "French"
msgstr ""
#: settings.py:116
msgid "Japanese"
msgstr ""
#: settings.py:117
msgid "Portuguese"
msgstr ""
#: settings.py:118
msgid "Polish"
msgstr ""
#: settings.py:119
msgid "Simplified Chinese"
msgstr ""
#: settings.py:120
msgid "Traditional Chinese"
msgstr ""
#: templates/403.html:4 templates/403.html.py:9
msgid "Forbidden"
msgstr ""
#: templates/403.html:20 templates/404.html:19 templates/500.html:19
msgid "Home"
msgstr ""
#: templates/403.html:24 templates/404.html:23 templates/500.html:23
msgid "Projects"
msgstr ""
#: templates/404.html:4
msgid "Page Not Found"
msgstr ""
#: templates/404.html:9
msgid "The page you were looking for doesn't exist"
msgstr ""
#: templates/404.html:10
msgid "You may have mistyped the address or the page may have moved."
msgstr ""
#: templates/500.html:4 templates/500.html.py:9
msgid "Internal Server Error"
msgstr ""
#: templates/500.html:10
msgid ""
"An unexpected error occurred while processing your request. Please try your "
"request again."
msgstr ""
#: templates/_header.html:4
msgid "Settings"
msgstr ""
#: templates/_header.html:5
msgid "Sign Out"
msgstr ""
#: templates/_login.html:5 templates/_switch.html:6
msgid "Sign In"
msgstr ""
#: templates/switch_tenants.html:12
msgid "Log-in to tenant"
msgstr ""

View File

@ -0,0 +1,105 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-05 09:42-0800\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
#: settings.py:112
msgid "English"
msgstr ""
#: settings.py:113
msgid "Italiano"
msgstr ""
#: settings.py:114
msgid "Spanish"
msgstr ""
#: settings.py:115
msgid "French"
msgstr ""
#: settings.py:116
msgid "Japanese"
msgstr ""
#: settings.py:117
msgid "Portuguese"
msgstr ""
#: settings.py:118
msgid "Polish"
msgstr ""
#: settings.py:119
msgid "Simplified Chinese"
msgstr ""
#: settings.py:120
msgid "Traditional Chinese"
msgstr ""
#: templates/403.html:4 templates/403.html.py:9
msgid "Forbidden"
msgstr ""
#: templates/403.html:20 templates/404.html:19 templates/500.html:19
msgid "Home"
msgstr ""
#: templates/403.html:24 templates/404.html:23 templates/500.html:23
msgid "Projects"
msgstr ""
#: templates/404.html:4
msgid "Page Not Found"
msgstr ""
#: templates/404.html:9
msgid "The page you were looking for doesn't exist"
msgstr ""
#: templates/404.html:10
msgid "You may have mistyped the address or the page may have moved."
msgstr ""
#: templates/500.html:4 templates/500.html.py:9
msgid "Internal Server Error"
msgstr ""
#: templates/500.html:10
msgid ""
"An unexpected error occurred while processing your request. Please try your "
"request again."
msgstr ""
#: templates/_header.html:4
msgid "Settings"
msgstr ""
#: templates/_header.html:5
msgid "Sign Out"
msgstr ""
#: templates/_login.html:5 templates/_switch.html:6
msgid "Sign In"
msgstr ""
#: templates/switch_tenants.html:12
msgid "Log-in to tenant"
msgstr ""

View File

@ -0,0 +1,104 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-05 11:40-0800\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: settings.py:112
msgid "English"
msgstr ""
#: settings.py:113
msgid "Italiano"
msgstr ""
#: settings.py:114
msgid "Spanish"
msgstr ""
#: settings.py:115
msgid "French"
msgstr ""
#: settings.py:116
msgid "Japanese"
msgstr ""
#: settings.py:117
msgid "Portuguese"
msgstr ""
#: settings.py:118
msgid "Polish"
msgstr ""
#: settings.py:119
msgid "Simplified Chinese"
msgstr ""
#: settings.py:120
msgid "Traditional Chinese"
msgstr ""
#: templates/403.html:4 templates/403.html.py:9
msgid "Forbidden"
msgstr ""
#: templates/403.html:20 templates/404.html:19 templates/500.html:19
msgid "Home"
msgstr ""
#: templates/403.html:24 templates/404.html:23 templates/500.html:23
msgid "Projects"
msgstr ""
#: templates/404.html:4
msgid "Page Not Found"
msgstr ""
#: templates/404.html:9
msgid "The page you were looking for doesn't exist"
msgstr ""
#: templates/404.html:10
msgid "You may have mistyped the address or the page may have moved."
msgstr ""
#: templates/500.html:4 templates/500.html.py:9
msgid "Internal Server Error"
msgstr ""
#: templates/500.html:10
msgid ""
"An unexpected error occurred while processing your request. Please try your "
"request again."
msgstr ""
#: templates/_header.html:4
msgid "Settings"
msgstr ""
#: templates/_header.html:5
msgid "Sign Out"
msgstr ""
#: templates/_login.html:5 templates/_switch.html:6
msgid "Sign In"
msgstr ""
#: templates/switch_tenants.html:12
msgid "Log-in to tenant"
msgstr ""

View File

@ -0,0 +1,104 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-05 11:40-0800\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"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: settings.py:112
msgid "English"
msgstr ""
#: settings.py:113
msgid "Italiano"
msgstr ""
#: settings.py:114
msgid "Spanish"
msgstr ""
#: settings.py:115
msgid "French"
msgstr ""
#: settings.py:116
msgid "Japanese"
msgstr ""
#: settings.py:117
msgid "Portuguese"
msgstr ""
#: settings.py:118
msgid "Polish"
msgstr ""
#: settings.py:119
msgid "Simplified Chinese"
msgstr ""
#: settings.py:120
msgid "Traditional Chinese"
msgstr ""
#: templates/403.html:4 templates/403.html.py:9
msgid "Forbidden"
msgstr ""
#: templates/403.html:20 templates/404.html:19 templates/500.html:19
msgid "Home"
msgstr ""
#: templates/403.html:24 templates/404.html:23 templates/500.html:23
msgid "Projects"
msgstr ""
#: templates/404.html:4
msgid "Page Not Found"
msgstr ""
#: templates/404.html:9
msgid "The page you were looking for doesn't exist"
msgstr ""
#: templates/404.html:10
msgid "You may have mistyped the address or the page may have moved."
msgstr ""
#: templates/500.html:4 templates/500.html.py:9
msgid "Internal Server Error"
msgstr ""
#: templates/500.html:10
msgid ""
"An unexpected error occurred while processing your request. Please try your "
"request again."
msgstr ""
#: templates/_header.html:4
msgid "Settings"
msgstr ""
#: templates/_header.html:5
msgid "Sign Out"
msgstr ""
#: templates/_login.html:5 templates/_switch.html:6
msgid "Sign In"
msgstr ""
#: templates/switch_tenants.html:12
msgid "Log-in to tenant"
msgstr ""