[grisbi-cvs] grisbi/src menu.c,1.140,1.141

Martin Stromberger fabiolla at users.sourceforge.net
Sat Dec 27 18:06:20 CET 2008


Update of /cvsroot/grisbi/grisbi/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv30209/src

Modified Files:
	menu.c 
Log Message:
set 'en' as default language for help

Index: menu.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/src/menu.c,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- menu.c	22 Oct 2008 11:18:54 -0000	1.140
+++ menu.c	27 Dec 2008 17:06:18 -0000	1.141
@@ -406,10 +406,10 @@
  */
 gboolean help_manual ()
 {
-    gchar *lang = _("_C");
+    gchar *lang = _("en");
     gchar *string;
 
-    string = g_strconcat ( HELP_PATH, "/", lang+1, "/manual.html", NULL );
+    string = g_strconcat ( HELP_PATH, "/", lang, "/manual.html", NULL );
 
     if (g_file_test ( string,
 		      G_FILE_TEST_EXISTS ))
@@ -420,7 +420,7 @@
     else
     {
 	g_free (string);
-	string = g_strconcat ( HELP_PATH, "/", lang+1, "/grisbi-manuel.html", NULL );
+	string = g_strconcat ( HELP_PATH, "/", lang, "/grisbi-manuel.html", NULL );
 	lance_navigateur_web (string);
 	g_free (string);
     }
@@ -438,9 +438,9 @@
  */
 gboolean help_quick_start ()
 {
-    gchar *lang = _("_C");
+    gchar *lang = _("en");
 
-    gchar* tmpstr = g_strconcat ( HELP_PATH, "/", lang+1, "/quickstart.html", 
+    gchar* tmpstr = g_strconcat ( HELP_PATH, "/", lang, "/quickstart.html", 
 					 NULL );
     lance_navigateur_web ( tmpstr );
     g_free ( tmpstr );
@@ -458,9 +458,9 @@
  */
 gboolean help_translation ()
 {
-    gchar *lang = _("_C");
+    gchar *lang = _("en");
 
-    gchar* tmpstr = g_strconcat ( HELP_PATH, "/", lang+1, "/translation.html", 
+    gchar* tmpstr = g_strconcat ( HELP_PATH, "/", lang, "/translation.html", 
 					 NULL );
     lance_navigateur_web ( tmpstr );
     g_free ( tmpstr );



More information about the cvs mailing list