mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 07:38:54 +02:00
Fix a few typos in translator comments and documentation.
2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org> * gfile.c (g_file_find_enclosing_mount): * giomodule.c: * glocalfile.c (g_local_file_find_enclosing_mount): * goutputstream.c: Fix a few typos in translator comments and documentation. svn path=/trunk/; revision=6590
This commit is contained in:
committed by
Wouter Bolsterlee
parent
9edb46455c
commit
a9a0498007
@@ -1,3 +1,12 @@
|
|||||||
|
2008-02-25 Wouter Bolsterlee <wbolster@svn.gnome.org>
|
||||||
|
|
||||||
|
* gfile.c (g_file_find_enclosing_mount):
|
||||||
|
* giomodule.c:
|
||||||
|
* glocalfile.c (g_local_file_find_enclosing_mount):
|
||||||
|
* goutputstream.c:
|
||||||
|
|
||||||
|
Fix a few typos in translator comments and documentation.
|
||||||
|
|
||||||
2008-02-25 Alexander Larsson <alexl@redhat.com>
|
2008-02-25 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
* gfile.c:
|
* gfile.c:
|
||||||
|
@@ -1248,7 +1248,7 @@ g_file_find_enclosing_mount (GFile *file,
|
|||||||
GFileIface *iface;
|
GFileIface *iface;
|
||||||
|
|
||||||
g_return_val_if_fail (G_IS_FILE (file), NULL);
|
g_return_val_if_fail (G_IS_FILE (file), NULL);
|
||||||
|
|
||||||
if (g_cancellable_set_error_if_cancelled (cancellable, error))
|
if (g_cancellable_set_error_if_cancelled (cancellable, error))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
@@ -1256,14 +1256,14 @@ 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 the the
|
/* Translators: This is an error message when trying to find the
|
||||||
enclosing (user visible) mount of a file, but none exist. */
|
enclosing (user visible) mount of a file, but none exists. */
|
||||||
g_set_error (error, G_IO_ERROR,
|
g_set_error (error, G_IO_ERROR,
|
||||||
G_IO_ERROR_NOT_FOUND,
|
G_IO_ERROR_NOT_FOUND,
|
||||||
_("Containing mount does not exist"));
|
_("Containing mount does not exist"));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (* iface->find_enclosing_mount) (file, cancellable, error);
|
return (* iface->find_enclosing_mount) (file, cancellable, error);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
@@ -230,9 +230,9 @@ is_valid_module_name (const gchar *basename)
|
|||||||
/**
|
/**
|
||||||
* g_io_modules_load_all_in_directory:
|
* g_io_modules_load_all_in_directory:
|
||||||
* @dirname: pathname for a directory containing modules to load.
|
* @dirname: pathname for a directory containing modules to load.
|
||||||
*
|
*
|
||||||
* Loads all the modules in the the specified directory.
|
* Loads all the modules in the specified directory.
|
||||||
*
|
*
|
||||||
* Returns: a list of #GIOModules loaded from the directory,
|
* Returns: a list of #GIOModules loaded from the directory,
|
||||||
* All the modules are loaded into memory, if you want to
|
* All the modules are loaded into memory, if you want to
|
||||||
* unload them (enabling on-demand loading) you must call
|
* unload them (enabling on-demand loading) you must call
|
||||||
|
@@ -1031,8 +1031,8 @@ 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 the the
|
/* Translators: This is an error message when trying to find the
|
||||||
enclosing (user visible) mount of a file, but none exist. */
|
enclosing (user visible) mount of a file, but none exists. */
|
||||||
g_set_error (error, G_IO_ERROR,
|
g_set_error (error, G_IO_ERROR,
|
||||||
G_IO_ERROR_NOT_FOUND,
|
G_IO_ERROR_NOT_FOUND,
|
||||||
_("Containing mount does not exist"));
|
_("Containing mount does not exist"));
|
||||||
@@ -1042,8 +1042,8 @@ g_local_file_find_enclosing_mount (GFile *file,
|
|||||||
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 the the
|
/* Translators: This is an error message when trying to find the
|
||||||
enclosing (user visible) mount of a file, but none exist. */
|
enclosing (user visible) mount of a file, but none exists. */
|
||||||
g_set_error (error, G_IO_ERROR,
|
g_set_error (error, G_IO_ERROR,
|
||||||
G_IO_ERROR_NOT_FOUND,
|
G_IO_ERROR_NOT_FOUND,
|
||||||
_("Containing mount does not exist"));
|
_("Containing mount does not exist"));
|
||||||
@@ -1055,8 +1055,8 @@ 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 the the
|
/* Translators: This is an error message when trying to find the
|
||||||
enclosing (user visible) mount of a file, but none exist. */
|
enclosing (user visible) mount of a file, but none exists. */
|
||||||
g_set_error (error, G_IO_ERROR,
|
g_set_error (error, G_IO_ERROR,
|
||||||
G_IO_ERROR_NOT_FOUND,
|
G_IO_ERROR_NOT_FOUND,
|
||||||
_("Containing mount does not exist"));
|
_("Containing mount does not exist"));
|
||||||
|
@@ -157,7 +157,7 @@ g_output_stream_init (GOutputStream *stream)
|
|||||||
*
|
*
|
||||||
* On success, the number of bytes written to the stream is returned.
|
* On success, the number of bytes written to the stream is returned.
|
||||||
* It is not an error if this is not the same as the requested size, as it
|
* It is not an error if this is not the same as the requested size, as it
|
||||||
* can happen e.g. on a partial i/o error, or if the there is not enough
|
* can happen e.g. on a partial i/o error, or if there is not enough
|
||||||
* storage in the stream. All writes either block until at least one byte
|
* storage in the stream. All writes either block until at least one byte
|
||||||
* is written, so zero is never returned (unless @count is zero).
|
* is written, so zero is never returned (unless @count is zero).
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user