Add forgotten strings to translations (#282)

This commit is contained in:
linkmauve 2018-02-02 02:42:20 +01:00 committed by fiaxh
parent ef40b61734
commit 845f98c1d4
2 changed files with 3 additions and 3 deletions

View file

@ -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>

View file

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