dia r4362 - in trunk: . app lib



Author: hans
Date: Sat Apr  4 21:01:56 2009
New Revision: 4362
URL: http://svn.gnome.org/viewvc/dia?rev=4362&view=rev

Log:
2009-04-04  Hans Breuer  <hans breuer org>

	* app/interface.c : don't translate g_warning
	* lib/sheet.c : fix typo in translatebale string




Modified:
   trunk/ChangeLog
   trunk/app/interface.c
   trunk/lib/sheet.c

Modified: trunk/app/interface.c
==============================================================================
--- trunk/app/interface.c	(original)
+++ trunk/app/interface.c	Sat Apr  4 21:01:56 2009
@@ -1006,7 +1006,7 @@
   ToolButtonData *tooldata = (ToolButtonData *) data;
 
   if (tooldata == NULL) {
-    g_warning(_("NULL tooldata in tool_select_update"));
+    g_warning("NULL tooldata in tool_select_update");
     return;
   }
 

Modified: trunk/lib/sheet.c
==============================================================================
--- trunk/lib/sheet.c	(original)
+++ trunk/lib/sheet.c	Sat Apr  4 21:01:56 2009
@@ -82,7 +82,7 @@
   type = object_get_type(obj->object_type);
   if (type == NULL) {
     message_warning(_("DiaObject '%s' needed in sheet '%s' was not found.\n"
-		      "It will not be availible for use."),
+		      "It will not be available for use."),
 		      obj->object_type, sheet->name);
   } else {
     sheet->objects = g_slist_append( sheet->objects, (gpointer) obj);
@@ -130,7 +130,7 @@
 
   home_dir = dia_config_filename("sheets");
   if (home_dir) {
-    dia_log_message (_("sheets from '%s'"), home_dir);
+    dia_log_message ("sheets from '%s'", home_dir);
     load_sheets_from_dir(home_dir, SHEET_SCOPE_USER);
     g_free(home_dir);
   }
@@ -141,13 +141,13 @@
     int i;
 
     for (i=0; dirs[i] != NULL; i++) {
-      dia_log_message (_("sheets from '%s'"), dirs[i]);
+      dia_log_message ("sheets from '%s'", dirs[i]);
       load_sheets_from_dir(dirs[i], SHEET_SCOPE_SYSTEM);
     }
     g_strfreev(dirs);
   } else {
     char *thedir = dia_get_data_directory("sheets");
-    dia_log_message (_("sheets from '%s'"), thedir);
+    dia_log_message ("sheets from '%s'", thedir);
     load_sheets_from_dir(thedir, SHEET_SCOPE_SYSTEM);
     g_free(thedir);
   }



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