Deleted locale dir & Updated babel-django.cfg

To enable translate job correctly, deleted heat-dashboard/locale
directory and updated babel-django.cfg accordingly.
Also fixed tox.ini which included wrong commands for docs build.

Change-Id: Idb7996ded645a8bc8bcb3b7eb08c8754a8492873
This commit is contained in:
kaz_shinohara 2017-12-04 11:38:06 +09:00 committed by Kazunori Shinohara
parent 1590bfeb12
commit 153f16987d
5 changed files with 4 additions and 24 deletions

View File

@ -2,4 +2,5 @@
django = django_babel.extract:extract_django
[python: **.py]
[django: **/templates/**.html]
[django: templates/**.html]
[django: **/templates/**.csv]

View File

@ -1,19 +0,0 @@
# Kazunori Shinohara <kazunori.shinohara@ntt.com>, 2017. #zanata
# Keiichi Hikita <keiichi.hikita@ntt.com>, 2017. #zanata
msgid ""
msgstr ""
"Project-Id-Version: heat-dashboard 0.0.1\n"
"Report-Msgid-Bugs-To: https://bugs.launchpad.net/openstack-i18n/\n"
"POT-Creation-Date: 2016-06-08 09:13+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2016-03-15 01:51+0000\n"
"Last-Translator: Keiichi Hikita <keiichi.hikita@ntt.com>\n"
"Language-Team: Japanese\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0\n"
"X-Generator: Zanata 3.7.3\n"
msgid "Template Generator"
msgstr "テンプレートの生成"

View File

@ -91,9 +91,7 @@ commands =
{[unit_tests]commands}
[testenv:docs]
commands =
doc8 releasenotes/source releasenotes/notes
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
commands = python setup.py build_sphinx
[testenv:releasenotes]
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html