From 7341a591d170e2e90b378ee43ba218b046253e20 Mon Sep 17 00:00:00 2001 From: bleakgrey Date: Sat, 21 Apr 2018 12:27:00 +0300 Subject: [PATCH] Localize things --- src/Widgets/StatusWidget.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Widgets/StatusWidget.vala b/src/Widgets/StatusWidget.vala index 824ef70..22a793b 100644 --- a/src/Widgets/StatusWidget.vala +++ b/src/Widgets/StatusWidget.vala @@ -23,11 +23,11 @@ public class Tootle.StatusWidget : Gtk.Grid { avatar = new Granite.Widgets.Avatar.with_default_icon (32); avatar.valign = Gtk.Align.START; avatar.margin_end = 6; - user = new Gtk.Label ("Anonymous"); + user = new Gtk.Label (_("Anonymous")); user.hexpand = true; user.halign = Gtk.Align.START; user.use_markup = true; - content = new Gtk.Label ("Error parsing text :c"); + content = new Gtk.Label (_("Error parsing text :c")); content.halign = Gtk.Align.START; content.use_markup = true; content.single_line_mode = false; @@ -75,7 +75,7 @@ public class Tootle.StatusWidget : Gtk.Grid { image.margin_end = 8; image.show (); - var label_text = "%s boosted".printf (status.account.url, status.account.display_name); + var label_text = _("%s boosted").printf (status.account.url, status.account.display_name); var label = new Gtk.Label (label_text); label.halign = Gtk.Align.START; label.use_markup = true;