summaryrefslogtreecommitdiff
path: root/libgnome-desktop
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2018-08-14 14:33:06 +1200
committerRobert Ancell <robert.ancell@canonical.com>2018-08-14 14:33:06 +1200
commit01c8a2f112167cb2ddf914536051967f86d8dd87 (patch)
tree5db99c9f3395c7d4db57875d6b0cfce810e9216e /libgnome-desktop
parentb7b6da895c60cd3d719e3b9c29779c25429eb823 (diff)
downloadgnome-desktop-01c8a2f112167cb2ddf914536051967f86d8dd87.tar.gz
gnome-language: Fix docstring referring to wrong variable name
Diffstat (limited to 'libgnome-desktop')
-rw-r--r--libgnome-desktop/gnome-languages.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgnome-desktop/gnome-languages.c b/libgnome-desktop/gnome-languages.c
index 80cc3ae8..74959c55 100644
--- a/libgnome-desktop/gnome-languages.c
+++ b/libgnome-desktop/gnome-languages.c
@@ -1254,7 +1254,7 @@ gnome_get_all_locales (void)
* @code: an ISO 639 code string
* @translation: (allow-none): a locale string
*
- * Gets the language name for @code. If @locale is provided the
+ * Gets the language name for @code. If @translation is provided the
* returned string is translated accordingly.
*
* Return value: (transfer full): the language name. Caller takes
@@ -1278,7 +1278,7 @@ gnome_get_language_from_code (const char *code,
* @code: an ISO 3166 code string
* @translation: (allow-none): a locale string
*
- * Gets the country name for @code. If @locale is provided the
+ * Gets the country name for @code. If @translation is provided the
* returned string is translated accordingly.
*
* Return value: (transfer full): the country name. Caller takes