GNOME Bugzilla – Bug 593079
untranslated strings in errors
Last modified: 2013-05-30 15:46:21 UTC
In gtkfilesystem.c: g_set_error (error, GTK_FILE_CHOOSER_ERROR, GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME, "Incomplete hostname"); g_set_error (error, GTK_FILE_CHOOSER_ERROR, GTK_FILE_CHOOSER_ERROR_NONEXISTENT, "Could not get parent file"); g_set_error (error, GTK_FILE_CHOOSER_ERROR, GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS, "%s already exists in the bookmarks list", uri); g_set_error (error, GTK_FILE_CHOOSER_ERROR, GTK_FILE_CHOOSER_ERROR_NONEXISTENT, "%s does not exist in the bookmarks list", uri); Shouldn't these strings be i18n'd like all the other error strings in gtk+?
Created attachment 142251 [details] [review] Localize strings in GtkFilesystem
Created attachment 163801 [details] [review] Localize error strings in GtkFilesystem
Created attachment 245434 [details] [review] Refactor-duplicate-set-error-code-and-localise-error-strings This patch refactors duplicate set error code and localise error messages in bookmark manager
Created attachment 245439 [details] [review] Refactor-duplicate-set-error-code-and-localise-error-strings This patch removes unrelated code that shouldn't have been in the previous patch
By the way I cannot find the other two strings in current gtk so feel free to close the bug if my patch is accepted.
Nice one! Thanks; I pushed it to master as 44cd166.