aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/manage_accounts
diff options
context:
space:
mode:
authorTranslations <translations@dino.im>2020-11-10 14:04:57 +0100
committerfiaxh <git@lightrise.org>2020-11-10 14:04:57 +0100
commitb2c7e9dfff2e00549fc23ad8e531d77daa6c2738 (patch)
tree416b5c7211e4c26afc3c1e33ecc2c38434301c30 /main/src/ui/manage_accounts
parent1999c97bb925d64cfe7cbc230959ce9a18728081 (diff)
downloaddino-b2c7e9dfff2e00549fc23ad8e531d77daa6c2738.tar.gz
dino-b2c7e9dfff2e00549fc23ad8e531d77daa6c2738.zip
Make some strings translatable, update translations
Diffstat (limited to 'main/src/ui/manage_accounts')
-rw-r--r--main/src/ui/manage_accounts/add_account_dialog.vala10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/src/ui/manage_accounts/add_account_dialog.vala b/main/src/ui/manage_accounts/add_account_dialog.vala
index c715bb23..dc3b6678 100644
--- a/main/src/ui/manage_accounts/add_account_dialog.vala
+++ b/main/src/ui/manage_accounts/add_account_dialog.vala
@@ -242,15 +242,15 @@ public class AddAccountDialog : Gtk.Dialog {
} else {
jid_entry.sensitive = true;
if (server_status.error_flags != null) {
- string error_desc = "The server could not prove that it is %s.".printf("<b>" + login_jid.domainpart + "</b>");
+ string error_desc = _("The server could not prove that it is %s.").printf("<b>" + login_jid.domainpart + "</b>");
if (TlsCertificateFlags.UNKNOWN_CA in server_status.error_flags) {
- error_desc += " " + "Its security certificate is not trusted by your computer's operating system.";
+ error_desc += " " + _("Its security certificate is not trusted by your operating system.");
} else if (TlsCertificateFlags.BAD_IDENTITY in server_status.error_flags) {
- error_desc += " " + "Its security certificate is issued to another domain.";
+ error_desc += " " + _("Its security certificate is issued to another domain.");
} else if (TlsCertificateFlags.NOT_ACTIVATED in server_status.error_flags) {
- error_desc += " " + "Its security certificate will only become valid in the future.";
+ error_desc += " " + _("Its security certificate will only become valid in the future.");
} else if (TlsCertificateFlags.EXPIRED in server_status.error_flags) {
- error_desc += " " + "Its security certificate is expired.";
+ error_desc += " " + _("Its security certificate is expired.");
}
sign_in_tls_label.label = error_desc;
show_tls_error();