- Add explanation as note that Zanata project needs to be created
before tranlation setup
- The doc section was migrated from OpenStack project creators guide
so mention the purpose of the section as note
- Add how to enable project documentation translation
Change-Id: I13599548117be85a5ab0a0c98b0bbc9bc23724e1
This list is generated by running "tox -e zanata-users-sync"
command to sync translation members up-to-date similar as
I5a309564fae7229fdc097715bdbb1ce85d109753
Change-Id: I00b39bb1d6e6a87a6105ab1bf298b9046ffe6d2d
Added weblate API codes to get ready for
Zanata to Weblate migration
Implements: blueprint weblate-tools
Change-Id: I8d1a2393cc50541a29bd9581c4ac2574b9dc9813
Rewrites existing ZanataUtils.py to work with Weblate as part of migration work.
Key summary:
- IniConfig class name is the same
- ZanataRestService class name is renamed as WeblateRestService class
with the same functionality
- ProjectConfig class is not implemented since Weblate does not
have project configuration file like zanata.xml.
Implements: blueprint weblate-tools
Change-Id: Ie4cf861cc6ca59456c5d563d7673fbf54b3bb42f
Added weblate API codes to get ready for
Zanata to Weblate migration.
WeblateUtils.py has been deleted from this PR, as the
i18n main contributor decided it would be better to
seperate the PR with other files.
weblate_userinfo.py creates .csv file as zanata_userinfo.py does.
Implements: blueprint weblate-tools
Change-Id: I71bb234ea5cc5356c12245379c607340ea97249d
- Emphasizes the purpose of translation check
by describing why it is important and what translation
check means
- Reflects current OpenStack documentation structure
on openstack-manuals, and documents in project teams
- Minor correction on http -> https and adding "Japanese"
for a link with "/ja".
Change-Id: Ib573c8d7b2d8af5655c8923a01ba6b7206f7276b
1. I18n project is now switched into a SIG. So leverages
to use appropriate term (e.g., PTL to SIG Chair)
with updating description
(and removing unnecessary parts like election)
2. ATC was renamed to AC. Also deletes AUC part since
it is merged to AC.
3. I18n team has not been holding meetings for a while.
Instead of deleting all the part, let's mention that we
are looking for meeting chairs.
Change-Id: Ic1fc467e8201349777b81590e44d95553cf51781
- Delete team and repository tags which no longer applies
- Remove IRC team meeting since we do not hold now
Change-Id: If2379d669332538f7518aff65d926b0f5c41be75
1. Fix wrong ATC list URL and description considering I18n
governance change from an official project to SIG
2. Update explanation regarding AUC, ATC, and AC
3. Reflects naming and corresponding term/URL changes
from OpenStack Foundation to OpenInfra Foundation
4. Explicit description on ">= 300 words" as 'at least'
from 'more than'
Closes-Bug: #2036374
Change-Id: Icd0942994f374e711ced3f7efd9cff8e41ddad13
(g)awk in Ubuntu 20.04 or later (perhaps gawk >=5.0) has more strict
regexp check and the regexp passed to awk in generatepot.sh cannot
pass the regexp check. This means our script does not work on
Ubuntu 20.04 or later.
This regexp was introduced to strip lines with UUID in a POT file
(e.g., "# 55a7796f27cb4468820fa48b90515add"), but the recent versions
of sphinx does not output such information at least with the sphinx
configuration used in OpenStack CI.
As a result this awk expression in generatepot.sh does nothing,
and I think we can drop this awk expression.
Change-Id: Ia61f74d0a73cc012afde6a4e16ac4431687a65a1
- Reflects that now stable versions are created after release
without early creation of the versions and merging to master
- cycle-with-milestones has been replaced by cycle-with-rc model
- Horizon is now following cycle-with-intermediary.
Let's follow the same description as project-team-guide/release-management.
- Replace a term: from Forum/Design Summit to PTG
Change-Id: Id0ca964786a4a9cf2287b008d845f4c3a1a22e77
doc-pot-filter.sh is prepared to drop numbers from *.csv.
Howover, the path of CSV files in POT files were changed from some version
of Sphinx (from "doc/source/data/*.csv" to "../../source/data/*.csv") and
doc-pot-filter.sh does not work expectedly.
This commit adjusts the path of CSV files in POT files.
The number of entries in the target POT file (atc-stats.pot) is printed
before and after the filter is applied. I believe this helps us debug
the similar issue in future if needed.
Change-Id: I32d760a735ab1ae491d7e5efb36fd5059da0cd11
As part of commit 9b939e1b40,
"bash" was added when calling tools/generatepot.sh to avoid tox warning,
but as a result "-xe" option specified at the beginning of generatepot.sh
is no longer considered and we cannot see trace of generatepot.sh
in logs of upstream-translation-update job :-(
This commit explicitly set these options in the shell script
instead of the magic line (line 1).
doc-pot-filter.sh is also updated in the same way.
Change-Id: Ia2ca111cbb386ae5333d8a9a8622f7ac9b19746e
This list is generated by running "tox -e zanata-users-sync"
command to sync translation members up-to-date similar as
I5a309564fae7229fdc097715bdbb1ce85d109753
Change-Id: Ica09d0348863aca9822eef7d9978a36b2ff3aac6
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
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
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
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
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
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