You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by se...@apache.org on 2014/03/31 17:03:45 UTC

[13/13] git commit: Fixing i18n

Fixing i18n


Project: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/commit/04b064a0
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/tree/04b064a0
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/diff/04b064a0

Branch: refs/heads/master
Commit: 04b064a04bda01756ad411324b5b2e57062a5837
Parents: 5f00a99
Author: Sebastien Goasguen <ru...@gmail.com>
Authored: Mon Mar 31 11:03:22 2014 -0400
Committer: Sebastien Goasguen <ru...@gmail.com>
Committed: Mon Mar 31 11:03:22 2014 -0400

----------------------------------------------------------------------
 .gitignore                                      |    3 +-
 Makefile                                        |    4 +-
 README.rst                                      |   26 +
 build/locale/.doctrees/about.doctree            |  Bin 722207 -> 0 bytes
 build/locale/.doctrees/api-changes.doctree      |  Bin 26891 -> 0 bytes
 build/locale/.doctrees/compat.doctree           |  Bin 16078 -> 0 bytes
 build/locale/.doctrees/environment.pickle       |  Bin 21802 -> 0 bytes
 build/locale/.doctrees/index.doctree            |  Bin 9133 -> 0 bytes
 build/locale/.doctrees/rnotes.doctree           |  Bin 620879 -> 0 bytes
 build/locale/about.pot                          | 4887 -----------------
 build/locale/api-changes.pot                    |  264 -
 build/locale/compat.pot                         |  178 -
 build/locale/index.pot                          |   38 -
 build/locale/rnotes.pot                         | 2328 ---------
 source/locale/ja/LC_MESSAGES/about.mo           |  Bin 0 -> 499 bytes
 source/locale/ja/LC_MESSAGES/about.po           |  992 +++-
 source/locale/ja/LC_MESSAGES/api-changes.mo     |  Bin 0 -> 499 bytes
 source/locale/ja/LC_MESSAGES/api-changes.po     |   71 +-
 source/locale/ja/LC_MESSAGES/compat.mo          |  Bin 0 -> 499 bytes
 source/locale/ja/LC_MESSAGES/compat.po          |   46 +-
 source/locale/ja/LC_MESSAGES/index.mo           |  Bin 0 -> 2801 bytes
 source/locale/ja/LC_MESSAGES/index.po           |   27 +-
 source/locale/ja/LC_MESSAGES/pot/about.mo       |  Bin 0 -> 375 bytes
 source/locale/ja/LC_MESSAGES/pot/about.po       | 4943 ++++++++++++++++++
 source/locale/ja/LC_MESSAGES/pot/api-changes.mo |  Bin 0 -> 375 bytes
 source/locale/ja/LC_MESSAGES/pot/api-changes.po |  207 +
 source/locale/ja/LC_MESSAGES/pot/compat.mo      |  Bin 0 -> 375 bytes
 source/locale/ja/LC_MESSAGES/pot/compat.po      |  154 +
 source/locale/ja/LC_MESSAGES/pot/index.mo       |  Bin 0 -> 375 bytes
 source/locale/ja/LC_MESSAGES/pot/index.po       |   41 +
 source/locale/ja/LC_MESSAGES/pot/rnotes.mo      |  Bin 0 -> 375 bytes
 source/locale/ja/LC_MESSAGES/pot/rnotes.po      | 1898 +++++++
 source/locale/ja/LC_MESSAGES/rnotes.mo          |  Bin 0 -> 499 bytes
 source/locale/ja/LC_MESSAGES/rnotes.po          |  710 ++-
 source/locale/pot/.doctrees/about.doctree       |  Bin 0 -> 722802 bytes
 source/locale/pot/.doctrees/api-changes.doctree |  Bin 0 -> 26913 bytes
 source/locale/pot/.doctrees/compat.doctree      |  Bin 0 -> 16100 bytes
 source/locale/pot/.doctrees/environment.pickle  |  Bin 0 -> 22389 bytes
 source/locale/pot/.doctrees/index.doctree       |  Bin 0 -> 9155 bytes
 source/locale/pot/.doctrees/rnotes.doctree      |  Bin 0 -> 620901 bytes
 source/locale/pot/about.pot                     | 3940 +++++++-------
 source/locale/pot/api-changes.pot               |  230 +-
 source/locale/pot/compat.pot                    |  130 +-
 source/locale/pot/index.pot                     |   18 +-
 source/locale/pot/rnotes.pot                    | 2786 +++++-----
 utils/settx.sh                                  |    4 +-
 46 files changed, 12656 insertions(+), 11269 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/04b064a0/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index a801e39..b885e35 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,5 +14,4 @@
 # specific language governing permissions and limitations
 # under the License.
 
