Fixup translator comments (#518578).

2008-02-25  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* gfile.c (g_file_find_enclosing_mount):
	* ginputstream.c (g_input_stream_set_pending):
	* glocalfile.c (g_local_file_find_enclosing_mount):
	* gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
	* goutputstream.c (g_output_stream_set_pending):

	Fixup translator comments (#518578).

svn path=/trunk/; revision=6591
This commit is contained in:
Wouter Bolsterlee 2008-02-25 14:31:19 +00:00 committed by Wouter Bolsterlee
parent a9a0498007
commit 8b294f1f9d
6 changed files with 46 additions and 34 deletions

View File

@ -1,3 +1,13 @@
2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
* gfile.c (g_file_find_enclosing_mount):
* ginputstream.c (g_input_stream_set_pending):
* glocalfile.c (g_local_file_find_enclosing_mount):
* gmount.c (g_mount_unmount), (g_mount_eject), (g_mount_remount):
* goutputstream.c (g_output_stream_set_pending):
Fixup translator comments (#518578).
2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org> 2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
* gfile.c (g_file_find_enclosing_mount): * gfile.c (g_file_find_enclosing_mount):

View File

@ -1256,10 +1256,9 @@ g_file_find_enclosing_mount (GFile *file,
if (iface->find_enclosing_mount == NULL) if (iface->find_enclosing_mount == NULL)
{ {
/* Translators: This is an error message when trying to find the g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND,
enclosing (user visible) mount of a file, but none exists. */ /* Translators: This is an error message when trying to find the
g_set_error (error, G_IO_ERROR, * enclosing (user visible) mount of a file, but none exists. */
G_IO_ERROR_NOT_FOUND,
_("Containing mount does not exist")); _("Containing mount does not exist"));
return NULL; return NULL;
} }

View File

@ -897,11 +897,11 @@ g_input_stream_set_pending (GInputStream *stream, GError **error)
if (stream->priv->pending) if (stream->priv->pending)
{ {
/* Translators: This is an error you get if there is already
an operation running against this stream when you try to
start one */
g_set_error (error, G_IO_ERROR, G_IO_ERROR_PENDING, g_set_error (error, G_IO_ERROR, G_IO_ERROR_PENDING,
_("Stream has outstanding operation")); /* Translators: This is an error you get if there is already an
* operation running against this stream when you try to start
* one */
_("Stream has outstanding operation"));
return FALSE; return FALSE;
} }

View File

@ -1031,22 +1031,22 @@ g_local_file_find_enclosing_mount (GFile *file,
if (g_lstat (local->filename, &buf) != 0) if (g_lstat (local->filename, &buf) != 0)
{ {
/* Translators: This is an error message when trying to find the g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND,
enclosing (user visible) mount of a file, but none exists. */ /* Translators: This is an error message when trying to
g_set_error (error, G_IO_ERROR, * find the enclosing (user visible) mount of a file, but
G_IO_ERROR_NOT_FOUND, * none exists. */
_("Containing mount does not exist")); _("Containing mount does not exist"));
return NULL; return NULL;
} }
mountpoint = find_mountpoint_for (local->filename, buf.st_dev); mountpoint = find_mountpoint_for (local->filename, buf.st_dev);
if (mountpoint == NULL) if (mountpoint == NULL)
{ {
/* Translators: This is an error message when trying to find the g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND,
enclosing (user visible) mount of a file, but none exists. */ /* Translators: This is an error message when trying to
g_set_error (error, G_IO_ERROR, * find the enclosing (user visible) mount of a file, but
G_IO_ERROR_NOT_FOUND, * none exists. */
_("Containing mount does not exist")); _("Containing mount does not exist"));
return NULL; return NULL;
} }
@ -1055,11 +1055,11 @@ g_local_file_find_enclosing_mount (GFile *file,
if (mount) if (mount)
return mount; return mount;
/* Translators: This is an error message when trying to find the g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND,
enclosing (user visible) mount of a file, but none exists. */ /* Translators: This is an error message when trying to find
g_set_error (error, G_IO_ERROR, * the enclosing (user visible) mount of a file, but none
G_IO_ERROR_NOT_FOUND, * exists. */
_("Containing mount does not exist")); _("Containing mount does not exist"));
return NULL; return NULL;
} }

View File

@ -335,13 +335,14 @@ g_mount_unmount (GMount *mount,
if (iface->unmount == NULL) if (iface->unmount == NULL)
{ {
/* Translators: This is an error message for mount objects
that don't implement unmount. */
g_simple_async_report_error_in_idle (G_OBJECT (mount), g_simple_async_report_error_in_idle (G_OBJECT (mount),
callback, user_data, callback, user_data,
G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
/* Translators: This is an error
* message for mount objects that
* don't implement unmount. */
_("mount doesn't implement unmount")); _("mount doesn't implement unmount"));
return; return;
} }
@ -409,11 +410,12 @@ g_mount_eject (GMount *mount,
if (iface->eject == NULL) if (iface->eject == NULL)
{ {
/* Translators: This is an error message for mount objects
that don't implement eject. */
g_simple_async_report_error_in_idle (G_OBJECT (mount), g_simple_async_report_error_in_idle (G_OBJECT (mount),
callback, user_data, callback, user_data,
G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
/* Translators: This is an error
* message for mount objects that
* don't implement eject. */
_("mount doesn't implement eject")); _("mount doesn't implement eject"));
return; return;
@ -490,11 +492,12 @@ g_mount_remount (GMount *mount,
if (iface->remount == NULL) if (iface->remount == NULL)
{ {
/* Translators: This is an error message for mount objects
that don't implement remount. */
g_simple_async_report_error_in_idle (G_OBJECT (mount), g_simple_async_report_error_in_idle (G_OBJECT (mount),
callback, user_data, callback, user_data,
G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
/* Translators: This is an error
* message for mount objects that
* don't implement remount. */
_("mount doesn't implement remount")); _("mount doesn't implement remount"));
return; return;

View File

@ -1079,11 +1079,11 @@ g_output_stream_set_pending (GOutputStream *stream,
if (stream->priv->pending) if (stream->priv->pending)
{ {
/* Translators: This is an error you get if there is already
an operation running against this stream when you try to
start one */
g_set_error (error, G_IO_ERROR, G_IO_ERROR_PENDING, g_set_error (error, G_IO_ERROR, G_IO_ERROR_PENDING,
_("Stream has outstanding operation")); /* Translators: This is an error you get if there is
* already an operation running against this stream when
* you try to start one */
_("Stream has outstanding operation"));
return FALSE; return FALSE;
} }