summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-03-02 12:02:44 +0000
committerAlexander Larsson <alexl@src.gnome.org>2009-03-02 12:02:44 +0000
commitf4ea83db5db63222155c03a8d17025e0b4a160b7 (patch)
treea5616385eb459436f15f1e169861a2921aa231d4 /common
parentc7cd1a60923bf06a509f8b81387c781764c957dc (diff)
downloadgvfs-f4ea83db5db63222155c03a8d17025e0b4a160b7.tar.gz
Bug 569712 – Write comments for translators!
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. svn path=/trunk/; revision=2271
Diffstat (limited to 'common')
-rw-r--r--common/gvfsdnssdresolver.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/common/gvfsdnssdresolver.c b/common/gvfsdnssdresolver.c
index 5d451b57..77940427 100644
--- a/common/gvfsdnssdresolver.c
+++ b/common/gvfsdnssdresolver.c
@@ -1088,14 +1088,14 @@ service_resolver_changed (GVfsDnsSdResolver *resolver,
}
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 @@ service_resolver_timed_out (ResolveData *data)
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 @@ service_resolver_timed_out (ResolveData *data)
}
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,