[nautilus] application: mark two user-visible error strings for translation
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] application: mark two user-visible error strings for translation
- Date: Mon, 10 Sep 2012 05:36:18 +0000 (UTC)
commit e495c62442c3e3bbc24eb10b8d0d5198239639ac
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Sep 10 01:29:26 2012 -0400
application: mark two user-visible error strings for translation
Even if these strings are only displayed on the console, they're user
visible errors, so they should be marked as translations as the others.
This is more visible since they're composed by a part which is
translated, resulting in possibly half-translated strings, such as
reported in
https://bugzilla.gnome.org/show_bug.cgi?id=666006
src/nautilus-application.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index 2722464..49be84d 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -1098,7 +1098,9 @@ nautilus_application_local_command_line (GApplication *application,
argc = g_strv_length (argv);
if (!g_option_context_parse (context, &argc, &argv, &error)) {
- g_printerr ("Could not parse arguments: %s\n", error->message);
+ /* Translators: this is a fatal error quit message printed on the
+ * command line */
+ g_printerr ("%s: %s\n", _("Could not parse arguments"), error->message);
g_error_free (error);
*exit_status = EXIT_FAILURE;
@@ -1128,7 +1130,9 @@ nautilus_application_local_command_line (GApplication *application,
g_application_register (application, NULL, &error);
if (error != NULL) {
- g_printerr ("Could not register the application: %s\n", error->message);
+ /* Translators: this is a fatal error quit message printed on the
+ * command line */
+ g_printerr ("%s: %s\n", _("Could not register the application"), error->message);
g_error_free (error);
*exit_status = EXIT_FAILURE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]