[gnome-desktop] gnome-language: Fix docstring referring to wrong variable name



commit 01c8a2f112167cb2ddf914536051967f86d8dd87
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Aug 14 14:33:06 2018 +1200

    gnome-language: Fix docstring referring to wrong variable name

 libgnome-desktop/gnome-languages.c | 4 ++--
 1 file 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


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