From ce2e90544782e4571da52ebac1838fac9a918227 Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Mon, 29 Jul 2024 17:56:58 +0200 Subject: [PATCH 01/20] Polish translation of supersonic --- res/translations/pl.json | 220 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 220 insertions(+) create mode 100644 res/translations/pl.json diff --git a/res/translations/pl.json b/res/translations/pl.json new file mode 100644 index 0000000..c0b7d53 --- /dev/null +++ b/res/translations/pl.json @@ -0,0 +1,220 @@ +{ + "A new version is available": "Nowa wersja jest dostępna", + "About": "O aplikacji", + "Add Server": "Dodaj serwer", + "Add to playlist": "Dodaj do playlisty", + "Add to queue": "Dodaj do odtwarzania", + "Album": "Album", + "album": "album", + "Album count": "Album count", + "Album Count": "Album Count", + "Album filters": "Filtry albumu", + "Album gain": "Album gain", + "Album info not available": "Informacje ablumu niedostępne", + "Album peak": "Album peak", + "Albums": "Albumy", + "albums": "albumy", + "All": "Wszystko", + "All Tracks": "Wszystkie ", + "Alt. URL": "Alt. URL", + "Are you sure you want to delete the server": "Are you sure you want to delete the server", + "Artist": "Artysta", + "Artist (A-Z)": "Artyści (A-Z)", + "Artists": "Artyści", + "Artist biography not available.": "Artist biography not available.", + "Audio device": "Urządzenie audio", + "Audio Drama": "Audio Drama", + "Audiobook": "Audiobook", + "Authentication failed": "Błąd autoryzacji", + "Auto": "Auto", + "Autoselect device": "Autoselect device", + "Bit rate": "Bit rate", + "BPM": "BPM", + "Broadcast": "Broadcast", + "Cancel": "Anuluj", + "Check for Updates": "Sprawdź aktualizacje", + "Close": "Zamknij", + "Close to system tray": "Zamknij do zasobnika systemowego", + "Comment": "Comment", + "Compilation": "Compilation", + "Composer": "Composer", + "Configure your music server to add radio stations": "Skonfiguruj swój serwer muzyki aby dodać stacje radiowe", + "Confirm Delete Playlist": "Potwierdź usunięcie playlisty", + "Confirm Delete Server": "Potwierdź usunięcie serwera", + "Connect to Server": "Połącz z Serwerem", + "Connecting": "Łączenie", + "Connecting to": "Łączenie z", + "Content type": "Content type", + "Could not reach server": "Could not reach server", + "Create new playlist": "Create new playlist", + "day": "dzień", + "days": "dni", + "Delete Playlist": "Usuń playlistę", + "Demo": "Demo", + "Description": "Opis", + "Disable server transcoding": "Disable server transcoding", + "Disc number": "Disc number", + "Discography": "Discography", + "discs": "discs", + "DJ-Mix": "DJ-Mix", + "Download": "Pobierz", + "Download completed": "Pobieranie zakończone", + "Duration": "Czas trwania", + "Edit": "Edytuj", + "Edit Playlist": "Edytuj playlistę", + "Edit server": "Edytuj serwer", + "Enable system tray": "Włącz chowanie do zasobnika", + "Enabled": "Włączony", + "Enter": "Enter", + "EP": "EP", + "Equalizer": "Equalizer", + "Exclusive mode": "Exclusive mode", + "Favorites": "Ulubione", + "Field Recording": "Field Recording", + "File path": "Ścieżka pliku", + "File size": "Wielkość pliku", + "Filter genres": "Filtruj gatunki", + "Frequently Played": "Często odtwarzane", + "General": "General", + "Genre": "Genre", + "Genres": "Genres", + "Github page": "Strona githuba", + "Go to release page": "Otwórz stronę z wersjami", + "Hide": "Ukryj", + "Home Page": "Strona domowa", + "hr": "hr", + "hrs": "hrs", + "Internet Radio Stations": "Internetowe Stacje Radiowe", + "Interview": "Interview", + "Is favorite": "Jest ulubione", + "Is not favorite": "Nie jest ulubione", + "Last played": "Ostatnio odtwarzane", + "Live": "Live", + "Locally": "Lokalnie", + "Log Out": "Wyloguj", + "Login to Server": "Login do Serwera", + "Lyrics": "Lyrics", + "Lyrics not available": "Tekst piosenki nie jest dostępny", + "min": "min", + "minutes of track have been played": "minutes of track have been played", + "Mixtape": "Mixtape", + "My Server": "Mój serwer", + "Name": "Name", + "Name (A-Z)": "Name (A-Z)", + "Next": "Next", + "Nickname": "Nickname", + "No new version found": "No new version found", + "No radio stations available": "No radio stations available", + "None": "None", + "none": "none", + "none selected": "none selected", + "OK": "OK", + "optional": "opcjonalne", + "or when": "or when", + "Password": "Hasło", + "Pause": "Pauza", + "Paused": "Wstrzymane", + "Peak Meter": "Peak Meter", + "percent of track is played": "percent of track is played", + "Play": "Odtwórz", + "Play Artist Radio": "Odtwórz radio artysty", + "Play count": "Play count", + "Play Discography": "Play Discography", + "Play next": "Odtwórz następne", + "Play Queue": "Play Queue", + "Play random": "Odtwórz losowo", + "Playback": "Playback", + "Playing": "Playing", + "Playlist": "Playlista", + "Playlists": "Playlisty", + "playlist by": "playlista przez", + "Plays": "Plays", + "Prevent clipping": "Prevent clipping", + "Previous": "Previous", + "Private": "Prywatne", + "Public": "Publiczne", + "Random": "Randomowe", + "Rating": "Ocena", + "reissued": "reissued", + "Recently Added": "Ostatnio dodane", + "Recently Played": "Ostatnio odtwarzane", + "Related": "Related", + "Remix": "Remix", + "Remove from playlist": "Usuń z playlisty", + "ReplayGain mode": "ReplayGain mode", + "ReplayGain preamp": "ReplayGain preamp", + "Restart required": "Wymagany restart", + "Save play queue on exit": "Zapisz kolejkę odtwarzania po zamknięciu", + "Saved at": "Zapisano w", + "Scrobble when": "Scrobble when", + "Search Everywhere": "Szukaj wszędzie", + "Search page": "Search page", + "Search playlists or new playlist name": "Search playlists or new playlist name", + "sec": "sec", + "selected": "wybrane", + "Send playback statistics to server": "Wyślij statystyki playbacku do serwera", + "Server": "Serwer", + "Server Type": "Typ serwera", + "Server unreachable": "Server nieosiągalny", + "Set rating": "Set rating", + "Settings": "Ustawienia", + "Share": "Udostępnij", + "Share content": "Share content", + "Show": "Pokaż", + "Show info": "Pokaż informacje", + "Show notification on track change": "Pokaż powiadomienie o zmianie ścieżki", + "Show year in album grid cards": "Show year in album grid cards", + "Shuffle": "Wymieszaj", + "Shuffle albums": "Wymieszaj album", + "Shuffle tracks": "Wymieszaj ścieżki", + "Similar artists": "Podobni artyści", + "Single": "Single", + "Size": "Size", + "Skip duplicate tracks": "Pomiń zduplikowane ścieżki", + "Skip this version": "Pomiń tą wersję", + "Soundtrack": "Soundtrack", + "Spoken Word": "Spoken Word", + "Startup page": "Strona startowa", + "Stopped": "Wstrzymane", + "Support the project": "Wesprzyj projekt", + "Switch Servers": "Zmień serwer", + "Testing connection": "Testowanie połączenia", + "Theme": "Motyw", + "Time": "Czas", + "Title": "Tytuł", + "Title (A-Z)": "Tytuł (A-Z)", + "Top Tracks": "Top Tracks", + "Total time": "Total time", + "Track": "Track", + "track": "track", + "Track count": "Track count", + "Track gain": "Track gain", + "Track Info": "Track Info", + "Track number": "Track number", + "Track peak": "Track peak", + "tracks": "tracks", + "UI Scaling": "Skalowanie UI", + "URL": "URL", + "Use legacy authentication": "Use legacy authentication", + "Username": "Login", + "version": "wersja", + "Visualizations": "Wizualizacja", + "Volume": "Głośność", + "wrong URL": "Nieprawidłowy URL", + "wrong username/password": "Nieprawidłowy login/hasło", + "Year": "Rok", + "Year (ascending)": "Rok (rosnąco)", + "Year (descending)": "Rok (malejąco)", + "Year from": "Z roku", + "You are running the latest version of": "Korzystasz z najnowszej wersji", + "Quit": "Wyjdź", + "Rescan Library": "Przeszukaj ponownie bibliotekę", + "Search": "Szukaj", + "Owner": "Właściciel", + "To server": "Do serwera", + "Fav.": "Fav.", + "Set favorite": "Ustaw ulubione", + "Unset favorite": "Unset favorite", + "Remove from queue": "Usuń z kolejki odtwarzania", + "Play song radio": "Play song radio" +} From 1b9aa234157a6b6e22dfea9706a089c9968ad8e6 Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Mon, 29 Jul 2024 19:29:05 +0200 Subject: [PATCH 02/20] Update pl.json --- res/translations/pl.json | 98 ++++++++++++++++++++-------------------- 1 file changed, 50 insertions(+), 48 deletions(-) diff --git a/res/translations/pl.json b/res/translations/pl.json index c0b7d53..b3c260d 100644 --- a/res/translations/pl.json +++ b/res/translations/pl.json @@ -17,17 +17,17 @@ "All": "Wszystko", "All Tracks": "Wszystkie ", "Alt. URL": "Alt. URL", - "Are you sure you want to delete the server": "Are you sure you want to delete the server", + "Are you sure you want to delete the server": "Czy jesteś pewny, że chcesz usunąć serwer", "Artist": "Artysta", "Artist (A-Z)": "Artyści (A-Z)", "Artists": "Artyści", - "Artist biography not available.": "Artist biography not available.", + "Artist biography not available.": "Biografia artysty niedostępna.", "Audio device": "Urządzenie audio", "Audio Drama": "Audio Drama", "Audiobook": "Audiobook", "Authentication failed": "Błąd autoryzacji", "Auto": "Auto", - "Autoselect device": "Autoselect device", + "Autoselect device": "Automatyczny wybór", "Bit rate": "Bit rate", "BPM": "BPM", "Broadcast": "Broadcast", @@ -44,17 +44,17 @@ "Connect to Server": "Połącz z Serwerem", "Connecting": "Łączenie", "Connecting to": "Łączenie z", - "Content type": "Content type", - "Could not reach server": "Could not reach server", - "Create new playlist": "Create new playlist", + "Content type": "Typ pliku", + "Could not reach server": "Nie można dosięgnąć serwera", + "Create new playlist": "Utwórz nową playlistę", "day": "dzień", "days": "dni", "Delete Playlist": "Usuń playlistę", "Demo": "Demo", "Description": "Opis", - "Disable server transcoding": "Disable server transcoding", + "Disable server transcoding": "Wyłącz transkodowanie serwera", "Disc number": "Disc number", - "Discography": "Discography", + "Discography": "Dyskografia", "discs": "discs", "DJ-Mix": "DJ-Mix", "Download": "Pobierz", @@ -68,16 +68,16 @@ "Enter": "Enter", "EP": "EP", "Equalizer": "Equalizer", - "Exclusive mode": "Exclusive mode", + "Exclusive mode": "Tryb exclusive", "Favorites": "Ulubione", "Field Recording": "Field Recording", "File path": "Ścieżka pliku", "File size": "Wielkość pliku", "Filter genres": "Filtruj gatunki", "Frequently Played": "Często odtwarzane", - "General": "General", - "Genre": "Genre", - "Genres": "Genres", + "General": "Ogólny", + "Genre": "Gatunek", + "Genres": "Gatunki", "Github page": "Strona githuba", "Go to release page": "Otwórz stronę z wersjami", "Hide": "Ukryj", @@ -93,52 +93,52 @@ "Locally": "Lokalnie", "Log Out": "Wyloguj", "Login to Server": "Login do Serwera", - "Lyrics": "Lyrics", + "Lyrics": "Tekst piosenki", "Lyrics not available": "Tekst piosenki nie jest dostępny", "min": "min", "minutes of track have been played": "minutes of track have been played", "Mixtape": "Mixtape", "My Server": "Mój serwer", - "Name": "Name", - "Name (A-Z)": "Name (A-Z)", - "Next": "Next", - "Nickname": "Nickname", - "No new version found": "No new version found", - "No radio stations available": "No radio stations available", - "None": "None", - "none": "none", - "none selected": "none selected", + "Name": "Nazwa", + "Name (A-Z)": "Nazwa (A-Z)", + "Next": "Następny", + "Nickname": "Nazwa serwera", + "No new version found": "Nie znaleziono nowych wersji", + "No radio stations available": "Brak dostępnych radio stacji", + "None": "Nic", + "none": "nic", + "none selected": "wybrano nic", "OK": "OK", "optional": "opcjonalne", - "or when": "or when", + "or when": "lub kiedy", "Password": "Hasło", "Pause": "Pauza", "Paused": "Wstrzymane", - "Peak Meter": "Peak Meter", - "percent of track is played": "percent of track is played", + "Peak Meter": "Licznik szczytowy", + "percent of track is played": "procent odtworzonej piosenki", "Play": "Odtwórz", "Play Artist Radio": "Odtwórz radio artysty", - "Play count": "Play count", - "Play Discography": "Play Discography", + "Play count": "Ilość odtworzeń", + "Play Discography": "Odtwórz Dyskografię", "Play next": "Odtwórz następne", - "Play Queue": "Play Queue", + "Play Queue": "Odtwórz kolejkę", "Play random": "Odtwórz losowo", "Playback": "Playback", "Playing": "Playing", "Playlist": "Playlista", "Playlists": "Playlisty", "playlist by": "playlista przez", - "Plays": "Plays", - "Prevent clipping": "Prevent clipping", - "Previous": "Previous", - "Private": "Prywatne", + "Plays": "Ilość odtworzeń", + "Prevent clipping": "Zapobiegnij przycicnaniu", + "Previous": "Poprzednie", + "Private": "Prywatna", "Public": "Publiczne", - "Random": "Randomowe", + "Random": "Losowe", "Rating": "Ocena", "reissued": "reissued", "Recently Added": "Ostatnio dodane", "Recently Played": "Ostatnio odtwarzane", - "Related": "Related", + "Related": "Powiązane", "Remix": "Remix", "Remove from playlist": "Usuń z playlisty", "ReplayGain mode": "ReplayGain mode", @@ -148,28 +148,28 @@ "Saved at": "Zapisano w", "Scrobble when": "Scrobble when", "Search Everywhere": "Szukaj wszędzie", - "Search page": "Search page", - "Search playlists or new playlist name": "Search playlists or new playlist name", + "Search page": "Przeszukaj stronę", + "Search playlists or new playlist name": "Szukaj playlisty lub ", "sec": "sec", "selected": "wybrane", "Send playback statistics to server": "Wyślij statystyki playbacku do serwera", "Server": "Serwer", "Server Type": "Typ serwera", "Server unreachable": "Server nieosiągalny", - "Set rating": "Set rating", + "Set rating": "Ustaw ocenę", "Settings": "Ustawienia", "Share": "Udostępnij", "Share content": "Share content", "Show": "Pokaż", "Show info": "Pokaż informacje", "Show notification on track change": "Pokaż powiadomienie o zmianie ścieżki", - "Show year in album grid cards": "Show year in album grid cards", + "Show year in album grid cards": "Pokaż rok w zakładce albumu", "Shuffle": "Wymieszaj", "Shuffle albums": "Wymieszaj album", "Shuffle tracks": "Wymieszaj ścieżki", "Similar artists": "Podobni artyści", "Single": "Single", - "Size": "Size", + "Size": "Wielkość", "Skip duplicate tracks": "Pomiń zduplikowane ścieżki", "Skip this version": "Pomiń tą wersję", "Soundtrack": "Soundtrack", @@ -183,19 +183,19 @@ "Time": "Czas", "Title": "Tytuł", "Title (A-Z)": "Tytuł (A-Z)", - "Top Tracks": "Top Tracks", - "Total time": "Total time", - "Track": "Track", - "track": "track", + "Top Tracks": "Top piosenek", + "Total time": "Pełny czas", + "Track": "Utwór", + "track": "utwór", "Track count": "Track count", "Track gain": "Track gain", - "Track Info": "Track Info", - "Track number": "Track number", + "Track Info": "Informacje utworu", + "Track number": "Numer utworu", "Track peak": "Track peak", "tracks": "tracks", "UI Scaling": "Skalowanie UI", "URL": "URL", - "Use legacy authentication": "Use legacy authentication", + "Use legacy authentication": "Użyj starsze uwierzytelnianie", "Username": "Login", "version": "wersja", "Visualizations": "Wizualizacja", @@ -214,7 +214,9 @@ "To server": "Do serwera", "Fav.": "Fav.", "Set favorite": "Ustaw ulubione", - "Unset favorite": "Unset favorite", + "Unset favorite": "Usuń ulubione", "Remove from queue": "Usuń z kolejki odtwarzania", - "Play song radio": "Play song radio" + "Play song radio": "Odtwórz piosenkę z radia", + "to":"do", + "by":"przez" } From 8373c7243489a34f5340c8164c4d54180235a676 Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Mon, 29 Jul 2024 19:30:40 +0200 Subject: [PATCH 03/20] Update en.json --- res/translations/en.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/res/translations/en.json b/res/translations/en.json index 91e13d9..df03d21 100644 --- a/res/translations/en.json +++ b/res/translations/en.json @@ -216,5 +216,7 @@ "Set favorite": "Set favorite", "Unset favorite": "Unset favorite", "Remove from queue": "Remove from queue", - "Play song radio": "Play song radio" + "Play song radio": "Play song radio", + "to":"to", + "by":"by" } From 7a0816977797f226623f1c472c26a4563d0f2c82 Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Mon, 29 Jul 2024 20:58:41 +0200 Subject: [PATCH 04/20] Update pl.json --- res/translations/pl.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/res/translations/pl.json b/res/translations/pl.json index b3c260d..62a30da 100644 --- a/res/translations/pl.json +++ b/res/translations/pl.json @@ -85,7 +85,7 @@ "hr": "hr", "hrs": "hrs", "Internet Radio Stations": "Internetowe Stacje Radiowe", - "Interview": "Interview", + "Interview": "Wywiad", "Is favorite": "Jest ulubione", "Is not favorite": "Nie jest ulubione", "Last played": "Ostatnio odtwarzane", @@ -121,10 +121,10 @@ "Play count": "Ilość odtworzeń", "Play Discography": "Odtwórz Dyskografię", "Play next": "Odtwórz następne", - "Play Queue": "Odtwórz kolejkę", + "Play Queue": "Lista odtwarzania", "Play random": "Odtwórz losowo", "Playback": "Playback", - "Playing": "Playing", + "Playing": "Odtwarza", "Playlist": "Playlista", "Playlists": "Playlisty", "playlist by": "playlista przez", @@ -149,7 +149,7 @@ "Scrobble when": "Scrobble when", "Search Everywhere": "Szukaj wszędzie", "Search page": "Przeszukaj stronę", - "Search playlists or new playlist name": "Szukaj playlisty lub ", + "Search playlists or new playlist name": "Szukaj playlisty lub", "sec": "sec", "selected": "wybrane", "Send playback statistics to server": "Wyślij statystyki playbacku do serwera", @@ -187,12 +187,12 @@ "Total time": "Pełny czas", "Track": "Utwór", "track": "utwór", - "Track count": "Track count", + "Track count": "Ilość utworów", "Track gain": "Track gain", "Track Info": "Informacje utworu", "Track number": "Numer utworu", "Track peak": "Track peak", - "tracks": "tracks", + "tracks": "utwory", "UI Scaling": "Skalowanie UI", "URL": "URL", "Use legacy authentication": "Użyj starsze uwierzytelnianie", From 0fdf73006686e7e842c5fe7ad98029b948040670 Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Mon, 29 Jul 2024 21:09:58 +0200 Subject: [PATCH 05/20] First test theme --- res/themes/aquadark.toml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 res/themes/aquadark.toml diff --git a/res/themes/aquadark.toml b/res/themes/aquadark.toml new file mode 100644 index 0000000..8a042cc --- /dev/null +++ b/res/themes/aquadark.toml @@ -0,0 +1,26 @@ +[SupersonicTheme] +Name = "Aqua dark" +Version = "0.1" +SupportsDark = true +SupportsLight = false + +[DarkColors] +PageBackground = "#000000" +ListHeader = "#00b4bd" +PageHeader = "#0cd7e1" +Background = "#104c4f" +ScrollBar = "#F3F3F3" +Button = "00fffb" +Foreground = "#1f5655" +InputBackground = "#14141432" + +[LightColors] +PageBackground = "#FAFAFA" +ListHeader = "#E1DFE1" +PageHeader = "#e1dfe1" +Background = "#E1DFE1" +ScrollBar = "#565656" +Button = "#C8C8C8F0" +DisabledButton = "#CDCDCDF0" +Foreground = "#262626" +Hyperlink = "#3737FB" From 18c310f94451c65c907080f887a9e35bbbf9a52e Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Tue, 30 Jul 2024 10:03:39 +0200 Subject: [PATCH 06/20] Update pl.json need to make work translations -"to":"do" -"by":"przez" --- res/translations/pl.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/res/translations/pl.json b/res/translations/pl.json index 62a30da..591099c 100644 --- a/res/translations/pl.json +++ b/res/translations/pl.json @@ -6,8 +6,8 @@ "Add to queue": "Dodaj do odtwarzania", "Album": "Album", "album": "album", - "Album count": "Album count", - "Album Count": "Album Count", + "Album count": "Ilość albumów", + "Album Count": "Ilość Albumów", "Album filters": "Filtry albumu", "Album gain": "Album gain", "Album info not available": "Informacje ablumu niedostępne", @@ -96,7 +96,7 @@ "Lyrics": "Tekst piosenki", "Lyrics not available": "Tekst piosenki nie jest dostępny", "min": "min", - "minutes of track have been played": "minutes of track have been played", + "minutes of track have been played": "minuty utworu odtworzono", "Mixtape": "Mixtape", "My Server": "Mój serwer", "Name": "Nazwa", @@ -151,7 +151,7 @@ "Search page": "Przeszukaj stronę", "Search playlists or new playlist name": "Szukaj playlisty lub", "sec": "sec", - "selected": "wybrane", + "selected": "wybrano", "Send playback statistics to server": "Wyślij statystyki playbacku do serwera", "Server": "Serwer", "Server Type": "Typ serwera", From 7404b886c18c5efd142dfe6294493b91f260c6c7 Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Tue, 30 Jul 2024 11:53:51 +0200 Subject: [PATCH 07/20] Revert "First test theme" This reverts commit 0fdf73006686e7e842c5fe7ad98029b948040670. --- res/themes/aquadark.toml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 res/themes/aquadark.toml diff --git a/res/themes/aquadark.toml b/res/themes/aquadark.toml deleted file mode 100644 index 8a042cc..0000000 --- a/res/themes/aquadark.toml +++ /dev/null @@ -1,26 +0,0 @@ -[SupersonicTheme] -Name = "Aqua dark" -Version = "0.1" -SupportsDark = true -SupportsLight = false - -[DarkColors] -PageBackground = "#000000" -ListHeader = "#00b4bd" -PageHeader = "#0cd7e1" -Background = "#104c4f" -ScrollBar = "#F3F3F3" -Button = "00fffb" -Foreground = "#1f5655" -InputBackground = "#14141432" - -[LightColors] -PageBackground = "#FAFAFA" -ListHeader = "#E1DFE1" -PageHeader = "#e1dfe1" -Background = "#E1DFE1" -ScrollBar = "#565656" -Button = "#C8C8C8F0" -DisabledButton = "#CDCDCDF0" -Foreground = "#262626" -Hyperlink = "#3737FB" From d71d5d4dfeaedc447a30485e968ce4c04af89e0d Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Tue, 30 Jul 2024 17:01:40 +0200 Subject: [PATCH 08/20] pl.json and language changes --- res/translations/pl.json | 2 +- ui/browsing/albumpage.go | 2 +- ui/widgets/albumfilterbutton.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/res/translations/pl.json b/res/translations/pl.json index 591099c..b751962 100644 --- a/res/translations/pl.json +++ b/res/translations/pl.json @@ -183,7 +183,7 @@ "Time": "Czas", "Title": "Tytuł", "Title (A-Z)": "Tytuł (A-Z)", - "Top Tracks": "Top piosenek", + "Top Tracks": "Top utworów", "Total time": "Pełny czas", "Track": "Utwór", "track": "utwór", diff --git a/ui/browsing/albumpage.go b/ui/browsing/albumpage.go index 01fcc69..6c14fdc 100644 --- a/ui/browsing/albumpage.go +++ b/ui/browsing/albumpage.go @@ -213,7 +213,7 @@ func NewAlbumPageHeader(page *AlbumPage) *AlbumPageHeader { } a.releaseTypeLabel = widget.NewRichText( &widget.TextSegment{Text: lang.L("Album"), Style: util.BoldRichTextStyle}, - &widget.TextSegment{Text: " by", Style: widget.RichTextStyle{Inline: true}}, + &widget.TextSegment{Text: " " + lang.L("by"), Style: widget.RichTextStyle{Inline: true}}, ) a.artistLabel = widgets.NewMultiHyperlink() a.artistLabel.OnTapped = func(id string) { diff --git a/ui/widgets/albumfilterbutton.go b/ui/widgets/albumfilterbutton.go index 783af91..ef92b03 100644 --- a/ui/widgets/albumfilterbutton.go +++ b/ui/widgets/albumfilterbutton.go @@ -189,7 +189,7 @@ func NewAlbumFilterPopup(filter *AlbumFilterButton) *AlbumFilterPopup { title.TextStyle.Bold = true a.container = container.NewVBox( container.NewHBox(layout.NewSpacer(), title, layout.NewSpacer()), - container.NewHBox(widget.NewLabel(lang.L("Year from")), minYear, widget.NewLabel("to"), maxYear), + container.NewHBox(widget.NewLabel(lang.L("Year from")), minYear, widget.NewLabel(lang.L("to")), maxYear), container.NewHBox(a.isFavorite, a.isNotFavorite), a.genreFilter, ) From 11341dbd90a13711dde0a76bde3c1c0fbf5bdd27 Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Tue, 30 Jul 2024 18:19:54 +0200 Subject: [PATCH 09/20] Update pl.json --- res/translations/pl.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/res/translations/pl.json b/res/translations/pl.json index b751962..835fd0f 100644 --- a/res/translations/pl.json +++ b/res/translations/pl.json @@ -135,7 +135,7 @@ "Public": "Publiczne", "Random": "Losowe", "Rating": "Ocena", - "reissued": "reissued", + "reissued": "odnowiony", "Recently Added": "Ostatnio dodane", "Recently Played": "Ostatnio odtwarzane", "Related": "Powiązane", @@ -212,11 +212,11 @@ "Search": "Szukaj", "Owner": "Właściciel", "To server": "Do serwera", - "Fav.": "Fav.", + "Fav.": "Ulub.", "Set favorite": "Ustaw ulubione", "Unset favorite": "Usuń ulubione", "Remove from queue": "Usuń z kolejki odtwarzania", - "Play song radio": "Odtwórz piosenkę z radia", + "Play song radio": "Odtwórz mix utworów", "to":"do", "by":"przez" } From 898f3527690fa4686679bcb1f352175da98dbb1f Mon Sep 17 00:00:00 2001 From: tsuicaa Date: Wed, 31 Jul 2024 14:17:17 +0300 Subject: [PATCH 10/20] Added Romanian translation --- res/translations/ro.json | 220 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 220 insertions(+) create mode 100644 res/translations/ro.json diff --git a/res/translations/ro.json b/res/translations/ro.json new file mode 100644 index 0000000..430d239 --- /dev/null +++ b/res/translations/ro.json @@ -0,0 +1,220 @@ +{ + "A new version is available": "O nouă versiune este disponibilă", + "About": "Despre", + "Add Server": "Adaugă server", + "Add to playlist": "Adaugă în playlist", + "Add to queue": "Adaugă în lista de redare", + "Album": "Album", + "album": "album", + "Album count": "Număr album", + "Album Count": "Număr album", + "Album filters": "Filtre album", + "Album gain": "Nivel volum album", + "Album info not available": "Informații despre album indisponibile", + "Album peak": "Vârf album", + "Albums": "Albume", + "albums": "albume", + "All": "Toate", + "All Tracks": "Toate melodiile", + "Alt. URL": "URL alt.", + "Are you sure you want to delete the server": "Ești sigur că vrei să ștergi serverul", + "Artist": "Artist", + "Artist (A-Z)": "Artist (A-Z)", + "Artists": "Artiști", + "Artist biography not available.": "Biografia artistului indisponibilă.", + "Audio device": "Dispozitiv audio", + "Audio Drama": "Dramă audio", + "Audiobook": "Audiobook", + "Authentication failed": "Autentificare eșuată", + "Auto": "Auto", + "Autoselect device": "Selectează automat dispozitiv", + "Bit rate": "Bit rate", + "BPM": "BPM", + "Broadcast": "Transmisiune", + "Cancel": "Anulează", + "Check for Updates": "Verifică actualizări", + "Close": "Închide", + "Close to system tray": "Închide în bara de sistem", + "Comment": "Comentariu", + "Compilation": "Compilație", + "Composer": "Compozitor", + "Configure your music server to add radio stations": "Configurează-ți serverul de muzică pentru a adăuga stații radio", + "Confirm Delete Playlist": "Confirmare ștergere playlist", + "Confirm Delete Server": "Confirmare ștergere server", + "Connect to Server": "Conectare la server", + "Connecting": "Conectare", + "Connecting to": "Conectare la", + "Content type": "Tip conținut", + "Could not reach server": "Serverul nu a putut fi contactat", + "Create new playlist": "Creează playlist nou", + "day": "zi", + "days": "zile", + "Delete Playlist": "Șterge playlist", + "Demo": "Demo", + "Description": "Descriere", + "Disable server transcoding": "Dezactivează transcodare pe server", + "Disc number": "Număr disc", + "Discography": "Discografie", + "discs": "discuri", + "DJ-Mix": "DJ-Mix", + "Download": "Descarcă", + "Download completed": "Descărcare completă", + "Duration": "Durată", + "Edit": "Editare", + "Edit Playlist": "Editează playlist", + "Edit server": "Editează server", + "Enable system tray": "Activare bara de sistem", + "Enabled": "Activat", + "Enter": "Enter", + "EP": "EP", + "Equalizer": "Egalizator", + "Exclusive mode": "Mod exclusiv", + "Favorites": "Favorite", + "Field Recording": "Înregistrare teren", + "File path": "Locație fișier", + "File size": "Mărime fișier", + "Filter genres": "Filtrează genuri", + "Frequently Played": "Redate frecvent", + "General": "General", + "Genre": "Gen", + "Genres": "Genuri", + "Github page": "Pagina Github", + "Go to release page": "Mergi la pagina de release-uri", + "Hide": "Ascunde", + "Home Page": "Pagina principală", + "hr": "oră", + "hrs": "ore", + "Internet Radio Stations": "Stații radio pe internet", + "Interview": "Interviu", + "Is favorite": "Este favorit", + "Is not favorite": "Nu este favorit", + "Last played": "Ultimul redat", + "Live": "Live", + "Locally": "Local", + "Log Out": "Deconectare", + "Login to Server": "Conectare la server", + "Lyrics": "Versuri", + "Lyrics not available": "Versuri indisponibile", + "min": "min", + "minutes of track have been played": "minute din melodie au fost redate", + "Mixtape": "Mixtape", + "My Server": "Serverul meu", + "Name": "Nume", + "Name (A-Z)": "Nume (A-Z)", + "Next": "Următorul", + "Nickname": "Supranume", + "No new version found": "Nicio versiune nouă", + "No radio stations available": "Nicio stație radio disponibilă", + "None": "Nimic", + "none": "nimic", + "none selected": "nimic selectat", + "OK": "OK", + "optional": "opțional", + "or when": "sau când", + "Password": "Parolă", + "Pause": "Pauză", + "Paused": "Oprit", + "Peak Meter": "Indicator de vârf", + "percent of track is played": "la sută din melodie a fost redat", + "Play": "Redare", + "Play Artist Radio": "Redă radio artist", + "Play count": "Număr redări", + "Play Discography": "Redă discografia", + "Play next": "Redă următorul", + "Play Queue": "Redă lista de redare", + "Play random": "Redă aleatoriu", + "Playback": "Playback", + "Playing": "Redare", + "Playlist": "Playlist", + "Playlists": "Playlist-uri", + "playlist by": "playlist de", + "Plays": "Redări", + "Prevent clipping": "Previne distorsiunea", + "Previous": "Anterior", + "Private": "Privat", + "Public": "Public", + "Random": "Aleatoriu", + "Rating": "Rating", + "reissued": "reeditat", + "Recently Added": "Adăugat recent", + "Recently Played": "Redat recent", + "Related": "Asociat", + "Remix": "Remix", + "Remove from playlist": "Șterge din playlist", + "ReplayGain mode": "Mod ReplayGain", + "ReplayGain preamp": "Preamplificare ReplayGain", + "Restart required": "Repornire necesară", + "Save play queue on exit": "Salvează listă de redare la ieșire", + "Saved at": "Salvat la", + "Scrobble when": "Scrobblare când", + "Search Everywhere": "Caută peste tot", + "Search page": "Pagină căutare", + "Search playlists or new playlist name": "Caută playlisturi sau nume de playlist nou", + "sec": "sec", + "selected": "selectat", + "Send playback statistics to server": "Trimite statistici de redare la server", + "Server": "Server", + "Server Type": "Tip server", + "Server unreachable": "Server indisponibil", + "Set rating": "Setează rating", + "Settings": "Setări", + "Share": "Partajează", + "Share content": "Partajează conținut", + "Show": "Arată", + "Show info": "Arată informații", + "Show notification on track change": "Arată notificare la schimbarea melodiei", + "Show year in album grid cards": "Arată anul în gridul de albume", + "Shuffle": "Amestecare", + "Shuffle albums": "Amestecă albume", + "Shuffle tracks": "Amestecă melodii", + "Similar artists": "Similar artists", + "Single": "Single", + "Size": "Mărime", + "Skip duplicate tracks": "Sari peste melodii duplicate", + "Skip this version": "Sari peste această versiune", + "Soundtrack": "Soundtrack", + "Spoken Word": "Cuvânt vorbit", + "Startup page": "Pagina de start", + "Stopped": "Oprit", + "Support the project": "Sprijină proiectul", + "Switch Servers": "Schimbă server-uri", + "Testing connection": "Testare conexiune", + "Theme": "Temă", + "Time": "Timp", + "Title": "Titlu", + "Title (A-Z)": "Titlu (A-Z)", + "Top Tracks": "Top melodii", + "Total time": "Timp total", + "Track": "Melodie", + "track": "melodie", + "Track count": "Număr melodii", + "Track gain": "Nivel volum melodie", + "Track Info": "Informații melodie", + "Track number": "Număr melodie", + "Track peak": "Vârf melodie", + "tracks": "melodii", + "UI Scaling": "Scalare interfață", + "URL": "URL", + "Use legacy authentication": "Folosește autentificarea de bază", + "Username": "Nume utilizator", + "version": "versiune", + "Visualizations": "Vizualizări", + "Volume": "Volum", + "wrong URL": "URL greșit", + "wrong username/password": "nume utilizator sau parolă greșite", + "Year": "An", + "Year (ascending)": "An (ascendent)", + "Year (descending)": "An (Descendent)", + "Year from": "An de la", + "You are running the latest version of": "Folosești ultima versiune de", + "Quit": "Ieșire", + "Rescan Library": "Rescanează librăria", + "Search": "Caută", + "Owner": "Deținător", + "To server": "Către server", + "Fav.": "Fav.", + "Set favorite": "Setează favorit", + "Unset favorite": "Șterge favorit", + "Remove from queue": "Șterge din lista de redare", + "Play song radio": "Redă melodie radio" +} From 4272b7be460e4a5161d9a2b8a5d4ee282085668c Mon Sep 17 00:00:00 2001 From: Alessandro Cocco <2331798+alessandrococco@users.noreply.github.com> Date: Wed, 31 Jul 2024 13:49:30 +0200 Subject: [PATCH 11/20] i18e: update Italian translation --- res/translations/it.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/res/translations/it.json b/res/translations/it.json index 4f3aa63..6b444db 100644 --- a/res/translations/it.json +++ b/res/translations/it.json @@ -164,9 +164,9 @@ "Show info": "Mostra informazioni", "Show notification on track change": "Mostra notifica quando cambia la traccia", "Show year in album grid cards": "Mostra l'anno nella griglia degli album", - "Shuffle": "Mescola", - "Shuffle albums": "Mescola album", - "Shuffle tracks": "Mescola tracce", + "Shuffle": "Casuale", + "Shuffle albums": "Album casuali", + "Shuffle tracks": "Tracce casuali", "Similar artists": "Artisti simili", "Single": "Single", "Size": "Dimensione", @@ -216,5 +216,7 @@ "Set favorite": "Segna come preferito", "Unset favorite": "Rimuovi preferito", "Remove from queue": "Rimuovi dalla coda", - "Play song radio": "Avvia radio mix" + "Play song radio": "Avvia radio mix", + "to": "a", + "by": "by" } From 9502a7d845e99bebbb817bf3f88cd16195d24646 Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Wed, 31 Jul 2024 17:02:00 +0200 Subject: [PATCH 12/20] Update pl.json --- res/translations/pl.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/translations/pl.json b/res/translations/pl.json index 835fd0f..ed3e6af 100644 --- a/res/translations/pl.json +++ b/res/translations/pl.json @@ -35,7 +35,7 @@ "Check for Updates": "Sprawdź aktualizacje", "Close": "Zamknij", "Close to system tray": "Zamknij do zasobnika systemowego", - "Comment": "Comment", + "Comment": "Komentarz", "Compilation": "Compilation", "Composer": "Composer", "Configure your music server to add radio stations": "Skonfiguruj swój serwer muzyki aby dodać stacje radiowe", @@ -146,7 +146,7 @@ "Restart required": "Wymagany restart", "Save play queue on exit": "Zapisz kolejkę odtwarzania po zamknięciu", "Saved at": "Zapisano w", - "Scrobble when": "Scrobble when", + "Scrobble when": "Synchronizuj odtwarzanie gdy", "Search Everywhere": "Szukaj wszędzie", "Search page": "Przeszukaj stronę", "Search playlists or new playlist name": "Szukaj playlisty lub", From 684f68c367465cd60e4df837016eb7fb1f147a84 Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Wed, 31 Jul 2024 17:03:13 +0200 Subject: [PATCH 13/20] Update pl.json --- res/translations/pl.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/translations/pl.json b/res/translations/pl.json index ed3e6af..86b0fb8 100644 --- a/res/translations/pl.json +++ b/res/translations/pl.json @@ -146,7 +146,7 @@ "Restart required": "Wymagany restart", "Save play queue on exit": "Zapisz kolejkę odtwarzania po zamknięciu", "Saved at": "Zapisano w", - "Scrobble when": "Synchronizuj odtwarzanie gdy", + "Scrobble when": "Scrobble when", "Search Everywhere": "Szukaj wszędzie", "Search page": "Przeszukaj stronę", "Search playlists or new playlist name": "Szukaj playlisty lub", From dededb268be6f40408fbb4f81a3e980ee7a78877 Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Wed, 31 Jul 2024 17:05:20 +0200 Subject: [PATCH 14/20] Update pl.json --- res/translations/pl.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/translations/pl.json b/res/translations/pl.json index 86b0fb8..f926e03 100644 --- a/res/translations/pl.json +++ b/res/translations/pl.json @@ -146,7 +146,7 @@ "Restart required": "Wymagany restart", "Save play queue on exit": "Zapisz kolejkę odtwarzania po zamknięciu", "Saved at": "Zapisano w", - "Scrobble when": "Scrobble when", + "Scrobble when": "Wyślij gdy", "Search Everywhere": "Szukaj wszędzie", "Search page": "Przeszukaj stronę", "Search playlists or new playlist name": "Szukaj playlisty lub", From b7ed63ac426feccb469cafeb1d0abc6f0efeba94 Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Wed, 31 Jul 2024 18:55:02 +0200 Subject: [PATCH 15/20] Windows theme fix --- ui/theme/theme.go | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/ui/theme/theme.go b/ui/theme/theme.go index 1f27372..41f1bc8 100644 --- a/ui/theme/theme.go +++ b/ui/theme/theme.go @@ -205,11 +205,24 @@ func (m *MyTheme) Icon(name fyne.ThemeIconName) fyne.Resource { // Returns a map [themeFileName] -> displayName func (m *MyTheme) ListThemeFiles() map[string]string { - files, _ := filepath.Glob(m.themeFileDir + "/*.toml") + // Use filepath.Join to create a cross-platform file path + pattern := filepath.Join(m.themeFileDir, "/*.toml") + files, err := filepath.Glob(pattern) + if err != nil { + log.Fatalf("Failed to glob files: %v", err) + } + result := make(map[string]string) - for _, filepath := range files { - if themeFile, err := ReadThemeFile(filepath); err == nil { - result[path.Base(filepath)] = themeFile.SupersonicTheme.Name + for _, filePath := range files { + // Clean the path to avoid issues with slashes + cleanPath := filepath.Clean(filePath) + log.Printf("Trying to read theme file: %s", cleanPath) + + // Now read the theme file, using the cleaned path + if themeFile, err := ReadThemeFile(cleanPath); err == nil { + result[filepath.Base(cleanPath)] = themeFile.SupersonicTheme.Name + } else { + log.Printf("Failed to load theme file: %s, error: %v", cleanPath, err) } } return result From 194462ac4c78e6a4dfbff70586a63691584cb680 Mon Sep 17 00:00:00 2001 From: tsuicaa Date: Wed, 31 Jul 2024 20:12:15 +0300 Subject: [PATCH 16/20] Added 'to' and 'by' strings --- res/translations/ro.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/res/translations/ro.json b/res/translations/ro.json index 430d239..be96f48 100644 --- a/res/translations/ro.json +++ b/res/translations/ro.json @@ -216,5 +216,7 @@ "Set favorite": "Setează favorit", "Unset favorite": "Șterge favorit", "Remove from queue": "Șterge din lista de redare", - "Play song radio": "Redă melodie radio" + "Play song radio": "Redă melodie radio", + "to": "la", + "by": "de" } From d4c1112f960a935e48bc3d02974d38446f25335d Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Wed, 31 Jul 2024 16:39:20 -0700 Subject: [PATCH 17/20] Fix #446 --- ui/controller/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/controller/controller.go b/ui/controller/controller.go index ac75c1b..b4dd743 100644 --- a/ui/controller/controller.go +++ b/ui/controller/controller.go @@ -694,7 +694,7 @@ func (c *Controller) createShareURL(id string) (*url.URL, error) { if err != nil { log.Printf("error creating share URL: %v", err) c.showError( - "Failed to share content. This commonly occurs when the server does not support sharing," + + "Failed to share content. This commonly occurs when the server does not support sharing, " + "or has the feature disabled.\nPlease check the server's settings and try again.", ) return nil, err From e28692d7c77c82e43ec2556f63d380feddf79b2f Mon Sep 17 00:00:00 2001 From: Masterlocker Date: Thu, 1 Aug 2024 13:13:30 +0200 Subject: [PATCH 18/20] Update theme.go --- ui/theme/theme.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/theme/theme.go b/ui/theme/theme.go index 41f1bc8..761ded4 100644 --- a/ui/theme/theme.go +++ b/ui/theme/theme.go @@ -209,14 +209,13 @@ func (m *MyTheme) ListThemeFiles() map[string]string { pattern := filepath.Join(m.themeFileDir, "/*.toml") files, err := filepath.Glob(pattern) if err != nil { - log.Fatalf("Failed to glob files: %v", err) + log.Printf("Failed to glob files: %v", err) } result := make(map[string]string) for _, filePath := range files { // Clean the path to avoid issues with slashes cleanPath := filepath.Clean(filePath) - log.Printf("Trying to read theme file: %s", cleanPath) // Now read the theme file, using the cleaned path if themeFile, err := ReadThemeFile(cleanPath); err == nil { From 3bf01672ae3872baa241c3ded064c8f8e8eea0b2 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Sun, 4 Aug 2024 07:27:53 -0700 Subject: [PATCH 19/20] add Nextcloud music --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ff3bdaf..becd07a 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,7 @@ Supersonic supports any music server with a Subsonic (or OpenSubsonic) API, or J * [Jellyfin](https://jellyfin.org) * [Gonic](https://github.com/sentriz/gonic) * [LMS](https://github.com/epoupon/lms) +* [Nextcloud Music](https://apps.nextcloud.com/apps/music) * [Airsonic-Advanced](https://github.com/airsonic-advanced/airsonic-advanced) * [Ampache](https://ampache.org) * [Funkwhale](https://www.funkwhale.audio/) From 36652fa61cb8d51bf93f9cec8b018e135bbaaa2c Mon Sep 17 00:00:00 2001 From: ericwyn <16485562+Ericwyn@users.noreply.github.com> Date: Mon, 5 Aug 2024 10:34:10 +0800 Subject: [PATCH 20/20] change the default sort order of trackPages to the recently added --- backend/mediaprovider/subsonic/trackiterator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/mediaprovider/subsonic/trackiterator.go b/backend/mediaprovider/subsonic/trackiterator.go index 4d1b44d..8179bb4 100644 --- a/backend/mediaprovider/subsonic/trackiterator.go +++ b/backend/mediaprovider/subsonic/trackiterator.go @@ -12,7 +12,7 @@ func (s *subsonicMediaProvider) IterateTracks(searchQuery string) mediaprovider. return &allTracksIterator{ s: s, albumIter: s.IterateAlbums( - mediaprovider.AlbumSortArtistAZ, + mediaprovider.AlbumSortRecentlyAdded, mediaprovider.NewAlbumFilter(mediaprovider.AlbumFilterOptions{}), ), }