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); }