Skip to content
Snippets Groups Projects
Commit 93da3567 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'patch-1' into 'develop'

Adding arabic translation

See merge request !302
parents 663c6238 6ccfeaa0
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,8 @@ variables: ...@@ -4,7 +4,8 @@ variables:
IMAGE_LATEST: $IMAGE_NAME:latest IMAGE_LATEST: $IMAGE_NAME:latest
PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache" PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache"
PYTHONDONTWRITEBYTECODE: "true" PYTHONDONTWRITEBYTECODE: "true"
REVIEW_DOMAIN: preview.funkwhale.audio
REVIEW_INSTANCE_URL: https://demo.funkwhale.audio
stages: stages:
- review - review
...@@ -28,16 +29,16 @@ review_front: ...@@ -28,16 +29,16 @@ review_front:
# this is to ensure we don't have any errors in the output, # this is to ensure we don't have any errors in the output,
# cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169 # cf https://code.eliotberriot.com/funkwhale/funkwhale/issues/169
- INSTANCE_URL=$REVIEW_INSTANCE_URL yarn run build | tee /dev/stderr | (! grep -i 'ERROR in') - INSTANCE_URL=$REVIEW_INSTANCE_URL yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
- mkdir -p /static/front/$CI_BUILD_REF_SLUG - mkdir -p /static/front/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
- cp -r dist/* /static/front/$CI_BUILD_REF_SLUG - cp -r dist/* /static/front/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
cache: cache:
key: "$CI_PROJECT_ID__front_dependencies" key: "funkwhale__front_dependencies"
paths: paths:
- front/node_modules - front/node_modules
- front/yarn.lock - front/yarn.lock
environment: environment:
name: review/front-$CI_BUILD_REF_NAME name: review/front/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
url: http://front-$CI_BUILD_REF_SLUG.$REVIEW_DOMAIN url: http://front-$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG.$REVIEW_DOMAIN
on_stop: stop_front_review on_stop: stop_front_review
only: only:
- branches - branches
...@@ -47,14 +48,14 @@ review_front: ...@@ -47,14 +48,14 @@ review_front:
stop_front_review: stop_front_review:
stage: review stage: review
script: script:
- rm -rf /static/front/$CI_BUILD_REF_SLUG/ - rm -rf /static/front/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG/
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
when: manual when: manual
only: only:
- branches - branches
environment: environment:
name: review/front-$CI_BUILD_REF_NAME name: review/front/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
action: stop action: stop
tags: tags:
- funkwhale-review - funkwhale-review
...@@ -78,11 +79,11 @@ review_docs: ...@@ -78,11 +79,11 @@ review_docs:
- "$PIP_CACHE_DIR" - "$PIP_CACHE_DIR"
script: script:
- ./build_docs.sh - ./build_docs.sh
- mkdir -p /static/docs/$CI_BUILD_REF_SLUG - mkdir -p /static/docs/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
- cp -r $CI_PROJECT_DIR/public/* /static/docs/$CI_BUILD_REF_SLUG - cp -r $CI_PROJECT_DIR/public/* /static/docs/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
environment: environment:
name: review/docs-$CI_BUILD_REF_NAME name: review/docs/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
url: http://docs-$CI_BUILD_REF_SLUG.$REVIEW_DOMAIN url: http://docs-$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG.$REVIEW_DOMAIN
on_stop: stop_docs_review on_stop: stop_docs_review
only: only:
- branches - branches
...@@ -92,14 +93,14 @@ review_docs: ...@@ -92,14 +93,14 @@ review_docs:
stop_docs_review: stop_docs_review:
stage: review stage: review
script: script:
- rm -rf /static/docs/$CI_BUILD_REF_SLUG/ - rm -rf /static/docs/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG/
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
when: manual when: manual
only: only:
- branches - branches
environment: environment:
name: review/docs-$CI_BUILD_REF_NAME name: review/docs/$CI_PROJECT_PATH_SLUG-$CI_BUILD_REF_SLUG
action: stop action: stop
tags: tags:
- funkwhale-review - funkwhale-review
...@@ -168,7 +169,7 @@ test_front: ...@@ -168,7 +169,7 @@ test_front:
- yarn install - yarn install
- yarn run unit - yarn run unit
cache: cache:
key: "$CI_PROJECT_ID__front_dependencies" key: "funkwhale__front_dependencies"
paths: paths:
- front/node_modules - front/node_modules
- front/yarn.lock - front/yarn.lock
...@@ -195,7 +196,7 @@ build_front: ...@@ -195,7 +196,7 @@ build_front:
- yarn run build | tee /dev/stderr | (! grep -i 'ERROR in') - yarn run build | tee /dev/stderr | (! grep -i 'ERROR in')
- chmod -R 750 dist - chmod -R 750 dist
cache: cache:
key: "$CI_PROJECT_ID__front_dependencies" key: "funkwhale__front_dependencies"
paths: paths:
- front/node_modules - front/node_modules
- front/yarn.lock - front/yarn.lock
......
Arabic translation (!302)
This diff is collapsed.
/* eslint-disable */ /* eslint-disable */
export default { export default {
"locales": [ "locales": [
{
"code": "ar",
"label": "العربية"
},
{ {
"code": "en_US", "code": "en_US",
"label": "English (United-States)" "label": "English (United-States)"
......
...@@ -32,6 +32,11 @@ ...@@ -32,6 +32,11 @@
name = "Documentation" name = "Documentation"
showcontent = true showcontent = true
[[tool.towncrier.type]]
directory = "i18n"
name = "i18n"
showcontent = true
[[tool.towncrier.type]] [[tool.towncrier.type]]
directory = "misc" directory = "misc"
name = "Other" name = "Other"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment