Patch for RoxFiler/src/log.c

babyfai Cheung <[email protected]> Fri, 7 Nov 2008 22:31:50 -0800 (PST)
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
Patch for RoxFiler/src/log.c, make more terms become translatable in "Log Viewer"



      New Email addresses available on Yahoo!
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
rox-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rox-devel
LogViewer.patch (application/octet-stream, 1.3 KB)
From 3c67cfa5b6f284b61408d5bf48a413bb9c3c6ccb Mon Sep 17 00:00:00 2001
From: Babyfai Cheung <[email protected]>
Date: Sat, 8 Nov 2008 14:17:12 +0800
Subject: [PATCH] Make more terms become translatable in log.c

---
 ROX-Filer/src/log.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ROX-Filer/src/log.c b/ROX-Filer/src/log.c
index 8361105..e5067be 100644
--- a/ROX-Filer/src/log.c
+++ b/ROX-Filer/src/log.c
@@ -146,18 +146,18 @@ void log_show_window()
 
 	renderer = gtk_cell_renderer_text_new();
 
-	column = gtk_tree_view_column_new_with_attributes("Time", renderer,
+	column = gtk_tree_view_column_new_with_attributes(_("Time"), renderer,
 							   "text", TIMESTAMP,
 							   NULL);
 	gtk_tree_view_append_column(tv, column);
 
-	column = gtk_tree_view_column_new_with_attributes("Action", renderer,
+	column = gtk_tree_view_column_new_with_attributes(_("Action"), renderer,
 							   "text", MESSAGE,
 							   NULL);
 	gtk_tree_view_column_set_resizable(column, TRUE);
 	gtk_tree_view_append_column(tv, column);
 
-	column = gtk_tree_view_column_new_with_attributes("Path", renderer,
+	column = gtk_tree_view_column_new_with_attributes(_("Path"), renderer,
 							   "text", DIRECTORY,
 							   NULL);
 	gtk_tree_view_append_column(tv, column);
-- 
1.5.3.7