gvfs r2271 - in trunk: . common



Author: alexl
Date: Mon Mar  2 12:02:44 2009
New Revision: 2271
URL: http://svn.gnome.org/viewvc/gvfs?rev=2271&view=rev

Log:
2009-03-02  Alexander Larsson  <alexl redhat com>

	Bug 569712 â Write comments for translators!

	* common/gvfsdnssdresolver.c (service_resolver_timed_out):
	Fix position of translator comments.




Modified:
   trunk/ChangeLog
   trunk/common/gvfsdnssdresolver.c

Modified: trunk/common/gvfsdnssdresolver.c
==============================================================================
--- trunk/common/gvfsdnssdresolver.c	(original)
+++ trunk/common/gvfsdnssdresolver.c	Mon Mar  2 12:02:44 2009
@@ -1088,14 +1088,14 @@
         }
       else
         {
+          g_simple_async_result_set_error (data->simple,
+                                           G_IO_ERROR,
+                                           G_IO_ERROR_FAILED,
           /* Translators:
            * - the first %s refers to the service type
            * - the second %s refers to the service name
            * - the third %s refers to the domain
            */
-          g_simple_async_result_set_error (data->simple,
-                                           G_IO_ERROR,
-                                           G_IO_ERROR_FAILED,
                                            _("Error resolving \"%s\" service \"%s\" on domain \"%s\""),
                                            data->resolver->service_type,
                                            data->resolver->service_name,
@@ -1113,15 +1113,15 @@
   if (data->resolver->address != NULL)
     {
       /* special case if one of the required TXT records are missing */
+      g_simple_async_result_set_error (data->simple,
+                                       G_IO_ERROR,
+                                       G_IO_ERROR_FAILED,
       /* Translators:
        * - the first %s refers to the service type
        * - the second %s refers to the service name
        * - the third %s refers to the domain
        * - the fourth %s refers to the required TXT keys
        */
-      g_simple_async_result_set_error (data->simple,
-                                       G_IO_ERROR,
-                                       G_IO_ERROR_FAILED,
                                        _("Error resolving \"%s\" service \"%s\" on domain \"%s\". "
                                          "One or more TXT records are missing. Keys required: \"%s\"."),
                                        data->resolver->service_type,
@@ -1131,14 +1131,14 @@
     }
   else
     {
+      g_simple_async_result_set_error (data->simple,
+                                       G_IO_ERROR,
+                                       G_IO_ERROR_TIMED_OUT,
       /* Translators:
        * - the first %s refers to the service type
        * - the second %s refers to the service name
        * - the third %s refers to the domain
        */
-      g_simple_async_result_set_error (data->simple,
-                                       G_IO_ERROR,
-                                       G_IO_ERROR_TIMED_OUT,
                                        _("Timed out resolving \"%s\" service \"%s\" on domain \"%s\""),
                                        data->resolver->service_type,
                                        data->resolver->service_name,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]