Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Prune i18n files (#8479)
Browse files Browse the repository at this point in the history
* Prune i18n files

* Tweak i18n ci rule to ignore RiotTranslateBot
  • Loading branch information
t3chguy authored May 3, 2022
1 parent 3d0045d commit 2e9c2dd
Show file tree
Hide file tree
Showing 18 changed files with 5 additions and 7,430 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/static_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- name: "Get modified files"
id: changed_files
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && github.actor != 'RiotTranslateBot'
uses: tj-actions/changed-files@v19
with:
files: |
Expand All @@ -56,7 +56,10 @@ jobs:
src/i18n/strings/en_EN.json
- name: "Assert only en_EN was modified"
if: github.event_name == 'pull_request' && steps.changed_files.outputs.any_modified == 'true'
if: |
github.event_name == 'pull_request' &&
github.actor != 'RiotTranslateBot' &&
steps.changed_files.outputs.any_modified == 'true'
run: |
echo "You can only modify en_EN.json, do not touch any of the other i18n files as Weblate will be confused"
exit 1
Expand Down
488 changes: 0 additions & 488 deletions src/i18n/strings/cs.json

Large diffs are not rendered by default.

403 changes: 0 additions & 403 deletions src/i18n/strings/eo.json

Large diffs are not rendered by default.

480 changes: 0 additions & 480 deletions src/i18n/strings/es.json

Large diffs are not rendered by default.

484 changes: 0 additions & 484 deletions src/i18n/strings/et.json

Large diffs are not rendered by default.

481 changes: 0 additions & 481 deletions src/i18n/strings/fr.json

Large diffs are not rendered by default.

476 changes: 0 additions & 476 deletions src/i18n/strings/gl.json

Large diffs are not rendered by default.

479 changes: 0 additions & 479 deletions src/i18n/strings/hu.json

Large diffs are not rendered by default.

416 changes: 0 additions & 416 deletions src/i18n/strings/id.json

Large diffs are not rendered by default.

192 changes: 0 additions & 192 deletions src/i18n/strings/is.json

Large diffs are not rendered by default.

487 changes: 0 additions & 487 deletions src/i18n/strings/it.json

Large diffs are not rendered by default.

351 changes: 0 additions & 351 deletions src/i18n/strings/ja.json

Large diffs are not rendered by default.

463 changes: 0 additions & 463 deletions src/i18n/strings/nl.json

Large diffs are not rendered by default.

447 changes: 0 additions & 447 deletions src/i18n/strings/ru.json

Large diffs are not rendered by default.

408 changes: 0 additions & 408 deletions src/i18n/strings/sk.json

Large diffs are not rendered by default.

447 changes: 0 additions & 447 deletions src/i18n/strings/sv.json

Large diffs are not rendered by default.

438 changes: 0 additions & 438 deletions src/i18n/strings/uk.json

Large diffs are not rendered by default.

488 changes: 0 additions & 488 deletions src/i18n/strings/zh_Hant.json

Large diffs are not rendered by default.

0 comments on commit 2e9c2dd

Please sign in to comment.