<?php
$lang['addalbum'] = 'Legg til album';
$lang['error_nonamegiven'] = 'Du m&aring; sette et navn p&aring; ditt nye album.';
$lang['albumadded'] = 'Albumet ble lagt til. Bilder kan legges til albumet nedenfor.';
$lang['albumdeleted'] = 'Albumet ble fjernet fra databasen.';
$lang['noalbumstext'] = 'Du har enn&aring; ikke laget noe fotoalbum i denne kategorien.';
$lang['addpicture'] = 'Legg til bilder';
$lang['addpicturew'] = 'Add pictures<br />If this is the first time this folder has been opened for/by Album, please wait till all thumbs are created to select them, else you will get large images instead';
$lang['addtemplate'] = 'Legg til mal';
$lang['albumidtext'] = 'ID&#039;er';
$lang['albumnametext'] = 'Album';
$lang['albumthumbtext'] = 'Miniatyrbilde';
$lang['albumnumpicturestext'] = 'Antall bilder';
$lang['albumreordertext'] = 'Omsorter';
$lang['albumactionstext'] = 'Handlinger';
$lang['Albums'] = 'Album';
$lang['areyousure'] = 'Er du sikker ?';
$lang['browsepictures'] = 'Endre';
$lang['cancel'] = 'Avbryt';
$lang['changecomment'] = 'Rediger kommentar';
$lang['changepicture'] = 'Endre bilde';
$lang['changethumb'] = 'Endre miniatyrbilde';
$lang['changethumbnail'] = 'Endre miniatyrbilde';
$lang['columns'] = 'Max antall miniatyrbilde kolonner (0 er ubegrenset. Kun brukt i tabell malene)';
$lang['comment'] = 'Kommentar';
$lang['currenttemplate'] = 'Album liste mal';
$lang['currentpicture'] = 'Gjeldende bilde';
$lang['currentthumbnail'] = 'Gjeldende miniatyrbilde';
$lang['deletealbum'] = 'Slett';
$lang['deletepicture'] = 'Slett';
$lang['Help'] = 'Hjelp';
$lang['modify'] = 'Endre';
$lang['moveleft'] = 'Flytt venstre';
$lang['moveright'] = 'Flytt h&oslash;yre';
$lang['multiplealbumtemplate'] = 'Multiple album mal';
$lang['name'] = 'Navn';
$lang['nocomment'] = '(ingen kommentar)';
$lang['nothumbnail'] = '(ingen miniatyrbilde)';
$lang['picture'] = 'Bilde';
$lang['parentdir'] = '(Foreldrekatalog)';
$lang['pictures'] = 'bilder';
$lang['nopicturetext'] = 'Det er ingen bilder i dette album.';
$lang['Picture'] = 'Bilde';
$lang['Pictures'] = 'Bilder';
$lang['Properties'] = 'Egenskaper';
$lang['propertiesupdated'] = 'Album egenskapene ble lagret.';
$lang['resetthumb'] = 'Tilbakestill miniatyrbilde';
$lang['return'] = 'Tilbake';
$lang['rows'] = 'Maksimalt antall miniatyrbilde rader (0 er ubegrenset. Kun brukt i tabell malene)';
$lang['useinlinelinks'] = '<b>Bruk Inline Lenker</b> - Dette vil gj&oslash;re at innholdet p&aring; siden alltid vil vises med Album taggen overfor alle bilder. I tillegg <strong>vil dette gj&oslash;re at Album fungerer korrekt n&aring;r det plasseres i ekstra side innholds blokker</strong>. <strong>OBS: &Aring; sl&aring; p&aring; denne funksjon vil sl&aring; av Album sin bruk av vakre URL&#039;er.</strong>';
$lang['selectall'] = 'Velg alle';
$lang['selectpicture'] = 'Bruk dette bildet';
$lang['selectthumb'] = 'Bruk miniatyrbilde av dette bildet';
$lang['submit'] = 'Lagre';
$lang['file_templates_help'] = '<b>Dette er maler du m&aring; installere i databasen f&oslash;r du kan benytte dem.</b>';
$lang['template'] = 'Mal';
$lang['deletetemplate'] = 'Slett mal';
$lang['Template'] = 'Mal';
$lang['templatenametext'] = 'Maler';
$lang['Templates'] = 'Maler';
$lang['edittemplate'] = 'Rediger mal';
$lang['templatesaved'] = 'Malen ble lagret i databasen.';
$lang['errortemplatenameexists'] = 'En mal med det navnet eksisterer allerede, vennligst velg et annet navn.';
$lang['error_filenotfound_defaulttemplate'] = 'Mal-filen for denne malen ble ikke funnet.';
$lang['thumbnail'] = 'Miniatyrbilde';
$lang['title'] = 'Tittel';
$lang['uploadpicture'] = 'Last opp et bilde';
$lang['upload'] = 'Last opp';
$lang['view'] = 'Vis';
$lang['options'] = 'Valg';
$lang['optionsupdated'] = 'Valgene ble oppdatert.';
$lang['defaulttemplate'] = 'Standard mal';
$lang['file_templates'] = 'Fil-maler(kontra database-maler)';
$lang['filename'] = 'Fil navn';
$lang['importtemplate'] = 'Importer mal';
$lang['newtemplate'] = 'Navn p&aring; den nye malen';
$lang['defaultalbumpage'] = 'Standard side som inneholder Album. Denne siden m&aring; v&aelig;re en Album-type side eller inneholde Album taggen. N&oslash;dvendig om du bruker recently_updated muligheten.';
$lang['album_comment_updated'] = 'Album kommentaren ble oppdatert.';
$lang['picture_comment_updated'] = 'Bilde kommentaren ble oppdatert.';
$lang['template_deleted'] = 'Malen ble slettet fra databasen.';
$lang['error_empty_template'] = 'Feil: Malen med navn &quot;%s&quot; som dette Album er satt til &aring; bruke eksisterer ikke. Vennligst g&aring; til Album Admin Panelet og tilknytt en annen mal til dette Album.';
$lang['addcategory'] = 'Legg til kategori';
$lang['categories'] = 'Kategorier';
$lang['nocategories'] = 'Du har ikke lagt til noen kategorier enn&aring;.';
$lang['categorynametext'] = 'Kategori navn';
$lang['categoryidtext'] = 'Kategori id';
$lang['categoryreordertext'] = 'Omsorter kategori';
$lang['categoryactionstext'] = 'Hendelser';
$lang['categoryadded'] = 'Kategorien ble lagt til databasen.';
$lang['categorymoved'] = 'Kategorien ble flyttet.';
$lang['categoryupdated'] = 'Kategorien ble oppdatert.';
$lang['editcategory'] = 'Rediger Kategori';
$lang['categorydeleted'] = 'Kategorien ble slettet.';
$lang['error_nocategorynamegiven'] = 'Du m&aring; gi din Kategori et navn.';
$lang['category_listings'] = 'Kategori liste';
$lang['album_updated'] = 'Albumet ble oppdatert.';
$lang['uncategorized'] = 'Ukategoriserte Album';
$lang['albummoved'] = 'Albumet ble flyttet.';
$lang['msg_import_good'] = 'XML Import Successful';
$lang['info_newname'] = '<em>(optional)</em> specify a new template name.';
$lang['lbl_newname'] = 'New template name';
$lang['error_templateexists'] = 'An album template by the same name already exists';
$lang['error_badpermissions'] = 'The directory permissions are not sufficient to be able to import XML templates';
$lang['error_badxmlformat'] = 'The XML file uploaded is not in the accepted format (or other problem with the file)';
$lang['error_badupload'] = 'An error occurred uploading the file';
$lang['error_baduploadtype'] = 'The uploaded file is not the proper type';
$lang['error_noupload'] = 'No file was uploaded';
$lang['error_param'] = 'Missing Parameter';
$lang['lbl_select_file'] = 'Select XML File';
$lang['lbl_import'] = 'Import Album Template from XML';
$lang['exporttemplate'] = 'Export to XML';
$lang['template_metadata'] = 'Album Template Metadata';
$lang['Metadata'] = 'Metadata';
$lang['canceled'] = 'Operation canceled';
$lang['submit_edit_next'] = 'Submit &amp; Edit Next';
$lang['friendlyname'] = 'Fotoalbum';
$lang['postinstall'] = 'Album er n&aring; installert. 
<p><b>Note: Du m&aring; kanskje endre Fil Opprettelse masken (umask): fra &quot;022&quot; til &quot;002&quot; for &aring; ikke f&aring; &#039;403 forbidden&#039; feil n&aring;r du fors&oslash;ker &aring; se p&aring; genererte miniatyrbilde p&aring; ditt nettsted.</b></p>';
$lang['postuninstall'] = 'Album er n&aring; fjernet fra databasen.';
$lang['uninstalled'] = 'Modulen er avinstallert';
$lang['installed'] = 'Utgave %s er installert';
$lang['upgraded'] = 'Modul oppgradert i utgave %s.';
$lang['error_nofilesuploaded'] = 'Det oppstod en feil ved opplasting. Vennligst sjekk at mappen er skrivbar.';
$lang['error'] = 'Feil!';
$lang['next_picture'] = 'Neste bilde';
$lang['admindescription'] = 'Album modulen tillater deg &aring; enkelt vise fotoalbum p&aring; din nettside.';
$lang['accessdenied'] = 'Ingen tilgang';
$lang['query_failed'] = 'En sp&oslash;rring feilet. Fors&oslash;k &aring; g&aring; til &quot;Innstillinger&quot; fliken og klikk &quot;Kj&oslash;r oppgraderingskript&quot; lenken. Om dette ikke fungerer, vennligst meld inn feil/bug.';
$lang['changelog'] = '<ul><li>Versjon 0.0.1. 5 April 2006. F&oslash;rste utgave. ???</li></ul>';
$lang['help_albums'] = 'En liste med en eller flere (separert med komma) IDer av Album &aring; vise.';
$lang['max_image_size'] = '<b>Maksimum bildest&oslash;rrelse:</b> Ethvert bilde st&oslash;rre enn dette vil automagisk bli nedskalert (om malen er konfigurert til &aring; gj&oslash;re dette) ved bruk av Javascript.';
$lang['help_sortdesc'] = 'Sorter album i synkende i stedet for stigende retning.';
$lang['help_sortpicturesdesc'] = 'Sorter bi8lder i synkende rekkef&oslash;lge i stedet for stigende. Dette medf&oslash;rer at nye bilder som legges til et album listes f&oslash;rst.<p>Eksempel p&aring; &aring; vise bilder i synkende rekkef&oslash;lge:</p><pre>{cms_module module=&#039;album&#039; sortpicturesdesc=&#039;true&#039;}</pre>';
$lang['templatenameexists'] = 'Feil: En mal med det navnet eksisterer allerede. Vennligst velg et annet navn.';
$lang['templateimported'] = 'Malen ble importert til databasen og er n&aring; klar til bruk.';
$lang['help'] = '<h3>What Does This Do?</h3>
<p>This module can be used to manage picture gallery</p>
<h3>How Do I Use It</h3>
<h4>First go to Content > Photo Albums and create Albums and add pictures to them.</h4><br />
<p>To show all albums on a page, just put this code in your page content:</p>
<p><code>{Album}</code></p>
<p><strong>NOTE:</strong> You have to put this in the Pages metadata box in Options tab:</p>
<p><code>{Album action=&#039;metadata&#039;}</code></p>
<p>If you don&#039;t attach the style sheet to the page add this to the metadata box also:</p>
<p><code>{cms_stylesheet name=&#039;Album Module&#039;}</code></p>
<p>If you only want to show albums from a specific category then use use code like this:</p>
<p><code>{Album categories=&#039;1&#039;}</code></p>
<p>The code above allows you to show in a page albums who belong to a category whose ID is 1.</p>
<p>You can also show multiple categories like this:</p>
<p><code>{Album categories=&#039;1,3&#039;}</code></p>
<p>If you only want certain albums shown then use code like this, you have to have at least 1 &quot;name&quot; in this call, this will show in &quot;albums&quot; mode:</p>
<p><code>{Album albums=&#039;one,3&#039;}</code></p>
<p>The code above allows you to show in a page albums whose names and IDs are &#039;one&#039; and &#039;3&#039; for example. If you do not provide paramater &quot;albums&quot;, it will show all the albums.</p>
<p>If you only want 1 specific album shown then use code like this, &quot;name&quot; of album only, this will show in &quot;gallery&quot; mode:</p>
<p><code>{Album albums=&#039;album name&#039;}</code></p>
<p>The code above allows you to show in a page an album named &quot;album name&quot; for example.</p>
<p>If you only want to limit the number of thumbs that show in &quot;gallery&quot; mode:</p>
<p><code>{Album number=&#039;5&#039;}</code></p>
<p>The code above allows you to show only 5 thumbs of the album at a time with pagination if the gallery has more than the specified number.</p>
<h3>Templates</h3>
<p><b>Templates now have 2 parts to them:</b></p>
<p>(1) The normal Template: edit area where you can configure the loops of for each etc. wrapping them in your choice of DIVs, UL, LI, A links, etc.</p>
<p>(2) The new <b>metadata</b> edit area, this is where you call the:<br />
&amp;lt;script type=&quot;text/javascript&quot; src=&quot;modules/Album/templates/db/js/jquery.js&quot;&amp;gt;&amp;lt;/script&amp;gt;<br />
&amp;lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;modules/Album/templates/db/default/default.css&quot; media=&quot;screen&quot; /&amp;gt;</p>
<pre>
    &amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
    $(function() {
        $(&#039;#jQligallery a&#039;).lightBox();
    });
    &amp;lt;/script&amp;gt;
</pre>
<p>With out having to use {literal} {/literal} around the function call.</p>
<h4>How to change the links and text in the picture popup for the default Album template</h4>
<p>You can change the text in the default Album popup by editing: modules/Album/templates/db/js/thickbox.js (this is not ideal for upgradability, but it seems to work fine)</p>

<h3>Troubleshooting</h3>
<p>Talk to your developer about using ImageMagick instead of GD, it performs better.</p>
<h4>Fix large gap problems caused by clear:both:</h4>
<p>Short answer, add this to your Stylesheet:</p>
<pre>
#main {
float: left;
}
</pre>
<h4>Thumbnails not working</h4>
<p><b>Note: You may have to change File Creation Mask (umask): from &quot;022&quot; to &quot;002&quot; to keep from getting 403 forbidden errors when trying to view generated thumbnails on your webhost.</b></p>
<h4>Thumbnails don&#039;t line up correctly:</h4>
<p>You may need to add a height: parameter to the Album Module style sheet, find the tallest one and set &#039;.picturelist .thumb&#039; to that height then they should all float correctly.</p>

<h4>Increasing the size of the thumbnails:</h4>
<p>Look in Site Admin > Global Settings for Thumbnail Width, Thumbnail Height this will find the biggest number between the 2 and set it to your size, if you generate any thumbnails before setting this you need to delete those thumbnails and make them again.</p>

 <h3>Parameters:</h3>
<ul>
  <li><em>(optional)</em> albums=&quot;1,name of album&quot; - A list of one or more (separated by commas) IDs/names of Albums to be shown, requires at least one &quot;name&quot;.</li>
  <li><em>(optional)</em> number=&quot;5&quot; - Limit the number of thumbnails shown in &#039;Gallery&#039; mode.</li>
  <li><em>(optional)</em> sortdesc=&quot;true&quot; - Sort albums in descending order rather than ascending.</li>
  <li><em>(optional)</em> sortpicturesdesc=&quot;false&quot; - Sort pictures in descending order rather than ascending. This will make new pictues that are added to an album to be listed first.
  <p>Example to show pictures in reverse order: <code>{Album sortpicturesdesc=&#039;true&#039;}</code></p>
  </li> 

  <li>
  <em>(optional)</em> detailpage=&quot;pagealias&quot; - 
  <p>Page to display Albums in.  This can either be a page alias or an id. Used to allow Album pictures  to be displayed in a different page from the album list.<br /> 
  Example of use: <code>{Album detailpage=&#039;album&#039;}</code></p>
  </li>
  <li><em>(optional)</em> action=&quot;default&quot; -  
  <h4>Show list of recently added pictures:</h4>	 
  <p>You can show a list of added pictures calling Album like this: <code>{Album action=&#039;recently_updated&#039;}</code></p>
  </li>
  <li><em>(optional) </em> number=&quot;10&quot; -  
  <h4>Show a certain number of recently updated pictures:</h4>
  <p>You can show a list of a certain number of pictures by calling Album like this: <code>{Album action=&#039;recently_updated&#039; number=&#039;15&#039;}</code></p>
  <p>If you want to show recent pictures from a specific Album (e.g. album id 1) you can call Album like this: <code>{Album albums=&#039;1&#039; action=&#039;recently_updated&#039; number=&#039;2&#039;}</code></p>
  <p><b>Important</b>: You must choose a &quot;<b>Default page that contains Album.</b>&quot; in order to use this feature.</p>
  </li>
  <li>
  <h4>Show random image:</h4>
  <p>First it counts all rows in the database (accounting the included Albums), finds a random number between &#039;0&#039; and the maximum number of rows. With this number the database pointer is being set to a specific row and the data is retrieved from the table and returned.</p>
  <p>How do I use it?<br />Just insert the tag into your template/page like: <code>{Album action=&#039;random_image&#039;}</code></p>
  <p>To show a certain number of random images call it like this: <code>{Album action=&#039;random_image&#039; number=&#039;10&#039;}</code></p>
  <p>What parameters the random_image action take?</p>
  <ul>	
    <li><em>(optional)</em> <tt>imagesurl</tt> - Album directory, default is: &#039;root_url&#039;/uploads/images</li>	
    <li><em>(optional)</em> <tt>albums</tt> - comma, space, dash or semicolon separated list of albums to show images of.</li>  
    <li><em>(optional)</em> <tt>border</tt> - stylesheetstyled border ala border=&#039;5px&#039;</li>  
    <li><em>(optional)</em> <tt>picturename</tt> - picturename = True/False, sets a title with the picture name</li>
  </ul>
  <p><b>Note: These parameters are only available when calling Album with {Album action=&#039;random_image&#039;}</b></p>
  <p>so for example: <code>{Album action=&#039;random_image&#039; albums=&#039;1,3,4,6&#039; border=&#039;3px&#039; picturename=&#039;True&#039;}</code></p>
  <p>Random Image Author: Frank Prins</p>
  </li>
</ul>
  <h3>Support</h3>
  <p>As per the GPL, this software is provided as-is. Please read the text of the license for the full disclaimer.</p>
  <h3>Copyright and License</h3>
  <p>Copyright &amp;copy; 2006, dam. All Rights Are Reserved.</p>
  <p>This module has been released under the 
    <a target="_blank" href="http://www.gnu.org/licenses/licenses.html#GPL">GNU Public License</a>. You must agree to this license before using the module.
  </p>';
$lang['help_template'] = '<h3>Important tips for modifying templates</h3>
<h4>Enable debug mode!</h4>
<p>Unless you enable debug mode, important errors about undefined template variables will be hidden, making debugging templates very difficult!</p>
<p>You can enable debug mode by opening config.php and setting:</p>
<code>$config[&#039;debug&#039;] = true;<code>

<h3>Album list</h3>

<p>You can use smarty tag {$albums} which is an array. Each of its elements is one of the selected albums.
The structure of an album is described in next chapter.
To show the albums, use loop <code>{foreach from=$albums item=album}{/foreach}</code></p>
<h3>Album</h3>
<p>If there is only one album, or if a specific album is selected, you can use tag {$album}. It allows to access following items :</p>
<ul>
	<li>{$album->name} : name</li>
	<li>{$album->comment} : comment</li>
	<li>{$album->columns} : column number</li>
	<li>{$album->rows} : row number</li>
	<li>{$album->thumbnail} : adress (url) of thumbnail</li>
	<li>{$album->link} : link to album</li>
	<li>{$album->picturecount} : number of pictures of an album</li>
</ul>
<h3>Image list</h3>
<p>If an album is selected, you can use tag {$pictures} which is an array of arrays : it contains rows that contain pictures.
The structure of an image is described in following chapter.
To show image list, use the following loop :
<code>{foreach from=$pictures item=picturesrow}
	{foreach from=$picturesrow item=onepicture}
	{/foreach}
{/foreach}</code></p>
<h3>Picture</h3>
<p>If a picture is selected, you can use tag  {$picture}. It is automatically set to first picture of album if no picture is selected.</p>
<ul>
	<li>{$picture->name} : name</li>
	<li>{$picture->comment} : comment</li>
	<li>{$picture->comment2} : comment2</li>
	<li>{$picture->comment3} : comment3</li>
	<li>{$picture->thumbnail} : adress (url) of thumbnail</li>
	<li>{$picture->picture} : adress (url) of picture</li>
	<li>{$picture->link} : link to picture</li>
	<li>{$picture->number} : picture number</li>
	<li>{$picture->thumbnailwidth}: width of thumbnail</li>
	<li>{$picture->thumbnailheight}: height of thumbnail</li>
	<li>{$picture->autothumbnailsize}: outputs something like &#039;height=&quot;76&quot;&#039; to make tall thumbnails fit in a box</li>
	<li>{$max_image_size}: The value of the max_image_size preference. Used in the default template to automatically resize images that are too large.</li>
</ul>
<h3>Other</h3>
<p>You can also use following tags :</p>
<ul>
	<li>{$returnlink} : back to previous page</li>
	<li>{$albumnumber} : current album number</li>
	<li>{$albumcount} : album count</li>
	<li>{$picturenumber} : current picture number</li>
	<li>{$picturecount} : picture count</li>
	<li>{$pagenumber} : current page number</li>
	<li>{$pagecount} : page count</li>
	<li>{$link.album.1} : link to first album. You can also indicate another number</li>
	<li>{$link.album.first}, {$link.album.previous}, {$link.album.next}, {$link.album.last}</li>
	<li>{$link.picture.1} : link to first picture. You can also indicate another number</li>
	<li>{$link.picture.first}, {$link.picture.previous}, {$link.picture.next}, {$link.picture.last}</li>
	<li>{$link.page.1} : link to first page. You can also indicate another number</li>
	<li>{$link.page.first}, {$link.page.previous}, {$link.page.next}, {$link.page.last}</li>
</ul>';
$lang['qca'] = 'P0-536849115-1307983495210';
$lang['utma'] = '156861353.150519287.1381072773.1381072773.1381078439.2';
$lang['utmz'] = '156861353.1381072773.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)';
$lang['utmb'] = '156861353';
$lang['utmc'] = '156861353';
?>