[gimp] libgimpbase: Remove function names from user visible strings



commit c61e89a6ffa4c0b6b793c2638d3406432248f590
Author: Mukund Sivaraman <muks banu com>
Date:   Fri Feb 27 12:16:02 2015 +0530

    libgimpbase: Remove function names from user visible strings

 libgimpbase/gimputils.c |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/libgimpbase/gimputils.c b/libgimpbase/gimputils.c
index 19a941d..129289e 100644
--- a/libgimpbase/gimputils.c
+++ b/libgimpbase/gimputils.c
@@ -364,8 +364,7 @@ gimp_file_show_in_file_manager (GFile   *file,
     if (!filename)
       {
         g_set_error_literal (error, G_FILE_ERROR, 0,
-                             _("NULL path passed to "
-                               "gimp_file_show_in_file_manager()."));
+                             _("File path is NULL"));
         goto out;
       }
 
@@ -374,8 +373,7 @@ gimp_file_show_in_file_manager (GFile   *file,
     if (n == 0)
       {
         g_set_error_literal (error, G_FILE_ERROR, 0,
-                             _("Error converting UTF-8 filename in "
-                               "gimp_file_show_in_file_manager()."));
+                             _("Error converting UTF-8 filename to wide char"));
         goto out;
       }
 
@@ -386,8 +384,7 @@ gimp_file_show_in_file_manager (GFile   *file,
     if (n == 0)
       {
         g_set_error_literal (error, G_FILE_ERROR, 0,
-                             _("Error converting UTF-8 filename in "
-                               "gimp_file_show_in_file_manager()."));
+                             _("Error converting UTF-8 filename to wide char"));
         goto out;
       }
 
@@ -395,8 +392,7 @@ gimp_file_show_in_file_manager (GFile   *file,
     if (!pidl)
       {
         g_set_error_literal (error, G_FILE_ERROR, 0,
-                             _("ILCreateFromPath() failed in "
-                               "gimp_file_show_in_file_manager()."));
+                             _("ILCreateFromPath() failed"));
         goto out;
       }
 


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