aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/add_conversation/chat
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-04-07 11:09:47 +0200
committerfiaxh <git@mx.ax.lt>2017-04-10 15:47:21 +0200
commit9bc83539d124f9645dc92e9e39001cb0192dae61 (patch)
treea4b22a8ea3e10b6d0050c2e5669729919a1cb477 /main/src/ui/add_conversation/chat
parentd8881c4b16a1cd376dd69304c44444aee581da32 (diff)
downloaddino-9bc83539d124f9645dc92e9e39001cb0192dae61.tar.gz
dino-9bc83539d124f9645dc92e9e39001cb0192dae61.zip
Gettext support
Diffstat (limited to 'main/src/ui/add_conversation/chat')
-rw-r--r--main/src/ui/add_conversation/chat/dialog.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/ui/add_conversation/chat/dialog.vala b/main/src/ui/add_conversation/chat/dialog.vala
index 910e7264..6873b4ca 100644
--- a/main/src/ui/add_conversation/chat/dialog.vala
+++ b/main/src/ui/add_conversation/chat/dialog.vala
@@ -18,7 +18,7 @@ public class Dialog : Gtk.Dialog {
public Dialog(StreamInteractor stream_interactor) {
Object(use_header_bar : 1);
- this.title = "Start Chat";
+ this.title = _("Start Chat");
this.modal = true;
this.stream_interactor = stream_interactor;
@@ -31,13 +31,13 @@ public class Dialog : Gtk.Dialog {
header_bar.show_close_button = false;
Button cancel_button = new Button();
- cancel_button.set_label("Cancel");
+ cancel_button.set_label(_("Cancel"));
cancel_button.visible = true;
header_bar.pack_start(cancel_button);
ok_button = new Button();
ok_button.get_style_context().add_class("suggested-action");
- ok_button.label = "Start";
+ ok_button.label = _("Start");
ok_button.sensitive = false;
ok_button.visible = true;
header_bar.pack_end(ok_button);