Commit 5fa4a05c authored by Philip Withnall's avatar Philip Withnall

Miscellaneous string fixes

Mostly capitalisation fixes. Closes: bgo#528257
parent 6c6bb9b3
...@@ -159,10 +159,10 @@ static const GOptionEntry gdk_args[] = { ...@@ -159,10 +159,10 @@ static const GOptionEntry gdk_args[] = {
/* Placeholder in --screen=SCREEN in --help output */ N_("SCREEN") }, /* Placeholder in --screen=SCREEN in --help output */ N_("SCREEN") },
#ifdef G_ENABLE_DEBUG #ifdef G_ENABLE_DEBUG
{ "gdk-debug", 0, 0, G_OPTION_ARG_CALLBACK, gdk_arg_debug_cb, { "gdk-debug", 0, 0, G_OPTION_ARG_CALLBACK, gdk_arg_debug_cb,
/* Description of --gdk-debug=FLAGS in --help output */ N_("Gdk debugging flags to set"), /* Description of --gdk-debug=FLAGS in --help output */ N_("GDK debugging flags to set"),
/* Placeholder in --gdk-debug=FLAGS in --help output */ N_("FLAGS") }, /* Placeholder in --gdk-debug=FLAGS in --help output */ N_("FLAGS") },
{ "gdk-no-debug", 0, 0, G_OPTION_ARG_CALLBACK, gdk_arg_no_debug_cb, { "gdk-no-debug", 0, 0, G_OPTION_ARG_CALLBACK, gdk_arg_no_debug_cb,
/* Description of --gdk-no-debug=FLAGS in --help output */ N_("Gdk debugging flags to unset"), /* Description of --gdk-no-debug=FLAGS in --help output */ N_("GDK debugging flags to unset"),
/* Placeholder in --gdk-no-debug=FLAGS in --help output */ N_("FLAGS") }, /* Placeholder in --gdk-no-debug=FLAGS in --help output */ N_("FLAGS") },
#endif #endif
{ NULL } { NULL }
......
...@@ -404,7 +404,7 @@ parse_object (GMarkupParseContext *context, ...@@ -404,7 +404,7 @@ parse_object (GMarkupParseContext *context,
{ {
g_set_error (error, GTK_BUILDER_ERROR, g_set_error (error, GTK_BUILDER_ERROR,
GTK_BUILDER_ERROR_DUPLICATE_ID, GTK_BUILDER_ERROR_DUPLICATE_ID,
_("Duplicate object id '%s' on line %d (previously on line %d)"), _("Duplicate object ID '%s' on line %d (previously on line %d)"),
object_id, line, line2); object_id, line, line2);
return; return;
} }
......
...@@ -61,7 +61,7 @@ _gtk_mount_operation_kill_process (GPid pid, ...@@ -61,7 +61,7 @@ _gtk_mount_operation_kill_process (GPid pid,
g_set_error (error, g_set_error (error,
G_IO_ERROR, G_IO_ERROR,
G_IO_ERROR_NOT_SUPPORTED, G_IO_ERROR_NOT_SUPPORTED,
_("Cannot kill process with pid %d. Operation is not implemented."), _("Cannot kill process with PID %d. Operation is not implemented."),
pid); pid);
return FALSE; return FALSE;
} }
......
...@@ -960,7 +960,7 @@ _gtk_mount_operation_kill_process (GPid pid, ...@@ -960,7 +960,7 @@ _gtk_mount_operation_kill_process (GPid pid,
g_set_error (error, g_set_error (error,
G_IO_ERROR, G_IO_ERROR,
g_io_error_from_errno (errsv), g_io_error_from_errno (errsv),
_("Cannot end process with pid %d: %s"), _("Cannot end process with PID %d: %s"),
pid, pid,
g_strerror (errsv)); g_strerror (errsv));
} }
......
...@@ -881,7 +881,7 @@ add_pid_to_process_list_store (GtkMountOperation *mount_operation, ...@@ -881,7 +881,7 @@ add_pid_to_process_list_store (GtkMountOperation *mount_operation,
&pixbuf); &pixbuf);
if (name == NULL) if (name == NULL)
name = g_strdup_printf (_("Unknown Application (pid %d)"), pid); name = g_strdup_printf (_("Unknown Application (PID %d)"), pid);
if (command_line == NULL) if (command_line == NULL)
command_line = g_strdup (""); command_line = g_strdup ("");
......
...@@ -842,7 +842,7 @@ check_id_or_name (GMarkupParseContext *context, ...@@ -842,7 +842,7 @@ check_id_or_name (GMarkupParseContext *context,
{ {
set_error (error, context, set_error (error, context,
G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE,
_("<%s> element has invalid id \"%s\""), attribute_values[i]); _("<%s> element has invalid ID \"%s\""), attribute_values[i]);
return FALSE; return FALSE;
} }
} }
......
...@@ -1683,7 +1683,7 @@ cups_request_printer_list_cb (GtkPrintBackendCups *cups_backend, ...@@ -1683,7 +1683,7 @@ cups_request_printer_list_cb (GtkPrintBackendCups *cups_backend,
N_("The door is open on printer '%s'."), N_("The door is open on printer '%s'."),
N_("Printer '%s' is low on paper."), N_("Printer '%s' is low on paper."),
N_("Printer '%s' is out of paper."), N_("Printer '%s' is out of paper."),
N_("Printer '%s' is currently off-line."), N_("Printer '%s' is currently offline."),
N_("There is a problem on printer '%s'.") N_("There is a problem on printer '%s'.")
}; };
gboolean is_paused = FALSE; gboolean is_paused = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment