Add translator comments (#518578)
authorAlexander Larsson <alexl@redhat.com>
Mon, 25 Feb 2008 13:47:00 +0000 (13:47 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Mon, 25 Feb 2008 13:47:00 +0000 (13:47 +0000)
2008-02-25  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
        * ginputstream.c:
        * glocalfile.c:
        * gmount.c:
        * goutputstream.c:
Add translator comments (#518578)

svn path=/trunk/; revision=6589

gio/ChangeLog
gio/gfile.c
gio/ginputstream.c
gio/glocalfile.c
gio/gmount.c
gio/goutputstream.c

index 75e7759adacd26fdeb27b41f81f524d7a3d3f37c..0e5f50b38bc1cde34cc9a139e8a45ced418366bf 100644 (file)
@@ -1,3 +1,12 @@
+2008-02-25  Alexander Larsson  <alexl@redhat.com>
+
+        * gfile.c:
+        * ginputstream.c:
+        * glocalfile.c:
+        * gmount.c:
+        * goutputstream.c:
+       Add translator comments (#518578)
+
 2008-02-25  Alexander Larsson  <alexl@redhat.com>
 
         * gfile.c:     
index e2a7cdb18d0247c7c178350f7e878c0d90a9dd4b..0d1d610aa19a19c5ea7bfdf6b20ef1e876c22bd6 100644 (file)
@@ -1255,6 +1255,9 @@ g_file_find_enclosing_mount (GFile         *file,
   iface = G_FILE_GET_IFACE (file);
   if (iface->find_enclosing_mount == NULL)
     {
+
+      /* Translators: This is an error message when trying to the the
+         enclosing (user visible) mount of a file, but none exist. */
       g_set_error (error, G_IO_ERROR,
                   G_IO_ERROR_NOT_FOUND,
                   _("Containing mount does not exist"));
index 7e801a10fe3ffba12c3e342829196881e8655c11..fd48f7a8ed53bbe6c1811ffd1a580800bfc3a6fa 100644 (file)
@@ -897,6 +897,9 @@ g_input_stream_set_pending (GInputStream *stream, GError **error)
   
   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,
                   _("Stream has outstanding operation"));
       return FALSE;
index fd9b93114e6b358f3daf7d440ec19bb1f2b5f40f..3b15919de8bb19865e4469197a852fe51b821389 100644 (file)
@@ -1031,6 +1031,8 @@ g_local_file_find_enclosing_mount (GFile         *file,
 
   if (g_lstat (local->filename, &buf) != 0)
     {
+      /* Translators: This is an error message when trying to the the
+         enclosing (user visible) mount of a file, but none exist. */
       g_set_error (error, G_IO_ERROR,
                   G_IO_ERROR_NOT_FOUND,
                   _("Containing mount does not exist"));
@@ -1040,6 +1042,8 @@ g_local_file_find_enclosing_mount (GFile         *file,
   mountpoint = find_mountpoint_for (local->filename, buf.st_dev);
   if (mountpoint == NULL)
     {
+      /* Translators: This is an error message when trying to the the
+         enclosing (user visible) mount of a file, but none exist. */
       g_set_error (error, G_IO_ERROR,
                   G_IO_ERROR_NOT_FOUND,
                   _("Containing mount does not exist"));
@@ -1051,6 +1055,8 @@ g_local_file_find_enclosing_mount (GFile         *file,
   if (mount)
     return mount;
 
+  /* Translators: This is an error message when trying to the the
+     enclosing (user visible) mount of a file, but none exist. */
   g_set_error (error, G_IO_ERROR,
               G_IO_ERROR_NOT_FOUND,
               _("Containing mount does not exist"));
index 3b2a52444afdcc746e20837e9c18a2dad9d153db..7217f67370177c07068cdd6b64496aec6319d130 100644 (file)
@@ -335,6 +335,8 @@ g_mount_unmount (GMount *mount,
 
   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),
                                           callback, user_data,
                                           G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
@@ -407,6 +409,8 @@ g_mount_eject (GMount *mount,
 
   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),
                                           callback, user_data,
                                           G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
@@ -485,8 +489,10 @@ g_mount_remount (GMount *mount,
   iface = G_MOUNT_GET_IFACE (mount);
 
   if (iface->remount == NULL)
-    {
-      g_simple_async_report_error_in_idle (G_OBJECT (mount),
+    { 
+      /* Translators: This is an error message for mount objects
+         that don't implement remount. */
+     g_simple_async_report_error_in_idle (G_OBJECT (mount),
                                           callback, user_data,
                                           G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
                                           _("mount doesn't implement remount"));
index 8d2ae3a531847a59b5d0562f7917c5bccaac362a..e5b090a0449bb2d05406d4389f4e13908b782df8 100644 (file)
@@ -1079,6 +1079,9 @@ g_output_stream_set_pending (GOutputStream *stream,
   
   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,
                   _("Stream has outstanding operation"));
       return FALSE;