[gedit-plugins] Mark strings as translatable



commit 52af2d89aa76cc9f5f2f08625f85dfad3a78f980
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Sun Apr 19 16:24:11 2015 +0200

    Mark strings as translatable
    
    I hope it's correct.

 plugins/findinfiles/dialog.vala       |    2 +-
 plugins/findinfiles/result-panel.vala |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/findinfiles/dialog.vala b/plugins/findinfiles/dialog.vala
index ab1787a..13c4e35 100644
--- a/plugins/findinfiles/dialog.vala
+++ b/plugins/findinfiles/dialog.vala
@@ -71,7 +71,7 @@ class FindDialog : Gtk.Dialog {
         if (Gtk.Settings.get_default ().gtk_dialogs_use_header) {
             var header_bar = new Gtk.HeaderBar ();
 
-            header_bar.set_title ("Find in Files");
+            header_bar.set_title _("Find in Files");
             header_bar.set_show_close_button (true);
 
             this.set_titlebar (header_bar);
diff --git a/plugins/findinfiles/result-panel.vala b/plugins/findinfiles/result-panel.vala
index 19a7a38..f187056 100644
--- a/plugins/findinfiles/result-panel.vala
+++ b/plugins/findinfiles/result-panel.vala
@@ -214,7 +214,7 @@ class ResultPanel : Overlay {
 
         // The stop button is showed in the bottom-left corner of the TreeView
         stop_button = new Button.from_icon_name ("process-stop-symbolic", IconSize.BUTTON);
-        stop_button.set_tooltip_text ("Stop the search");
+        stop_button.set_tooltip_text _("Stop the search");
         stop_button.set_visible (false);
         stop_button.set_valign (Align.END);
         stop_button.set_halign (Align.END);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]