[folks] backend-store: never translate warning messages
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] backend-store: never translate warning messages
- Date: Fri, 6 Jul 2012 08:02:57 +0000 (UTC)
commit b67a111d6f23b0943af42ca202099f9d1a3c350b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Jul 2 09:01:36 2012 +0200
backend-store: never translate warning messages
Most of them were not translated.
https://bugzilla.gnome.org/show_bug.cgi?id=679116
folks/backend-store.vala | 15 ++++-----------
1 files changed, 4 insertions(+), 11 deletions(-)
---
diff --git a/folks/backend-store.vala b/folks/backend-store.vala
index ad290fd..965b3d3 100644
--- a/folks/backend-store.vala
+++ b/folks/backend-store.vala
@@ -395,9 +395,7 @@ public class Folks.BackendStore : Object {
}
catch (GLib.Error e)
{
- /* Translators: the first parameter is a backend name, and the
- * second is an error message. */
- warning (_("Error preparing Backend '%s': %s"),
+ warning ("Error preparing Backend '%s': %s",
backend.name, e.message);
}
}
@@ -631,8 +629,7 @@ public class Folks.BackendStore : Object {
else if (mime == null)
{
warning (
- /* Translators: the parameter is a filename. */
- _("The content type of '%s' could not be determined. Have you installed shared-mime-info?"),
+ "The content type of '%s' could not be determined. Have you installed shared-mime-info?",
file.get_path ());
}
/* We should have only .la .so and sub-directories */
@@ -665,9 +662,7 @@ public class Folks.BackendStore : Object {
var _module = Module.open (file_path, ModuleFlags.BIND_LOCAL);
if (_module == null)
{
- /* Translators: the first parameter is a filename and the second is an
- * error message. */
- warning (_("Failed to load module from path '%s': %s"),
+ warning ("Failed to load module from path '%s': %s",
file_path, Module.error ());
return;
@@ -681,9 +676,7 @@ public class Folks.BackendStore : Object {
* removed if they've since been disabled */
if (!module.symbol("module_init", out function))
{
- /* Translators: the first parameter is a function name, the second is
- * a filename and the third is an error message. */
- warning (_("Failed to find entry point function '%s' in '%s': %s"),
+ warning ("Failed to find entry point function '%s' in '%s': %s",
"module_init",
file_path,
Module.error ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]