Browse Source

Cleanup unused i18n strings (#23426)

* Remove partial 422/500 error translations

* Add missing siblings for i18n unused warnings

* Enable i18n unused string checking for all locales
closed-social-glitch-2
Nick Schonning 1 year ago
committed by GitHub
parent
commit
f23d30100a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
35 changed files with 13 additions and 61 deletions
  1. +1
    -1
      .github/workflows/check-i18n.yml
  2. +0
    -2
      config/locales/af.yml
  3. +0
    -2
      config/locales/bn.yml
  4. +0
    -2
      config/locales/br.yml
  5. +0
    -2
      config/locales/bs.yml
  6. +0
    -2
      config/locales/csb.yml
  7. +0
    -2
      config/locales/en-GB.yml
  8. +2
    -2
      config/locales/ga.yml
  9. +0
    -2
      config/locales/hi.yml
  10. +0
    -2
      config/locales/hr.yml
  11. +0
    -1
      config/locales/hy.yml
  12. +0
    -2
      config/locales/ig.yml
  13. +2
    -0
      config/locales/ka.yml
  14. +2
    -1
      config/locales/kab.yml
  15. +0
    -2
      config/locales/kn.yml
  16. +0
    -2
      config/locales/kw.yml
  17. +0
    -2
      config/locales/la.yml
  18. +2
    -0
      config/locales/lt.yml
  19. +0
    -2
      config/locales/mk.yml
  20. +0
    -2
      config/locales/ml.yml
  21. +0
    -2
      config/locales/mr.yml
  22. +0
    -1
      config/locales/ms.yml
  23. +0
    -2
      config/locales/my.yml
  24. +0
    -2
      config/locales/pa.yml
  25. +0
    -2
      config/locales/sa.yml
  26. +2
    -1
      config/locales/sr-Latn.yml
  27. +0
    -2
      config/locales/szl.yml
  28. +0
    -2
      config/locales/ta.yml
  29. +0
    -2
      config/locales/tai.yml
  30. +0
    -2
      config/locales/te.yml
  31. +2
    -2
      config/locales/tt.yml
  32. +0
    -2
      config/locales/ug.yml
  33. +0
    -2
      config/locales/ur.yml
  34. +0
    -2
      config/locales/uz.yml
  35. +0
    -2
      config/locales/zgh.yml

+ 1
- 1
.github/workflows/check-i18n.yml View File

@ -30,7 +30,7 @@ jobs:
- name: Check locale file normalization
run: bundle exec i18n-tasks check-normalized
- name: Check for unused strings
run: bundle exec i18n-tasks unused -l en
run: bundle exec i18n-tasks unused
- name: Check for wrong string interpolations
run: bundle exec i18n-tasks check-consistent-interpolations
- name: Check that all required locale files exist

+ 0
- 2
config/locales/af.yml View File

@ -96,9 +96,7 @@ af:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.
exports:
bookmarks: Boekmerke

+ 0
- 2
config/locales/bn.yml View File

@ -232,9 +232,7 @@ bn:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.
verification:
verification: সত্যতা নির্ধারণ

+ 0
- 2
config/locales/br.yml View File

@ -342,9 +342,7 @@ br:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.
exports:
archive_takeout:

+ 0
- 2
config/locales/bs.yml View File

@ -6,7 +6,5 @@ bs:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 2
config/locales/csb.yml View File

@ -6,7 +6,5 @@ csb:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 2
config/locales/en-GB.yml View File

@ -190,9 +190,7 @@ en-GB:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.
sessions:
browsers:

+ 2
- 2
config/locales/ga.yml View File

@ -369,9 +369,7 @@ ga:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.
exports:
archive_takeout:
@ -437,6 +435,8 @@ ga:
prev: Ceann roimhe seo
preferences:
other: Eile
posting_defaults: Posting defaults
public_timelines: Public timelines
relationships:
follow_selected_followers: Lean leantóirí roghnaithe
followers: Leantóirí

+ 0
- 2
config/locales/hi.yml View File

@ -6,7 +6,5 @@ hi:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 2
config/locales/hr.yml View File

@ -81,9 +81,7 @@ hr:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.
exports:
archive_takeout:

+ 0
- 1
config/locales/hy.yml View File

@ -539,7 +539,6 @@ hy:
'404': Էջը, որը փնտրում ես գոյութիւն չունի։
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Չափազանց շատ հարցումներ
'500':
title: Էջը ճիշտ չէ

+ 0
- 2
config/locales/ig.yml View File

@ -6,7 +6,5 @@ ig:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 2
- 0
config/locales/ka.yml View File

@ -394,6 +394,8 @@ ka:
prev: წინა
preferences:
other: სხვა
posting_defaults: Posting defaults
public_timelines: Public timelines
remote_follow:
missing_resource: საჭირო გადამისამართების ურლ თქვენი ანგარიშისთვის ვერ მოიძებნა
sessions:

+ 2
- 1
config/locales/kab.yml View File

@ -508,7 +508,6 @@ kab:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
title: Asebter-ayi d arameγtu
@ -630,6 +629,8 @@ kab:
prev: Win iɛeddan
preferences:
other: Wiyaḍ
posting_defaults: Posting defaults
public_timelines: Public timelines
privacy_policy:
title: Tasertit tabaḍnit
relationships:

+ 0
- 2
config/locales/kn.yml View File

@ -6,7 +6,5 @@ kn:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 2
config/locales/kw.yml View File

@ -11,9 +11,7 @@ kw:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.
settings:
account: Akont

+ 0
- 2
config/locales/la.yml View File

@ -6,7 +6,5 @@ la:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 2
- 0
config/locales/lt.yml View File

@ -426,6 +426,8 @@ lt:
prev: Ankstesnis
preferences:
other: Kita
posting_defaults: Posting defaults
public_timelines: Public timelines
remote_follow:
missing_resource: Jūsų paskyros nukreipimo URL nerasta
scheduled_statuses:

+ 0
- 2
config/locales/mk.yml View File

@ -6,7 +6,5 @@ mk:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 2
config/locales/ml.yml View File

@ -87,9 +87,7 @@ ml:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.
filters:
contexts:

+ 0
- 2
config/locales/mr.yml View File

@ -6,7 +6,5 @@ mr:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 1
config/locales/ms.yml View File

@ -827,7 +827,6 @@ ms:
'422':
title: Pengesahan keselamatan gagal
'429': Terlalu banyak permintaan
'500':
'503': Halaman tidak dapat disampaikan kerana kegagalan pelayan sementara.
exports:
archive_takeout:

+ 0
- 2
config/locales/my.yml View File

@ -6,7 +6,5 @@ my:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 2
config/locales/pa.yml View File

@ -6,7 +6,5 @@ pa:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 2
config/locales/sa.yml View File

@ -6,7 +6,5 @@ sa:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 2
- 1
config/locales/sr-Latn.yml View File

@ -209,7 +209,6 @@ sr-Latn:
'404': Strana koju ste tražili ne postoji.
'406': This page is not available in the requested format.
'410': Strana koju ste tražili više ne postoji.
'422':
'429': Uspored
'500':
content: Izvinjavamo se, nešto je pošlo po zlu sa ove strane.
@ -289,6 +288,8 @@ sr-Latn:
prev: Prethodni
preferences:
other: Ostali
posting_defaults: Posting defaults
public_timelines: Public timelines
remote_follow:
missing_resource: Ne mogu da nađem zahtevanu adresu preusmeravanja za Vaš nalog
sessions:

+ 0
- 2
config/locales/szl.yml View File

@ -6,7 +6,5 @@ szl:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 2
config/locales/ta.yml View File

@ -203,9 +203,7 @@ ta:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.
filters:
index:

+ 0
- 2
config/locales/tai.yml View File

@ -6,7 +6,5 @@ tai:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 2
config/locales/te.yml View File

@ -76,7 +76,5 @@ te:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 2
- 2
config/locales/tt.yml View File

@ -136,9 +136,7 @@ tt:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.
exports:
archive_takeout:
@ -183,6 +181,8 @@ tt:
truncate: "…"
preferences:
other: Башка
posting_defaults: Posting defaults
public_timelines: Public timelines
relationships:
following: Язылгансыз
sessions:

+ 0
- 2
config/locales/ug.yml View File

@ -6,7 +6,5 @@ ug:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 2
config/locales/ur.yml View File

@ -6,7 +6,5 @@ ur:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 2
config/locales/uz.yml View File

@ -45,7 +45,5 @@ uz:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.

+ 0
- 2
config/locales/zgh.yml View File

@ -89,9 +89,7 @@ zgh:
'404': The page you are looking for isn't here.
'406': This page is not available in the requested format.
'410': The page you were looking for doesn't exist here anymore.
'422':
'429': Too many requests
'500':
'503': The page could not be served due to a temporary server failure.
exports:
archive_takeout:

Loading…
Cancel
Save