diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-01-02 19:52:48 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-01-02 19:52:48 +0000 |
commit | 78c7c07f3bc3570ec53927d88b63238ed9b21981 (patch) | |
tree | 2287690a726ec3a8810825d2f72932434c1a178d /gtk/gtkfilesel.c | |
parent | 129ad4b48db80f8c031254ef63dcee6beb552a83 (diff) | |
download | gtk+-78c7c07f3bc3570ec53927d88b63238ed9b21981.tar.gz |
Call setlocale().
2007-01-02 Matthias Clasen <mclasen@redhat.com>
* gtk/updateiconcache.c (main): Call setlocale().
* gtk/gtkfilesel.c:
* gtk/gtkfilesystemunix.c:
* gtk/gtkfilesystemwin32.c:
* gtk/gtkfilechoosersettings.c:
* gtk/updateiconcache.c: Consistently use folder instead of
directory in translated messages. (#344584, Javier F. Serrador)
svn path=/trunk/; revision=17024
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r-- | gtk/gtkfilesel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c index 4cd5ee5037..84090d1060 100644 --- a/gtk/gtkfilesel.c +++ b/gtk/gtkfilesel.c @@ -1405,7 +1405,7 @@ gtk_file_selection_create_dir_confirmed (GtkWidget *widget, if (g_error_matches (error, G_CONVERT_ERROR, G_CONVERT_ERROR_ILLEGAL_SEQUENCE)) buf = g_strdup_printf (_("The folder name \"%s\" contains symbols that are not allowed in filenames"), dirname); else - buf = g_strdup_printf (_("Error creating directory '%s': %s"), + buf = g_strdup_printf (_("Error creating folder '%s': %s"), dirname, error->message); gtk_file_selection_fileop_error (fs, buf); g_error_free (error); @@ -1414,7 +1414,7 @@ gtk_file_selection_create_dir_confirmed (GtkWidget *widget, if (g_mkdir (sys_full_path, 0777) < 0) { - buf = g_strdup_printf (_("Error creating directory '%s': %s"), + buf = g_strdup_printf (_("Error creating folder '%s': %s"), dirname, g_strerror (errno)); gtk_file_selection_fileop_error (fs, buf); } |