<?php

/**
*------------------------------------------------------
* General begin
*------------------------------------------------------
*/
$lang['module_friendlyname'] = 'Vieraskirja';
$lang['module_example_stylesheet'] = 'Vieraskirja (oletus tyyli)';
$lang['module_example_stylesheet_intro'] = 'Oletus / esimerkki tyyli vieraskirja moduulia varten.
Moduli kirjoittaa taman p&auml;&auml;lle p&auml;ivityksen yhteydessa ja se tullaan poistamaan modulin poiston yhteydess&auml;.
Tee kopio jos haluat muuttaa
';
$lang['captcha'] = 'Captcha';
$lang['captcha_title'] = 'Sy&ouml;t&auml; kuvassa n&auml;kyv&auml; teksti';
$lang['captcha_failure_message'] = 'Virhe captcha tekstiss&auml;';
$lang['timespan'] = 'Minimi aikav&auml;li merkint&ouml;jen v&auml;lill&auml; (flood esto)';
$lang['err_invalid_mode'] = "Virhe: M&auml;&auml;rittelit virheellisen parametrin moodin. Oikea moodi on: %s.";
$lang['err_no_entry_id'] = "Virhe: id parametri puuttuu. Jos moodina on entry pit&auml;&auml; id-parametri olla m&auml;&auml;ritelty.";
$lang['err_entry_not_found'] = "Virhe: vieraskirjaa jonka id on %s ei l&ouml;ydy";
$lang['error_template_filenotfound'] = "Virhe: template-tiedostoa %s ei l&ouml;ydy!";

/**
*------------------------------------------------------
* General end
*------------------------------------------------------
*/

/**
*------------------------------------------------------
* Guestbook entry begin
*------------------------------------------------------
*/
$lang['id'] = 'Id';
$lang['date']     = 'P&auml;iv&auml;';
$lang['sender'] = 'L&auml;hett&auml;j&auml;';
$lang['email'] = 'E-mail';
$lang['country'] = 'Maa';
$lang['location'] = 'Sijainti';
$lang['homepage'] = 'Kotisivu';
$lang['message'] = 'Viestit';
$lang['posted'] = 'Kirjoitettu';
$lang['ip_addr']  = 'IP-osoite';
$lang['alength'] = 'Merkkej&auml; j&auml;ljell&auml;';
$lang['active'] = 'Aktiivinen';

/**
*------------------------------------------------------
* Guestbook entry end
*------------------------------------------------------
*/

/**
*------------------------------------------------------
* Admin related begin
*------------------------------------------------------
*/

$lang['access_denied'] = 'P&auml;&auml;sy kielletty';
$lang['restore_to_defaults'] = 'Palauta oletukset';
$lang['restore_to_defaults_warning'] = 'T&auml;m&auml; toiminto palauttaa templaten modulin oletukseksi. Kaikki muutokset h&auml;vi&auml;v&auml;t. Oletko varma?
';
$lang['addgait'] = 'Lis&auml;&auml; vieraskirja merkint&auml;';
$lang['postdate'] = 'P&auml;iv&auml;m&auml;&auml;r&auml;';
$lang['ativi'] = 'Aktivoi';
$lang['deakti'] = 'Passivoi';
$lang['title_mod_admin'] = 'Hallitse vieraskirjan merkint&ouml;j&auml;';
$lang['title_mod_template'] = 'Muokkaa sy&ouml;tt&ouml; pohjaa';
$lang['title_mod_settings'] = 'Vieraskirjan asetukset';

// end admin navigation
$lang['templatecontent'] = 'Pohjan sis&auml;lt&ouml;';


$lang['admin_template_modified_logmessage'] = 'Muokkaa vieraskirjan pohjaa';
$lang['admin_template_restored_logmessage'] = 'Vieraskirjan pohja palautettu oletusarvoonsa';
$lang['admin_entry_added_logmessage'] = 'Vieraskirjaan lis&auml;tty merkint&auml;';
$lang['admin_entry_modified_logmessage'] = 'Vieraskirjan merkint&auml;&auml; muokattu';
$lang['admin_entry_deleted_logmessage'] = 'Vieraskirjan merkint&auml; poistettu';
$lang['admin_entry_activated_logmessage'] = 'Vieraskirjan merkint&auml; aktivoitu';
$lang['admin_entry_deactivated_logmessage'] = 'Vieraskirjan merkint&auml; passivoitu';

