diff options
author | Gaël Bonithon <gael@xfce.org> | 2021-12-18 10:51:51 +0100 |
---|---|---|
committer | Gaël Bonithon <gael@xfce.org> | 2021-12-18 16:55:43 +0100 |
commit | a7b8e250400d556156c6211e7939adb19aec280b (patch) | |
tree | 9c08f84087cb3d4800ce26ae6fae2c4d5fa49525 /plugins | |
parent | 3a04fa615cd7d9fce538304da24484ef2819a0e8 (diff) | |
download | tumbler-a7b8e250400d556156c6211e7939adb19aec280b.tar.gz |
Do not translate warning messages
Completes d6aeb7d65acf6e41738c78b9d137fab3502d1c58.
Diffstat (limited to 'plugins')
14 files changed, 16 insertions, 16 deletions
diff --git a/plugins/cover-thumbnailer/cover-thumbnailer-plugin.c b/plugins/cover-thumbnailer/cover-thumbnailer-plugin.c index 6bf82b4..540899e 100644 --- a/plugins/cover-thumbnailer/cover-thumbnailer-plugin.c +++ b/plugins/cover-thumbnailer/cover-thumbnailer-plugin.c @@ -56,7 +56,7 @@ tumbler_plugin_initialize (TumblerProviderPlugin *plugin) TUMBLER_MICRO_VERSION); if (G_UNLIKELY (mismatch != NULL)) { - g_warning (_("Version mismatch: %s"), mismatch); + g_warning (TUMBLER_WARNING_VERSION_MISMATCH, mismatch); return; } diff --git a/plugins/desktop-thumbnailer/desktop-thumbnailer-plugin.c b/plugins/desktop-thumbnailer/desktop-thumbnailer-plugin.c index d79024b..f862654 100644 --- a/plugins/desktop-thumbnailer/desktop-thumbnailer-plugin.c +++ b/plugins/desktop-thumbnailer/desktop-thumbnailer-plugin.c @@ -53,7 +53,7 @@ tumbler_plugin_initialize (TumblerProviderPlugin *plugin) TUMBLER_MICRO_VERSION); if (G_UNLIKELY (mismatch != NULL)) { - g_warning (_("Version mismatch: %s"), mismatch); + g_warning (TUMBLER_WARNING_VERSION_MISMATCH, mismatch); return; } diff --git a/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c b/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c index 7c10698..e76e405 100644 --- a/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c +++ b/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c @@ -116,7 +116,7 @@ desktop_thumbnailer_get_from_desktop_file (GFile *file, /* try to load the key file data from the input file */ if (!g_key_file_load_from_file (key_file, filename, G_KEY_FILE_NONE, &error)) { - g_warning (_("Failed to load the file \"%s\": %s"), filename, error->message); + g_warning (TUMBLER_WARNING_LOAD_FILE_FAILED, filename, error->message); g_clear_error (&error); g_key_file_free (key_file); @@ -130,7 +130,7 @@ desktop_thumbnailer_get_from_desktop_file (GFile *file, "Exec", &error); if (exec == NULL) { - g_warning (_("Malformed file \"%s\": %s"), filename, error->message); + g_warning (TUMBLER_WARNING_MALFORMED_FILE, filename, error->message); g_clear_error (&error); g_key_file_free (key_file); @@ -144,7 +144,7 @@ desktop_thumbnailer_get_from_desktop_file (GFile *file, "MimeType", NULL, &error); if (mime_types == NULL) { - g_warning (_("Malformed file \"%s\": %s"), filename, error->message); + g_warning (TUMBLER_WARNING_MALFORMED_FILE, filename, error->message); g_clear_error (&error); g_free (exec); diff --git a/plugins/desktop-thumbnailer/desktop-thumbnailer.c b/plugins/desktop-thumbnailer/desktop-thumbnailer.c index 5248a49..916d5bc 100644 --- a/plugins/desktop-thumbnailer/desktop-thumbnailer.c +++ b/plugins/desktop-thumbnailer/desktop-thumbnailer.c @@ -362,7 +362,7 @@ desktop_thumbnailer_load_thumbnail (DesktopThumbnailer *thumbnailer, g_strfreev (cmd_argv); } else - g_warning (_("Malformed command line \"%s\": %s"), exec, (*error)->message); + g_warning ("Malformed command line \"%s\": %s", exec, (*error)->message); g_free (tmpfilepath); g_object_unref (tmpfile); diff --git a/plugins/ffmpeg-thumbnailer/ffmpeg-thumbnailer-plugin.c b/plugins/ffmpeg-thumbnailer/ffmpeg-thumbnailer-plugin.c index 3f393a7..abff227 100644 --- a/plugins/ffmpeg-thumbnailer/ffmpeg-thumbnailer-plugin.c +++ b/plugins/ffmpeg-thumbnailer/ffmpeg-thumbnailer-plugin.c @@ -55,7 +55,7 @@ tumbler_plugin_initialize (TumblerProviderPlugin *plugin) TUMBLER_MICRO_VERSION); if (G_UNLIKELY (mismatch != NULL)) { - g_warning (_("Version mismatch: %s"), mismatch); + g_warning (TUMBLER_WARNING_VERSION_MISMATCH, mismatch); return; } diff --git a/plugins/font-thumbnailer/font-thumbnailer-plugin.c b/plugins/font-thumbnailer/font-thumbnailer-plugin.c index 340885c..cc09a40 100644 --- a/plugins/font-thumbnailer/font-thumbnailer-plugin.c +++ b/plugins/font-thumbnailer/font-thumbnailer-plugin.c @@ -54,7 +54,7 @@ tumbler_plugin_initialize (TumblerProviderPlugin *plugin) TUMBLER_MICRO_VERSION); if (G_UNLIKELY (mismatch != NULL)) { - g_warning (_("Version mismatch: %s"), mismatch); + g_warning (TUMBLER_WARNING_VERSION_MISMATCH, mismatch); return; } diff --git a/plugins/gepub-thumbnailer/gepub-thumbnailer-plugin.c b/plugins/gepub-thumbnailer/gepub-thumbnailer-plugin.c index 8f17a46..4441f38 100644 --- a/plugins/gepub-thumbnailer/gepub-thumbnailer-plugin.c +++ b/plugins/gepub-thumbnailer/gepub-thumbnailer-plugin.c @@ -56,7 +56,7 @@ tumbler_plugin_initialize (TumblerProviderPlugin *plugin) TUMBLER_MICRO_VERSION); if (G_UNLIKELY (mismatch != NULL)) { - g_warning (_("Version mismatch: %s"), mismatch); + g_warning (TUMBLER_WARNING_VERSION_MISMATCH, mismatch); return; } diff --git a/plugins/gst-thumbnailer/gst-thumbnailer-plugin.c b/plugins/gst-thumbnailer/gst-thumbnailer-plugin.c index 1f86ee9..3b513b0 100644 --- a/plugins/gst-thumbnailer/gst-thumbnailer-plugin.c +++ b/plugins/gst-thumbnailer/gst-thumbnailer-plugin.c @@ -56,7 +56,7 @@ tumbler_plugin_initialize (TumblerProviderPlugin *plugin) TUMBLER_MICRO_VERSION); if (G_UNLIKELY (mismatch != NULL)) { - g_warning (_("Version mismatch: %s"), mismatch); + g_warning (TUMBLER_WARNING_VERSION_MISMATCH, mismatch); return; } diff --git a/plugins/jpeg-thumbnailer/jpeg-thumbnailer-plugin.c b/plugins/jpeg-thumbnailer/jpeg-thumbnailer-plugin.c index 036ebd1..7f45577 100644 --- a/plugins/jpeg-thumbnailer/jpeg-thumbnailer-plugin.c +++ b/plugins/jpeg-thumbnailer/jpeg-thumbnailer-plugin.c @@ -54,7 +54,7 @@ tumbler_plugin_initialize (TumblerProviderPlugin *plugin) TUMBLER_MICRO_VERSION); if (G_UNLIKELY (mismatch != NULL)) { - g_warning (_("Version mismatch: %s"), mismatch); + g_warning (TUMBLER_WARNING_VERSION_MISMATCH, mismatch); return; } diff --git a/plugins/odf-thumbnailer/odf-thumbnailer-plugin.c b/plugins/odf-thumbnailer/odf-thumbnailer-plugin.c index b9df7e7..8330945 100644 --- a/plugins/odf-thumbnailer/odf-thumbnailer-plugin.c +++ b/plugins/odf-thumbnailer/odf-thumbnailer-plugin.c @@ -56,7 +56,7 @@ tumbler_plugin_initialize (TumblerProviderPlugin *plugin) TUMBLER_MICRO_VERSION); if (G_UNLIKELY (mismatch != NULL)) { - g_warning (_("Version mismatch: %s"), mismatch); + g_warning (TUMBLER_WARNING_VERSION_MISMATCH, mismatch); return; } diff --git a/plugins/pixbuf-thumbnailer/pixbuf-thumbnailer-plugin.c b/plugins/pixbuf-thumbnailer/pixbuf-thumbnailer-plugin.c index 2c5e243..167b4db 100644 --- a/plugins/pixbuf-thumbnailer/pixbuf-thumbnailer-plugin.c +++ b/plugins/pixbuf-thumbnailer/pixbuf-thumbnailer-plugin.c @@ -54,7 +54,7 @@ tumbler_plugin_initialize (TumblerProviderPlugin *plugin) TUMBLER_MICRO_VERSION); if (G_UNLIKELY (mismatch != NULL)) { - g_warning (_("Version mismatch: %s"), mismatch); + g_warning (TUMBLER_WARNING_VERSION_MISMATCH, mismatch); return; } diff --git a/plugins/poppler-thumbnailer/poppler-thumbnailer-plugin.c b/plugins/poppler-thumbnailer/poppler-thumbnailer-plugin.c index b60ed0b..3f351e0 100644 --- a/plugins/poppler-thumbnailer/poppler-thumbnailer-plugin.c +++ b/plugins/poppler-thumbnailer/poppler-thumbnailer-plugin.c @@ -54,7 +54,7 @@ tumbler_plugin_initialize (TumblerProviderPlugin *plugin) TUMBLER_MICRO_VERSION); if (G_UNLIKELY (mismatch != NULL)) { - g_warning (_("Version mismatch: %s"), mismatch); + g_warning (TUMBLER_WARNING_VERSION_MISMATCH, mismatch); return; } diff --git a/plugins/raw-thumbnailer/raw-thumbnailer-plugin.c b/plugins/raw-thumbnailer/raw-thumbnailer-plugin.c index ec49bed..5c653bd 100644 --- a/plugins/raw-thumbnailer/raw-thumbnailer-plugin.c +++ b/plugins/raw-thumbnailer/raw-thumbnailer-plugin.c @@ -54,7 +54,7 @@ tumbler_plugin_initialize (TumblerProviderPlugin *plugin) TUMBLER_MICRO_VERSION); if (G_UNLIKELY (mismatch != NULL)) { - g_warning (_("Version mismatch: %s"), mismatch); + g_warning (TUMBLER_WARNING_VERSION_MISMATCH, mismatch); return; } diff --git a/plugins/xdg-cache/xdg-cache-plugin.c b/plugins/xdg-cache/xdg-cache-plugin.c index fbbc578..ff2de1d 100644 --- a/plugins/xdg-cache/xdg-cache-plugin.c +++ b/plugins/xdg-cache/xdg-cache-plugin.c @@ -49,7 +49,7 @@ tumbler_plugin_initialize (TumblerCachePlugin *plugin) TUMBLER_MICRO_VERSION); if (G_UNLIKELY (mismatch != NULL)) { - g_warning (_("Version mismatch: %s"), mismatch); + g_warning (TUMBLER_WARNING_VERSION_MISMATCH, mismatch); return; } |