From 4c457a350b01463700058d33e48bffda4c1a0a51 Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 11 Apr 2023 14:24:44 +0200 Subject: Fix check-i18n task complaining about translated files (#24501) --- .github/workflows/check-i18n.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/check-i18n.yml b/.github/workflows/check-i18n.yml index df0d75c9f..134980322 100644 --- a/.github/workflows/check-i18n.yml +++ b/.github/workflows/check-i18n.yml @@ -43,7 +43,7 @@ jobs: run: | yarn build:development yarn manage:translations - git diff --exit-code + git diff --exit-code -- app/javascript/mastodon/locales/defaultMessages.json app/javascript/mastodon/locales/en.json - name: Check locale file normalization run: bundle exec i18n-tasks check-normalized -- cgit From 7a0a79e6b38afa36020840b3753f47948587861c Mon Sep 17 00:00:00 2001 From: Claire Date: Wed, 12 Apr 2023 15:24:30 +0200 Subject: Fix check-i18n when there are missing strings in other languages than english (#24519) --- .github/workflows/check-i18n.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/check-i18n.yml b/.github/workflows/check-i18n.yml index 134980322..e282e2ab7 100644 --- a/.github/workflows/check-i18n.yml +++ b/.github/workflows/check-i18n.yml @@ -42,8 +42,8 @@ jobs: - name: Check for missing strings in English JSON run: | yarn build:development - yarn manage:translations - git diff --exit-code -- app/javascript/mastodon/locales/defaultMessages.json app/javascript/mastodon/locales/en.json + yarn manage:translations en + git diff --exit-code - name: Check locale file normalization run: bundle exec i18n-tasks check-normalized -- cgit