From 88adebde6469ea595069a9a82933fe5cbfb855ab Mon Sep 17 00:00:00 2001 From: Erica Z Date: Thu, 10 Oct 2024 10:52:16 +0000 Subject: [PATCH] more localized strings --- src/setup.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/setup.vala b/src/setup.vala index d19ac5f..7acb4ad 100644 --- a/src/setup.vala +++ b/src/setup.vala @@ -50,7 +50,7 @@ public class Wavelet.Setup : Adw.NavigationPage { this.server_url.set_sensitive (false); this.username.set_sensitive (false); this.password.set_sensitive (false); - this.status.set_subtitle ("Connecting..."); + this.status.set_subtitle (_("Connecting...")); this.validate.set_sensitive (false); string new_token, new_salt; @@ -69,7 +69,7 @@ public class Wavelet.Setup : Adw.NavigationPage { api.ping.begin ((obj, res) => { try { api.ping.end (res); - this.status.set_subtitle ("Connected"); + this.status.set_subtitle (_("Connected")); this.token = new_token; this.salt = new_salt; this.save (); @@ -77,7 +77,7 @@ public class Wavelet.Setup : Adw.NavigationPage { this.connected (api); } catch (Error e) { - this.status.set_subtitle(@"Ping failed: $(e.message)"); + this.status.set_subtitle(@"$(_("Ping failed")): $(e.message)"); this.validate.set_sensitive (true); }