-/build/doctrees
-/build/html
+/build

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/04b064a0/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 8816748..c63bbc3 100644
--- a/Makefile
+++ b/Makefile
@@ -162,9 +162,9 @@ info:
 	@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
 
 gettext:
-	$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
+	$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) source/locale/pot
 	@echo
-	@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
+	@echo "Build finished. The message catalogs are in source/locale/pot"
 
 changes:
 	$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/04b064a0/README.rst
----------------------------------------------------------------------
diff --git a/README.rst b/README.rst
index b084246..4c21b75 100644
--- a/README.rst
+++ b/README.rst
@@ -29,6 +29,32 @@ Utils
 
 `utils/jira.py` is a script to get the list of known issues and fixed issues from JIRA. It takes a filter id as argument and outputs a .rst formatted table.
 
+Translation
+===========
+
+Generate the .pot files with:
+
+::
+   sphinx-intl update-txconfig-resources --pot-dir source/locale/pot --transifex-project-name apache-cloudstack-release-notes-rtd --locale-dir source/locale
+
+Push the .pot files to transifex with:
+
+::
+   tx push -s
+
+Download the translated strings, for example Japanese (ja):
+
+::
+   tx pull -l ja
+
+Build the translated docs:
+
+::
+   sphinx-intl build --locale-dir source/locale
+   make -e SPHINXOPTS="-D language='ja'" html
+
+
+
 Feedback
 ========
 

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/04b064a0/build/locale/.doctrees/about.doctree
----------------------------------------------------------------------
diff --git a/build/locale/.doctrees/about.doctree b/build/locale/.doctrees/about.doctree
deleted file mode 100644
index 6d147b4..0000000
Binary files a/build/locale/.doctrees/about.doctree and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/04b064a0/build/locale/.doctrees/api-changes.doctree
----------------------------------------------------------------------
diff --git a/build/locale/.doctrees/api-changes.doctree b/build/locale/.doctrees/api-changes.doctree
deleted file mode 100644
index 1cba2c0..0000000
Binary files a/build/locale/.doctrees/api-changes.doctree and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/04b064a0/build/locale/.doctrees/compat.doctree
----------------------------------------------------------------------
diff --git a/build/locale/.doctrees/compat.doctree b/build/locale/.doctrees/compat.doctree
deleted file mode 100644
index 148dcda..0000000
Binary files a/build/locale/.doctrees/compat.doctree and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/04b064a0/build/locale/.doctrees/environment.pickle
----------------------------------------------------------------------
diff --git a/build/locale/.doctrees/environment.pickle b/build/locale/.doctrees/environment.pickle
deleted file mode 100644
index bc81258..0000000
Binary files a/build/locale/.doctrees/environment.pickle and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/04b064a0/build/locale/.doctrees/index.doctree
----------------------------------------------------------------------
diff --git a/build/locale/.doctrees/index.doctree b/build/locale/.doctrees/index.doctree
deleted file mode 100644
index a3fd0ab..0000000
Binary files a/build/locale/.doctrees/index.doctree and /dev/null differ

http://git-wip-us.apache.org/repos/asf/cloudstack-docs-rn/blob/04b064a0/build/locale/.doctrees/rnotes.doctree
----------------------------------------------------------------------
diff --git a/build/locale/.doctrees/rnotes.doctree b/build/locale/.doctrees/rnotes.doctree
deleted file mode 100644
index 453d9f5..0000000
Binary files a/build/locale/.doctrees/rnotes.doctree and /dev/null differ