From 412f728b70e4915df85dd07753b823dcf077fbfc Mon Sep 17 00:00:00 2001 From: TheBusyBiscuit Date: Thu, 6 Feb 2020 20:06:54 +0100 Subject: [PATCH 1/4] [CI skip] Create translator feed workflow --- .github/workflows/translations.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/translations.yml diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml new file mode 100644 index 000000000..1abc9c5d3 --- /dev/null +++ b/.github/workflows/translations.yml @@ -0,0 +1,19 @@ +name: Translation Notifier +on: + push: + branches: + - master + paths: + - 'src/main/resources/languages/**_en.yml' + +jobs: + notify: + name: Translation-Notifier + runs-on: ubuntu-latest + steps: + - name: Discord Notification + uses: Ilshidur/action-discord@master + with: + args: '<@&665202905271369776> Slimefun's language files have been updated! https://gitlocalize.com/repo/3841' + env: + DISCORD_WEBHOOK: ${{ secrets.TRANSLATOR_WEBHOOK }} From 1163996360e932c659e4dba296b79995990c04ae Mon Sep 17 00:00:00 2001 From: TheBusyBiscuit Date: Thu, 6 Feb 2020 20:08:33 +0100 Subject: [PATCH 2/4] [Ci skip] Test --- src/main/resources/languages/messages_en.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/languages/messages_en.yml b/src/main/resources/languages/messages_en.yml index be984c270..1e2c22e1e 100644 --- a/src/main/resources/languages/messages_en.yml +++ b/src/main/resources/languages/messages_en.yml @@ -283,4 +283,5 @@ languages: fi: 'Finnish' uk: 'Ukrainian' ms: 'Malay' - 'no': 'Norwegian' \ No newline at end of file + 'no': 'Norwegian' + From 2aed1606e2dd22619e5a9cb389291783da3c9aae Mon Sep 17 00:00:00 2001 From: TheBusyBiscuit Date: Thu, 6 Feb 2020 20:09:49 +0100 Subject: [PATCH 3/4] [CI skip] Fixed workflow --- .github/workflows/translations.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 1abc9c5d3..da782a472 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -14,6 +14,6 @@ jobs: - name: Discord Notification uses: Ilshidur/action-discord@master with: - args: '<@&665202905271369776> Slimefun's language files have been updated! https://gitlocalize.com/repo/3841' + args: '<@&665202905271369776> Slimefun4''s language files have been updated! https://gitlocalize.com/repo/3841' env: DISCORD_WEBHOOK: ${{ secrets.TRANSLATOR_WEBHOOK }} From a09e8e42ccaf2dd3a8dfb05555f10fdca2b32bac Mon Sep 17 00:00:00 2001 From: TheBusyBiscuit Date: Thu, 6 Feb 2020 20:10:24 +0100 Subject: [PATCH 4/4] [Ci skip] Another test --- src/main/resources/languages/messages_en.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/resources/languages/messages_en.yml b/src/main/resources/languages/messages_en.yml index 1e2c22e1e..19d667c04 100644 --- a/src/main/resources/languages/messages_en.yml +++ b/src/main/resources/languages/messages_en.yml @@ -284,4 +284,3 @@ languages: uk: 'Ukrainian' ms: 'Malay' 'no': 'Norwegian' -