Skip to content

Commit

Permalink
Merge branch 'mastodon:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
DismalShadowX authored Jun 28, 2024
2 parents f103976 + 1bccba1 commit d1935bb
Show file tree
Hide file tree
Showing 13 changed files with 54 additions and 18 deletions.
2 changes: 1 addition & 1 deletion app/javascript/mastodon/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"account.followers.empty": "Diesem Profil folgt noch niemand.",
"account.followers_counter": "{count, plural, one {{counter} Follower} other {{counter} Follower}}",
"account.following": "Folge ich",
"account.following_counter": "{count, plural, one {{counter} Folge ich} other {{counter} Folge ich}}",
"account.following_counter": "{count, plural, one {{counter} folge ich} other {{counter} folge ich}}",
"account.follows.empty": "Dieses Profil folgt noch niemandem.",
"account.go_to_profile": "Profil aufrufen",
"account.hide_reblogs": "Geteilte Beiträge von @{name} ausblenden",
Expand Down
3 changes: 3 additions & 0 deletions app/javascript/mastodon/locales/gl.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"account.follow_back": "Seguir tamén",
"account.followers": "Seguidoras",
"account.followers.empty": "Aínda ninguén segue esta usuaria.",
"account.followers_counter": "{count, plural, one {{counter} seguidora} other {{counter} seguidoras}}",
"account.following": "Seguindo",
"account.following_counter": "{count, plural, one {{counter} seguimento} other {{counter} seguimentos}}",
"account.follows.empty": "Esta usuaria aínda non segue a ninguén.",
"account.go_to_profile": "Ir ao perfil",
"account.hide_reblogs": "Agochar promocións de @{name}",
Expand All @@ -61,6 +63,7 @@
"account.requested_follow": "{name} solicitou seguirte",
"account.share": "Compartir o perfil de @{name}",
"account.show_reblogs": "Amosar compartidos de @{name}",
"account.statuses_counter": "{count, plural, one {{counter} publicación} other {{counter} publicacións}}",
"account.unblock": "Desbloquear @{name}",
"account.unblock_domain": "Amosar {domain}",
"account.unblock_short": "Desbloquear",
Expand Down
3 changes: 3 additions & 0 deletions app/javascript/mastodon/locales/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"account.follow_back": "Viszontkövetés",
"account.followers": "Követő",
"account.followers.empty": "Ezt a felhasználót még senki sem követi.",
"account.followers_counter": "{count, plural, one {{counter} követő} other {{counter} követő}}",
"account.following": "Követve",
"account.following_counter": "{count, plural, one {{counter} követett} other {{counter} követett}}",
"account.follows.empty": "Ez a felhasználó még senkit sem követ.",
"account.go_to_profile": "Ugrás a profilhoz",
"account.hide_reblogs": "@{name} megtolásainak elrejtése",
Expand All @@ -61,6 +63,7 @@
"account.requested_follow": "{name} kérte, hogy követhessen",
"account.share": "@{name} profiljának megosztása",
"account.show_reblogs": "@{name} megtolásainak mutatása",
"account.statuses_counter": "{count, plural, one {{counter} bejegyzés} other {{counter} bejegyzés}}",
"account.unblock": "@{name} letiltásának feloldása",
"account.unblock_domain": "{domain} domain tiltásának feloldása",
"account.unblock_short": "Tiltás feloldása",
Expand Down
3 changes: 3 additions & 0 deletions app/javascript/mastodon/locales/lt.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"account.follow_back": "Sekti atgal",
"account.followers": "Sekėjai",
"account.followers.empty": "Šio naudotojo dar niekas neseka.",
"account.followers_counter": "{count, plural, one {{counter} sekėjas} few {{counter} sekėjai} many {{counter} sekėjo} other {{counter} sekėjų}}",
"account.following": "Sekama",
"account.following_counter": "{count, plural, one {{counter} sekimas} few {{counter} sekimai} many {{counter} sekimo} other {{counter} sekimų}}",
"account.follows.empty": "Šis naudotojas dar nieko neseka.",
"account.go_to_profile": "Eiti į profilį",
"account.hide_reblogs": "Slėpti pakėlimus iš @{name}",
Expand All @@ -61,6 +63,7 @@
"account.requested_follow": "{name} paprašė tave sekti",
"account.share": "Bendrinti @{name} profilį",
"account.show_reblogs": "Rodyti pakėlimus iš @{name}",
"account.statuses_counter": "{count, plural, one {{counter} įrašas} few {{counter} įrašai} many {{counter} įrašo} other {{counter} įrašų}}",
"account.unblock": "Atblokuoti @{name}",
"account.unblock_domain": "Atblokuoti domeną {domain}",
"account.unblock_short": "Atblokuoti",
Expand Down
6 changes: 6 additions & 0 deletions app/javascript/mastodon/locales/nn.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"account.follow_back": "Fylg tilbake",
"account.followers": "Fylgjarar",
"account.followers.empty": "Ingen fylgjer denne brukaren enno.",
"account.followers_counter": "{count, plural, one {{counter} følgjar} other {{counter} følgjarar}}",
"account.following": "Fylgjer",
"account.following_counter": "{count, plural, one {{counter} følgjer} other {{counter} følgjer}}",
"account.follows.empty": "Denne brukaren fylgjer ikkje nokon enno.",
"account.go_to_profile": "Gå til profil",
"account.hide_reblogs": "Gøym framhevingar frå @{name}",
Expand All @@ -61,6 +63,7 @@
"account.requested_follow": "{name} har bedt om å få fylgja deg",
"account.share": "Del @{name} sin profil",
"account.show_reblogs": "Vis framhevingar frå @{name}",
"account.statuses_counter": "{count, plural, one {{counter} innlegg} other {{counter} innlegg}}",
"account.unblock": "Stopp blokkering av @{name}",
"account.unblock_domain": "Stopp blokkering av domenet {domain}",
"account.unblock_short": "Stopp blokkering",
Expand Down Expand Up @@ -693,8 +696,11 @@
"server_banner.about_active_users": "Personar som har brukt denne tenaren dei siste 30 dagane (Månadlege Aktive Brukarar)",
"server_banner.active_users": "aktive brukarar",
"server_banner.administered_by": "Administrert av:",
"server_banner.is_one_of_many": "{domain} er ein av dei mange uavhengige Mastodon-serverane du kan bruke til å delta i Fødiverset.",
"server_banner.server_stats": "Tenarstatistikk:",
"sign_in_banner.create_account": "Opprett konto",
"sign_in_banner.follow_anyone": "Følg kven som helst på tvers av Fødiverset og sjå alt i kronologisk rekkjefølgje. Ingen algoritmar, reklamar eller clickbait i sikte.",
"sign_in_banner.mastodon_is": "Mastodon er den beste måten å følgje med på det som skjer.",
"sign_in_banner.sign_in": "Logg inn",
"sign_in_banner.sso_redirect": "Logg inn eller registrer deg",
"status.admin_account": "Opne moderasjonsgrensesnitt for @{name}",
Expand Down
3 changes: 3 additions & 0 deletions app/javascript/mastodon/locales/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"account.follow_back": "Obserwuj wzajemnie",
"account.followers": "Obserwujący",
"account.followers.empty": "Nikt jeszcze nie obserwuje tego użytkownika.",
"account.followers_counter": "{count, plural, one {{counter} obserwujący} few {{counter} obserwujących} many {{counter} obserwujących} other {{counter} obserwujących}}",
"account.following": "Obserwowani",
"account.following_counter": "{count, plural, one {{counter} obserwowany} few {{counter} obserwowanych} many {{counter} obserwowanych} other {{counter} obserwowanych}}",
"account.follows.empty": "Ten użytkownik nie obserwuje jeszcze nikogo.",
"account.go_to_profile": "Przejdź do profilu",
"account.hide_reblogs": "Ukryj podbicia od @{name}",
Expand All @@ -61,6 +63,7 @@
"account.requested_follow": "{name} chce zaobserwować twój profil",
"account.share": "Udostępnij profil @{name}",
"account.show_reblogs": "Pokazuj podbicia od @{name}",
"account.statuses_counter": "{count, plural, one {{counter} wpis} few {{counter} wpisy} many {{counter} wpisów} other {{counter} wpisów}}",
"account.unblock": "Odblokuj @{name}",
"account.unblock_domain": "Odblokuj domenę {domain}",
"account.unblock_short": "Odblokuj",
Expand Down
3 changes: 3 additions & 0 deletions app/javascript/mastodon/locales/pt-PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"account.follow_back": "Seguir de volta",
"account.followers": "Seguidores",
"account.followers.empty": "Ainda ninguém segue este utilizador.",
"account.followers_counter": "{count, plural, one {{counter} seguidor} other {{counter} seguidores}}",
"account.following": "A seguir",
"account.following_counter": "{count, plural, one {A seguir {counter}} other {A seguir {counter}}}",
"account.follows.empty": "Este utilizador ainda não segue ninguém.",
"account.go_to_profile": "Ir para o perfil",
"account.hide_reblogs": "Esconder partilhas de @{name}",
Expand All @@ -61,6 +63,7 @@
"account.requested_follow": "{name} pediu para segui-lo",
"account.share": "Partilhar o perfil @{name}",
"account.show_reblogs": "Mostrar partilhas de @{name}",
"account.statuses_counter": "{count, plural, one {{counter} publicação} other {{counter} publicações}}",
"account.unblock": "Desbloquear @{name}",
"account.unblock_domain": "Desbloquear o domínio {domain}",
"account.unblock_short": "Desbloquear",
Expand Down
3 changes: 3 additions & 0 deletions app/javascript/mastodon/locales/sq.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"account.follow_back": "Ndiqe gjithashtu",
"account.followers": "Ndjekës",
"account.followers.empty": "Këtë përdorues ende s’e ndjek kush.",
"account.followers_counter": "{count, plural, one {{counter} ndjekës} other {{counter} ndjekës}}",
"account.following": "Ndjekje",
"account.following_counter": "{count, plural, one {{counter} i ndjekur} other {{counter} të ndjekur}}",
"account.follows.empty": "Ky përdorues ende s’ndjek kënd.",
"account.go_to_profile": "Kalo te profili",
"account.hide_reblogs": "Fshih përforcime nga @{name}",
Expand All @@ -61,6 +63,7 @@
"account.requested_follow": "{name} ka kërkuar t’ju ndjekë",
"account.share": "Ndajeni profilin e @{name} me të tjerët",
"account.show_reblogs": "Shfaq përforcime nga @{name}",
"account.statuses_counter": "{count, plural, one {{counter} postim} other {{counter} postime}}",
"account.unblock": "Zhbllokoje @{name}",
"account.unblock_domain": "Zhblloko përkatësinë {domain}",
"account.unblock_short": "Zhbllokoje",
Expand Down
2 changes: 2 additions & 0 deletions app/javascript/mastodon/locales/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"account.follow_back": "Följ tillbaka",
"account.followers": "Följare",
"account.followers.empty": "Ingen följer denna användare än.",
"account.followers_counter": "{count, plural, one {{counter} följare} other {{counter} följare}}",
"account.following": "Följer",
"account.follows.empty": "Denna användare följer inte någon än.",
"account.go_to_profile": "Gå till profilen",
Expand All @@ -61,6 +62,7 @@
"account.requested_follow": "{name} har begärt att följa dig",
"account.share": "Dela @{name}s profil",
"account.show_reblogs": "Visa boostar från @{name}",
"account.statuses_counter": "{count, plural, one {{counter} inlägg} other {{counter} inlägg}}",
"account.unblock": "Avblockera @{name}",
"account.unblock_domain": "Avblockera {domain}",
"account.unblock_short": "Avblockera",
Expand Down
7 changes: 6 additions & 1 deletion app/javascript/mastodon/test_helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@ import { IntlProvider } from 'react-intl';

