From 4079b98e7ac20ca44a7a75ba9e867a3fc76fe312 Mon Sep 17 00:00:00 2001 From: me Date: Thu, 10 Oct 2024 10:16:23 +0000 Subject: [PATCH] missing localized strings --- src/setup.blp | 14 +++++++------- src/window.blp | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) 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 {}; }