more localized strings
This commit is contained in:
parent
31373051ec
commit
88adebde64
1 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ public class Wavelet.Setup : Adw.NavigationPage {
|
||||||
this.server_url.set_sensitive (false);
|
this.server_url.set_sensitive (false);
|
||||||
this.username.set_sensitive (false);
|
this.username.set_sensitive (false);
|
||||||
this.password.set_sensitive (false);
|
this.password.set_sensitive (false);
|
||||||
this.status.set_subtitle ("Connecting...");
|
this.status.set_subtitle (_("Connecting..."));
|
||||||
this.validate.set_sensitive (false);
|
this.validate.set_sensitive (false);
|
||||||
|
|
||||||
string new_token, new_salt;
|
string new_token, new_salt;
|
||||||
|
@ -69,7 +69,7 @@ public class Wavelet.Setup : Adw.NavigationPage {
|
||||||
api.ping.begin ((obj, res) => {
|
api.ping.begin ((obj, res) => {
|
||||||
try {
|
try {
|
||||||
api.ping.end (res);
|
api.ping.end (res);
|
||||||
this.status.set_subtitle ("Connected");
|
this.status.set_subtitle (_("Connected"));
|
||||||
this.token = new_token;
|
this.token = new_token;
|
||||||
this.salt = new_salt;
|
this.salt = new_salt;
|
||||||
this.save ();
|
this.save ();
|
||||||
|
@ -77,7 +77,7 @@ public class Wavelet.Setup : Adw.NavigationPage {
|
||||||
|
|
||||||
this.connected (api);
|
this.connected (api);
|
||||||
} catch (Error e) {
|
} catch (Error e) {
|
||||||
this.status.set_subtitle(@"Ping failed: $(e.message)");
|
this.status.set_subtitle(@"$(_("Ping failed")): $(e.message)");
|
||||||
this.validate.set_sensitive (true);
|
this.validate.set_sensitive (true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue