[virt-tools-list] [libosinfo 2/2] install-config: Document format of 'l10n-language'
Zeeshan Ali (Khattak)
zeeshanak at gnome.org
Tue Nov 27 15:03:33 UTC 2012
From: "Zeeshan Ali (Khattak)" <zeeshanak at gnome.org>
Co-author & reviewer: Zeeshan Ali (Khattak) <zeeshanak at gnome.org>
---
osinfo/osinfo_install_config.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/osinfo/osinfo_install_config.c b/osinfo/osinfo_install_config.c
index a2ee496..adbf9df 100644
--- a/osinfo/osinfo_install_config.c
+++ b/osinfo/osinfo_install_config.c
@@ -140,7 +140,18 @@ const gchar *osinfo_install_config_get_l10n_keyboard(OsinfoInstallConfig *config
OSINFO_INSTALL_CONFIG_PROP_L10N_KEYBOARD);
}
-
+/**
+ * osinfo_install_config_set_l10n_language:
+ *
+ * Sets the #OSINFO_INSTALL_CONFIG_PROP_L10N_LANGUAGE parameter.
+ *
+ * The expected format of this string is the gettext locale names standard:
+ *
+ * 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.
+ */
void osinfo_install_config_set_l10n_language(OsinfoInstallConfig *config,
const gchar *language)
{
--
1.8.0
More information about the virt-tools-list
mailing list