#!/bin/sh

#turn off auto expansion
set -f

_()
{
LANG=${in_language%%;*}.utf8 gettext "alterator-mailman" "$1"
}


. /usr/share/alterator/build/backend3.sh

on_message()
{
	case "$in_action" in
		#information for renderer
		template)
			echo '('
			echo 'template "form"'
			echo 'url "mailman.html"'
			echo 'help "mailman.html"'
			echo ')'
			;;
		info)
			echo '('
			printf ' title "%s"' "$(_ "Mailing list server")"
			printf ' description "%s"' "$(_ "Mailman server Administration")"
			echo ')'
			;;
		*)
			echo '#f'
			;;
	esac
}

message_loop
