Update translations including FIXME annotations

This commit is contained in:
Olli 2026-09-29 13:31:26 +02:00
commit 93c053c970
6 changed files with 139 additions and 127 deletions

View file

@ -15,6 +15,7 @@ import (
"suruatoel.xyz/mcg/data" "suruatoel.xyz/mcg/data"
"suruatoel.xyz/mcg/internal/client" "suruatoel.xyz/mcg/internal/client"
"suruatoel.xyz/mcg/internal/common" "suruatoel.xyz/mcg/internal/common"
"suruatoel.xyz/mcg/internal/i18n"
) )
type libraryPanel struct { type libraryPanel struct {
@ -520,8 +521,7 @@ func (p *libraryPanel) setAlbums(albums map[string]*common.Album) {
i++ i++
glib.IdleAdd(func() { glib.IdleAdd(func() {
p.progressBar.SetFraction(float64(i) / float64(n)) p.progressBar.SetFraction(float64(i) / float64(n))
// FIXME: i18n p.progressBar.SetText(i18n.T("Loading images"))
p.progressBar.SetText("Loading images")
}) })
} }

BIN
po/de.mo

Binary file not shown.

128
po/de.po
View file

@ -2,8 +2,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: CoverGrid (mcg)\n" "Project-Id-Version: CoverGrid (mcg)\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-22 14:39+0200\n" "POT-Creation-Date: 2026-09-26 16:51+0200\n"
"PO-Revision-Date: 2024-05-22 14:39+0200\n" "PO-Revision-Date: 2026-09-26 16:56+0200\n"
"Last-Translator: coderkun <olli@suruatoel.xyz>\n" "Last-Translator: coderkun <olli@suruatoel.xyz>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: de_DE\n" "Language: de_DE\n"
@ -11,23 +11,57 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4.2\n" "X-Generator: Poedit 3.9\n"
"X-Poedit-Basepath: ../../..\n" "X-Poedit-Basepath: ../../..\n"
"X-Poedit-SourceCharset: UTF-8\n" "X-Poedit-SourceCharset: UTF-8\n"
#: data/ui/connection-panel.ui:29 #: internal/common/album.go:93 internal/gui/coverpanel.go:290
msgid "No service found" #, go-format
msgstr "Keine Dienste gefunden" msgid "%d:%d minutes"
msgstr "%d:%d Minuten"
#: data/ui/connection-panel.ui:43 #: internal/gui/application.go:108
msgid ""
"CoverGrid is a client for the Music Player Daemon, focusing on albums "
"instead of single tracks."
msgstr ""
"CoverGrid ist ein ein Client für den Music Player Daemon, der sich auf Alben "
"anstellen von einzelnen Songs fokussiert."
#: internal/gui/coverpanel.go:277
#, go-format
msgid "%s feat. %s"
msgstr "%s mit %s"
#: internal/gui/librarypanel.go:551
msgid "Loading images"
msgstr "Bilder werden geladen"
#: internal/gui/window.go:117
msgid "Server"
msgstr "Server"
#: internal/gui/window.go:118
msgid "Cover"
msgstr "Cover"
#: internal/gui/window.go:119
msgid "Playlist"
msgstr "Wiedergabeliste"
#: internal/gui/window.go:120
msgid "Library"
msgstr "Bibliothek"
#: data/ui/connection-panel.ui:26
msgid "Host" msgid "Host"
msgstr "Host" msgstr "Host"
#: data/ui/connection-panel.ui:56 #: data/ui/connection-panel.ui:38
msgid "Port" msgid "Port"
msgstr "Port" msgstr "Port"
#: data/ui/connection-panel.ui:76 #: data/ui/connection-panel.ui:57
msgid "Password" msgid "Password"
msgstr "Passwort" msgstr "Passwort"
@ -35,67 +69,67 @@ msgstr "Passwort"
msgid "Show the cover in fullscreen mode" msgid "Show the cover in fullscreen mode"
msgstr "Das Cover im Vollbildmodus anzeigen" msgstr "Das Cover im Vollbildmodus anzeigen"
#: data/ui/library-panel.ui:34 #: data/ui/library-panel.ui:33
msgid "update library" msgid "update library"
msgstr "Die Bibliothek aktualisieren" msgstr "Die Bibliothek aktualisieren"
#: data/ui/library-panel.ui:48 #: data/ui/library-panel.ui:46
msgid "Sort" msgid "Sort"
msgstr "Sortierung" msgstr "Sortierung"
#: data/ui/library-panel.ui:53 #: data/ui/library-panel.ui:51
msgid "sort by artist" msgid "sort by artist"
msgstr "nach Künstler" msgstr "nach Künstler"
#: data/ui/library-panel.ui:61 #: data/ui/library-panel.ui:58
msgid "sort by title" msgid "sort by title"
msgstr "nach Titel" msgstr "nach Titel"
#: data/ui/library-panel.ui:69 #: data/ui/library-panel.ui:65
msgid "sort by year" msgid "sort by year"
msgstr "nach Jahr" msgstr "nach Jahr"
#: data/ui/library-panel.ui:76 #: data/ui/library-panel.ui:71
msgid "sort by modification" msgid "sort by modification"
msgstr "nach Änderungsdatum" msgstr "nach Änderungsdatum"
#: data/ui/library-panel.ui:84 #: data/ui/library-panel.ui:78
msgid "sort library descending" msgid "sort library descending"
msgstr "absteigend sortieren" msgstr "absteigend sortieren"
#: data/ui/library-panel.ui:105 data/ui/shortcuts-dialog.ui:99 #: data/ui/library-panel.ui:98 data/ui/shortcuts-dialog.ui:99
msgid "Search the library" msgid "Search the library"
msgstr "Die Bibliothek durchsuchen" msgstr "Die Bibliothek durchsuchen"
#: data/ui/library-panel.ui:121 data/ui/playlist-panel.ui:14 #: data/ui/library-panel.ui:111 data/ui/playlist-panel.ui:14
msgid "Select multiple albums" msgid "Select multiple albums"
msgstr "Mehrere Alben auswählen" msgstr "Mehrere Alben auswählen"
#: data/ui/library-panel.ui:135 #: data/ui/library-panel.ui:124
msgid "Settings and actions" msgid "Settings and actions"
msgstr "Einstellungen und Aktionen" msgstr "Einstellungen und Aktionen"
#: data/ui/library-panel.ui:160 #: data/ui/library-panel.ui:149
msgid "search library" msgid "search library"
msgstr "Bibliothek durchsuchen" msgstr "Bibliothek durchsuchen"
#: data/ui/library-panel.ui:263 data/ui/playlist-panel.ui:107 #: data/ui/library-panel.ui:216 data/ui/playlist-panel.ui:69
msgid "cancel" msgid "cancel"
msgstr "abbrechen" msgstr "abbrechen"
#: data/ui/library-panel.ui:270 data/ui/library-panel.ui:327 #: data/ui/library-panel.ui:222 data/ui/library-panel.ui:277
msgid "queue" msgid "queue"
msgstr "einreihen" msgstr "einreihen"
#: data/ui/library-panel.ui:320 data/ui/playlist-panel.ui:163 #: data/ui/library-panel.ui:271 data/ui/playlist-panel.ui:123
msgid "play" msgid "play"
msgstr "abspielen" msgstr "abspielen"
#: data/ui/playlist-panel.ui:28 data/ui/shortcuts-dialog.ui:77 #: data/ui/playlist-panel.ui:27 data/ui/shortcuts-dialog.ui:77
msgid "Clear the playlist" msgid "Clear the playlist"
msgstr "Die Wiedergabeliste leeren" msgstr "Die Wiedergabeliste leeren"
#: data/ui/playlist-panel.ui:114 data/ui/playlist-panel.ui:170 #: data/ui/playlist-panel.ui:75 data/ui/playlist-panel.ui:129
msgid "remove" msgid "remove"
msgstr "entfernen" msgstr "entfernen"
@ -196,7 +230,7 @@ msgstr "Wiedergabeprogramm"
msgid "Connect or disconnect" msgid "Connect or disconnect"
msgstr "Die Verbindung herstellen oder trennen" msgstr "Die Verbindung herstellen oder trennen"
#: data/ui/shortcuts-dialog.ui:71 data/ui/window.ui:25 #: data/ui/shortcuts-dialog.ui:71 data/ui/window.ui:26
msgid "Switch between play and pause" msgid "Switch between play and pause"
msgstr "Zwischen Abspielen und Pause wechseln" msgstr "Zwischen Abspielen und Pause wechseln"
@ -208,41 +242,14 @@ msgstr "Cover-Paneel"
msgid "Library Panel" msgid "Library Panel"
msgstr "Bibliothekspaneel" msgstr "Bibliothekspaneel"
#: src/connectionpanel.py:51 #~ msgid "No service found"
msgid "use" #~ msgstr "Keine Dienste gefunden"
msgstr "verwenden"
#: src/librarypanel.py:291 #~ msgid "use"
msgid "Loading albums" #~ msgstr "verwenden"
msgstr "Alben werden geladen"
#: src/librarypanel.py:379 #~ msgid "Loading albums"
msgid "Loading images" #~ msgstr "Alben werden geladen"
msgstr "Bilder werden geladen"
#: src/utils.py:50 src/utils.py:67
msgid "{} feat. {}"
msgstr "{} mit {}"
#: src/utils.py:61
msgid "{}:{} minutes"
msgstr "{}:{} Minuten"
#: src/window.py:114
msgid "Server"
msgstr "Server"
#: src/window.py:115
msgid "Cover"
msgstr "Cover"
#: src/window.py:116
msgid "Playlist"
msgstr "Wiedergabeliste"
#: src/window.py:117
msgid "Library"
msgstr "Bibliothek"
#, fuzzy #, fuzzy
#~ msgid "Connection state" #~ msgid "Connection state"
@ -287,9 +294,6 @@ msgstr "Bibliothek"
#~ msgid "Quit" #~ msgid "Quit"
#~ msgstr "Beenden" #~ msgstr "Beenden"
#~ msgid "CoverGrid is a client for the Music Player Daemon, focusing on albums instead of single tracks."
#~ msgstr "CoverGrid ist ein ein Client für den Music Player Daemon, der sich auf Alben anstellen von einzelnen Songs fokussiert."
#~ msgid "Connect to MPD" #~ msgid "Connect to MPD"
#~ msgstr "Zu MPD verbinden" #~ msgstr "Zu MPD verbinden"

BIN
po/en.mo

Binary file not shown.

128
po/en.po
View file

@ -2,8 +2,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: CoverGrid (mcg)\n" "Project-Id-Version: CoverGrid (mcg)\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-22 14:39+0200\n" "POT-Creation-Date: 2026-09-26 16:51+0200\n"
"PO-Revision-Date: 2024-05-22 14:39+0200\n" "PO-Revision-Date: 2026-09-26 16:55+0200\n"
"Last-Translator: coderkun <olli@suruatoel.xyz>\n" "Last-Translator: coderkun <olli@suruatoel.xyz>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: en\n" "Language: en\n"
@ -11,24 +11,58 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4.2\n" "X-Generator: Poedit 3.9\n"
"X-Poedit-Basepath: ../../..\n" "X-Poedit-Basepath: ../../..\n"
"X-Poedit-SearchPath-0: mcg\n" "X-Poedit-SearchPath-0: mcg\n"
"X-Poedit-SearchPath-1: data/ui\n" "X-Poedit-SearchPath-1: data/ui\n"
#: data/ui/connection-panel.ui:29 #: internal/common/album.go:93 internal/gui/coverpanel.go:290
msgid "No service found" #, go-format
msgstr "No service found" msgid "%d:%d minutes"
msgstr "%d:%d minutes"
#: data/ui/connection-panel.ui:43 #: internal/gui/application.go:108
msgid ""
"CoverGrid is a client for the Music Player Daemon, focusing on albums "
"instead of single tracks."
msgstr ""
"CoverGrid is a client for the Music Player Daemon, focusing on albums "
"instead of single tracks."
#: internal/gui/coverpanel.go:277
#, go-format
msgid "%s feat. %s"
msgstr "%s feat. %s"
#: internal/gui/librarypanel.go:551
msgid "Loading images"
msgstr "Loading images"
#: internal/gui/window.go:117
msgid "Server"
msgstr "Server"
#: internal/gui/window.go:118
msgid "Cover"
msgstr "Cover"
#: internal/gui/window.go:119
msgid "Playlist"
msgstr "Playlist"
#: internal/gui/window.go:120
msgid "Library"
msgstr "Library"
#: data/ui/connection-panel.ui:26
msgid "Host" msgid "Host"
msgstr "Host" msgstr "Host"
#: data/ui/connection-panel.ui:56 #: data/ui/connection-panel.ui:38
msgid "Port" msgid "Port"
msgstr "Port" msgstr "Port"
#: data/ui/connection-panel.ui:76 #: data/ui/connection-panel.ui:57
msgid "Password" msgid "Password"
msgstr "Password" msgstr "Password"
@ -36,67 +70,67 @@ msgstr "Password"
msgid "Show the cover in fullscreen mode" msgid "Show the cover in fullscreen mode"
msgstr "Show the cover in fullscreen mode" msgstr "Show the cover in fullscreen mode"
#: data/ui/library-panel.ui:34 #: data/ui/library-panel.ui:33
msgid "update library" msgid "update library"
msgstr "update the library" msgstr "update the library"
#: data/ui/library-panel.ui:48 #: data/ui/library-panel.ui:46
msgid "Sort" msgid "Sort"
msgstr "Sort order" msgstr "Sort order"
#: data/ui/library-panel.ui:53 #: data/ui/library-panel.ui:51
msgid "sort by artist" msgid "sort by artist"
msgstr "by Artist" msgstr "by Artist"
#: data/ui/library-panel.ui:61 #: data/ui/library-panel.ui:58
msgid "sort by title" msgid "sort by title"
msgstr "by Title" msgstr "by Title"
#: data/ui/library-panel.ui:69 #: data/ui/library-panel.ui:65
msgid "sort by year" msgid "sort by year"
msgstr "by Year" msgstr "by Year"
#: data/ui/library-panel.ui:76 #: data/ui/library-panel.ui:71
msgid "sort by modification" msgid "sort by modification"
msgstr "by Modification Date" msgstr "by Modification Date"
#: data/ui/library-panel.ui:84 #: data/ui/library-panel.ui:78
msgid "sort library descending" msgid "sort library descending"
msgstr "sort descending" msgstr "sort descending"
#: data/ui/library-panel.ui:105 data/ui/shortcuts-dialog.ui:99 #: data/ui/library-panel.ui:98 data/ui/shortcuts-dialog.ui:99
msgid "Search the library" msgid "Search the library"
msgstr "Search the library" msgstr "Search the library"
#: data/ui/library-panel.ui:121 data/ui/playlist-panel.ui:14 #: data/ui/library-panel.ui:111 data/ui/playlist-panel.ui:14
msgid "Select multiple albums" msgid "Select multiple albums"
msgstr "Select multiple albums" msgstr "Select multiple albums"
#: data/ui/library-panel.ui:135 #: data/ui/library-panel.ui:124
msgid "Settings and actions" msgid "Settings and actions"
msgstr "Settings and actions" msgstr "Settings and actions"
#: data/ui/library-panel.ui:160 #: data/ui/library-panel.ui:149
msgid "search library" msgid "search library"
msgstr "search library" msgstr "search library"
#: data/ui/library-panel.ui:263 data/ui/playlist-panel.ui:107 #: data/ui/library-panel.ui:216 data/ui/playlist-panel.ui:69
msgid "cancel" msgid "cancel"
msgstr "cancel" msgstr "cancel"
#: data/ui/library-panel.ui:270 data/ui/library-panel.ui:327 #: data/ui/library-panel.ui:222 data/ui/library-panel.ui:277
msgid "queue" msgid "queue"
msgstr "queue" msgstr "queue"
#: data/ui/library-panel.ui:320 data/ui/playlist-panel.ui:163 #: data/ui/library-panel.ui:271 data/ui/playlist-panel.ui:123
msgid "play" msgid "play"
msgstr "play" msgstr "play"
#: data/ui/playlist-panel.ui:28 data/ui/shortcuts-dialog.ui:77 #: data/ui/playlist-panel.ui:27 data/ui/shortcuts-dialog.ui:77
msgid "Clear the playlist" msgid "Clear the playlist"
msgstr "Clear the playlist" msgstr "Clear the playlist"
#: data/ui/playlist-panel.ui:114 data/ui/playlist-panel.ui:170 #: data/ui/playlist-panel.ui:75 data/ui/playlist-panel.ui:129
msgid "remove" msgid "remove"
msgstr "remove" msgstr "remove"
@ -197,7 +231,7 @@ msgstr "Player"
msgid "Connect or disconnect" msgid "Connect or disconnect"
msgstr "Connect or disconnect" msgstr "Connect or disconnect"
#: data/ui/shortcuts-dialog.ui:71 data/ui/window.ui:25 #: data/ui/shortcuts-dialog.ui:71 data/ui/window.ui:26
msgid "Switch between play and pause" msgid "Switch between play and pause"
msgstr "Switch between play and pause" msgstr "Switch between play and pause"
@ -209,41 +243,14 @@ msgstr "Cover Panel"
msgid "Library Panel" msgid "Library Panel"
msgstr "Library Panel" msgstr "Library Panel"
#: src/connectionpanel.py:51 #~ msgid "No service found"
msgid "use" #~ msgstr "No service found"
msgstr "use"
#: src/librarypanel.py:291 #~ msgid "use"
msgid "Loading albums" #~ msgstr "use"
msgstr "Loading albums"
#: src/librarypanel.py:379 #~ msgid "Loading albums"
msgid "Loading images" #~ msgstr "Loading albums"
msgstr "Loading images"
#: src/utils.py:50 src/utils.py:67
msgid "{} feat. {}"
msgstr "{} feat. {}"
#: src/utils.py:61
msgid "{}:{} minutes"
msgstr "{}:{} minutes"
#: src/window.py:114
msgid "Server"
msgstr "Server"
#: src/window.py:115
msgid "Cover"
msgstr "Cover"
#: src/window.py:116
msgid "Playlist"
msgstr "Playlist"
#: src/window.py:117
msgid "Library"
msgstr "Library"
#, fuzzy #, fuzzy
#~ msgid "Connection state" #~ msgid "Connection state"
@ -288,9 +295,6 @@ msgstr "Library"
#~ msgid "Quit" #~ msgid "Quit"
#~ msgstr "Quit" #~ msgstr "Quit"
#~ msgid "CoverGrid is a client for the Music Player Daemon, focusing on albums instead of single tracks."
#~ msgstr "CoverGrid is a client for the Music Player Daemon, focusing on albums instead of single tracks."
#~ msgid "Connect to MPD" #~ msgid "Connect to MPD"
#~ msgstr "Connect to MPD" #~ msgstr "Connect to MPD"

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: mcg\n" "Project-Id-Version: mcg\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-08-09 19:13+0200\n" "POT-Creation-Date: 2026-09-26 16:51+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -33,6 +33,10 @@ msgstr ""
msgid "%s feat. %s" msgid "%s feat. %s"
msgstr "" msgstr ""
#: internal/gui/librarypanel.go:551
msgid "Loading images"
msgstr ""
#: internal/gui/window.go:117 #: internal/gui/window.go:117
msgid "Server" msgid "Server"
msgstr "" msgstr ""