From 153f16987d58c93d29c744d143bd3ae04bbdbb1c Mon Sep 17 00:00:00 2001 From: kaz_shinohara Date: Mon, 4 Dec 2017 11:38:06 +0900 Subject: [PATCH] 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 --- babel-django.cfg | 3 ++- doc/source/configuration/configuration.rst | 2 +- .../locale/ja/LC_MESSAGES/django.mo | Bin 560 -> 0 bytes .../locale/ja/LC_MESSAGES/django.po | 19 ------------------ tox.ini | 4 +--- 5 files changed, 4 insertions(+), 24 deletions(-) delete mode 100644 heat_dashboard/locale/ja/LC_MESSAGES/django.mo delete mode 100644 heat_dashboard/locale/ja/LC_MESSAGES/django.po diff --git a/babel-django.cfg b/babel-django.cfg index e78d6c0f..e7ee76ae 100644 --- a/babel-django.cfg +++ b/babel-django.cfg @@ -2,4 +2,5 @@ django = django_babel.extract:extract_django [python: **.py] -[django: **/templates/**.html] +[django: templates/**.html] +[django: **/templates/**.csv] diff --git a/doc/source/configuration/configuration.rst b/doc/source/configuration/configuration.rst index 72ff00a6..f32fcc9b 100644 --- a/doc/source/configuration/configuration.rst +++ b/doc/source/configuration/configuration.rst @@ -26,4 +26,4 @@ available is "enable_user_pass", which can be used to disable the password field while launching the stack. Currently HEAT API needs user password to perform all the heat operations because in HEAT API trusts is not enabled by default. So, this setting can be set as "False" in-case HEAT uses trusts by -default otherwise it needs to be set as "True". \ No newline at end of file +default otherwise it needs to be set as "True". diff --git a/heat_dashboard/locale/ja/LC_MESSAGES/django.mo b/heat_dashboard/locale/ja/LC_MESSAGES/django.mo deleted file mode 100644 index 13498f92f689f768684ec111aa5672528e5a2b14..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 560 zcmY+BL2DE-6vs!Ym$@mu=^=MbCUL2*X;+H1wbd@JWfbxDcIG*g?rt(9S<#~mlpZ}O z9{mC$f>%F_mjV46zUhjkkNikpczOSSl3&->J|z^Fi5tW%;tH`v^f4i>63>Y5my)EQ z`8u&q2PnM|eUIc3TJ#W+<+y0(v`8l29b*ysLCIgB55`%|YJ|v32=&x~FPRilsPqUM z=OZ77%9Q-UvI;zRR2pLwbe2tNL(E}mi@JeQSd5u#(1r-bj2ktySvq-|^BqsENrOKm zZOv{=b%#qDLniNOHMl7$((%D~_uPyUGTm`DqK!O%*U+hmZ(~O8jooBL4L)ETJ} z@Vw504X@GjU0b-)*h;hE)I_qtkMND@Z+XGNfU6BAmEKS*2Zs<)S{zw{47~aEtrtA=qjO74jTmq1j_-z+%Av`, 2017. #zanata -# Keiichi Hikita , 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 \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 "テンプレートの生成" diff --git a/tox.ini b/tox.ini index c5bec30b..40c66cab 100644 --- a/tox.ini +++ b/tox.ini @@ -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