$lang['admin_entry_message_nosender'] = 'Ole hyv&auml; ja t&auml;yt&auml; l&auml;hett&auml;j&auml;n nimi';
$lang['wrong_date_format'] = 'Date format should have the format: YYYY-MM-DD HH:MM:SS';
$lang['fieldnames'] = 'Kenttien nimet';

$lang['captcha_module_installed'] = 'Captcha moduli on asennettu';
$lang['captcha_module_not_installed'] = 'Captcha modulia ei ole asennettu';

$lang['smileys_module_installed'] = 'Hymi&ouml; moduli on asennettu';
$lang['smileys_module_not_installed'] = 'Hymi&ouml; modulia ei ole asennettu';

$lang['admin_wysiwyg_title'] = 'k&auml;yt&auml; WYSIWYG vieraskirjan sivulla kun lis&auml;t&auml;&auml;n viesti';
$lang['searchsmileys_title'] = 'k&auml;yt&auml; hymi&ouml;it&auml; hakutuloksissa';
$lang['save_settings'] = 'Tallenna asetukset';
$lang['badwords_title'] = 'Sensuroidut sanat';
$lang['badwords_replacement_title'] = 'Korvaa sensuroidut sanat merkeill&auml;';
$lang['admin_entries_per_page_title'] = 'Viestej&auml; sivulla (hallinta)';

/**
*------------------------------------------------------
*Admin related end
*------------------------------------------------------
*/

/**
*------------------------------------------------------
*Contenttype related begin
*------------------------------------------------------
*/
$lang['nummer'] = 'Numero';
$lang['postchar'] = 'Viestin maksimi pituus';
$lang['emailnot'] = 'Email ilmoitus';
$lang['sortasc'] = 'J&auml;rjest&auml; laskevaan j&auml;rjestykseen';
$lang['smile'] = 'Hymi&ouml;';
$lang['shmenow'] = 'N&auml;yt&auml; viesti v&auml;litt&ouml;m&auml;sti';
$lang['datefora'] = 'P&auml;iv&auml;yksen muoto';
$lang['lang'] = 'Lokalisaatio (esim. fi_FI)';
$lang['showaddform'] = 'N&auml;yt&auml; lis&auml;ys kaavake viestien alapuolella';
/**
*------------------------------------------------------
*Contenttype related end
*------------------------------------------------------
*/

/**
*------------------------------------------------------
*Visitor related begin
*------------------------------------------------------
*/
$lang['fabsend'] = 'Ole hyv&auml; ja t&auml;yt&auml; nimi';
$lang['fmessag'] = 'Ole hyv&auml; ja t&auml;yt&auml; viesti';
$lang['femail'] = 'Ole hyv&auml; ja t&auml;yt&auml; email osoite';
$lang['tolong'] = 'Viestin maksimi pituus ylitetty, ole hyv&auml; ja lyhenn&auml; viesti&auml;si';
$lang['toosoon'] = 'Kirjoitit viestin %s sekuntia sitten. Viestien kirjoituksen v&auml;li tulee olla %s sekuntia. Ole hyv&auml; ja odota hetki ja yrit&auml; uudelleen.';
$lang['fui'] = 'Viestisi on jo l&auml;hetetty';
$lang['badwords_message'] = "Seuraavat sanat ovat sensuroitu: %s";
$lang['showitnow'] = 'Viestisi on lis&auml;tty';
$lang['showitlater'] = 'Kiitos, viestisi tulee n&auml;kyville yll&auml;pit&auml;j&auml;n hyv&auml;ksytty&auml; sen';
$lang['msg_back'] = 'takaisin';

$lang['inam'] = 'Nimi';
$lang['imessag'] = 'Viestisi';
$lang['smessage'] = 'Viesti';
$lang['sdate'] = 'P&auml;iv&auml;ys';
$lang['ginsert'] = 'L&auml;het&auml;';
$lang['cancel'] = "Peruuta";
$lang['uhr'] = '&nbsp;';
$lang['e_mailnotibetr'] = 'Uusi merkint&auml; vieraskirjassa';
$lang['e_mailnotimessage'] = 'Vieraskirjassasi on uusi merkint&auml;';

