[Libosinfo] [PATCH 2/5] install-config: Correct docs about lang string format

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Fri Dec 28 23:14:03 UTC 2012


From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>

We don't really support variants in language/keyboard specifier strings
so lets not claim its support in the docs.
---
 osinfo/osinfo_install_config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/osinfo/osinfo_install_config.c b/osinfo/osinfo_install_config.c
index 6b6917b..46d4999 100644
--- a/osinfo/osinfo_install_config.c
+++ b/osinfo/osinfo_install_config.c
@@ -277,8 +277,8 @@ const gchar *osinfo_install_config_get_l10n_keyboard(OsinfoInstallConfig *config
  *
  * https://www.gnu.org/savannah-checkouts/gnu/gettext/manual/html_node/Locale-Names.html
  *
- * Both encoding and variant are accepted but optional. For example, both 'pt_BR'
- * and 'pt_BR.utf8' are accepted as the language codes for Brazilian Portuguese.
+ * Encoding is accepted but option while variant is not yet supported. For example, both
+ * 'pt_BR' and 'pt_BR.utf8' are accepted as the language codes for Brazilian Portuguese.
  */
 void osinfo_install_config_set_l10n_language(OsinfoInstallConfig *config,
                                              const gchar *language)
-- 
1.8.0.2




More information about the Libosinfo mailing list