import { MemoryRouter } from 'react-router';

import type { RenderOptions } from '@testing-library/react';
// eslint-disable-next-line import/no-extraneous-dependencies
import { render as rtlRender } from '@testing-library/react';

import { IdentityContext } from './identity_context';

function render(
ui: React.ReactElement,
{ locale = 'en', signedIn = true, ...renderOptions } = {},
{
locale = 'en',
signedIn = true,
...renderOptions
}: RenderOptions & { locale?: string; signedIn?: boolean } = {},
) {
const fakeIdentity = {
signedIn: signedIn,
Expand Down
1 change: 1 addition & 0 deletions config/locales/nn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ nn:
filter_by_action: Sorter etter handling
filter_by_user: Sorter etter brukar
title: Revisionslogg
unavailable_instance: "(domenenamn er utilgjengeleg)"
announcements:
destroyed_msg: Kunngjøringen er slettet!
edit:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,9 @@
},
"devDependencies": {
"@formatjs/cli": "^6.1.1",
"@testing-library/dom": "^10.2.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^15.0.0",
"@testing-library/react": "^16.0.0",
"@types/babel__core": "^7.20.1",
"@types/emoji-mart": "^3.0.9",
"@types/escape-html": "^1.0.2",
Expand Down
33 changes: 18 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2768,8 +2768,9 @@ __metadata:
"@rails/ujs": "npm:7.1.3"
"@reduxjs/toolkit": "npm:^2.0.1"
"@svgr/webpack": "npm:^5.5.0"
"@testing-library/dom": "npm:^10.2.0"
"@testing-library/jest-dom": "npm:^6.0.0"
"@testing-library/react": "npm:^15.0.0"
"@testing-library/react": "npm:^16.0.0"
"@types/babel__core": "npm:^7.20.1"
"@types/emoji-mart": "npm:^3.0.9"
"@types/escape-html": "npm:^1.0.2"
Expand Down Expand Up @@ -3348,9 +3349,9 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/dom@npm:^10.0.0":
version: 10.0.0
resolution: "@testing-library/dom@npm:10.0.0"
"@testing-library/dom@npm:^10.2.0":
version: 10.2.0
resolution: "@testing-library/dom@npm:10.2.0"
dependencies:
"@babel/code-frame": "npm:^7.10.4"
"@babel/runtime": "npm:^7.12.5"
Expand All @@ -3360,7 +3361,7 @@ __metadata:
dom-accessibility-api: "npm:^0.5.9"
lz-string: "npm:^1.5.0"
pretty-format: "npm:^27.0.2"
checksum: 10c0/2d12d2a6018a6f1d15e91834180bc068932c699ff1fcbfb80aa21aba519a4f5329c861dfa852e06ee5615bcb92ef2a0f0e755e32684ea3dada63bc34248382ab
checksum: 10c0/de582dfbeb632436547a0ca5851b5a714a4a17f8e96ab3dc4fb4e454eef52c912b648b7cb6e9fdf477f3eeef97e698f3250f0ce50846f39d04677a44169209f2
languageName: node
linkType: hard

Expand Down Expand Up @@ -3397,21 +3398,23 @@ __metadata:
languageName: node
linkType: hard

"@testing-library/react@npm:^15.0.0":
version: 15.0.7
resolution: "@testing-library/react@npm:15.0.7"
"@testing-library/react@npm:^16.0.0":
version: 16.0.0
resolution: "@testing-library/react@npm:16.0.0"
dependencies:
"@babel/runtime": "npm:^7.12.5"
"@testing-library/dom": "npm:^10.0.0"
"@types/react-dom": "npm:^18.0.0"
peerDependencies:
"@testing-library/dom": ^10.0.0
"@types/react": ^18.0.0
"@types/react-dom": ^18.0.0
react: ^18.0.0
react-dom: ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 10c0/ac8ee8968e81949ecb35f7ee34741c2c043f73dd7fee2247d56f6de6a30de4742af94f25264356863974e54387485b46c9448ecf3f6ca41cf4339011c369f2d4
"@types/react-dom":
optional: true
checksum: 10c0/297f97bf4722dad05f11d9cafd47d387dbdb096fea4b79b876c7466460f0f2e345b55b81b3e37fc81ed8185c528cb53dd8455ca1b6b019b229edf6c796f11c9f
languageName: node
linkType: hard

Expand All @@ -3430,9 +3433,9 @@ __metadata:
linkType: hard

"@types/aria-query@npm:^5.0.1":
version: 5.0.1
resolution: "@types/aria-query@npm:5.0.1"
checksum: 10c0/bc9e40ce37bd3a1654948778c7829bd55aea1bc5f2cd06fcf6cd650b07bb388995799e9aab6e2d93a6cf55dcba3b85c155f7ba93adefcc7c2e152fc6057061b5
version: 5.0.4
resolution: "@types/aria-query@npm:5.0.4"
checksum: 10c0/dc667bc6a3acc7bba2bccf8c23d56cb1f2f4defaa704cfef595437107efaa972d3b3db9ec1d66bc2711bfc35086821edd32c302bffab36f2e79b97f312069f08
languageName: node
linkType: hard

Expand Down Expand Up @@ -3829,7 +3832,7 @@ __metadata:
languageName: node
linkType: hard

"@types/react-dom@npm:^18.0.0, @types/react-dom@npm:^18.2.4":
"@types/react-dom@npm:^18.2.4":
version: 18.3.0
resolution: "@types/react-dom@npm:18.3.0"
dependencies:
Expand Down

0 comments on commit d1935bb

Please sign in to comment.