$lang['neuein'] = 'Uusi viesti';
$lang['einerseit'] = 'Yksi sivu';
$lang['eintragauf'] = 'Viesti&auml;';
$lang['seitpage'] = 'Sivulla';
$lang['backzu'] = '<< Edellinen';
$lang['nextwei'] = 'Seuraava >>';

// Pagination
$lang['first_text'] = "&iota;&lsaquo;";
$lang['prev_text'] = "&lt; edellinen";
$lang['next_text'] = "seuraava &gt;";
$lang['last_text'] = "&rsaquo;&iota;";
$lang['pagination_of'] = "viestej&auml; yhteens&auml;";

$lang['title_table_smileys'] = 'Hymi&ouml;t';
/**
*------------------------------------------------------
*Visitor related end
*------------------------------------------------------
*/

/**
*------------------------------------------------------
*Confirmmessage begin
*------------------------------------------------------
*/
$lang['ativimes'] = 'Aktivoi t&auml;m&auml; viesti';
$lang['deaktimes'] = 'Passivoi t&auml;m&auml; viesti';
/**
*------------------------------------------------------
*Confirmmessage end
*------------------------------------------------------
*/

/**
*------------------------------------------------------
*Events begin
*------------------------------------------------------
*/
$lang['event_info_GuestbookEntryPosted']='Event triggered when a new Guestbook entry is added';
$lang['event_help_GuestbookEntryPosted']='<p>Event triggered when a new Guestbook entry is added.</p>
  	 <h4>Parameters</h4>
  	 <ul>
		<li><em>entry_id</em> - The entry id (int)</li>
		<li><em>entry_sender</em> - The name the sender entered (string)</li>
		<li><em>entry_email</em> - The E-mail address entered (string)</li>
		<li><em>entry_homepage</em> - The homepage entered (string)</li>
		<li><em>entry_message</em> - The message entered (string)</li>
		<li><em>entry_country</em> - The country entered (string)</li>
		<li><em>entry_location</em> - The location entered (string)</li>
		<li><em>entry_date</em> - The post date (string)</li>
		<li><em>entry_approved</em> - Whether the entry is activated at once, 1 if it is, -1 if not (int)</li>
  	 </ul>
';
$lang['event_info_GuestbookEntryDeleted'] = 'Merkitty viesti vieraskirjassa on poistettu';
$lang['event_help_GuestbookEntryDeleted'] = 'Merkitty viesti vieraskirjassa on poistettu
  	 <h4>Parameters</h4>
  	 <ul>
	  	 <li><em>id</em> - Viestin id (int)</li>
  	 </ul>
';
$lang['event_info_GuestbookEntryActivated'] = 'Merkitty viesti vieraskirjassa on aktivoitu';
$lang['event_help_GuestbookEntryActivated'] = 'Merkitty viesti vieraskirjassa on aktivoitu
  	 <h4>Parameters</h4>
  	 <ul>
  	 <li><em>entry_id</em> - The entry id (int)</li>
  	 </ul>
';
$lang['event_info_GuestbookEntryDeactivated'] = 'Merkitty viesti vieraskirjassa on merkitty ei-aktiiviseksi';
$lang['event_help_GuestbookEntryDeactivated'] = 'Merkitty viesti vieraskirjassa on merkitty ei-aktiiviseksi
  	 <h4>Parametrit</h4>
  	 <ul>
  	 <li><em>id</em> - Viestin id (int)</li>
  	 </ul>
';

/**
*------------------------------------------------------
*Events end
*------------------------------------------------------
*/


/**
*------------------------------------------------------
*Install & Uninstall & Help & Changelog begin
*------------------------------------------------------
*/
$lang['inposmes'] = 'Make sure to set the &quot;Modify Guestbook Entries&quot; permission for users who will be administering Guestbook items and &quot;Modify Guestbook Template&quot; permission for users who should be able to modify the guestbook template.<br />Attach the Stylesheet named &quot;%s&quot; to the template used to style the guestbook.';
$lang['moddescription'] = 'Hallitse vieraskirjan merkint&ouml;j&auml; ja pohjia';
$lang['uninstall_pre_message'] = '%s merkint&auml;&auml; poistetaan. Toimintoa ei voi perua!';
$lang['uninstall_pre_message_single'] = '1 merkint&auml; poistetaan. Toimintaa ei voi perua!';
$lang['postuninstall'] = 'Vieraskirja poistettu';




