diff options
-rw-r--r-- | main/data/manage_accounts/add_account_dialog.ui | 4 | ||||
-rw-r--r-- | main/src/ui/manage_accounts/add_account_dialog.vala | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/main/data/manage_accounts/add_account_dialog.ui b/main/data/manage_accounts/add_account_dialog.ui index 10a66bde..585e93d6 100644 --- a/main/data/manage_accounts/add_account_dialog.ui +++ b/main/data/manage_accounts/add_account_dialog.ui @@ -8,7 +8,7 @@ <property name="visible">True</property> <child> <object class="GtkButton" id="cancel_button"> - <property name="label">Cancel</property> + <property name="label" translatable="yes">Cancel</property> <property name="visible">True</property> </object> <packing> @@ -43,7 +43,7 @@ <property name="visible">True</property> <child> <object class="GtkLabel"> - <property name="label">JID</property> + <property name="label" translatable="yes">JID</property> <property name="xalign">1</property> <property name="visible">True</property> </object> diff --git a/main/src/ui/manage_accounts/add_account_dialog.vala b/main/src/ui/manage_accounts/add_account_dialog.vala index b111a6d5..5715db51 100644 --- a/main/src/ui/manage_accounts/add_account_dialog.vala +++ b/main/src/ui/manage_accounts/add_account_dialog.vala @@ -42,7 +42,7 @@ public class AddAccountDialog : Gtk.Dialog { if (jid == null || jid.localpart == null || jid.resourcepart != null) { jid_entry.secondary_icon_name = "dialog-warning-symbolic"; // TODO why doesn't the tooltip work - jid_entry.set_icon_tooltip_text(EntryIconPosition.SECONDARY, "JID should be of the form \"user@example.com\""); + jid_entry.set_icon_tooltip_text(EntryIconPosition.SECONDARY, _("JID should be of the form “user@example.com”")); } else { jid_entry.secondary_icon_name = null; } |