Fix the translation of transform string

* It cause missing attribute while the translation is not english.

Change-Id: I63cb9b1f2ab566f8724c33b3ccf5e268d0d01196
This commit is contained in:
Jim Yeh 2012-03-09 15:59:55 +08:00
parent d5c438a3c8
commit f028477c5a
9 changed files with 51 additions and 90 deletions

View File

@ -118,13 +118,13 @@ class UsersTable(tables.DataTable):
("true", True),
("false", False)
)
id = tables.Column(_('id'))
name = tables.Column(_('name'))
email = tables.Column(_('email'))
id = tables.Column('id', verbose_name=_('ID'))
name = tables.Column('name', verbose_name=_('User Name'))
email = tables.Column('email', verbose_name=_('Email'))
# Default tenant is not returned from Keystone currently.
#default_tenant = tables.Column(_('default_tenant'),
# verbose_name="Default Project")
enabled = tables.Column(_('enabled'),
#default_tenant = tables.Column('default_tenant',
# verbose_name=_('Default Project'))
enabled = tables.Column('enabled', verbose_name=_('Enabled'),
status=True,
status_choices=STATUS_CHOICES)

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: openstack-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-09 12:55+0800\n"
"POT-Creation-Date: 2012-03-10 09:27+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"
@ -1613,6 +1613,7 @@ msgstr ""
#: dashboards/syspanel/projects/forms.py:89
#: dashboards/syspanel/projects/tables.py:75
#: dashboards/syspanel/services/tables.py:44
#: dashboards/syspanel/users/tables.py:127
msgid "Enabled"
msgstr ""
@ -1627,6 +1628,7 @@ msgstr ""
#: dashboards/syspanel/projects/forms.py:83
#: dashboards/syspanel/users/forms.py:87
#: dashboards/syspanel/users/tables.py:121
msgid "ID"
msgstr ""
@ -1878,6 +1880,7 @@ msgid "Select a project"
msgstr ""
#: dashboards/syspanel/users/forms.py:52 dashboards/syspanel/users/forms.py:89
#: dashboards/syspanel/users/tables.py:123
msgid "Email"
msgstr ""
@ -1903,17 +1906,16 @@ msgstr ""
msgid "Unable to create user."
msgstr ""
#: dashboards/syspanel/users/forms.py:88 views/auth_forms.py:64
#: dashboards/syspanel/users/forms.py:88
#: dashboards/syspanel/users/tables.py:122 views/auth_forms.py:64
msgid "User Name"
msgstr ""
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:122
msgid "name"
msgstr ""
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:123
msgid "email"
msgstr ""
@ -1985,14 +1987,6 @@ msgstr ""
msgid "Successfully disabled users: %s"
msgstr ""
#: dashboards/syspanel/users/tables.py:121
msgid "id"
msgstr ""
#: dashboards/syspanel/users/tables.py:127
msgid "enabled"
msgstr ""
#: dashboards/syspanel/users/views.py:50 dashboards/syspanel/users/views.py:56
#, python-format
msgid "Unable to get user info: %s"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: openstack-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-09 12:55+0800\n"
"POT-Creation-Date: 2012-03-10 09:27+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"
@ -1613,6 +1613,7 @@ msgstr ""
#: dashboards/syspanel/projects/forms.py:89
#: dashboards/syspanel/projects/tables.py:75
#: dashboards/syspanel/services/tables.py:44
#: dashboards/syspanel/users/tables.py:127
msgid "Enabled"
msgstr ""
@ -1627,6 +1628,7 @@ msgstr ""
#: dashboards/syspanel/projects/forms.py:83
#: dashboards/syspanel/users/forms.py:87
#: dashboards/syspanel/users/tables.py:121
msgid "ID"
msgstr ""
@ -1878,6 +1880,7 @@ msgid "Select a project"
msgstr ""
#: dashboards/syspanel/users/forms.py:52 dashboards/syspanel/users/forms.py:89
#: dashboards/syspanel/users/tables.py:123
msgid "Email"
msgstr ""
@ -1903,17 +1906,16 @@ msgstr ""
msgid "Unable to create user."
msgstr ""
#: dashboards/syspanel/users/forms.py:88 views/auth_forms.py:64
#: dashboards/syspanel/users/forms.py:88
#: dashboards/syspanel/users/tables.py:122 views/auth_forms.py:64
msgid "User Name"
msgstr ""
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:122
msgid "name"
msgstr ""
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:123
msgid "email"
msgstr ""
@ -1985,14 +1987,6 @@ msgstr ""
msgid "Successfully disabled users: %s"
msgstr ""
#: dashboards/syspanel/users/tables.py:121
msgid "id"
msgstr ""
#: dashboards/syspanel/users/tables.py:127
msgid "enabled"
msgstr ""
#: dashboards/syspanel/users/views.py:50 dashboards/syspanel/users/views.py:56
#, python-format
msgid "Unable to get user info: %s"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: openstack-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-09 12:55+0800\n"
"POT-Creation-Date: 2012-03-10 09:27+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Takeshi Nakajima <tnakaji@midokura.jp>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -1732,6 +1732,7 @@ msgstr "キー%sを作成できません。"
#: dashboards/syspanel/projects/forms.py:89
#: dashboards/syspanel/projects/tables.py:75
#: dashboards/syspanel/services/tables.py:44
#: dashboards/syspanel/users/tables.py:127
msgid "Enabled"
msgstr ""
@ -1747,6 +1748,7 @@ msgstr "キー%sを作成できません。"
#: dashboards/syspanel/projects/forms.py:83
#: dashboards/syspanel/users/forms.py:87
#: dashboards/syspanel/users/tables.py:121
msgid "ID"
msgstr ""
@ -2024,6 +2026,7 @@ msgid "Select a project"
msgstr "プロジェクトを削除"
#: dashboards/syspanel/users/forms.py:52 dashboards/syspanel/users/forms.py:89
#: dashboards/syspanel/users/tables.py:123
msgid "Email"
msgstr ""
@ -2052,17 +2055,16 @@ msgstr "イメージ%sを更新できません。"
msgid "Unable to create user."
msgstr "ボリューム%sを作成できません。"
#: dashboards/syspanel/users/forms.py:88 views/auth_forms.py:64
#: dashboards/syspanel/users/forms.py:88
#: dashboards/syspanel/users/tables.py:122 views/auth_forms.py:64
msgid "User Name"
msgstr "ユーザ名"
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:122
msgid "name"
msgstr ""
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:123
msgid "email"
msgstr ""
@ -2137,14 +2139,6 @@ msgstr "キー%sを削除できません。"
msgid "Successfully disabled users: %s"
msgstr "プロジェクト%(proj)sを正常に修正しました。"
#: dashboards/syspanel/users/tables.py:121
msgid "id"
msgstr ""
#: dashboards/syspanel/users/tables.py:127
msgid "enabled"
msgstr ""
#: dashboards/syspanel/users/views.py:50 dashboards/syspanel/users/views.py:56
#, fuzzy, python-format
msgid "Unable to get user info: %s"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: openstack-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-09 12:55+0800\n"
"POT-Creation-Date: 2012-03-10 09:27+0800\n"
"PO-Revision-Date: 2011-09-24 14:41+0100\n"
"Last-Translator: Tomasz 'Zen' Napierala <tomasz@napierala.org>\n"
"Language-Team: Polish OpenStack translations team <tomasz+openstack-"
@ -1712,6 +1712,7 @@ msgstr "Nie można utworzyć klucza: %s"
#: dashboards/syspanel/projects/forms.py:89
#: dashboards/syspanel/projects/tables.py:75
#: dashboards/syspanel/services/tables.py:44
#: dashboards/syspanel/users/tables.py:127
msgid "Enabled"
msgstr ""
@ -1727,6 +1728,7 @@ msgstr "Nie można utworzyć klucza: %s"
#: dashboards/syspanel/projects/forms.py:83
#: dashboards/syspanel/users/forms.py:87
#: dashboards/syspanel/users/tables.py:121
msgid "ID"
msgstr ""
@ -2004,6 +2006,7 @@ msgid "Select a project"
msgstr "Usuń projekt"
#: dashboards/syspanel/users/forms.py:52 dashboards/syspanel/users/forms.py:89
#: dashboards/syspanel/users/tables.py:123
msgid "Email"
msgstr ""
@ -2031,17 +2034,16 @@ msgstr "Nie można zaktualizować obrazu: %s"
msgid "Unable to create user."
msgstr "Nie można utworzyć wolumenu: %s"
#: dashboards/syspanel/users/forms.py:88 views/auth_forms.py:64
#: dashboards/syspanel/users/forms.py:88
#: dashboards/syspanel/users/tables.py:122 views/auth_forms.py:64
msgid "User Name"
msgstr ""
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:122
msgid "name"
msgstr ""
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:123
msgid "email"
msgstr ""
@ -2114,14 +2116,6 @@ msgstr "Nie można usunąć klucza: %s"
msgid "Successfully disabled users: %s"
msgstr "Pomyślnie zmodyfikowano projekt %(proj)s."
#: dashboards/syspanel/users/tables.py:121
msgid "id"
msgstr ""
#: dashboards/syspanel/users/tables.py:127
msgid "enabled"
msgstr ""
#: dashboards/syspanel/users/views.py:50 dashboards/syspanel/users/views.py:56
#, fuzzy, python-format
msgid "Unable to get user info: %s"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: openstack-dashboard\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-09 12:55+0800\n"
"POT-Creation-Date: 2012-03-10 09:27+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"
@ -1612,6 +1612,7 @@ msgstr ""
#: dashboards/syspanel/projects/forms.py:89
#: dashboards/syspanel/projects/tables.py:75
#: dashboards/syspanel/services/tables.py:44
#: dashboards/syspanel/users/tables.py:127
msgid "Enabled"
msgstr ""
@ -1626,6 +1627,7 @@ msgstr ""
#: dashboards/syspanel/projects/forms.py:83
#: dashboards/syspanel/users/forms.py:87
#: dashboards/syspanel/users/tables.py:121
msgid "ID"
msgstr ""
@ -1877,6 +1879,7 @@ msgid "Select a project"
msgstr ""
#: dashboards/syspanel/users/forms.py:52 dashboards/syspanel/users/forms.py:89
#: dashboards/syspanel/users/tables.py:123
msgid "Email"
msgstr ""
@ -1902,17 +1905,16 @@ msgstr ""
msgid "Unable to create user."
msgstr ""
#: dashboards/syspanel/users/forms.py:88 views/auth_forms.py:64
#: dashboards/syspanel/users/forms.py:88
#: dashboards/syspanel/users/tables.py:122 views/auth_forms.py:64
msgid "User Name"
msgstr ""
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:122
msgid "name"
msgstr ""
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:123
msgid "email"
msgstr ""
@ -1984,14 +1986,6 @@ msgstr ""
msgid "Successfully disabled users: %s"
msgstr ""
#: dashboards/syspanel/users/tables.py:121
msgid "id"
msgstr ""
#: dashboards/syspanel/users/tables.py:127
msgid "enabled"
msgstr ""
#: dashboards/syspanel/users/views.py:50 dashboards/syspanel/users/views.py:56
#, python-format
msgid "Unable to get user info: %s"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-09 12:55+0800\n"
"POT-Creation-Date: 2012-03-10 09:27+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"
@ -1612,6 +1612,7 @@ msgstr ""
#: dashboards/syspanel/projects/forms.py:89
#: dashboards/syspanel/projects/tables.py:75
#: dashboards/syspanel/services/tables.py:44
#: dashboards/syspanel/users/tables.py:127
msgid "Enabled"
msgstr ""
@ -1626,6 +1627,7 @@ msgstr ""
#: dashboards/syspanel/projects/forms.py:83
#: dashboards/syspanel/users/forms.py:87
#: dashboards/syspanel/users/tables.py:121
msgid "ID"
msgstr ""
@ -1877,6 +1879,7 @@ msgid "Select a project"
msgstr ""
#: dashboards/syspanel/users/forms.py:52 dashboards/syspanel/users/forms.py:89
#: dashboards/syspanel/users/tables.py:123
msgid "Email"
msgstr ""
@ -1902,17 +1905,16 @@ msgstr ""
msgid "Unable to create user."
msgstr ""
#: dashboards/syspanel/users/forms.py:88 views/auth_forms.py:64
#: dashboards/syspanel/users/forms.py:88
#: dashboards/syspanel/users/tables.py:122 views/auth_forms.py:64
msgid "User Name"
msgstr ""
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:122
msgid "name"
msgstr ""
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:123
msgid "email"
msgstr ""
@ -1984,14 +1986,6 @@ msgstr ""
msgid "Successfully disabled users: %s"
msgstr ""
#: dashboards/syspanel/users/tables.py:121
msgid "id"
msgstr ""
#: dashboards/syspanel/users/tables.py:127
msgid "enabled"
msgstr ""
#: dashboards/syspanel/users/views.py:50 dashboards/syspanel/users/views.py:56
#, python-format
msgid "Unable to get user info: %s"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-03-09 12:55+0800\n"
"POT-Creation-Date: 2012-03-10 09:27+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Andy Chong <andycjw@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -1630,6 +1630,7 @@ msgstr "無法將使用者加入租戶"
#: dashboards/syspanel/projects/forms.py:89
#: dashboards/syspanel/projects/tables.py:75
#: dashboards/syspanel/services/tables.py:44
#: dashboards/syspanel/users/tables.py:127
msgid "Enabled"
msgstr "已啟用"
@ -1644,6 +1645,7 @@ msgstr "無法建立租戶"
#: dashboards/syspanel/projects/forms.py:83
#: dashboards/syspanel/users/forms.py:87
#: dashboards/syspanel/users/tables.py:121
msgid "ID"
msgstr "ID"
@ -1895,6 +1897,7 @@ msgid "Select a project"
msgstr "選擇專案"
#: dashboards/syspanel/users/forms.py:52 dashboards/syspanel/users/forms.py:89
#: dashboards/syspanel/users/tables.py:123
msgid "Email"
msgstr "電子郵件"
@ -1920,17 +1923,16 @@ msgstr "無法將使用者加入主要專案。"
msgid "Unable to create user."
msgstr "無法建立使用者。"
#: dashboards/syspanel/users/forms.py:88 views/auth_forms.py:64
#: dashboards/syspanel/users/forms.py:88
#: dashboards/syspanel/users/tables.py:122 views/auth_forms.py:64
msgid "User Name"
msgstr "使用者名稱"
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:122
msgid "name"
msgstr "名稱"
#: dashboards/syspanel/users/forms.py:104
#: dashboards/syspanel/users/tables.py:123
msgid "email"
msgstr "電子郵件"
@ -2002,14 +2004,6 @@ msgstr "已停用以下使用者: %s"
msgid "Successfully disabled users: %s"
msgstr "已成功停用使用者: %s"
#: dashboards/syspanel/users/tables.py:121
msgid "id"
msgstr ""
#: dashboards/syspanel/users/tables.py:127
msgid "enabled"
msgstr "已啟用"
#: dashboards/syspanel/users/views.py:50 dashboards/syspanel/users/views.py:56
#, python-format
msgid "Unable to get user info: %s"
@ -2256,6 +2250,9 @@ msgstr "這使用者沒有租戶: %(user)s"
msgid "You are not authorized for any available tenants."
msgstr "您沒有任何租戶的權限。"
#~ msgid "enabled"
#~ msgstr "已啟用"
#~ msgid "Network"
#~ msgstr "網路"