Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap all text in i18next functions #1087

Merged
merged 14 commits into from
Nov 18, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added agpl disclaimer and removed key from language translations
  • Loading branch information
St3phy831 committed Nov 5, 2021
commit c6c57402c2c6bbf50c7210a6cd50a77eeeb72abe
5 changes: 5 additions & 0 deletions packages/app/app/components/HelpModal/const.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export const agplDisclaimer = 'This program is free software: you can redistribute'
+ ' it and/or modify it under the terms of the GNU Affero General'
+ ' Public License as published by the Free Software Foundation,'
+ ' either version 3 of the License, or (at your option) any later'
+ ' version. See the GNU Affero General Public License for more details.';
3 changes: 2 additions & 1 deletion packages/app/app/components/HelpModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { useTranslation } from 'react-i18next';
import Contributors, { ContributorState } from './Contributors';

import HelpButton from '../HelpButton';
import { agplDisclaimer } from './const';

import logoImg from '../../../resources/media/logo_full_light.png';
import mastodonImg from '../../../resources/media/mastodon.svg';
Expand Down Expand Up @@ -74,7 +75,7 @@ const HelpModal: React.FC<HelpModalProps> = ({
</Modal.Description>
</Modal.Content>
<Modal.Content>
<Modal.Description>{t('agpl-disclaimer')}</Modal.Description>
<Modal.Description>{agplDisclaimer}</Modal.Description>
</Modal.Content>
<Modal.Content>
<div className={styles.social_icons}>
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/af_ZA.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "About Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktop music player for streaming from free sources",
"released": "released under AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/ar_SA.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "About Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktop music player for streaming from free sources",
"released": "released under AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/bn_BD.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "About Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktop music player for streaming from free sources",
"released": "released under AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "O hudebním přehrávači Nuclear",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktopový přehrávač hudby pro streamování z volně dostupných zdrojů",
"released": "Vydán pod licencí AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Über Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Musikplayer gemacht für Computer, der aus kostenlosen Quellen streamt",
"released": "freigegeben unter AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/dk.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Om Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktop music player for streaming fra gratis kilder",
"released": "Udgivet under AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "About Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktop music player for streaming from free sources",
"released": "released under AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Acerca de Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Reproductor de música de escritorio para transmitir desde fuentes gratuitas",
"released": "publicado bajo AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Tietoa Nuclear Musiikki soittimesta",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Työpöytäsovellus musiikin streamaamiseen ilmaisista lähteistä",
"released": "Lisenssi: AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "À propos de \"Nuclear Music Player\"",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Application de bureau jouant de la musique à partir de sources libres",
"released": "distribué sous licence AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/gr.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Περισσότερα για τον \"Nuclear Music Player\"",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Εφαρμογή αναπαραγωγής μουσικής από δωρεάν πηγές στο διαδίκτυο.",
"released": "Διατίθεται βάσει του AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/he_IL.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "על אודות נגן המוזיקה Nuclear",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "נגן מוזיקה עבור שולחן העבודה להזרמה ממקורות חופשיים",
"released": "מופץ בכפוף לרישיון AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/hi_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "न्यूक्लियर म्यूजिक प्लेयर के बारे में",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "मुफ्त स्रोतों से स्ट्रीमिंग के लिए डेस्कटॉप म्यूजिक प्लेयर",
"released": "AGPL-3.0 के तहत जारी",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/hr.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "O Nuclear Music Playeru",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktop glazbeni player za streamanje iz besplatnih izvora",
"released": "objavljen pod licencom AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Tentang Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Pemutar musik desktop untuk streaming dari penyedia-penyedia bebas biaya",
"released": "dirilis dengan lisensi AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/is.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Um Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Tónlistaspilari sem streymir lög frá frium stöðum",
"released": "Gefið út undir AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Sul Lettore Musicale Nuclear",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Il lettore musicale desktop per riprodurre musica da fonti gratuite",
"released": "rilasciato sotto AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/ja_JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Nuclear Music Playerについて",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "無料ソースから音楽再生するデスクトップ音楽プレイヤー",
"released": "AGPL-3.0でリリースされました",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Nuclear Music Player에 대하여",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "무료 음악 스트리밍을 위한 데스크탑 음악 재생 프로그램",
"released": "AGPL-3.0 라이선스로 배포되었습니다.",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/lt_LT.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Apie Nuclear Muzikos leidėją",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Kompiuterinis muzikos grotuvas, skirtas srautiniam perdavimui iš nemokamų šaltinių",
"released": "išleista ant AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Over Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Muziekspeler voor het streamen van vrije muziek",
"released": "uitgebracht onder de AGPL-3.0-licentie",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/no_NO.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Om Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Skrivebord musikkspiller for å strømme fra gratis kilder",
"released": "frigjort under AGPL-3,0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/pa_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "About Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktop music player for streaming from free sources",
"released": "released under AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "O Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktopowy odtwarzacz muzyki do strumieniowania z darmowych źródeł",
"released": "wydany na licencji AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/pt_br.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Sobre o Player de Música Nuclear",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktop music player for streaming from free sources",
"released": "released under AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/ro_RO.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "About Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktop music player for streaming from free sources",
"released": "released under AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "О программе Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Проигрыватель музыки из свободных источников",
"released": "выпущен под лицензией AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/se.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Om Nuclear-musikspelare",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Musikspelare som streamar från avgiftsfria källor",
"released": "släppt under AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/sk.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "O Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktopový prehrávač hudby na streamovanie hudby z voľne dostupnyých zdrojov",
"released": "vydaný pod AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/sq.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "Rreth Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Aplikacion desktop për të dëgjuar muzikë nga burime të hapura",
"released": "publikuar nën licensën AGPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/i18n/src/locales/te_IN.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
},
"help": {
"about": "About Nuclear Music Player",
"agpl-disclaimer": "This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details.",
"contributors": "Our top 10 Contributors",
"header": "Desktop music player for streaming from free sources",
"released": "released under AGPL-3.0",
Expand Down
Loading