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 /tumbler/tumbler-provider-plugin.c | |
parent | 3a04fa615cd7d9fce538304da24484ef2819a0e8 (diff) | |
download | tumbler-a7b8e250400d556156c6211e7939adb19aec280b.tar.gz |
Do not translate warning messages
Completes d6aeb7d65acf6e41738c78b9d137fab3502d1c58.
Diffstat (limited to 'tumbler/tumbler-provider-plugin.c')
-rw-r--r-- | tumbler/tumbler-provider-plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tumbler/tumbler-provider-plugin.c b/tumbler/tumbler-provider-plugin.c index 5decad0..6b2cca2 100644 --- a/tumbler/tumbler-provider-plugin.c +++ b/tumbler/tumbler-provider-plugin.c @@ -28,6 +28,7 @@ #include <gmodule.h> #include "tumbler/tumbler-provider-plugin.h" +#include <tumbler/tumbler-error.h> @@ -132,7 +133,7 @@ tumbler_provider_plugin_load (GTypeModule *type_module) } else { - g_warning (_("Plugin \"%s\" lacks required symbols."), type_module->name); + g_warning (TUMBLER_WARNING_PLUGIN_LACKS_SYMBOLS, type_module->name); g_module_close (plugin->library); plugin->library = NULL; return FALSE; @@ -140,8 +141,7 @@ tumbler_provider_plugin_load (GTypeModule *type_module) } else { - g_warning (_("Failed to load plugin \"%s\": %s"), type_module->name, - g_module_error ()); + g_warning (TUMBLER_WARNING_LOAD_PLUGIN_FAILED, type_module->name, g_module_error ()); return FALSE; } } |