[gitg/vala] Mark translatable strings in diff plugin



commit 349521d2d545b46e36e3bde5b74f3f7d0e5df10a
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Tue Jul 17 10:59:28 2012 +0200

    Mark translatable strings in diff plugin

 plugins/diff/gitg-diff.vala |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/diff/gitg-diff.vala b/plugins/diff/gitg-diff.vala
index 3d85f79..2f95cfa 100644
--- a/plugins/diff/gitg-diff.vala
+++ b/plugins/diff/gitg-diff.vala
@@ -19,11 +19,11 @@
 
 namespace GitgDiff
 {
-	// Do this to pull in config.h before glib.h (for gettext...)
-	private const string version = Gitg.Config.VERSION;
-
 	public class Panel : Object, GitgExt.UIElement, GitgExt.Panel
 	{
+		// Do this to pull in config.h before glib.h (for gettext...)
+		private const string version = Gitg.Config.VERSION;
+
 		public GitgExt.Application? application { owned get; construct set; }
 		private Gtk.ScrolledWindow d_sw;
 		private GitgGtk.DiffView d_diff;
@@ -59,7 +59,7 @@ namespace GitgDiff
 
 		public string display_name
 		{
-			owned get { return "Diff"; }
+			owned get { return _("Diff"); }
 		}
 
 		public Icon? icon



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