Commit Graph

477 Commits (4e8bc2dd50a595da5855463015d79d125b800edc)

Author SHA1 Message Date
OpenStack Proposal Bot 4e8bc2dd50 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ia017f3b67acedbbf8676189611cdec836e229ef8
2022-08-23 02:44:05 +00:00
Ian Wienand 8cf776b6ab setup.py : disable autodiscovery with later setuptools
Disable the autodiscovery [1] for this project; it looks like this is
used basically via it's tox environments and doesn't need to worry
about what packages it creates.

This is hitting now because the translation proposal jobs run under a
3.8 venv which is bringing in newer setuptools.

[1] https://github.com/pypa/setuptools/issues/3197

Change-Id: I1f833f6db5fe14f17c91aa2e1f132c2f0fa62959
2022-07-28 12:59:45 +10:00
Zuul 315da907d8 Merge "Zanata stats tool: improve speed with user API" 2021-07-22 05:17:40 +00:00
Zuul 18e419dcce Merge "setup.cfg: Replace dashes with underscores" 2021-07-22 05:17:38 +00:00
Takashi Kajinami 8f32225672 setup.cfg: Replace dashes with underscores
Since setuptools v54.1.0[1], dash-separated options causes a warning
message like [2] and we should replace dashes with underscores.

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

[2]
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead

Change-Id: I05d9c484bb669ae33211e88924b20b7cfe7d0d67
2021-07-10 13:44:29 +00:00
Takashi Kajinami da77b4179e Update IRC network to OFTC
Change-Id: I3baed00e01b42b8ab95b2dfc9c04d32b2a38adaa
2021-07-10 13:44:21 +00:00
Takashi Kajinami 53a1782013 Add missing font for PDF generation
openstack-tox-docs job started to fail with the following error:

