From fbbb37de987599337bd36b637f780d7553ad3f50 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Tue, 1 Dec 2020 17:25:32 +0100 Subject: [PATCH 1/4] test --- glossary.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glossary.po b/glossary.po index 28b8248eb..4b3b87e99 100644 --- a/glossary.po +++ b/glossary.po @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-10-01 16:00+0200\n" -"PO-Revision-Date: 2020-10-16 22:40+0200\n" +"PO-Revision-Date: 2020-12-01 17:22+0100\n" "Last-Translator: Mindiell \n" "Language-Team: FRENCH \n" "Language: fr\n" @@ -17,7 +17,7 @@ msgstr "" #: glossary.rst:5 msgid "Glossary" -msgstr "Glossaire" +msgstr "L'ortograffe, saymal" #: glossary.rst:10 msgid "``>>>``" From d75fb6944f9ec4bbd00f03480711347fcd3f9be2 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Tue, 1 Dec 2020 22:07:07 +0100 Subject: [PATCH 2/4] pospell pattern matcher. --- .github/problem-matchers/pospell.json | 15 +++++++++++++++ .github/workflows/tests.yml | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 .github/problem-matchers/pospell.json diff --git a/.github/problem-matchers/pospell.json b/.github/problem-matchers/pospell.json new file mode 100644 index 000000000..cedddb008 --- /dev/null +++ b/.github/problem-matchers/pospell.json @@ -0,0 +1,15 @@ +{ + "problemMatcher": [ + { + "owner": "pospell", + "pattern": [ + { + "regexp": "^(.*):(\\d+):(.*)$", + "file": 1, + "line": 2, + "message": 3 + } + ] + } + ] +} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a6def2976..e6a10b24a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,6 +16,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Register pospell problem matcher + run: echo "::add-matcher::.github/problem-matchers/pospell.json" - name: Install pospell run: | sudo apt-get update From 67a30c06cff708482f37fbf9f2940d6d96538aea Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Tue, 1 Dec 2020 22:13:58 +0100 Subject: [PATCH 3/4] OK --- glossary.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glossary.po b/glossary.po index 4b3b87e99..28b8248eb 100644 --- a/glossary.po +++ b/glossary.po @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: Python 3\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2020-10-01 16:00+0200\n" -"PO-Revision-Date: 2020-12-01 17:22+0100\n" +"PO-Revision-Date: 2020-10-16 22:40+0200\n" "Last-Translator: Mindiell \n" "Language-Team: FRENCH \n" "Language: fr\n" @@ -17,7 +17,7 @@ msgstr "" #: glossary.rst:5 msgid "Glossary" -msgstr "L'ortograffe, saymal" +msgstr "Glossaire" #: glossary.rst:10 msgid "``>>>``" From c8f99382f3393c70b01972de396d52ef5a310f91 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Tue, 1 Dec 2020 22:19:38 +0100 Subject: [PATCH 4/4] Drop travis-ci.yml, we do no longer use it. --- .travis.yml | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 515c9a76f..000000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -language: python -dist: xenial -python: 3.7 -before_install: - - sudo apt-get update - - sudo apt-get install -y hunspell hunspell-fr-comprehensive -install: - - pip install poutils - - pospell --version - - powrap --version - - padpo --version -script: - - 'printf "%s\n" "$TRAVIS_COMMIT_RANGE"' - - 'CHANGED_FILES="$(ls -1d $(git diff --name-only $TRAVIS_COMMIT_RANGE) | grep "\.po$")" ;:' - - 'printf "%s files changed.\n" "$(printf "%s" "$CHANGED_FILES" | grep -c "po$")" ;:' - - 'if [ -n "$CHANGED_FILES" ]; then printf -- "- %s\n" $CHANGED_FILES; fi' - - 'if [ -n "$CHANGED_FILES" ]; then powrap --check --quiet $CHANGED_FILES; fi' - - 'if [ -n "$CHANGED_FILES" ]; then pospell -p dict -l fr_FR $CHANGED_FILES; fi' - - 'if [ -n "$CHANGED_FILES" ]; then make CPYTHON_PATH=/tmp/cpython/; fi' - - 'if [ -n "$CHANGED_FILES" ]; then padpo -i $CHANGED_FILES 2>&1 | grep -v -Ff padpo.ignore || true; fi'