Add forgotten strings to translations (#282)
This commit is contained in:
parent
ef40b61734
commit
845f98c1d4
|
@ -8,7 +8,7 @@
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="cancel_button">
|
<object class="GtkButton" id="cancel_button">
|
||||||
<property name="label">Cancel</property>
|
<property name="label" translatable="yes">Cancel</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel">
|
<object class="GtkLabel">
|
||||||
<property name="label">JID</property>
|
<property name="label" translatable="yes">JID</property>
|
||||||
<property name="xalign">1</property>
|
<property name="xalign">1</property>
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
</object>
|
</object>
|
||||||
|
|
|
@ -42,7 +42,7 @@ public class AddAccountDialog : Gtk.Dialog {
|
||||||
if (jid == null || jid.localpart == null || jid.resourcepart != null) {
|
if (jid == null || jid.localpart == null || jid.resourcepart != null) {
|
||||||
jid_entry.secondary_icon_name = "dialog-warning-symbolic";
|
jid_entry.secondary_icon_name = "dialog-warning-symbolic";
|
||||||
// TODO why doesn't the tooltip work
|
// 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 {
|
} else {
|
||||||
jid_entry.secondary_icon_name = null;
|
jid_entry.secondary_icon_name = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue