# Copyright (C) 1998 Michael J. Heins <mikeh@minivend.com>

# Author: Michael J. Heins <mikeh@minivend.com>
# Maintainer: Stefan Hornburg <racke@linuxia.net>

# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any
# later version.

# This file is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this file; see the file COPYING.  If not, write to the Free
# Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.

# Set the base for the Minimate pages
Variable MM_BASE config

# user tags
#include lib/MiniMate/mmtags.cfg

# localized strings
#include lib/MiniMate/locales/de_DE.cfg
#include lib/MiniMate/locales/fr_FR.cfg
#include lib/MiniMate/locales/it_IT.cfg
#include lib/MiniMate/locales/ru_RU.cfg

UserTag MM_initlocale Routine <<EOR
sub {
	package Vend::Config;

	sub parse_deflocparse {	
		# preserve locale information for MiniMate
		$C->{Locale_repository} = {} unless $C->{Locale_repository};
		foreach my $key (keys %$Global::Locale_repository)
		  {	
    	    $C->{Locale_repository}{"MM_$key"} = 
			         $Global::Locale_repository->{$key};
	      }	
	}
}
EOR

AddDirective MM_InitLocale deflocparse default

# instruct MiniVend to use this directory as alternative
# for searching MiniVend pages
TemplateDir lib/MiniMate/pages

Message Minimate is loaded.
