diff --git a/src/setup.blp b/src/setup.blp index f1d8e6d..01dc055 100644 --- a/src/setup.blp +++ b/src/setup.blp @@ -10,24 +10,24 @@ template $WaveletSetup: Adw.NavigationPage { Adw.Clamp { child: Adw.PreferencesGroup { - title: "Authentication"; + title: _("Authentication"); Adw.EntryRow server_url { - title: "Server URL"; + title: _("Server URL"); input-purpose: url; } Adw.EntryRow username { - title: "Username"; + title: _("Username"); } Adw.PasswordEntryRow password { - title: "Password"; + title: _("Password"); } Adw.ActionRow status { - title: "Status"; - subtitle: "Not connected"; + title: _("Status"); + subtitle: _("Not connected"); styles [ "property", @@ -35,7 +35,7 @@ template $WaveletSetup: Adw.NavigationPage { } Adw.ButtonRow validate { - title: "Connect and save"; + title: _("Connect and save"); sensitive: false; } }; diff --git a/src/window.blp b/src/window.blp index a17b0e3..5f6945e 100644 --- a/src/window.blp +++ b/src/window.blp @@ -32,14 +32,14 @@ template $WaveletWindow: Adw.ApplicationWindow { ListBoxRow sidebar_setup { Label { xalign: 0; - label: "Setup"; + label: _("Setup"); } } ListBoxRow sidebar_play_queue { Label { xalign: 0; - label: "Play queue"; + label: _("Play queue"); } } } @@ -54,7 +54,7 @@ template $WaveletWindow: Adw.ApplicationWindow { ] Adw.ButtonRow { - title: "Shuffle all tracks"; + title: _("Shuffle all tracks"); start-icon-name: "media-playlist-shuffle"; } } @@ -66,28 +66,28 @@ template $WaveletWindow: Adw.ApplicationWindow { Stack stack { StackPage { name: "setup"; - title: "Setup"; + title: _("Setup"); child: $WaveletSetup setup {}; } StackPage { name: "artist_list"; - title: "Artists"; + title: _("Artists"); child: $WaveletArtistList artist_list {}; } StackPage { name: "song_list"; - title: "Songs"; + title: _("Songs"); child: $WaveletSongList song_list {}; } StackPage { name: "play_queue"; - title: "Play queue"; + title: _("Play queue"); child: $WaveletPlayQueue play_queue {}; }