Skip to content

Commit

Permalink
mod_vjud: instructions text corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
maranda committed Aug 5, 2018
1 parent a5826d1 commit 93fd9dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/mod_vjud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ end
local function search_form_layout()
return dataforms_new{
title = "Directory Search";
instructions = "This form let's you browse the directory, please provide at least one of the following information";
instructions = "This form lets you browse the directory, please provide at least one of the following information";

{ name = "FORM_TYPE", type = "hidden", value = "jabber:iq:search" };
{ name = "nickname", type = "text-single", label = "Nickname" };
Expand Down Expand Up @@ -64,7 +64,7 @@ local function search_get_handler(event)
local origin, stanza = event.origin, event.stanza
local reply = st.reply(stanza)
reply:query("jabber:iq:search")
:tag("instructions"):text("To use this User Directory, your client requires to support Data Forms (XEP-0004)"):up()
:tag("instructions"):text("To use this User Directory, your client is required to support Data Forms (XEP-0004)"):up()
:add_child(search_form_layout():form())

origin.send(reply) ; return true
Expand Down

0 comments on commit 93fd9dd

Please # to comment.