Skip to content

Commit

Permalink
Update mastodon links
Browse files Browse the repository at this point in the history
  • Loading branch information
nukeop committed Nov 8, 2022
1 parent 8ec0d45 commit 8988bad
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion docs/README-de.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Ein Musikplayer für Computer, mit kostenlosem Streaming.

[Offizielle Webseite](https://nuclear.js.org)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[Twitter](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-es.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Reproductor de música de escritorio centrado en la transmisión desde fuentes g

[Documentación](https://nukeop.gitbook.io/nuclear/)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[Twitter](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Lecteur de musique spécialisé dans le streaming depuis des sources gratuites

[Documentation](https://nukeop.gitbook.io/nuclear/)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[Twitter](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-he.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[האתר הרשמי](https://nuclear.js.org)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[טוויטר](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-hi.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

[प्रलेखन](https://nukeop.gitbook.io/nuclear/)

[मेस्टोडोन](https://mstdn.io/@nuclear)
[मेस्टोडोन](https://fosstodon.org/@nuclearplayer)

[ट्विटर](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-id.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Pemutar musik desktop yang berfokus pada streaming dari sumber gratis

[Dokumentasi](https://nukeop.gitbook.io/nuclear/)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[Twitter](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-it.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Lettore musicale desktop incentrato sullo streaming da fonti gratuite

[Sito Ufficiale](https://nuclear.js.org)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[Twitter](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

[공식 사이트](https://nuclear.js.org)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[트위터](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-pl.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Desktopowy odtwarzacz muzyki skoncentrowany na streamingu z otwartych źródeł

[Dokumentacja](https://nukeop.gitbook.io/nuclear/)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[Twitter](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-ptbr.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Music player para desktop focado no streaming a partir de fontes gratuitas.

[Website oficial](https://nuclear.js.org)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[Twitter](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

[Документация](https://nukeop.gitbook.io/nuclear/)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[Twitter](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-se.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Skrivbordsapp som fokuserar på att streama musik från avgiftsfria källor

[Officiell hemsida](https://nuclear.js.org)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[Twitter](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-tr.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

[Dokümantasyon](https://nukeop.gitbook.io/nuclear/)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[Twitter](https://twitter.com/nuclear_player)

Expand Down
2 changes: 1 addition & 1 deletion docs/README-zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

[英文文档](https://nukeop.gitbook.io/nuclear/)

[Mastodon](https://mstdn.io/@nuclear)
[Mastodon](https://fosstodon.org/@nuclearplayer)

[Twitter](https://twitter.com/nuclear_player)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { mountedNavbarFactory, setupI18Next } from '../../../test/testUtils';
import { buildStoreState } from '../../../test/storeBuilders';

const URLs = {
Mastodon: 'https://mstdn.io/@nuclear',
Mastodon: 'https://fosstodon.org/@nuclearplayer',
Github: 'https://github.com/nukeop/nuclear',
Twitter: 'https://twitter.com/nuclear_player',
Author: 'https://github.com/nukeop',
Expand All @@ -25,7 +25,7 @@ describe('Album view container', () => {
it('should show help modal', async () => {
const { component } = mountComponent();

await waitFor(() => component.getByTestId('help-button') .click());
await waitFor(() => component.getByTestId('help-button').click());

expect(component.asFragment()).toMatchSnapshot();
});
Expand All @@ -38,24 +38,24 @@ describe('Album view container', () => {
// eslint-disable-next-line @typescript-eslint/no-var-requires
const shell = require('electron').shell;

await waitFor(() => component.getByTestId('help-button') .click());
await waitFor(() => component.getByTestId('help-button').click());

await waitFor(() => component.getByTestId('github-link') .click());
await waitFor(() => component.getByTestId('github-link').click());
expect(shell.openExternal).toHaveBeenCalledWith(URLs.Github);

await waitFor(() => component.getByTestId('author-link') .click());
await waitFor(() => component.getByTestId('author-link').click());
expect(shell.openExternal).toHaveBeenCalledWith(URLs.Author);

await waitFor(() => component.getByTestId('issue-link') .click());
await waitFor(() => component.getByTestId('issue-link').click());
expect(shell.openExternal).toHaveBeenCalledWith(URLs.ReportIssue);

await waitFor(() => component.getByTestId('twitter-link') .click());
await waitFor(() => component.getByTestId('twitter-link').click());
expect(shell.openExternal).toHaveBeenCalledWith(URLs.Twitter);

await waitFor(() => component.getByTestId('mastodon-link') .click());
await waitFor(() => component.getByTestId('mastodon-link').click());
expect(shell.openExternal).toHaveBeenCalledWith(URLs.Mastodon);

await waitFor(() => component.getByTestId('discord-link') .click());
await waitFor(() => component.getByTestId('discord-link').click());
expect(shell.openExternal).toHaveBeenCalledWith(URLs.Discord);
});

Expand Down
4 changes: 2 additions & 2 deletions packages/app/app/containers/HelpModalContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const HelpModalContainer: React.FC<{}> = () => {
};

const handleOpenExternalLink = (link: string) => link && link.length && electron.shell.openExternal(link);
const handleMastodonClick = () => handleOpenExternalLink('https://mstdn.io/@nuclear');
const handleMastodonClick = () => handleOpenExternalLink('https://fosstodon.org/@nuclearplayer');
const handleGithubClick = () => handleOpenExternalLink('https://github.com/nukeop/nuclear');
const handleTwitterClick = () => handleOpenExternalLink('https://twitter.com/nuclear_player');
const handleAuthorClick = () => handleOpenExternalLink('https://github.com/nukeop');
Expand All @@ -24,7 +24,7 @@ const HelpModalContainer: React.FC<{}> = () => {
'https://github.com/nukeop/nuclear/issues/new?assignees=&labels=bug&template=bug_report.md&title='
);

return (<HelpModal
return (<HelpModal
githubContrib={githubContrib}
handleOpenExternalLink={handleOpenExternalLink}
handleMastodonClick={handleMastodonClick}
Expand Down

0 comments on commit 8988bad

Please sign in to comment.