MUC: Improve labels of all config form items

This commit is contained in:
Matthew Wild 2018-07-13 13:22:40 +01:00
parent c80aae6dee
commit 1a0e7d5a10
11 changed files with 29 additions and 15 deletions

View file

@ -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