aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/language.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-07-13 13:22:40 +0100
committerMatthew Wild <mwild1@gmail.com>2018-07-13 13:22:40 +0100
commit995815c6d323a41f44cc6bd2fa76fa9c248c105a (patch)
tree65da4886c507b3bbc693521498c8520792e3ff80 /plugins/muc/language.lib.lua
parent7afeb9baf491f9f3013b9356b3686bfb8192095a (diff)
downloadprosody-995815c6d323a41f44cc6bd2fa76fa9c248c105a.tar.gz
prosody-995815c6d323a41f44cc6bd2fa76fa9c248c105a.zip
MUC: Improve labels of all config form items
Diffstat (limited to 'plugins/muc/language.lib.lua')
-rw-r--r--plugins/muc/language.lib.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/muc/language.lib.lua b/plugins/muc/language.lib.lua
index ae9bcfed..1c4731d7 100644
--- a/plugins/muc/language.lib.lua
+++ b/plugins/muc/language.lib.lua
@@ -29,8 +29,9 @@ end
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