[gimp] file-tiff-save: Wrap long lines



commit 688d5d8b79f1feb69f619d7f8fe2a8e7e1799505
Author: Mukund Sivaraman <muks banu com>
Date:   Mon May 13 18:22:16 2013 +0530

    file-tiff-save: Wrap long lines
    
    Also mark strings for translation.

 plug-ins/common/file-tiff-save.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/common/file-tiff-save.c b/plug-ins/common/file-tiff-save.c
index 4678095..8a6ee4c 100644
--- a/plug-ins/common/file-tiff-save.c
+++ b/plug-ins/common/file-tiff-save.c
@@ -805,8 +805,8 @@ save_image (const gchar  *filename,
 
     case GIMP_INDEXEDA_IMAGE:
       g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
-                   "%s",
-                   "TIFF save cannot handle indexed images with alpha channel.");
+                   _("TIFF save cannot handle indexed images with "
+                     "an alpha channel."));
     default:
       return FALSE;
     }
@@ -816,7 +816,8 @@ save_image (const gchar  *filename,
     {
       if (bitspersample != 1 || samplesperpixel != 1)
         {
-          g_message ("Only monochrome pictures can be compressed with \"CCITT Group 4\" or \"CCITT Group 
3\".");
+          g_message (_("Only monochrome pictures can be compressed with "
+                       "\"CCITT Group 4\" or \"CCITT Group 3\"."));
           return FALSE;
         }
     }
@@ -1045,7 +1046,7 @@ save_image (const gchar  *filename,
 
           if (!success)
             {
-              g_message ("Failed a scanline write on row %d", row);
+              g_message (_("Failed a scanline write on row %d"), row);
               return FALSE;
             }
         }


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