! LaTeX Error: File `tgtermes.sty' not found.

This patch adds the required font package to bindep doc profile.

Co-authored-by: Elod Illes <elod.illes@est.tech>
Closes-Bug: #1935742
Change-Id: Idc7ba5b1211327a258b2972f9271b09916598cb3
2021-07-10 22:31:58 +09:00
Ian Y. Choi 82b56bc56f Zanata stats tool: improve speed with user API
This patch enhances the speed of Zanata stats by using
user-based Zanata APIs rather than project-based APIs,
which took >1 days as more Zanata users and translation data
were accumulated.

Note that the API scheme follows with Stackalytics
: https://opendev.org/x/stackalytics/src/branch/master/stackalytics/processor/zanata.py#L38

Change-Id: Ia2462447f7a0cc2534e877976838de09e8683e89
2021-03-09 20:38:35 +09:00
Zuul 9267d04a1b Merge "Document tips on debugging translation job scripts" 2021-03-01 16:38:17 +00:00
Akihiro Motoki 78a21fa830 Document tips on debugging translation job scripts
The need for this information is rare but when I develop
the translation job scripts I always research the same thing
so it is useful at least for me.

Change-Id: I83f38fd673456e0d1179c50d9df903e16b01bd5f
2021-02-24 09:02:27 +09:00
Akihiro Motoki 27a98e3ec4 Document on renaming Chinese locales in horizon
There is no good place to document Chinese locale rename
in horizon and plugins, so this commit add contents to
"Handling horizon projects" section in tools.rst and add the info
on Chinese locales to the section.

Change-Id: I3e9d2398e3768b9d479d01aa2ac73f8d72bdcb8f
2021-02-12 03:41:29 +00:00
OpenStack Proposal Bot 80e0fee56b Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I4c65b3e9442c115618a7fc801325067ca7d87d99
2020-10-14 06:46:33 +00:00
OpenStack Proposal Bot b829a532e2 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ib7626f43ec00f1db43085ca10c705ce7febf581b
2020-09-07 06:49:07 +00:00
Zuul 9ec33d3a93 Merge "Stop to use the __future__ module." 2020-07-16 14:20:58 +00:00
Andreas Jaeger 8d8ec6042b Document translation of stable branches
Document the change from https://review.opendev.org/723217.

Change-Id: I619505df6bfbf9ef832c854c4b462061ee0b72cc
2020-07-10 13:37:13 +02:00
Hervé Beraud e624e808e8 Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I04c1b88c5b978905c6b9fae5084c9d3561e805ad
2020-06-02 20:18:35 +02:00
Andreas Jaeger 533fd1ad52 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Set openstackdocs_auto_name to use 'project' as name.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I6430e16e22a2afc0fda3a5a43eccfd3309f20931
2020-05-21 09:22:19 +02:00
Andreas Jaeger 775319ae15 Update python project setup instructions
We don't need babel.cfg and instructions in setup.cfg anymore, see
http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014233.html

Update docs for this.

Change-Id: Ibf9fdcddddf616fc9386b44ef33917421804238c
2020-04-27 18:22:56 +02:00
Roman Gorshunov 40a1f1f4f9 Sync translation_team.yaml with Zanata
This list is generated by running "zanata_users.py"
command to sync translation members.

Change-Id: I16cdbaf4aa9b537a46d4e84426671455e50cdfa3
2020-04-15 19:37:01 +02:00
OpenStack Proposal Bot 7714b88057 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I42b5bd866ac831ab9ce941fc3965929e8975a679
2020-04-03 10:37:03 +00:00
Andreas Jaeger 8f3886a7d2 Update project_setup
Improve wording of initial paragraph, make clear that ReactJS projects
need special treatment.

Change-Id: I56058e561c7027d07ed506b722abb44285854a0a
2020-03-11 10:52:22 +09:00
Andreas Jaeger e92c6fd83f Move project setup here
Move project setup from
https://docs.openstack.org/infra/manual/creators.html#enabling-translation-infrastructure
to this repository since the Infra Manual is now more generic and this
setup is specific to OpenStack.

Remove now obsolete section in reviewing-translation-import.

This is a clean import of the section from the Infra manual. Any changes
will be done as followup.

Needed-By: https://review.opendev.org/711827
Change-Id: I82f682e390cc4bdf8fa60cd756606cbb3705fba2
2020-03-11 10:52:22 +09:00
Andreas Jaeger 94ae2b89aa Fix infra.rst and ptl.rst for OpenDev
Update broken URLs, we have no openstack-infra namespace anymore.

Move from status.o.o to zuul.opendev.org, status.o.o does not provide
information about translation jobs anymore.

Change-Id: I4a91eb47e13441d654673ad085552534e987238c
2020-03-08 18:13:56 +01:00
OpenStack Proposal Bot 8e11a351a1 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I1dc702938d9a2561cd0383ffd90b360bf30f7b5f
2020-02-28 10:20:13 +00:00
OpenStack Proposal Bot 09d9fad4ac Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2701c0aacaf3f40065c6508aed8a19a2ff907dba
2020-02-14 06:23:45 +00:00
Andreas Jaeger fb8bc0b09b [ussuri][goal] Drop python 2.7 support
OpenStack is dropping the py2.7 support in ussuri cycle.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Cleanup setup.cfg.
Update hacking for python3.
Remove six usage.

Change-Id: I37da6ad3306af138aa16cf73a116f0391d06675f
2020-02-12 08:24:32 +00:00
OpenStack Proposal Bot c81ea709fb Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Icb874fe5855ad23fe562fd80c6b93bd1313d9860
2020-02-02 08:38:59 +00:00
OpenStack Proposal Bot a8f724b20d Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3cd4e465d9f01b0daf56d10703ff209358057314
2020-01-09 10:04:02 +00:00
Akihiro Motoki 8493304593 Fix doc-pot-filter to exclude ATC stats
The path of ATC stats CSV files in the generated POT seems to have changed.
As a result, strings from ATC stats are included to the generated POT file.
There is no need to translate them and the translation percentage will go
down. This commit adjust the filepath in doc-pot-filter.sh to make the POT
filter work as expected again.

Change-Id: Ieeee86619a561fcca216b568797bd6c3c1de4d62
2020-01-05 05:25:21 +09:00
OpenStack Proposal Bot a31b9c2630 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I5d35806ad9014c7cb1becf1c27b257be578ad724
2019-12-22 09:09:03 +00:00
OpenStack Proposal Bot 88b5500707 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I34e8cb014722d255e6fea8642e23a378d21deeee
2019-10-16 08:27:00 +00:00
OpenStack Proposal Bot 2fc2e42dd2 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: If979f106bdc05d05052f62751ca7d9eb1bc8f81d
2019-09-20 07:40:48 +00:00
OpenStack Proposal Bot 077f743444 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I13cf47697c65980334eb35cc7274195f245fb0c6
2019-09-04 07:57:23 +00:00
Andreas Jaeger 6e50155564 Change PDF file name
The previously choosen PDF file name conflicts in some repos with the
project logos (badge). Thus change https://review.opendev.org/679777
renames the desired PDF name to be doc-PROJECT.pdf to allow using the
badge in PDF files.

Follow this rename.

Change-Id: I09eeaa51987df6c1690afc6395acd35329cff872
2019-09-04 06:39:35 +02:00
OpenStack Proposal Bot 55f1e6c15e Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ica09a6cbbb8db11ed151affa36bce7755f67475d
2019-09-03 08:11:30 +00:00
Zuul 5cc1ae551b Merge "Excludes tables and search on PDF version" 2019-08-29 01:41:53 +00:00
OpenStack Proposal Bot 974deb87e1 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I3b337798bddd4cdd135112c91ac9dcb3e393b29f
2019-08-28 08:53:01 +00:00
Ian Y. Choi c48251c0ff Excludes tables and search on PDF version
PDF version on I18n Contributor Guide does not have to
include so detail tables which rendered version looks awkward.

This patch excludes the tables on PDF version and search tab by
using ".. only:: html" directive, and notes to link a corresponding
HTML page by using ".. only:: latex" directive.

Change-Id: I7b1b9d2d5d8c21827fe5a261f06f38d30b2d3709
2019-08-27 00:05:13 +09:00
Andreas Jaeger d16b7838d8 Remove API site information
The api-guide is now in openstack-manuals and api-site does not get
translated anymore, remove section.

Also, update link for project-info.

Make this dependent on 678463 to test that publishing of PDFs works.

Depends-On: https://review.opendev.org/678463
Change-Id: I1ca036fb853dfc86284b173a41829e973b582800
2019-08-26 08:23:28 +02:00
Andreas Jaeger 326b88cd98 Update doc/source/conf.py
html_last_update_fmt is set by openstackdocstheme, no need to set it
here anymore.

Change-Id: I8224d9c6bfab935da9a846368c9fbebf9019288b
2019-08-26 09:23:29 +09:00
Zuul da6f5f57ce Merge "Add PDF building" 2019-08-25 23:34:05 +00:00
Andreas Jaeger 16fbe08729 Add PDF building
Add tox.ini environment for pdf building.
Add latex_documents.

Change-Id: I5dbf376d6b10f7d60e29a381494434191aa6f0d9
2019-08-25 22:28:01 +00:00
OpenStack Proposal Bot 549180664d Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I2cfe84621f4068f19a561108ddc858ffb9191e20
2019-08-24 07:23:16 +00:00
Ian Y. Choi 395ab089f6 Sync translation_team.yaml with Zanata
This list is generated by running "tox -e zanata-users-sync"
command to sync translation members up-to-date.

Change-Id: I5a309564fae7229fdc097715bdbb1ce85d109753
2019-08-24 10:47:16 +07:00
Zuul 6404d8ed9d Merge "[Russian] Update dictionary" 2019-08-19 01:27:37 +00:00
Roman Gorshunov 793f408570 [Russian] Update dictionary
Add more translation terms to Russian dictionary.

Change-Id: I6860212b909dca230f4177108f2d4b1f63409867
2019-08-07 07:05:35 +02:00
Ian Y. Choi 9f55c1060f More explicitly documents ATCs & AUCs
ATCs are recognized to translators who contributed to
OpenStack official projects. User Committee recognizes translators
who contributed to user and operator code and documentation
translation [1].

[1] http://eavesdrop.openstack.org/meetings/uc/2018/uc.2018-10-01-18.02.log.html

Change-Id: Iaf1780a6ae4d3e1100f8624e1c45c348166aa499
2019-07-30 08:45:12 +09:00
OpenStack Proposal Bot 026b9c2042 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Id875cecbd63ae4bdddd32d2206c950eb4d0108f3
2019-07-27 07:18:15 +00:00
OpenStack Proposal Bot b824c9e5c7 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ie418b079d99567a9b0d5f267c94c84b5d8ac1dc9
2019-07-25 07:36:48 +00:00
Ian Y. Choi cdd0f640af Add bindep.txt
For translations, we need gettext installed. With the recent removal
of the bindep fallback file, we need to provide our own.

Change-Id: Ic0c12c29f0260873faa8c4d386fb8ad33d7e9265
2019-07-25 07:12:07 +09:00