summaryrefslogtreecommitdiff
path: root/common/gvfsdnssdresolver.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-03-02 10:03:32 +0000
committerAlexander Larsson <alexl@src.gnome.org>2009-03-02 10:03:32 +0000
commitccca893c6923a9cdf32bfe07852001b5d0818fed (patch)
treede42999b7a6088b060e183b4182006b4c2adcf82 /common/gvfsdnssdresolver.c
parent5d8f559064d97d798b9012186ebb140791be5795 (diff)
downloadgvfs-ccca893c6923a9cdf32bfe07852001b5d0818fed.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: Add some translator comments. Patch from David Planella svn path=/trunk/; revision=2265
Diffstat (limited to 'common/gvfsdnssdresolver.c')
-rw-r--r--common/gvfsdnssdresolver.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/common/gvfsdnssdresolver.c b/common/gvfsdnssdresolver.c
index 38327502..5d451b57 100644
--- a/common/gvfsdnssdresolver.c
+++ b/common/gvfsdnssdresolver.c
@@ -1088,6 +1088,11 @@ service_resolver_changed (GVfsDnsSdResolver *resolver,
}
else
{
+ /* 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,
@@ -1108,6 +1113,12 @@ service_resolver_timed_out (ResolveData *data)
if (data->resolver->address != NULL)
{
/* special case if one of the required TXT records are missing */
+ /* 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,
@@ -1120,6 +1131,11 @@ service_resolver_timed_out (ResolveData *data)
}
else
{
+ /* 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,