[gcompris] core: in the initial load phase, gettext was called twice to display the activity status loading



commit 4c8748560a2ad5c5f790b9d6bc457480b10952c9
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Mon Aug 15 17:58:08 2011 +0200

    core: in the initial load phase, gettext was called twice to display the activity status loading
    
    I could not trace any issue with this, it seems like gettext supports a double call.
    I thought this could fix the status not being displayed properly in Hebrew but it is not the case.

 src/gcompris/gcompris_db.c |    2 +-
 src/gcompris/menu.c        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gcompris/gcompris_db.c b/src/gcompris/gcompris_db.c
index 0ad4453..7fef100 100644
--- a/src/gcompris/gcompris_db.c
+++ b/src/gcompris/gcompris_db.c
@@ -887,7 +887,7 @@ GList *gc_menu_load_db(GList *boards_list)
 
     boards = g_list_append(boards, gcomprisBoard);
     gchar *msg = g_strdup_printf(_("Loading activity from database:\n%s"),
-				 gettext(gcomprisBoard->title));
+				 gcomprisBoard->title);
     gc_status_set_msg(msg);
     g_free(msg);
   }
diff --git a/src/gcompris/menu.c b/src/gcompris/menu.c
index 988cee9..009f615 100644
--- a/src/gcompris/menu.c
+++ b/src/gcompris/menu.c
@@ -580,7 +580,7 @@ void gc_menu_load_dir(char *dirname, gboolean db){
 	  }
 	  if (board_read) {
 	    gc_status_set_msg( _("Loading activity from file:\n%s"),
-			       gettext(board_read->title) );
+			       board_read->title );
 	  }
 	}
     else



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