Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Feb 19, 2024
1 parent b2cfe4d commit a6394d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 50 deletions.
48 changes: 0 additions & 48 deletions website/.tx/config
Original file line number Diff line number Diff line change
@@ -1,50 +1,2 @@
[main]
host = https://www.transifex.com

[o:opengisch:p:signalo-website:r:documentation_desktop]
file_filter = documentation/desktop.<lang>.md
source_file = documentation/desktop.fr.md
source_lang = fr
type = GITHUBMARKDOWN

[o:opengisch:p:signalo-website:r:documentation_roadmap]
file_filter = documentation/roadmap.<lang>.md
source_file = documentation/roadmap.fr.md
source_lang = fr
type = GITHUBMARKDOWN

[o:opengisch:p:signalo-website:r:documentation_mobile]
file_filter = documentation/mobile.<lang>.md
source_file = documentation/mobile.fr.md
source_lang = fr
type = GITHUBMARKDOWN

[o:opengisch:p:signalo-website:r:documentation_installation]
file_filter = documentation/installation.<lang>.md
source_file = documentation/installation.fr.md
source_lang = fr
type = GITHUBMARKDOWN

[o:opengisch:p:signalo-website:r:documentation_home]
file_filter = documentation/index.<lang>.md
source_file = documentation/index.fr.md
source_lang = fr
type = GITHUBMARKDOWN

[o:opengisch:p:signalo-website:r:documentation_datamodel-doc]
file_filter = documentation/datamodel-doc.<lang>.md
source_file = documentation/datamodel-doc.fr.md
source_lang = fr
type = GITHUBMARKDOWN

[o:opengisch:p:signalo-website:r:documentation_data-model]
file_filter = documentation/data-model.<lang>.md
source_file = documentation/data-model.fr.md
source_lang = fr
type = GITHUBMARKDOWN

[o:opengisch:p:signalo-website:r:documentation_contribute]
file_filter = documentation/contribute.<lang>.md
source_file = documentation/contribute.fr.md
source_lang = fr
type = GITHUBMARKDOWN
4 changes: 2 additions & 2 deletions website/scripts/mkdocs_tx_commit.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env bash

if [[ $(git diff --exit-code mkdocs.yml) ]]; then
echo "no change mkdocs.yml"
else
echo "detected changes in mkdocs.yml"
if [[ ${{ github.event_name }} == "pull_request" ]]; then
# on PR push to the same branch
Expand All @@ -17,4 +15,6 @@ else
git commit -m "Update mkdocs.yml translation"
gh pr create -B update-mkdocs-tx -H update-mkdocs-tx --title 'Update mkdocs translations'
fi
else
echo "no change mkdocs.yml"
fi

0 comments on commit a6394d8

Please sign in to comment.