Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localization: add templates #3776

Draft
wants to merge 9 commits into
base: latest
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 10 additions & 9 deletions .github/workflows/deploy-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
deploy-branch:
runs-on: ubuntu-latest
container: tarantool/doc-builder:fat-4.3
permissions: write-all
env:
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
Expand Down Expand Up @@ -55,15 +56,6 @@ jobs:
id: set-deployment-name
run: echo "DEPLOYMENT_NAME=${GITHUB_HEAD_REF##*/}" >> $GITHUB_ENV

- name: Start dev server deployment
uses: bobheadxi/deployments@v1
id: deployment
with:
step: start
token: ${{secrets.GITHUB_TOKEN}}
env: "branch-${{env.DEPLOYMENT_NAME}}"
ref: ${{github.head_ref}}

- run: cmake .
id: cmake
- run: make pull-modules
Expand Down Expand Up @@ -95,6 +87,15 @@ jobs:
retry_wait_seconds: 15
max_attempts: 3

- name: Start dev server deployment
uses: bobheadxi/deployments@v1
id: deployment
with:
step: start
token: ${{secrets.GITHUB_TOKEN}}
env: "branch-${{env.DEPLOYMENT_NAME}}"
ref: ${{github.head_ref}}

- name: update deployment status
id: finalize-deployment
uses: bobheadxi/deployments@v1
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/push-pot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Push POTs
on:
push:
branches:
- 'test-weblate'
- '3.0'
permissions:
contents: write
jobs:
generate-pot:
runs-on: ubuntu-latest
container: tarantool/doc-builder:fat-4.3
steps:
- uses: actions/checkout@v3

- name: Update localization files
run: |
cmake .
make update-pot
make update-po

- name: Commit generated pots
run: |
git config --global --add safe.directory /__w/doc/doc
git config --global user.name 'TarantoolBot'
git config --global user.email '[email protected]'

if [[ $(git status) =~ .*"nothing to commit".* ]]; then
echo "status=nothing-to-commit"
exit 0
fi

git add -f locale/en/
git commit -m "updated pot"
git push origin test-weblate

2 changes: 1 addition & 1 deletion doc/book/admin/access_control.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _authentication:

================================================================================
Access control
Access control changed
================================================================================

This section explains how Tarantool makes it possible for administrators
Expand Down

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
:root {
--tabs-color-label-active: hsla(231, 99%, 66%, 1);
--tabs-color-label-inactive: rgba(178, 206, 245, 0.62);
--tabs-color-overline: rgb(207, 236, 238);
--tabs-color-underline: rgb(207, 236, 238);
--tabs-size-label: 1rem;
}
Loading