aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorlinkmauve <linkmauve@linkmauve.fr>2018-02-02 02:42:20 +0100
committerfiaxh <fiaxh@users.noreply.github.com>2018-02-02 02:42:20 +0100
commit845f98c1d4d10a8e733157fca2df5498c7d54090 (patch)
treeda13813bc926f128ae441a25c1fea016b226774e /main
parentef40b617349f49f3f7543b4647bb142590773bc5 (diff)
downloaddino-845f98c1d4d10a8e733157fca2df5498c7d54090.tar.gz
dino-845f98c1d4d10a8e733157fca2df5498c7d54090.zip
Add forgotten strings to translations (#282)
Diffstat (limited to 'main')
-rw-r--r--main/data/manage_accounts/add_account_dialog.ui4
-rw-r--r--main/src/ui/manage_accounts/add_account_dialog.vala2
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;
}