Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire 2023-02-10 13:48:21 +01:00
commit 4ceadc65b0
37 changed files with 16 additions and 64 deletions

View file

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

View file

@ -54,7 +54,7 @@ class AccountSuggestions::SettingSource < AccountSuggestions::Source
next if username.blank? next if username.blank?
[username, domain] [username.downcase, domain&.downcase]
end.compact end.compact
end end
@ -63,6 +63,6 @@ class AccountSuggestions::SettingSource < AccountSuggestions::Source
end end
def to_ordered_list_key(account) def to_ordered_list_key(account)
[account.username, account.domain] [account.username.downcase, account.domain&.downcase]
end end
end end

View file

@ -86,7 +86,7 @@ class Form::AdminSettings
validates :show_domain_blocks_rationale, inclusion: { in: %w(disabled users all) }, if: -> { defined?(@show_domain_blocks_rationale) } validates :show_domain_blocks_rationale, inclusion: { in: %w(disabled users all) }, if: -> { defined?(@show_domain_blocks_rationale) }
validates :media_cache_retention_period, :content_cache_retention_period, :backups_retention_period, numericality: { only_integer: true }, allow_blank: true, if: -> { defined?(@media_cache_retention_period) || defined?(@content_cache_retention_period) || defined?(@backups_retention_period) } validates :media_cache_retention_period, :content_cache_retention_period, :backups_retention_period, numericality: { only_integer: true }, allow_blank: true, if: -> { defined?(@media_cache_retention_period) || defined?(@content_cache_retention_period) || defined?(@backups_retention_period) }
validates :site_short_description, length: { maximum: 200 }, if: -> { defined?(@site_short_description) } validates :site_short_description, length: { maximum: 200 }, if: -> { defined?(@site_short_description) }
validates :status_page_url, url: true validates :status_page_url, url: true, allow_blank: true
validate :validate_site_uploads validate :validate_site_uploads
KEYS.each do |key| KEYS.each do |key|

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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