Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > b6d02e86bbbea6e4282d98d8c4ab731c > files > 2

gq-1.3.4-6.mga3.src.rpm

--- gq-1.3.4/src/state.c	2008-01-09 10:35:12.000000000 -0600
+++ gq-1.3.4.error/src/state.c	2012-07-16 23:21:15.729874439 -0500
@@ -559,7 +559,7 @@ static gchar *filename_state(int context
      } else {
 	 home = homedir();
 	 if(home == NULL) {
-	     error_push(context, _("You have no home directory!"));
+	     error_push(context, ("You have no home directory!"));
 	     return(NULL);
 	 }
 	 
@@ -637,7 +637,7 @@ static void save_single_entity(const cha
 void
 save_state(void)
 {
-    int save_context = error_new_context(_("Error saving statefile"), NULL);
+    int save_context = error_new_context(("Error saving statefile"), NULL);
     struct writeconfig *wc;
     gchar *statefile = filename_state(save_context);
     struct stat sfile;
@@ -666,7 +666,7 @@ save_state(void)
     fd = open(tmpstatefile, O_CREAT | O_WRONLY, mode);
     if (fd < 0) {
 	error_push(save_context,
-		   _("Unable to open '%1$s' for writing: %2$s"), 
+		   ("Unable to open '%1$s' for writing: %2$s"), 
 		   tmpstatefile,
 		   strerror(errno));
 	g_free(tmpstatefile);
@@ -690,7 +690,7 @@ save_state(void)
 
     if (rename(tmpstatefile, statefile) != 0) {
 	error_push(save_context,
-		   _("Could not replace old configuration (%1$s) with the new one (%2$s):\n%3$s\n"),
+		   ("Could not replace old configuration (%1$s) with the new one (%2$s):\n%3$s\n"),
 		   statefile, tmpstatefile, strerror(errno));
     }
 
@@ -908,7 +908,7 @@ static GHashTable *process_statefile_XML
 void
 init_state(void)
 {
-    int load_context = error_new_context(_("Error loading statefile"), NULL);
+    int load_context = error_new_context(("Error loading statefile"), NULL);
     gchar *statefile = filename_state(load_context);
 
     if (statefile) {