]> git.donarmstrong.com Git - xournal.git/blobdiff - src/xo-support.c
Add internationalization support.
[xournal.git] / src / xo-support.c
index aaa8f1f0fc617593eedbc16d149154e3e8fd1a24..5d2689ff3dd8eb4373d8b728f61d42766f12e80e 100644 (file)
@@ -87,7 +87,7 @@ create_pixmap                          (GtkWidget       *widget,
 
   if (!pathname)
     {
-      g_warning ("Couldn't find pixmap file: %s", filename);
+      g_warning (_("Couldn't find pixmap file: %s"), filename);
       return gtk_image_new ();
     }
 
@@ -111,14 +111,14 @@ create_pixbuf                          (const gchar     *filename)
 
   if (!pathname)
     {
-      g_warning ("Couldn't find pixmap file: %s", filename);
+      g_warning (_("Couldn't find pixmap file: %s"), filename);
       return NULL;
     }
 
   pixbuf = gdk_pixbuf_new_from_file (pathname, &error);
   if (!pixbuf)
     {
-      fprintf (stderr, "Failed to load pixbuf file: %s: %s\n",
+      fprintf (stderr, _("Failed to load pixbuf file: %s: %s\n"),
                pathname, error->message);
       g_error_free (error);
     }