$lang['help'] = '<h3>What does it do?</h3>
<p>
    The guestbook module is a content module and a CMSMS tagmodule.
    It gives visitors the ability to leave a message, for example about how they like the website.
</p>

<h3>Security</h3>
<p>
    The user must belong to a group with the &#039;Modify Guestbook Entries&#039; permission in order to add, edit, or delete guestbook entries.<br />
    In order to be able to modify the guestbook entry template, &#039;Modify Guestbook Template&#039; permission is required.
</p>

<h3>How do I use it?</h3>
<p>
    The easiest way is to create a new page and change the &quot;Content Type&quot; to Guestbook. This way you will be able to set the guestbook options as page properties.<br />
    If you want to add the module after some other content you can insert it using the cms_module tag. This will insert the guestbook into your template/page anywhere you wish.<br /> 
    The code would look something like: <code>{cms_module module=&quot;Guestbook&quot; number=&quot;5&quot; shownow=&quot;1&quot; smiley=&quot;1&quot;}</code>
</p>

<h3>What Parameters Exist?</h3>
<ul>
<li><em>(optional)</em> textleng=&quot;1000&quot; - Sets how many characters can be entered. The default is 1000 characters. This parameter affects both server-side and client-side validation.</li>
<li><em>(optional)</em> number=&quot;10&quot; - Maximum number of entries on a page.  Leaving it empty will show 10 entries</li>
<li><em>(optional)</em> mailnoti=&quot;youremail@example.com&quot; - E-mail address to send a notification to if a message was submitted</li>
<li><em>(optional)</em> sortasc=&quot;1&quot; - Sort guestbook items in ascending date order (new posts will go to the end).</li>
<li><em>(optional)</em> dateformat=&quot;dateformat&quot; - Change the way the Date will display, it takes the MySQL format codes</li>
<li><em>(optional)</em> shownow=&quot;1&quot; - Shows messages right after submission, without approval by an admin.</li>
<li><em>(optional)</em> smiley=&quot;1&quot; - Translate text-based smileys to image smileys and shows the smiley table on the entry submit form.</li>
<li><em>(optional)</em> showaddform=&quot;1&quot; - Shows the insert form on the first page.  Replaces the &quot;New Guestbook Entry&quot; button.</li>
<li><em>(optional)</em> lang=&quot;xx_XX&quot; - Custom locale. For example lang=&quot;de_DE&quot;.</li>
</ul>

<h3>What Design potentials are there?</h3>
<p>
    The database template that is used to show a guestbook entry can be edited from the admin panel.
</p>
<p>
    An example stylesheet for the default database template is installed with the module.<br />
    The default stylesheet is deleted when the module is uninstalled and may be overwitten by an upgrade, so you might want to use a copy if you modify it.<br />
    Attach the stylesheet to the page template used.
</p>
<p>
    These variables are assigned in the guestbook entry template:
    <pre>
    date_title
    date
    time
    time_hour_title
    
    sender_title
    sender
    
    country
    
    e_mail_title
    e_mail
    
    homepage_title
    homepage
    
    message_title
    message
    </pre>
</p>
<p>
    In the module directory there&#039;s a directory called templates where all other templates are stored. You can modify these to fit your needs:
</p>

<strong>Administration</strong>
<p>
admin_entries_top.tpl -> The paganition and row names for the entry list<br/>
admin_entries_entry.tpl -> The list of guestbook entries<br/>
admin_entries_bottom.tpl -> The bottom of the guestbook entries admin form<br />
admin_entry.tpl-> The form used to insert or edit guestbook entries<br/>
admin_template_edit.tpl -> Used for editing the guestbook entry database template
</p>

<strong>Front End</strong>
<p>
newguest.tpl -> Button to go to the entry form<br/>
insertform.tpl -> The guestbook entry form<br />
smiley.tpl -> The smiley table<br/>
prevnext.tpl -> The buttons to go to the previous and next pages (will show only if entries do not fit on one page)<br/>
success_message.tpl-> The message that will show in place of the insert form after successful post submission.
</p>

<p>
    Inside the template directory there&#039;s a directory called db. This stores the guestbook entry template that is copied to the database during module installation and when the template is restored to default from the admin panel.<br />
    By default the file guestbook_entry-default.tpl is used, but if a (custom) file guestbook_entry.tpl is present, this file will be used instead.
