aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo/src/contact_details_dialog.vala
diff options
context:
space:
mode:
authorSamuel Hand <samuel.hand@openmailbox.org>2018-08-10 12:47:56 +0100
committerSamuel Hand <samuel.hand@openmailbox.org>2018-08-10 12:47:56 +0100
commitd7b5db1d9fb37a310c16d8ffef885f1209a33187 (patch)
tree01c900f3d8aaf4d185df1827e7a757b0091004e6 /plugins/omemo/src/contact_details_dialog.vala
parent8ebc2c5dd333ce19c9e0592ee1feb8eed6e1a48f (diff)
downloaddino-d7b5db1d9fb37a310c16d8ffef885f1209a33187.tar.gz
dino-d7b5db1d9fb37a310c16d8ffef885f1209a33187.zip
Make strings translatable
Diffstat (limited to 'plugins/omemo/src/contact_details_dialog.vala')
-rw-r--r--plugins/omemo/src/contact_details_dialog.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/omemo/src/contact_details_dialog.vala b/plugins/omemo/src/contact_details_dialog.vala
index 3a39bda5..baefe564 100644
--- a/plugins/omemo/src/contact_details_dialog.vala
+++ b/plugins/omemo/src/contact_details_dialog.vala
@@ -105,22 +105,22 @@ public class ContactDetailsDialog : Gtk.Dialog {
switch(trust) {
case Database.IdentityMetaTable.TrustLevel.TRUSTED:
img.icon_name = "emblem-ok-symbolic";
- status_lbl.set_markup("<span color='#1A63D9'>Accepted</span>");
+ status_lbl.set_markup("<span color='#1A63D9'>%s</span>".printf(_("Accepted")));
break;
case Database.IdentityMetaTable.TrustLevel.UNTRUSTED:
img.icon_name = "action-unavailable-symbolic";
- status_lbl.set_markup("<span color='#D91900'>Rejected</span>");
+ status_lbl.set_markup("<span color='#D91900'>%s</span>".printf(_("Rejected")));
lbl.get_style_context().add_class("dim-label");
break;
case Database.IdentityMetaTable.TrustLevel.VERIFIED:
img.icon_name = "security-high-symbolic";
- status_lbl.set_markup("<span color='#1A63D9'>Verified</span>");
+ status_lbl.set_markup("<span color='#1A63D9'>%s</span>".printf(_("Verified")));
break;
}
if (!now_active) {
img.icon_name= "appointment-missed-symbolic";
- status_lbl.set_markup("<span color='#8b8e8f'>Unused</span>");
+ status_lbl.set_markup("<span color='#8b8e8f'>%s</span>".printf(_("Unused")));
lbr.activatable = false;
}
}