dia r4241 - in trunk: . doc/en lib po



Author: hans
Date: Sat Jan 31 17:59:49 2009
New Revision: 4241
URL: http://svn.gnome.org/viewvc/dia?rev=4241&view=rev

Log:
2009-01-31  Hans Breuer  <hans breuer org>

	* po/POTFILES.in lib/sheetc : more strings to translate ;)
	* doc/en/Makefile.am : added new images ('make distcheck' passes)






Modified:
   trunk/ChangeLog
   trunk/doc/en/Makefile.am
   trunk/lib/sheet.c
   trunk/po/POTFILES.in

Modified: trunk/doc/en/Makefile.am
==============================================================================
--- trunk/doc/en/Makefile.am	(original)
+++ trunk/doc/en/Makefile.am	Sat Jan 31 17:59:49 2009
@@ -56,12 +56,90 @@
 ##	graphics/greendots.png
 
 pngfigures = \
+	graphics/adjacent.png \
+	graphics/flowchart-shapes.png \
+	graphics/after-hor-spread.png \
 	graphics/greendots.png \
-	graphics/line_icon.png \
-	graphics/color_selector.png \
+	graphics/after-vert-spread.png \
 	graphics/home_network.png \
+	graphics/align-bottom.png \
+	graphics/line-arrows.png \
+	graphics/align-center.png \
+	graphics/line-buttons.png \
+	graphics/align-left.png \
+	graphics/line-colors.png \
+	graphics/align-menu.png \
+	graphics/line-connect.png \
+	graphics/align-middle.png \
+	graphics/line-handles.png \
+	graphics/align-right.png \
+	graphics/line-styles.png \
+	graphics/align-top.png \
+	graphics/line-width.png \
+	graphics/arrow-style.png \
+	graphics/line_icon.png \
+	graphics/assorted-shapes.png \
 	graphics/line_props.png \
-	graphics/preferences_fig.png
+	graphics/before-hor-spread.png \
+	graphics/misc-shapes.png \
+	graphics/before-left.png \
+	graphics/network-shapes.png \
+	graphics/before-top.png \
+	graphics/object-group.png \
+	graphics/before-vert-spread.png \
+	graphics/polyline-rightclick.png \
+	graphics/bezierline-rightclick.png \
+	graphics/preferences-fig.png \
+	graphics/canvas-zoom.png \
+	graphics/preferences-gridlines.png \
+	graphics/cisco-computer-shapes.png \
+	graphics/preferences_fig.png \
+	graphics/cisco-misc-shapes.png \
+	graphics/properties-uml-class1.png \
+	graphics/cisco-network-shapes.png \
+	graphics/reverse-colors.png \
+	graphics/cisco-switch-shapes.png \
+	graphics/ruler-arrows.png \
+	graphics/cisco-telephony-shapes.png \
+	graphics/sample-flowchart.png \
+	graphics/color-dropdown.png \
+	graphics/select-area.png \
+	graphics/color-selector1.png \
+	graphics/select-menu.png \
+	graphics/color_selector.png \
+	graphics/selected-object.png \
+	graphics/connect-fixed.png \
+	graphics/sheets-objects.png \
+	graphics/connect-middle.png \
+	graphics/snaptogrid-button.png \
+	graphics/default-colors.png \
+	graphics/stacked.png \
+	graphics/defaults-box.png \
+	graphics/standard-line-properties.png \
+	graphics/defaults-text.png \
+	graphics/toolbox-basic.png \
+	graphics/delete-text.png \
+	graphics/toolbox-image.png \
+	graphics/dia-startup.png \
+	graphics/toolbox-lower.png \
+	graphics/diagram-properties-grid.png \
+	graphics/toolbox-magnify.png \
+	graphics/diagram-properties.png \
+	graphics/toolbox-modify.png \
+	graphics/diagram-tree-sort.png \
+	graphics/toolbox-scroll.png \
+	graphics/diagram-tree.png \
+	graphics/toolbox-special.png \
+	graphics/edit-text.png \
+	graphics/toolbox.png \
+	graphics/file-preferences-diagram.png \
+	graphics/uml-shapes.png \
+	graphics/file-preferences-tree.png \
+	graphics/view-menu.png \
+	graphics/file-preferences-ui.png \
+	graphics/view-zoom.png \
+	graphics/file-preferences-view.png \
+	graphics/zigzagline-rightclick.png
 
 
 epsfigures = \

Modified: trunk/lib/sheet.c
==============================================================================
--- trunk/lib/sheet.c	(original)
+++ trunk/lib/sheet.c	Sat Jan 31 17:59:49 2009
@@ -66,8 +66,8 @@
 
   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 available for use.",
+    message_warning(_("DiaObject '%s' needed in sheet '%s' was not found.\n"
+		      "It will not be available for use."),
 		    obj->object_type, sheet->name);
   } else {
     sheet->objects = g_slist_prepend( sheet->objects, (gpointer) obj);
@@ -81,9 +81,9 @@
 
   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.",
-		    obj->object_type, sheet->name);
+    message_warning(_("DiaObject '%s' needed in sheet '%s' was not found.\n"
+		      "It will not be availible for use."),
+		      obj->object_type, sheet->name);
   } else {
     sheet->objects = g_slist_append( sheet->objects, (gpointer) obj);
   }
@@ -311,14 +311,14 @@
       if (this_file.st_mtime > first_file.st_mtime)
       {
         gchar *tmp = g_strdup_printf("%s [Copy of system]", name);
-        message_notice("The system sheet '%s' appears to be more recent"
-                       " than your custom\n"
-                       "version and has been loaded as '%s' for this session."
-                       "\n\n"
-                       "Move new objects (if any) from '%s' into your custom"
-                       " sheet\n"
-                       "or remove '%s', using the 'Sheets and Objects' dialog.",
-                       name, tmp, tmp, tmp);
+        message_notice(_("The system sheet '%s' appears to be more recent"
+                         " than your custom\n"
+                         "version and has been loaded as '%s' for this session."
+                         "\n\n"
+                         "Move new objects (if any) from '%s' into your custom"
+                         " sheet\n"
+                         "or remove '%s', using the 'Sheets and Objects' dialog."),
+                         name, tmp, tmp, tmp);
         xmlFree(name);
         name = tmp;
         name_is_gmalloced = TRUE;
@@ -368,7 +368,7 @@
     if (!xmlStrcmp(node->name, (const xmlChar *)"object")) {
       /* nothing */
     } else if (!xmlStrcmp(node->name, (const xmlChar *)"shape")) {
-      g_message("%s: you should use object tags rather than shape tags now",
+      g_message(_("%s: you should use object tags rather than shape tags now"),
                 filename);
     } else if (!xmlStrcmp(node->name, (const xmlChar *)"br")) {
       /* Line break tag. */

Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in	(original)
+++ trunk/po/POTFILES.in	Sat Jan 31 17:59:49 2009
@@ -61,6 +61,7 @@
 lib/properties.c
 lib/properties.h
 lib/proplist.c
+lib/sheet.c
 lib/text.c
 lib/widgets.c
 objects/AADL/aadl.c



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