</p>
<h3>Importing gastbuch messages</h3>
<p>
    If you have one of the beta &quot;gastbuch&quot; module versions installed and want to import your guestbook messages into the Guestbook module, a script is available to do so.
    Simply point your browser to the file gastbuch-import.php in the module folder (for example: http://www.example.com/cms/modules/Guestbook/gastbuch-import.php) before uninstalling the old gastbuch module.
</p>';
$lang['changelog'] = '<ul>
    <li>
	<p><b>Version 1.0</b></p>
	<ul>
	    <li>Renamed module (from gastbuch) to Guestbook to represent the projects natural language and follow CMS Made Simple module naming conventions.</li>
	    <li>Enabled handling (deleting, activating and deactivating) of multiple guestbook entries from the admin panel.</li>
	    <li>There are now seperate &#039;Modify Guestbook Entries&#039; and &#039;Modify Guestbook Template&#039; permissions.</li>
	    <li>A default/example stylesheet is installed (and uninstalled) with the module</li>
	    <li>The database template can be restored to default</li>
	    <li>Changed to tabbed navigation</li>
	    <li>Cleanup/rewrite of the guestbook(item) database template and the variables used in it.</li>
	    <li>Translated many variable names and code comments to english.
	    <li>Moved some admin and log messages to the language file.</li>
	    <li>Re-formatted source code for better readability.</li>
	</ul>
    </li>
    <li>
	<p><b>Version 0.9</b></p>
	<ul>
	    <li>The guestbook frontend now uses a database template (in stead of the showmessage*.tpl files) that can be modified from the admin panel</li>
	    <li>The dateformat parameter is now called dateformat (was dateform). Note: this means you will have to recreate any guestbook content pages or manually edit the tables cms_content and cms_content_props</li>
	    <li>New french translation and modified translations for other languages from the translation center</li>
	</ul>
    </li>
    <li>
	<p><b>Version 0.8</b></p>
	Fixed:
	<ul>
	    <li>not working smileys on gastbuch Content page in version 0.7</li>
	</ul>
	Cleanup:
	<ul>
	    <li>mainly removal of unneccary references to the global $gCms</li>
	    <li>renamed email textfield to e_mail (it was called betreff, probably an old subject field)</li>
	</ul>
	Improvements:
	<ul>
	    <li>newly submitted newsentry is shown in the list</li>
	    <li>brackets around submitter country are no longer shown if a country wasn&#039;t entered</li>
	    <li>translated the lang file to dutch (except for help and changelog)</li>
	    <li>the gastbuch module now makes use of translations entered in the translation center translations.cmsmadesimple.org</li>
	</ul>
	Changed:
	<ul>
	    <li>The template variable name for the country in showmessage.tpl is now called $country (was $countryshow in previous versions)</li>
	</ul>
    </li>
    <li>
	<p><b>Version 0.7</b></p>
	<ul>
	    <li>Added lang attribute to support multiple locales</li>
	    <li>Show insert form on the first page</li>
	    <li>Fixed bug with textlength javascript not working</li>
	    <li>Fixed a few minor bugs</li>
	</ul>
    <li>
	<p><b>Version 0.6</b></p>
	<ul>
	    <li>Redesigned source code for better readability</li>
	    <li>Added lang attribute to support multiple locales</li>
	    <li>Added showaddform parameter</li>
	    <li>Fixed bug with textlength javascript not working in case of &quot;Content&quot; content type</li>
	    <li>Merged vorzu and backzu templates into one</li>
	    <li>Added template success_message.tpl</li>
	    <li>Fixed a few minor bugs caused by mismatches in lang variable names</li>
	</ul>
    </li>
    <li>
	<p><b>Version 0.5</b></p>
	<p>
	    The guestbook was modified with better design and functions, for example: 
	    Template based Content, Spam protection for inserted e-mails, etc.
	</p>
    </li>
    <li>
	<p><b>Version 0.4</b></p>
	<p>The gastbuch module is now a new module</p>
    </li>
</ul>
';
$lang['utma'] = '156861353.1775561005.1147781292.1154025475.1154032229.17';
$lang['utmz'] = '156861353.1150026931.12.6.utmccn=(referral)|utmcsr=tsw.backspace.fi|utmcct=/svn2/index.php|utmcmd=referral';
?>