Mercurial > prosody-hg
diff plugins/muc/language.lib.lua @ 9034:1c709e3d2e5e
MUC: Improve labels of all config form items
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 13 Jul 2018 13:22:40 +0100 |
| parents | 9c90cd2fc4c3 |
| children | 173c0e16e704 |
line wrap: on
line diff
--- a/plugins/muc/language.lib.lua Fri Jul 13 04:52:43 2018 +0200 +++ b/plugins/muc/language.lib.lua Fri Jul 13 13:22:40 2018 +0100 @@ -29,8 +29,9 @@ local function add_form_option(event) table.insert(event.form, { name = "muc#roomconfig_lang"; - label = "Language tag for Room (e.g. 'en', 'de', 'fr' etc.)"; + label = "Language tag for room (e.g. 'en', 'de', 'fr' etc.)"; type = "text-single"; + desc = "Indicate the primary language spoken in this room"; value = get_language(event.room) or ""; }); end
