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
commit1a0e7d5a10f2140d05dd54531c4ba1f35768ab93 (patch)
tree65da4886c507b3bbc693521498c8520792e3ff80 /plugins/muc/language.lib.lua
parentc80aae6deea828a5178a9af5dc5981705ab46175 (diff)
downloadprosody-1a0e7d5a10f2140d05dd54531c4ba1f35768ab93.tar.gz
prosody-1a0e7d5a10f2140d05dd54531c4ba1f35768ab93.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