From: Chuck Hagenbuch
Date: Mon, 7 Jun 2010 01:31:15 +0000 (-0400)
Subject: Initial Git port of Trean
X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ecd882c3a0d488f156209a707b1b4c423d1ff65c;p=horde.git
Initial Git port of Trean
---
diff --git a/trean/LICENSE b/trean/LICENSE
new file mode 100644
index 000000000..d9019adda
--- /dev/null
+++ b/trean/LICENSE
@@ -0,0 +1,49 @@
+Version 1.0
+
+Copyright 2002-2009 The Horde Project (http://www.horde.org/)
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+3. The end-user documentation included with the redistribution, if
+any, must include the following acknowledgment:
+
+ "This product includes software developed by the Horde Project
+ (http://www.horde.org/)."
+
+Alternately, this acknowledgment may appear in the software itself, if
+and wherever such third-party acknowledgments normally appear.
+
+4. The names "Horde", "The Horde Project", and "Trean" must not be
+used to endorse or promote products derived from this software without
+prior written permission. For written permission, please contact
+core@horde.org.
+
+5. Products derived from this software may not be called "Horde" or
+"Trean", nor may "Horde" or "Trean" appear in their name, without
+prior written permission of the Horde Project.
+
+THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE HORDE PROJECT OR ITS CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+This software consists of voluntary contributions made by many
+individuals on behalf of the Horde Project. For more information on
+the Horde Project, please see .
diff --git a/trean/README b/trean/README
new file mode 100644
index 000000000..d85ee9b27
--- /dev/null
+++ b/trean/README
@@ -0,0 +1,72 @@
+Trean
+Version 0.1
+
+What is Trean?
+--------------
+
+Trean is a Horde bookmarks manager.
+
+This software is OSI Certified Open Source Software.
+OSI Certified is a certification mark of the Open Source Initiative.
+
+
+Obtaining Trean
+---------------
+
+Further information on Trean and the latest version can be obtained
+at
+
+ http://www.horde.org/trean/
+
+
+Documentation
+-------------
+
+The following documentation is available in the Trean distribution:
+
+README - This file
+LICENSE - Copyright and license information
+docs/CHANGES - List of changes by release
+docs/CREDITS - Who developed this
+docs/INSTALL - Installation instructions
+
+
+Installation
+------------
+
+Instructions for installing Trean can be found in the file INSTALL
+in the docs/ directory of the Trean distribution.
+
+
+Assistance
+----------
+
+If you encounter problems with Trean, help is available!
+
+The Horde Frequently Asked Questions List (FAQ), available on the Web
+at
+
+ http://www.horde.org/faq/
+
+The Horde Project runs a number of mailing lists, for individual
+applications and for issues relating to the project as a whole.
+Information, archives, and subscription information can be found at
+
+ http://www.horde.org/mail/
+
+Lastly, Horde developers, contributors and users also make occasional
+appearances on IRC, on the channel #horde on the Freenode Network
+(irc.freenode.net).
+
+
+Licensing
+---------
+
+For licensing and copyright information, please see the file LICENSE
+in the Trean distribution.
+
+Thanks,
+
+The Trean team
+
+$Horde: trean/README,v 1.6 2007/04/22 04:51:54 chuck Exp $
diff --git a/trean/add.php b/trean/add.php
new file mode 100644
index 000000000..17d108c52
--- /dev/null
+++ b/trean/add.php
@@ -0,0 +1,119 @@
+
+ */
+
+require_once dirname(__FILE__) . '/lib/Application.php';
+Horde_Registry::appInit('trean');
+
+/* Deal with any action task. */
+$actionID = Horde_Util::getFormData('actionID');
+switch ($actionID) {
+case 'add_bookmark':
+ /* Check permissions. */
+ if (Trean::hasPermission('max_bookmarks') !== true &&
+ Trean::hasPermission('max_bookmarks') <= $trean_shares->countBookmarks()) {
+ $message = @htmlspecialchars(sprintf(_("You are not allowed to create more than %d bookmarks."), Trean::hasPermission('max_bookmarks')), ENT_COMPAT, Horde_Nls::getCharset());
+ if (!empty($conf['hooks']['permsdenied'])) {
+ $message = Horde::callHook('_perms_hook_denied', array('trean:max_bookmarks'), 'horde', $message);
+ }
+ $notification->push($message, 'horde.error', array('content.raw'));
+ header('Location: ' . Horde::applicationUrl('browse.php', true));
+ exit;
+ }
+
+ $folderId = Horde_Util::getFormData('f');
+ $new_folder = Horde_Util::getFormData('newFolder');
+
+ /* Create a new folder if requested */
+ if ($new_folder) {
+ $properties = array();
+ $properties['name'] = $new_folder;
+
+ $parent_id = $trean_shares->getId(Horde_Auth::getAuth());
+ $parent = &$trean_shares->getFolder($parent_id);
+ $result = $parent->addFolder($properties);
+
+ if (is_a($result, 'PEAR_Error')) {
+ $notification->push(sprintf(_("There was an error adding the folder: %s"), $result->getMessage()), 'horde.error');
+ } else {
+ $folderId = $result;
+ }
+ }
+
+ /* Create a new bookmark. */
+ $properties = array(
+ 'bookmark_url' => Horde_Util::getFormData('url'),
+ 'bookmark_title' => Horde_Util::getFormData('title'),
+ 'bookmark_description' => Horde_Util::getFormData('description'),
+ );
+
+ $folder = &$trean_shares->getFolder($folderId);
+ $result = $folder->addBookmark($properties);
+ if (is_a($result, 'PEAR_Error')) {
+ $notification->push(sprintf(_("There was an error adding the bookmark: %s"), $result->getMessage()), 'horde.error');
+ } else {
+ if (Horde_Util::getFormData('popup')) {
+ Horde_Util::closeWindowJS();
+ } elseif (Horde_Util::getFormData('iframe')) {
+ $notification->push(_("Bookmark Added"), 'horde.success');
+ require TREAN_TEMPLATES . '/common-header.inc';
+ $notification->notify();
+ exit;
+ } else {
+ header('Location: ' . Horde::applicationUrl(Horde_Util::addParameter('browse.php', 'f', $folderId), true));
+ }
+ exit;
+ }
+ break;
+
+case 'add_folder':
+ $parent_id = Horde_Util::getFormData('f');
+ if (is_null($parent_id)) {
+ $parent_id = $trean_shares->getId(Horde_Auth::getAuth());
+ }
+
+ /* Check permissions. */
+ if (Trean::hasPermission('max_folders') !== true &&
+ Trean::hasPermission('max_folders') <= Trean::countFolders()) {
+ $message = @htmlspecialchars(sprintf(_("You are not allowed to create more than %d folders."), Trean::hasPermission('max_folders')), ENT_COMPAT, Horde_Nls::getCharset());
+ if (!empty($conf['hooks']['permsdenied'])) {
+ $message = Horde::callHook('_perms_hook_denied', array('trean:max_folders'), 'horde', $message);
+ }
+ $notification->push($message, 'horde.error', array('content.raw'));
+ header('Location: ' . Horde::applicationUrl(Horde_Util::addParameter('browse.php', 'f', $parent_id), true));
+ exit;
+ }
+
+ $parent = &$trean_shares->getFolder($parent_id);
+ if (is_a($parent, 'PEAR_Error')) {
+ $result = $parent;
+ } else {
+ $result = $parent->addFolder(array('name' => Horde_Util::getFormData('name')));
+ }
+ if (is_a($result, 'PEAR_Error')) {
+ $notification->push(sprintf(_("There was an error adding the folder: %s"), $result->getMessage()), 'horde.error');
+ } else {
+ header('Location: ' . Horde::applicationUrl(Horde_Util::addParameter('browse.php', 'f', $result), true));
+ exit;
+ }
+ break;
+}
+
+if (Horde_Util::getFormData('popup')) {
+ $notification->push('window.focus();', 'javascript');
+}
+$title = _("New Bookmark");
+require TREAN_TEMPLATES . '/common-header.inc';
+if (!Horde_Util::getFormData('popup') && !Horde_Util::getFormData('iframe')) {
+ require TREAN_TEMPLATES . '/menu.inc';
+}
+require TREAN_TEMPLATES . '/add.html.php';
+require $registry->get('templates', 'horde') . '/common-footer.inc';
diff --git a/trean/bookmark.php b/trean/bookmark.php
new file mode 100644
index 000000000..88b001c45
--- /dev/null
+++ b/trean/bookmark.php
@@ -0,0 +1,48 @@
+getBookmark(Horde_Util::getFormData('b'));
+if (is_a($bookmark, 'PEAR_Error')) {
+ die($bookmark);
+}
+$folder = $trean_shares->getFolder($bookmark->folder);
+if (is_a($folder, 'PEAR_Error')) {
+ die($folder);
+} elseif (!$folder->hasPermission(Horde_Auth::getAuth(), Horde_Perms::EDIT)) {
+ die('Permission denied');
+}
+
+// We support changing the rating.
+if (!is_null($rating = Horde_Util::getFormData('r'))) {
+ if ($rating < 0 || $rating > 5) {
+ die('Invalid data');
+ }
+
+ $bookmark->rating = $rating;
+ $bookmark->save();
+}
+
+// Partial requests (Ajax or other rest-ish calls) just return the new
+// bookmark data (currently rating).
+if (Horde_Util::getFormData('partial')) {
+ echo $bookmark->rating;
+ exit;
+}
+
+// Back to browsing that bookmark's folder, unless we were sent a
+// next-URL (nu) parameter.
+if (!is_null($url = Horde_Util::getFormData('nu'))) {
+ header('Location: ' . $url);
+} else {
+ header('Location: ' . Horde_Util::addParameter(Horde::applicationUrl('browse.php', true), 'f', $bookmark->folder));
+}
diff --git a/trean/browse.php b/trean/browse.php
new file mode 100644
index 000000000..746ce9387
--- /dev/null
+++ b/trean/browse.php
@@ -0,0 +1,68 @@
+
+ */
+
+require_once dirname(__FILE__) . '/lib/Application.php';
+Horde_Registry::appInit('trean');
+
+require_once TREAN_BASE . '/lib/Views/BookmarkList.php';
+
+/* Get bookmarks to display. */
+$folderId = Horde_Util::getFormData('f');
+
+/* Default to the current user's default folder or if we are a guest, try to
+ * get a list of folders we have Horde_Perms::READ for.
+ */
+if (empty($folderId) && $registry->getAuth()) {
+ $folderId = $trean_shares->getId($registry->getAuth());
+ $folder = &$trean_shares->getFolder($folderId);
+ if (is_a($folder, 'PEAR_Error')) {
+ /* Can't redirect back to browse since that would set up a loop. */
+ Horde::fatal($folder, __FILE__, __LINE__, true);
+ }
+} elseif (empty($folderId)) {
+ /* We're accessing Trean as a guest, try to get a folder to browse */
+ $folders = Trean::listFolders(Horde_Perms::READ);
+ if (count($folders)) {
+ $folder = array_pop(array_values($folders));
+ }
+} else {
+ $folder = &$trean_shares->getFolder($folderId);
+ if (is_a($folder, 'PEAR_Error')) {
+ /* Can't redirect back to browse since that would set up a loop. */
+ Horde::fatal($folder, __FILE__, __LINE__, true);
+ }
+
+ /* Make sure user has permission to view this folder. */
+ if (!$folder->hasPermission($registry->getAuth(), Horde_Perms::READ)) {
+ $notification->push(_("You do not have permission to view this folder."), 'horde.error');
+ header('Location: ' . Horde::applicationUrl('browse.php', true));
+ exit;
+ }
+}
+
+if (!empty($folder)) {
+ /* Get folder contents. */
+ $bookmarks = $folder->listBookmarks($prefs->getValue('sortby'),
+ $prefs->getValue('sortdir'));
+}
+
+Horde::addScriptFile('tables.js', 'horde', true);
+Horde::addScriptFile('prototype.js', 'horde', true);
+Horde::addScriptFile('effects.js', 'horde', true);
+Horde::addScriptFile('redbox.js', 'horde', true);
+$title = _("Browse");
+require TREAN_TEMPLATES . '/common-header.inc';
+if (!Horde_Util::getFormData('popup')) {
+ require TREAN_TEMPLATES . '/menu.inc';
+}
+require TREAN_TEMPLATES . '/browse.php';
+require $registry->get('templates', 'horde') . '/common-footer.inc';
diff --git a/trean/config/.cvsignore b/trean/config/.cvsignore
new file mode 100644
index 000000000..51adefac7
--- /dev/null
+++ b/trean/config/.cvsignore
@@ -0,0 +1,3 @@
+conf.php
+conf.bak.php
+prefs.php
diff --git a/trean/config/.htaccess b/trean/config/.htaccess
new file mode 100644
index 000000000..3a4288278
--- /dev/null
+++ b/trean/config/.htaccess
@@ -0,0 +1 @@
+Deny from all
diff --git a/trean/config/conf.xml b/trean/config/conf.xml
new file mode 100644
index 000000000..9e5fa3cab
--- /dev/null
+++ b/trean/config/conf.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+ Menu settings
+
+ true
+
+
+
+
+
+
+
+
+
+ Virtual File Storage
+
+
+
diff --git a/trean/config/prefs.php.dist b/trean/config/prefs.php.dist
new file mode 100644
index 000000000..686e493c0
--- /dev/null
+++ b/trean/config/prefs.php.dist
@@ -0,0 +1,67 @@
+ _("Other Options"),
+ 'label' => _("Display Options"),
+ 'desc' => _("Set how to display bookmark listings and how to open links."),
+ 'members' => array('sortby', 'sortdir', 'show_folder_actions', 'show_in_new_window', 'expand_tree')
+);
+
+// bookmark sort order
+$_prefs['sortby'] = array(
+ 'value' => 'title',
+ 'locked' => false,
+ 'shared' => false,
+ 'type' => 'enum',
+ 'enum' => array('title' => _("Title"),
+ 'rating' => _("Highest Rated"),
+ 'clicks' => _("Most Clicked")),
+ 'desc' => _("Sort bookmarks by:")
+);
+
+// user preferred sorting direction
+$_prefs['sortdir'] = array(
+ 'value' => 0,
+ 'locked' => false,
+ 'shared' => false,
+ 'type' => 'enum',
+ 'enum' => array(0 => _("Ascending (A to Z)"),
+ 1 => _("Descending (9 to 1)")),
+ 'desc' => _("Sort direction:")
+);
+
+// show the folder actions panel?
+// a value of 0 = no, 1 = yes
+$_prefs['show_folder_actions'] = array(
+ 'value' => 1,
+ 'locked' => false,
+ 'shared' => false,
+ 'type' => 'checkbox',
+ 'desc' => _("Show folder actions panel?")
+);
+
+// Open links in new windows?
+$_prefs['show_in_new_window'] = array(
+ 'value' => 1,
+ 'locked' => false,
+ 'shared' => false,
+ 'type' => 'checkbox',
+ 'desc' => _("Open links in a new window?")
+);
+
+// how many levels to expand initially
+$_prefs['expand_tree'] = array(
+ 'value' => 'first',
+ 'locked' => false,
+ 'shared' => false,
+ 'type' => 'enum',
+ 'enum' => array('none' => _("Completely collapsed"),
+ 'first' => _("First level shown"),
+ 'all' => _("Completely expanded")),
+ 'desc' => _("Should your list of bookmark folders be open when you log in?")
+);
diff --git a/trean/data.php b/trean/data.php
new file mode 100644
index 000000000..f6f46c100
--- /dev/null
+++ b/trean/data.php
@@ -0,0 +1,191 @@
+
+ * @package Trean
+ */
+
+function export($folder, $depth, $recursive = true)
+{
+ $name = $folder->get('name');
+ if (empty($name)) {
+ $name = _("Bookmarks");
+ }
+
+ $output = '';
+ if ($folder->getId() != $GLOBALS['trean_shares']->getId(Horde_Auth::getAuth())) {
+ $output .= sprintf('%1$s%3$s ' . "\n" . '%1$s' . "\n",
+ str_repeat(' ', $depth * 4), time(), $name);
+ }
+
+ $bookmarks = $folder->listBookmarks();
+ foreach ($bookmarks as $bookmark) {
+ $output .= sprintf('%s
%s ' . "\n",
+ str_repeat(' ', ($depth + 1) * 4),
+ $bookmark->url,
+ time(),
+ $bookmark->title);
+ }
+
+ if ($recursive) {
+ $folders = Trean::listFolders(Horde_Perms::SHOW, $folder->getName(), false);
+ if (is_a($folders, 'PEAR_Error')) {
+ $notification->push(sprintf(_("An error occured listing folders: %s"), $folders->getMessage()), 'horde.error');
+ } else {
+ foreach ($folders as $subfolder) {
+ $output .= export($subfolder, $depth + 1);
+ }
+ }
+ }
+
+ return $output . str_repeat(' ', $depth * 4) . '' . "\n";
+}
+
+require_once dirname(__FILE__) . '/lib/Application.php';
+Horde_Registry::appInit('trean');
+
+$folders_exceeded = Trean::hasPermission('max_folders') !== true &&
+Trean::hasPermission('max_folders') <= Trean::countFolders();
+if ($folders_exceeded) {
+ $message = @htmlspecialchars(sprintf(_("You are not allowed to create more than %d folders."), Trean::hasPermission('max_folders')), ENT_COMPAT, Horde_Nls::getCharset());
+ if (!empty($conf['hooks']['permsdenied'])) {
+ $message = Horde::callHook('_perms_hook_denied', array('trean:max_folders'), 'horde', $message);
+ }
+ $notification->push($message, 'horde.warning', array('content.raw'));
+}
+$bookmarks_exceeded = Trean::hasPermission('max_bookmarks') !== true &&
+Trean::hasPermission('max_bookmarks') <= $trean_shares->countBookmarks();
+if ($bookmarks_exceeded) {
+ $message = @htmlspecialchars(sprintf(_("You are not allowed to create more than %d bookmarks."), Trean::hasPermission('max_bookmarks')), ENT_COMPAT, Horde_Nls::getCharset());
+ if (!empty($conf['hooks']['permsdenied'])) {
+ $message = Horde::callHook('_perms_hook_denied', array('trean:max_bookmarks'), 'horde', $message);
+ }
+ $notification->push($message, 'horde.warning', array('content.raw'));
+}
+
+switch (Horde_Util::getFormData('actionID')) {
+case 'import':
+ $result = Horde_Browser::wasFileUploaded('import_file');
+ if (is_a($result, 'PEAR_Error')) {
+ $notification->push($result->getMessage(), 'horde.error');
+ break;
+ }
+
+ $target = Horde_Util::getFormData('target', $trean_shares->getId(Horde_Auth::getAuth()));
+ $root = &$trean_shares->getFolder($target);
+ if (is_a($root, 'PEAR_Error')) {
+ $notification->push($root, 'horde.error');
+ break;
+ }
+
+ $lines = file($_FILES['import_file']['tmp_name']);
+
+ $folders = 0;
+ $bookmarks = 0;
+ $folder = &$root;
+ $bookmark = null;
+ $stack = array();
+ $max_folders = Trean::hasPermission('max_folders');
+ $num_folders = Trean::countFolders();
+ $stop_folders = false;
+ $max_bookmarks = Trean::hasPermission('max_bookmarks');
+ $num_bookmarks = $trean_shares->countBookmarks();
+
+ foreach ($lines as $line) {
+ if (strpos($line, '
= $max_folders) {
+ $message = @htmlspecialchars(sprintf(_("You are not allowed to create more than %d folders."), Trean::hasPermission('max_folders')), ENT_COMPAT, Horde_Nls::getCharset());
+ if (!empty($conf['hooks']['permsdenied'])) {
+ $message = Horde::callHook('_perms_hook_denied', array('trean:max_folders'), 'horde', $message);
+ }
+ $notification->push($message, 'horde.error', array('content.raw'));
+ $stop_folders = true;
+ continue;
+ }
+
+ $stack[] = $folder->getId();
+ $folderId = $folder->addFolder(array('name' => trim(strip_tags($line))));
+ $folder = &$trean_shares->getFolder($folderId);
+ $bookmark = null;
+ $folders++;
+ $num_folders++;
+
+ } elseif (strpos($line, '') !== false) {
+ /* End of a folder. */
+ $folder = &$trean_shares->getFolder(array_pop($stack));
+ $bookmark = null;
+
+ } elseif (preg_match("/(.*)<\/A>/",
+ $line, $temp)) {
+ /* A bookmark. */
+ if ($max_bookmarks !== true && $num_bookmarks >= $max_bookmarks) {
+ $message = @htmlspecialchars(sprintf(_("You are not allowed to create more than %d bookmarks."), Trean::hasPermission('max_bookmarks')), ENT_COMPAT, Horde_Nls::getCharset());
+ if (!empty($conf['hooks']['permsdenied'])) {
+ $message = Horde::callHook('_perms_hook_denied', array('trean:max_bookmarks'), 'horde', $message);
+ }
+ $notification->push($message, 'horde.error', array('content.raw'));
+ $stop_bookmarks = true;
+ break;
+ }
+ $bookmark_id = $folder->addBookmark(array(
+ 'bookmark_url' => trim($temp[1]),
+ 'bookmark_title' => trim($temp[2]),
+ 'bookmark_description' => ''));
+ $bookmark = $trean_shares->getBookmark($bookmark_id);
+ $bookmarks++;
+ $num_bookmarks++;
+ } elseif (strpos($line, '') !== false) {
+ if (!is_null($bookmark)) {
+ $bookmark->description = trim(strip_tags($line));
+ $bookmark->save();
+ $bookmark = null;
+ }
+ }
+ }
+
+ $notification->push(sprintf(_("%d Folders and %d Bookmarks imported."), $folders, $bookmarks), 'horde.success');
+
+ $url = Horde_Util::addParameter('browse.php', 'f', $root->getId());
+ header('Location: ' . Horde::applicationUrl($url, true));
+ exit;
+
+case 'export':
+ $folderId = Horde_Util::getFormData('export_folder');
+ $recursive = Horde_Util::getFormData('export_recursive');
+ $output = <<
+
+Bookmarks
+Bookmarks
+
+
+EOH;
+ $folder = $trean_shares->getFolder($folderId);
+ $output .= export($folder, 1, $recursive) . '
' . "\n";
+
+ $browser->downloadHeaders('bookmarks.html', 'text/html', false,
+ strlen($output));
+ echo $output;
+ exit;
+}
+
+$title = _("Import Bookmarks");
+require TREAN_TEMPLATES . '/common-header.inc';
+require TREAN_TEMPLATES . '/menu.inc';
+if (!$folders_exceeded || !$bookmarks_exceeded) {
+ require TREAN_TEMPLATES . '/data/import.inc';
+}
+require TREAN_TEMPLATES . '/data/export.inc';
+require $registry->get('templates', 'horde') . '/common-footer.inc';
diff --git a/trean/docs/CHANGES b/trean/docs/CHANGES
new file mode 100644
index 000000000..20c1ac50b
--- /dev/null
+++ b/trean/docs/CHANGES
@@ -0,0 +1,81 @@
+----
+v0.1
+----
+
+[jan] Enable output compression (horde@albasoft.com, Bug #8649).
+[cjh] Check folder name as well as id for the pre-selected folder
+ (Duck , Bug #7627).
+[jan] Add Turkish translation (METU ).
+[cjh] Add Latvian translation (Janis ).
+[cjh] Support for Firefox plugin that shows Trean bookmarks in the browser
+ (joey@joeyhewitt.com, Request #2565).
+[jan] Add Polish translation (Piotr Adamcio ).
+[cjh] Use YUI Grids CSS to lay out the browse grid, which wrangles IE into
+ honoring our layout even when the screen is narrow (Bug #5385).
+[cjh] Force folder deletion to be a POST request, and add a confirmation
+ dialog.
+[cjh] Fix adding bookmarks to a new folder (panni@fragstore.net,
+ Bug #5068).
+[cjh] Add RSS feed (Duck , Request #1927).
+[cjh] Bookmark ratings can now be changed via a dynamic, CSS-based
+ star rater that saves new ratings but degrades to a real link
+ without JavaScript.
+[cjh] Add blocks for highest-rated and most-clicked bookmarks.
+[cjh] Add a preference for how to sort bookmarks (Request #2510).
+[cjh] Move bookmarks from DataTree storage to a SQL table.
+[cjh] Give Trean its own Share implementation for now as hierarchical
+ shares are being removed from the main Horde_Share class.
+[cjh] Implement iframe-based bookmarklet for bookmarking the current page
+ without a popup window.
+[jan] Add Slovenian translation (Duck ).
+[ben] Rename "categories" to "folders" to avoid confusion with Horde Categories.
+[ben] Add a selection box to jump to a categories (simular to IMP's
+ folder selection).
+[ben] New UI, moved away from the category tree.
+[jan] Add Dutch translation (Han Spruyt ).
+[ben] Allow creating a new category when adding/editing a bookmark.
+[jan] Add permissions to restrict number of categories and bookmarks.
+[ben] Extend Block to show most popular links in a share.
+[ben] Allow bookmark ranking.
+[ben] Use the standard search results interface for the reports drill-down
+ screens.
+[ben] Include standard editing controls in the search results screen.
+[ben] Show bookmark's parent category in the search results screen.
+[ben] cron script to check for broken links and retrieve favicons.
+[ben] Add Horde_Share support.
+[cjh] Fix links to click-tracking script when user has cookies disabled
+ (Bug #1675).
+[cjh] Fix bookmark export (Bug #1672).
+[jan] Add Norwegian Bokmaal translation (Odd Marthon Lende
+ ).
+[ben] Use datatree parent/child relationships.
+[cjh] Add a preference for how much of the category tree to expand
+ on initial view (Bug #566).
+[cjh] Use DataTree attributes (Ben Chavet ).
+[jan] Add Spanish translation (Manuel Perez Ayala ).
+[cjh] Add a Horde_Block for showing bookmark categories
+ (Joel Vandal ).
+[jan] Add Finnish translation (Leena Heino ).
+[jan] Add French translation (Raphaël Jeudy ).
+[jan] Add German translation.
+[cjh] Bookmarks in search results are now editable/deletable.
+[cjh] Add deletion of bookmark categories
+ (Arne Gellhaus ).
+[cjh] Don't show Add Bookmark links when there are no categories to add to
+ (Michal ).
+[cjh] Add a preference for opening links in a new window
+ (Hubert Yeh ).
+[cjh] Searching works again after new categories code.
+[cjh] Fully implement editing.
+[mac] Don't show My Bookmark category on the add screen (Chris Albertson
+ ).
+[mac] Cleanup the note at the bottom of the add screen (Chris Albertson
+ ).
+[mac] Don't show the New Bookmark link for the root category (Chris Albertson
+ ).
+[jan] Add Traditional Chinese translation (Chih-Wei Yeh
+ ).
+[mac] Update for new categories code (Chris Albertson ).
+[mac] Add Edit and Delete options.
+[jan] Add Swedish translation (Andreas Dahlén ).
+[mac] Initial Trean Version.
diff --git a/trean/docs/CREDITS b/trean/docs/CREDITS
new file mode 100644
index 000000000..760d3b8a9
--- /dev/null
+++ b/trean/docs/CREDITS
@@ -0,0 +1,36 @@
+========================
+ Trean Development Team
+========================
+
+
+Core Developers
+===============
+
+Mike Cochrane
+
+- original code
+
+Ben Chavet
+
+
+Localization
+============
+
+===================== ======================================================
+Chinese (Traditional) Chih-Wei Yeh
+ David Chang
+Dutch Han Spruyt
+Finnish Leena Heino
+French Raphaël Jeudy
+German Jan Schneider
+Italian Sergio G. Caredda
+ Marko Djukic
+ Marco Pirovano
+Latvian Janis Eisaks
+Norwegian Bokmaal Odd Marthon Lende
+Polish Piotr Adamcio
+Slovenian Duck
+Spanish Manuel Perez Ayala
+Swedish Andreas Dahlén
+Turkish Middle East Technical University
+===================== ======================================================
diff --git a/trean/docs/INSTALL b/trean/docs/INSTALL
new file mode 100644
index 000000000..52bdea9c9
--- /dev/null
+++ b/trean/docs/INSTALL
@@ -0,0 +1,145 @@
+======================
+ Installing Trean 0.1
+======================
+
+:Last update: $Date: 2007/06/19 09:56:35 $
+:Revision: $Revision: 1.11 $
+
+
+This document contains instructions for installing the Trean web-based
+bookmarks application on your system.
+
+For information on the capabilities and features of Trean, see the
+file README_ in the top-level directory of the Trean distribution.
+
+
+Obtaining Trean
+===============
+
+Trean can be obtained from the Horde website and FTP server, at
+
+ http://www.horde.org/trean/
+
+ ftp://ftp.horde.org/pub/trean/
+
+Or use the mirror closest to you:
+
+ http://www.horde.org/mirrors.php
+
+Bleeding-edge development versions of Trean are available via CVS; see the
+file `horde/docs/HACKING`_, or the website http://www.horde.org/source/, for
+information on accessing the Horde CVS repository.
+
+
+Prerequisites
+=============
+
+To function properly, Trean **requires** the following:
+
+1. A working Horde installation.
+
+ Trean runs within the `Horde Application Framework`_, a set of common tools
+ for web applications written in PHP. You must install Horde before
+ installing Trean.
+
+ .. Important:: Trean requires version 3.2+ of the Horde Framework -
+ earlier versions of Horde will **not** work.
+
+ The Horde Framework can be obtained from the Horde website and FTP server,
+ at
+
+ http://www.horde.org/horde/
+
+ ftp://ftp.horde.org/pub/horde/
+
+ Many of Trean's prerequisites are also Horde prerequisites.
+
+ .. Important:: Be sure to have completed all of the steps in the
+ `horde/docs/INSTALL`_ file for the Horde Framework before
+ installing Trean.
+
+ .. _`Horde Application Framework`: http://www.horde.org/horde/
+
+
+Configuring Trean
+=================
+
+1. Configuring Horde for Trean
+
+ a. Register the application
+
+ In ``horde/config/registry.php``, find the applications['trean'] stanza.
+ The 'status' parameter must be marked '=> active'. If you have changed
+ the location of Trean relative to Horde, either in the URL, in the
+ filesystem or both, you must update the ``fileroot`` and ``webroot``
+ settings to their correct values.
+
+ b. Configuring a DataTree backend
+
+ Trean requires a permanent ``DataTree`` backend in Horde to manage
+ bookmarks. If you didn't setup a DataTree backend yet, go to the
+ configuration interface, select Horde from the list of applications and
+ select a driver different than ``None`` on the ``DataTree System`` tab.
+ Make sure that you ran the necessary scripts to create a storage backend
+ for the DataTree system, e.g. one of the ``create.*.sql`` or
+ ``horde_datatree.*.sql`` SQL scripts in ``horde/scripts/sql/``. You
+ should have done this already during the installation of Horde.
+
+2. Configuring Trean
+
+ To configure Trean, you must login to Horde as a Horde Administrator. Use
+ the Horde ``Administration`` menu item to get to the administration page,
+ and then click on the ``Configuration`` icon to get the configuration page.
+ Select ``Bookmarks`` from the selection list of applications, and click on
+ the ``Configure`` button. Fill in or change any configuration values as
+ needed. When done click on ``Generate Bookmarks Configuration`` to
+ generate the ``conf.php`` file. If your web server doesn't have write
+ permissions to the Trean configuration directory or file, it will not be
+ able to write the file. In this case, go back to ``Configuration`` and
+ choose one of the other methods to create the configuration file
+ ``trean/config/conf.php``.
+
+ Note for international users: Trean uses GNU gettext to provide local
+ translations of text displayed by applications; the translations are found
+ in the ``po/`` directory. If a translation is not yet available for your
+ locale (and you wish to create one), or if you're having trouble using a
+ provided translation, please see the `horde/docs/TRANSLATIONS`_ file for
+ instructions.
+
+3. Testing
+
+ It needs lots so just start playing.
+
+
+Obtaining Support
+=================
+
+If you encounter problems with Trean, help is available!
+
+The Horde Frequently Asked Questions List (FAQ), available on the Web at
+
+ http://www.horde.org/faq/
+
+The Horde Project runs a number of mailing lists, for individual applications
+and for issues relating to the project as a whole. Information, archives, and
+subscription information can be found at
+
+ http://www.horde.org/mail/
+
+Lastly, Horde developers, contributors and users may also be found on IRC,
+on the channel #horde on the Freenode Network (irc.freenode.net).
+
+Please keep in mind that Trean is free software written by volunteers. For
+information on reasonable support expectations, please read
+
+ http://www.horde.org/support.php
+
+Thanks for using Trean!
+
+The Trean team
+
+
+.. _README: ?f=README.html
+.. _`horde/docs/INSTALL`: ../../horde/docs/?f=INSTALL.html
+.. _`horde/docs/HACKING`: ../../horde/docs/?f=HACKING.html
+.. _`horde/docs/TRANSLATIONS`: ../../horde/docs/?f=TRANSLATIONS.html
diff --git a/trean/docs/TODO b/trean/docs/TODO
new file mode 100644
index 000000000..e1a0fbb52
--- /dev/null
+++ b/trean/docs/TODO
@@ -0,0 +1,7 @@
+=================================
+|| Trean Development TODO List ||
+=================================
+
+:Last update: $Date: 2007/12/14 19:35:23 $
+:Revision: $Revision: 1.27 $
+
diff --git a/trean/edit.php b/trean/edit.php
new file mode 100644
index 000000000..4e54ee524
--- /dev/null
+++ b/trean/edit.php
@@ -0,0 +1,316 @@
+
+ */
+
+require_once dirname(__FILE__) . '/lib/Application.php';
+Horde_Registry::appInit('trean');
+
+$folderId = Horde_Util::getFormData('f', $trean_shares->getId($GLOBALS['registry']->getAuth()));
+
+$actionID = Horde_Util::getFormData('actionID');
+if ($actionID == 'button') {
+ if (Horde_Util::getFormData('new_bookmark')
+ || !is_null(Horde_Util::getFormData('new_bookmark_x'))) {
+ header('Location: ' . Horde::applicationUrl('add.php?f=' . $folderId, true));
+ exit;
+ } elseif (Horde_Util::getFormData('edit_bookmarks')) {
+ $actionID = null;
+ } elseif (Horde_Util::getFormData('delete_bookmarks')
+ || !is_null(Horde_Util::getFormData('delete_bookmarks_x'))) {
+ $actionID = 'delete';
+ }
+}
+
+$bookmarks = Horde_Util::getFormData('bookmarks');
+if (!is_array($bookmarks)) {
+ $bookmarks = array($bookmarks);
+}
+$folder = Horde_Util::getFormData('folder');
+
+switch ($actionID) {
+case 'save':
+ $url = Horde_Util::getFormData('url');
+ $title = Horde_Util::getFormData('title');
+ $description = Horde_Util::getFormData('description');
+ $new_folder = Horde_Util::getFormData('new_folder');
+ $delete = Horde_Util::getFormData('delete');
+ if (count($bookmarks)) {
+ foreach ($bookmarks as $id) {
+ $bookmark = $trean_shares->getBookmark($id);
+ if (isset($delete[$id])) {
+ $result = $trean_shares->removeBookmark($bookmark);
+ if (!is_a($result, 'PEAR_Error')) {
+ $notification->push(_("Deleted bookmark: ") . $bookmark->title, 'horde.success');
+ } else {
+ $notification->push(sprintf(_("There was a problem deleting the bookmark: %s"), $result->getMessage()), 'horde.error');
+ }
+ } else {
+ $old_url = $bookmark->url;
+
+ $bookmark->url = $url[$id];
+ $bookmark->title = $title[$id];
+ $bookmark->description = $description[$id];
+
+ if ($old_url != $bookmark->url) {
+ $bookmark->http_status = '';
+ }
+
+ $result = $bookmark->save();
+
+ if ($new_folder[$id] != $bookmark->folder) {
+ $bookmark->folder = $new_folder[$id];
+ $result = $bookmark->save();
+ }
+
+ if (is_a($result, 'PEAR_Error')) {
+ $notification->push(sprintf(_("There was an error saving the bookmark: %s"), $result->getMessage()), 'horde.error');
+ }
+ }
+ }
+ }
+
+ if (count($folder)) {
+ $name = Horde_Util::getFormData('name');
+ foreach ($folder as $id) {
+ $folder = &$trean_shares->getFolder($id);
+ $folder->set('name', $name[$id], true);
+ $result = $folder->save();
+ if (is_a($result, 'PEAR_Error')) {
+ $notification->push(sprintf(_("There was an error saving the folder: %s"), $result->getMessage()), 'horde.error');
+ }
+ }
+ }
+
+ if (Horde_Util::getFormData('popup')) {
+ if ($notification->count() <= 1) {
+ Horde_Util::closeWindowJS();
+ } else {
+ $notification->notify();
+ }
+ } else {
+ $url = Horde_Util::addParameter('browse.php', 'f', $folderId);
+ header('Location: ' . Horde::applicationUrl($url, true));
+ }
+ exit;
+
+case 'delete':
+ if (count($bookmarks)) {
+ foreach ($bookmarks as $id) {
+ $bookmark = $trean_shares->getBookmark($id);
+ $result = $trean_shares->removeBookmark($bookmark);
+ if (!is_a($result, 'PEAR_Error')) {
+ $notification->push(_("Deleted bookmark: ") . $bookmark->title, 'horde.success');
+ } else {
+ $notification->push(sprintf(_("There was a problem deleting the bookmark: %s"), $result->getMessage()), 'horde.error');
+ }
+ }
+ }
+
+ if (count($folder)) {
+ foreach ($folder as $id => $delete) {
+ if ($delete) {
+ $folder = &$trean_shares->getFolder($id);
+ $result = $folder->delete();
+ if (!is_a($result, 'PEAR_Error')) {
+ $notification->push(_("Deleted folder: ") . $folder->get('name'), 'horde.success');
+ } else {
+ $notification->push(sprintf(_("There was a problem deleting the folder: %s"), $result->getMessage()), 'horde.error');
+ }
+ }
+ }
+ }
+
+ // Return to the folder listing
+ $url = Horde_Util::addParameter('browse.php', 'f', $folderId);
+ header('Location: ' . Horde::applicationUrl($url, true));
+ exit;
+
+case 'move':
+ $create_folder = Horde_Util::getFormData('create_folder');
+ $new_folder = Horde_Util::getFormData('new_folder');
+
+ /* Create a new folder if requested */
+ if ($create_folder) {
+ $parent_id = $trean_shares->getId($GLOBALS['registry']->getAuth());
+ $parent = &$trean_shares->getFolder($parent_id);
+ $result = $parent->addFolder(array('name' => $new_folder));
+
+ if (is_a($result, 'PEAR_Error')) {
+ $notification->push(sprintf(_("There was an error adding the folder: %s"), $result->getMessage()), 'horde.error');
+ } else {
+ $new_folder = $result;
+ }
+ }
+
+ $new_folder = &$trean_shares->getFolder($new_folder);
+
+ if (count($bookmarks)) {
+ foreach ($bookmarks as $id) {
+ $bookmark = $trean_shares->getBookmark($id);
+ $bookmark->folder = $new_folder->getId();
+ $result = $bookmark->save();
+ if (!is_a($result, 'PEAR_Error')) {
+ $notification->push(_("Moved bookmark: ") . $bookmark->title, 'horde.success');
+ } else {
+ $notification->push(sprintf(_("There was a problem moving the bookmark: %s"), $result->getMessage()), 'horde.error');
+ }
+ }
+ }
+
+ if (count($folder)) {
+ foreach ($folder as $id => $delete) {
+ if ($delete) {
+ $folder = &$trean_shares->getFolder($id);
+ $result = $trean_shares->move($folder, $new_folder);
+ if (!is_a($result, 'PEAR_Error')) {
+ $notification->push(_("Moved folder: ") . $folder->get('name'), 'horde.success');
+ } else {
+ $notification->push(sprintf(_("There was a problem moving the folder: %s"), $result->getMessage()), 'horde.error');
+ }
+ }
+ }
+ }
+
+ // Return to the folder listing
+ $url = Horde_Util::addParameter('browse.php', 'f', $folderId);
+ header('Location: ' . Horde::applicationUrl($url, true));
+ exit;
+
+case 'copy':
+ $create_folder = Horde_Util::getFormData('create_folder');
+ $new_folder = Horde_Util::getFormData('new_folder');
+
+ /* Create a new folder if requested */
+ if ($create_folder) {
+ $properties = array();
+ $properties['name'] = $new_folder;
+
+ $parent_id = $trean_shares->getId($GLOBALS['registry']->getAuth());
+ $parent = &$trean_shares->getFolder($parent_id);
+ $result = $parent->addFolder($properties);
+
+ if (is_a($result, 'PEAR_Error')) {
+ $notification->push(sprintf(_("There was an error adding the folder: %s"), $result->getMessage()), 'horde.error');
+ } else {
+ $new_folder = $result;
+ }
+ }
+
+ $new_folder = &$trean_shares->getFolder($new_folder);
+
+ if (count($bookmarks)) {
+ foreach ($bookmarks as $id) {
+ $bookmark = $trean_shares->getBookmark($id);
+ $result = $bookmark->copyTo($new_folder);
+ if (!is_a($result, 'PEAR_Error')) {
+ $notification->push(_("Copied bookmark: ") . $bookmark->title, 'horde.success');
+ } else {
+ $notification->push(sprintf(_("There was a problem copying the bookmark: %s"), $result->getMessage()), 'horde.error');
+ }
+ }
+ }
+
+ if (count($folder)) {
+ $notification->push(sprintf(_("Copying folders is not supported.")), 'horde.message');
+ }
+
+ // Return to the folder listing
+ $url = Horde_Util::addParameter('browse.php', 'f', $folderId);
+ header('Location: ' . Horde::applicationUrl($url, true));
+ exit;
+
+case 'rename':
+ /* Rename a Bookmark Folder. */
+ $name = Horde_Util::getFormData('name');
+
+ $folder = &$trean_shares->getFolder($folderId);
+ $result = $folder->set('name', $name, true);
+ if (is_a($result, 'PEAR_Error')) {
+ $notification->push(sprintf(_("\"%s\" was not renamed: %s."), $name, $result->getMessage()), 'horde.error');
+ } else {
+ $url = Horde_Util::addParameter('browse.php', 'f', $folderId);
+ header('Location: ' . Horde::applicationUrl($url, true));
+ exit;
+ }
+ break;
+
+case 'del_folder':
+ $folder = &$trean_shares->getFolder($folderId);
+ $title = _("Confirm Deletion");
+ require TREAN_TEMPLATES . '/common-header.inc';
+ require TREAN_TEMPLATES . '/menu.inc';
+ require TREAN_TEMPLATES . '/edit/delete_folder_confirmation.inc';
+ require $registry->get('templates', 'horde') . '/common-footer.inc';
+ exit;
+
+case 'del_folder_confirmed':
+ $folderId = Horde_Util::getPost('f');
+ if (!$folderId) {
+ exit;
+ }
+
+ $folder = &$trean_shares->getFolder($folderId);
+ if (is_a($folder, 'PEAR_Error')) {
+ $notification->push($folder->getMessage(), 'horde.error');
+ header('Location: ' . Horde::applicationUrl('browse.php'));
+ exit;
+ }
+
+ $parent = $folder->getParent();
+ $result = $folder->delete();
+ if (is_a($result, 'PEAR_Error')) {
+ $notification->push($result->getMessage(), 'horde.error');
+ header('Location: ' . Horde::applicationUrl(Horde_Util::addParameter('browse.php', 'f', $folderId), true));
+ } else {
+ $notification->push(sprintf(_("Deleted the folder \"%s\""), $folder->get('name')), 'horde.success');
+ header('Location: ' . Horde::applicationUrl(Horde_Util::addParameter('browse.php', 'f', $parent), true));
+ }
+ exit;
+
+case 'cancel':
+ $url = Horde_Util::addParameter('browse.php', 'f', $folderId);
+ header('Location: ' . Horde::applicationUrl($url, true));
+ exit;
+}
+
+// Return to browse if there is nothing to edit.
+if (!count($bookmarks) && !count($folder)) {
+ $notification->push(_("Nothing to edit."), 'horde.message');
+ $url = Horde_Util::addParameter('browse.php', 'f', $folderId);
+ header('Location: ' . Horde::applicationUrl($url, true));
+ exit;
+}
+
+$title = _("Edit Bookmark");
+require TREAN_TEMPLATES . '/common-header.inc';
+if (!Horde_Util::getFormData('popup')) {
+ require TREAN_TEMPLATES . '/menu.inc';
+}
+require TREAN_TEMPLATES . '/edit/header.inc';
+
+if (count($folder)) {
+ foreach ($folder as $id) {
+ $folder = $trean_shares->getFolder($id);
+ require TREAN_TEMPLATES . '/edit/folder.inc';
+ }
+}
+
+if (count($bookmarks)) {
+ foreach ($bookmarks as $id) {
+ $bookmark = $trean_shares->getBookmark($id);
+ if (!is_a($bookmark, 'PEAR_Error')) {
+ require TREAN_TEMPLATES . '/edit/bookmark.inc';
+ }
+ }
+}
+
+require TREAN_TEMPLATES . '/edit/footer.inc';
+require $registry->get('templates', 'horde') . '/common-footer.inc';
diff --git a/trean/favicon.php b/trean/favicon.php
new file mode 100644
index 000000000..c5d0e9513
--- /dev/null
+++ b/trean/favicon.php
@@ -0,0 +1,44 @@
+
+ */
+
+$session_control = 'readonly';
+@define('TREAN_BASE', dirname(__FILE__));
+require_once TREAN_BASE . '/lib/base.php';
+
+$bookmark_id = Horde_Util::getFormData('bookmark_id');
+if (!$bookmark_id) {
+ exit;
+}
+
+$bookmark = &$trean_shares->getBookmark($bookmark_id);
+if (!$favicon = $bookmark->favicon) {
+ exit;
+}
+
+// Initialize VFS
+require_once 'VFS.php';
+$vfs_params = Horde::getVFSConfig('favicons');
+if (is_a($vfs_params, 'PEAR_Error')) {
+ exit;
+}
+$vfs = &VFS::singleton($vfs_params['type'], $vfs_params['params']);
+
+if (!$vfs->exists('.horde/trean/favicons/', $favicon)) {
+ exit;
+}
+
+$data = $vfs->read('.horde/trean/favicons/', $favicon);
+$browser->downloadHeaders('favicon', null, true, strlen($data));
+header('Expires: ' . gmdate('r', time() + 172800));
+header('Cache-Control: public, max-age=172800');
+header('Pragma:');
+echo $data;
diff --git a/trean/index.php b/trean/index.php
new file mode 100644
index 000000000..13770ae38
--- /dev/null
+++ b/trean/index.php
@@ -0,0 +1,11 @@
+
+ */
+class Trean_Api extends Horde_Registry_Api
+{
+ /**
+ * Gets all of the folders that are a subfolder of the given folder
+ * (or the root.)
+ *
+ * @param integer $folderId the ID of the folder, or -1 for the root
+ * @return array Array of associative arrays (XMLRPC structs) with
+ * 'id' as the folder's ID, and 'name' as its name.
+ */
+ public function getFolders($folderId)
+ {
+ require_once dirname(__FILE__) . '/base.php';
+
+ if ($folderId == -1) {
+ $folder = null;
+ } else {
+ $folder = &$GLOBALS['trean_shares']->getFolder($folderId);
+ }
+ if ($folder && is_a($folder, 'PEAR_Error')) {
+ return $folder;
+ }
+ $folderObs = Trean::listFolders(Horde_Perms::SHOW,
+ $folder ? $folder->getName() : null, false);
+ if (is_a($folderObs, 'PEAR_Error')) {
+ return $folderObs;
+ }
+
+ $folders = array();
+ foreach ($folderObs as $folder) {
+ $folders[] = array('id' => $folder->getId(),
+ 'name' => $folder->get('name'));
+ }
+ return $folders;
+ }
+
+ /**
+ * Adds a bookmark folder
+ *
+ * @param array $data Object data
+ */
+ public function addObjects($data)
+ {
+ require_once dirname(__FILE__) . '/base.php';
+ $return_map = array();
+
+ foreach ($data as $props) {
+ $children = null;
+
+ if (!isset($props['folder_id']) || !isset($props['return_key'])) {
+ return new PEAR_Error('must specify folder_id and return_key properties');
+ }
+
+ $return_key = $props['return_key'];
+ unset($props['return_key']);
+
+ if (isset($props['name'])) {
+ $parentFolder = &$GLOBALS['trean_shares']->getFolder($props['folder_id']);
+ unset($props['folder_id']);
+ if (isset($props['child_objects'])) {
+ $children = $props['child_objects'];
+ unset($props['child_objects']);
+ }
+ $ret = $parentFolder->addFolder($props);
+ } else {
+ if (!isset($props['bookmark_description'])) {
+ $props['bookmark_description'] = '';
+ }
+ $bookmark = new Trean_Bookmark($props);
+ $ret = $bookmark->save();
+ }
+
+ if (is_a($ret, 'PEAR_Error')) {
+ return $ret;
+ }
+
+ $return_map[$return_key] = $ret;
+
+ if ($children) {
+ $id = $ret; // $ret = folder ID
+ foreach ($children as $key => $child) {
+ $children[$key]['folder_id'] = $id;
+ }
+ $ret = addObjects($children);
+ if (is_a($ret, 'PEAR_Error')) {
+ return $ret;
+ }
+ $return_map = array_merge($return_map, $ret);
+ }
+ }
+
+ return $return_map;
+ }
+
+ /**
+ * Updates a bookmark folder
+ *
+ * @param array $data Object data
+ */
+ public function updateObjects($data)
+ {
+ require_once dirname(__FILE__) . '/base.php';
+
+ foreach ($data as $props) {
+ if (isset($props['bookmark_id'])) {
+ $obj = &$GLOBALS['trean_shares']->getBookmark($props['bookmark_id']);
+ } else if (isset($props['folder_id'])) {
+ $obj = &$GLOBALS['trean_shares']->getFolder($props['folder_id']);
+ } else {
+ $obj = new PEAR_Error("each inner associative array must have a (bookmark|folder)id key");
+ }
+ if (is_a($obj, 'PEAR_Error')) {
+ return $obj;
+ }
+ foreach ($props as $name => $value) {
+ if ($name == 'id') {
+ continue;
+ }
+ if (is_a($obj, 'Trean_Bookmark')) {
+ $obj->$name = $value;
+ } else {
+ if ($name == 'folder') {
+ $ret = $GLOBALS['trean_shares']->move($obj,
+ $GLOBALS['trean_shares']->getFolder($value));
+ } else {
+ $ret = $obj->set($name, $value);
+ }
+ if (is_a($ret, 'PEAR_Error')) {
+ return $ret;
+ }
+ }
+ }
+ $obj->save();
+ }
+
+ return true;
+ }
+
+ /**
+ * Returns all the bookmarks in a given folder, sorted and "paginated."
+ *
+ * @param integer $folderId the ID of a folder, or -1 for root
+ * @param string $sortby field to sort by
+ * @param integer $sortdir direction to sort by (non-0 for descending)
+ * @param integer $from bookmark to start from
+ * @param integer $count how many bookmarks to return
+ * @return array An array of associative arrays (XMLRPC structs) representing
+ * the bookmarks.
+ * @see DataTreeObject_Folder->listBookmarks()
+ */
+ public function listBookmarks($folderId, $sortby = 'title', $sortdir = 0, $from = 0, $count = 0)
+ {
+ require_once dirname(__FILE__) . '/base.php';
+
+ $folder = &$GLOBALS['trean_shares']->getFolder($folderId);
+ if (is_a($folder, 'PEAR_Error')) {
+ return $folder;
+ }
+ return $folder->listBookmarks($sortby, $sortdir, $from, $count);
+ }
+
+ /**
+ * Delete a given folder.
+ *
+ * @param integer $folderId the ID of the folder
+ * @param boolean $force Force-remove child objects? (currently ignored)
+ *
+ * @return boolean True for success.
+ */
+ public function deleteFolder($folderId, $force)
+ {
+ require_once dirname(__FILE__) . '/base.php';
+
+ $folder = &$GLOBALS['trean_shares']->getFolder($folderId);
+ if (is_a($folder, 'PEAR_Error')) {
+ return $folder;
+ }
+ $result = $folder->delete();
+ if (is_a($result, 'PEAR_Error')) {
+ return $result;
+ }
+ return true;
+ }
+
+ /**
+ * Delete multiple folders.
+ *
+ * @param array $Ids The IDs of the folders to delete
+ *
+ * @return boolean True for success.
+ */
+ public function deleteFolders($Ids)
+ {
+ $Ids = array_reverse($Ids);
+ foreach ($Ids as $Id) {
+ $ret = deleteFolder($Id, true);
+ if (is_a($ret, 'PEAR_Error')) {
+ return $ret;
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Delete a given bookmark.
+ *
+ * @param integer $bookmarkId the ID of the bookmark to delete
+ *
+ * @return boolean True for success.
+ */
+ public function deleteBookmark($bookmarkId)
+ {
+ require_once dirname(__FILE__) . '/base.php';
+
+ $result = &$GLOBALS['trean_shares']->removeBookmark($bookmarkId);
+ if (is_a($result, 'PEAR_Error')) {
+ return $result;
+ }
+ return true;
+ }
+
+ /**
+ * Delete multiple bookmarks.
+ *
+ * @param array $Ids the IDs of the bookmarks to delete
+ *
+ * @return boolean True for success.
+ */
+ public function deleteBookmarks($Ids)
+ {
+ foreach ($Ids as $Id) {
+ $ret = deleteBookmark($Id);
+ if (is_a($ret, 'PEAR_Error')) {
+ return $ret;
+ }
+ }
+
+ return true;
+ }
+
+ /**
+ * Synchronize bookmarks in a folder. Send a list of IDs of bookmarks you
+ * know about, get an array of new bookmarks and placeholders for bookmarks
+ * you have that are now deleted.
+ *
+ * @param integer folderId the ID of the folder, or -1 for root
+ * @param array bookmarkIds integer array of the bookmark IDs to sync against
+ * @return array An array of associative arrays (XMLRPC structs) of all the
+ * newly created bookmarks' data, or for deleted bookmarks, a placeholder with
+ * 'id' as the ID of the bookmark and 'sync_deleted' as true.
+ * @see listBookmarks()
+ */
+ public function syncBookmarks($folderId, $bookmarkIds)
+ {
+ require_once dirname(__FILE__) . '/base.php';
+
+ $rawbookmarks = listBookmarks($folderId);
+ if (is_a($rawbookmarks, 'PEAR_Error')) {
+ return $rawbookmarks;
+ }
+ $bookmarks = array();
+ foreach ($rawbookmarks as $bookmark) {
+ $bookmarks[$bookmark->id] = $bookmark;
+ }
+ // We're authoritative, so we prune out any bookmarks the client
+ // already knows about by ID, and let them know of the deletion of any we
+ // don't know about
+ foreach ($bookmarkIds as $id) {
+ if (isset($bookmarks[$id])) {
+ unset($bookmarks[$id]);
+ } else {
+ $bookmarks[$id] = array('id' => $id, 'sync_deleted' => true);
+ }
+ }
+
+ // We should be left with a list of new bookmarks with their full details,
+ // and deleted bookmarks with only an id and 'sync_deleted' boolean
+ return array_values($bookmarks);
+ }
+
+ /**
+ * Synchronize folders in a folder. Send a list of IDs, get a list of new
+ * folders and placeholders for deleted ones. See syncBookmarks()
+ * for more details.
+ *
+ * @param integer folderID the ID of the folder, or -1 for root
+ * @param array folderIds integer array of folder IDs to sync against
+ * @return array An array of associate arrays (XMLRPC structs) of all
+ * the newly created folders' data, or placeholders for deleted folders.
+ * @see getFolders()
+ * @see syncBookmarks()
+ */
+ public function syncFolders($folderId, $folderIds)
+ {
+ require_once dirname(__FILE__) . '/base.php';
+
+ $rawfolders = getFolders($folderId);
+ if (is_a($rawfolders, 'PEAR_Error')) {
+ return $rawfolders;
+ }
+ $folders = array();
+ foreach ($rawfolders as $folder) {
+ $folders[$folder['id']] = $folder;
+ }
+
+ // This works like the sync for bookmarks
+ foreach ($folderIds as $id) {
+ if (isset($folders[$id])) {
+ unset($folders[$id]);
+ } else {
+ $folders[$id] = array('id' => $id, 'sync_deleted' => true);
+ }
+ }
+
+ return array_values($folders);
+ }
+
+ /**
+ * Returns a URL that can be used in other applications to add the currently
+ * displayed page as a bookmark. If javascript and DOM is available, an overlay
+ * is used, if javascript and no DOM, then a pop-up is used and if no javascript
+ * is available a URL to Trean's add.php page is returned.
+ *
+ * @param array $params A hash of 'url' and 'title' properties of the requested
+ * bookmark.
+ * @return string The URL suitable for use in a tag.
+ */
+ public function getAddUrl($params = array())
+ {
+ $GLOBALS['no_compress'] = true;
+ require_once dirname(__FILE__) . '/base.php';
+ $browser = Horde_Browser::singleton();
+
+ if ($GLOBALS['browser']->hasFeature('javascript')) {
+ if ($browser->hasFeature('dom')) {
+ $addurl = Horde_Util::addParameter(Horde::applicationUrl('add.php', true, -1), 'iframe', 1);
+ $url = "javascript:(function(){o=document.createElement('div');o.id='overlay';o.style.background='#000';o.style.position='absolute';o.style.top=0;o.style.left=0;o.style.width='100%';o.style.height='100%';o.style.zIndex=5000;o.style.opacity=.8;document.body.appendChild(o);i=document.createElement('iframe');i.id='frame';i.style.zIndex=5001;i.style.border='thin solid #000';i.src='$addurl'+'&title=' + encodeURIComponent(document.title) + '&url=' + encodeURIComponent(location.href);i.style.position='absolute';i.style.width='350px';i.style.height='150px';i.style.left='100px';i.style.top='100px';document.body.appendChild(i);l=document.createElement('a');l.style.position='absolute';l.style.background='#ccc';l.style.color='#000';l.style.border='thin solid #000';l.style.display='block';l.style.top='250px';l.style.left='100px';l.style.zIndex=5001;l.style.padding='5px';l.appendChild(document.createTextNode('" . _("Close") . "'));l.onclick=function(){var o=document.getElementById('overlay');o.parentNode.removeChild(o);var i=document.getElementById('frame');i.parentNode.removeChild(i);this.parentNode.removeChild(this);};document.body.appendChild(l);})()";
+ } else {
+ $addurl = Horde::applicationUrl(Horde_Util::addParameter('add.php', 'popup', 1), true, -1);
+ $url = "javascript:d = new Date(); w = window.open('$addurl' + '&title=' + encodeURIComponent(document.title) + '&url=' + encodeURIComponent(location.href) + '&d=' + d.getTime(), d.getTime(), 'height=200,width=400'); w.focus();";
+ }
+ } else {
+ // Fallback to a regular URL
+ $url = Horde::applicationUrl(Horde_Util::addParameter('add.php', $params), true);
+ }
+
+ return $url;
+ }
+}
diff --git a/trean/lib/Application.php b/trean/lib/Application.php
new file mode 100644
index 000000000..fccf5deed
--- /dev/null
+++ b/trean/lib/Application.php
@@ -0,0 +1,91 @@
+
+ */
+
+/* Determine the base directories. */
+if (!defined('TREAN_BASE')) {
+ define('TREAN_BASE', dirname(__FILE__) . '/..');
+}
+
+if (!defined('HORDE_BASE')) {
+ /* If Horde does not live directly under the app directory, the HORDE_BASE
+ * constant should be defined in config/horde.local.php. */
+ if (file_exists(TREAN_BASE . '/config/horde.local.php')) {
+ include TREAN_BASE . '/config/horde.local.php';
+ } else {
+ define('HORDE_BASE', TREAN_BASE . '/..');
+ }
+}
+
+/* Load the Horde Framework core (needed to autoload
+ * Horde_Registry_Application::). */
+require_once HORDE_BASE . '/lib/core.php';
+
+class Trean_Application extends Horde_Registry_Application
+{
+ /**
+ * The application's version.
+ *
+ * @var string
+ */
+ public $version = 'H4 (1.0-git)';
+
+ /**
+ * Initialization function.
+ *
+ * Global variables defined:
+ * $trean_db - TODO
+ * $trean_shares - TODO
+ */
+ protected function _init()
+ {
+ // Set the timezone variable.
+ Horde_Nls::setTimeZone();
+
+ // Create db and share instances.
+ $GLOBALS['trean_db'] = Trean::getDb();
+ if (is_a($GLOBALS['trean_db'], 'PEAR_Error')) {
+ Horde::fatal($GLOBALS['trean_db'], __FILE__, __LINE__, false);
+ }
+ $GLOBALS['trean_shares'] = new Trean_Bookmarks();
+
+ Trean::initialize();
+ }
+
+ /**
+ * Returns a list of available permissions.
+ *
+ * @return array An array describing all available permissions.
+ */
+ public function perms()
+ {
+ $perms = array();
+
+ $perms['tree']['trean']['max_folders'] = false;
+ $perms['title']['trean:max_folders'] = _("Maximum Number of Folders");
+ $perms['type']['trean:max_folders'] = 'int';
+ $perms['tree']['trean']['max_bookmarks'] = false;
+ $perms['title']['trean:max_bookmarks'] = _("Maximum Number of Bookmarks");
+ $perms['type']['trean:max_bookmarks'] = 'int';
+
+ return $perms;
+ }
+
+ /**
+ * Generate the menu to use on the prefs page.
+ *
+ * @return Horde_Menu A Horde_Menu object.
+ */
+ public function prefsMenu()
+ {
+ return Trean::getMenu();
+ }
+}
diff --git a/trean/lib/Block/bookmarks.php b/trean/lib/Block/bookmarks.php
new file mode 100644
index 000000000..85564d2be
--- /dev/null
+++ b/trean/lib/Block/bookmarks.php
@@ -0,0 +1,145 @@
+
+ * @since Trean 1.0
+ * @package Horde_Block
+ */
+class Horde_Block_Trean_bookmarks extends Horde_Block {
+
+ var $_app = 'trean';
+ var $_folder = null;
+
+ function _params()
+ {
+ require_once dirname(__FILE__) . '/../base.php';
+
+ /* Get folders to display. */
+ $folders = Trean::listFolders(Horde_Perms::READ);
+ $default = null;
+ if (is_a($folders, 'PEAR_Error')) {
+ $GLOBALS['notification']->push(sprintf(_("An error occured listing folders: %s"), $folders->getMessage()), 'horde.error');
+ } else {
+ foreach ($folders as $key => $folder) {
+ if (is_null($default)) {
+ $default = $folder->getId();
+ }
+ $values[$folder->getId()] = $folder->get('name');
+ }
+ }
+
+ return array('folder' => array('name' => _("Folder"),
+ 'type' => 'enum',
+ 'default' => $default,
+ 'values' => $values),
+ 'bookmarks' => array('name' => _("Sort by"),
+ 'type' => 'enum',
+ 'default' => 'title',
+ 'values' => array('title' => _("Title"),
+ 'highest_rated' => _("Highest Rated"),
+ 'most_clicked' => _("Most Clicked"))),
+ 'rows' => array('name' => _("Display Rows"),
+ 'type' => 'enum',
+ 'default' => '10',
+ 'values' => array('10' => _("10 rows"),
+ '15' => _("15 rows"),
+ '25' => _("25 rows"))),
+ 'template' => array('name' => _("Template"),
+ 'type' => 'enum',
+ 'default' => '1line',
+ 'values' => array('standard' => _("3 Line"),
+ '2line' => _("2 Line"),
+ '1line' => _("1 Line"))));
+ }
+
+ /**
+ * The title to go in this block.
+ *
+ * @return string The title text.
+ */
+ function _title()
+ {
+ global $registry;
+
+ $folder = $this->_getFolder();
+ if (is_a($folder, 'PEAR_Error')) {
+ $name = $registry->get('name');
+ } else {
+ $name = $folder->get('name');
+ if (!$name) {
+ $name = _("Bookmarks");
+ }
+ }
+
+ return Horde::link(Horde::url($registry->getInitialPage(), true)) . $name . ' ';
+ }
+
+ /**
+ * The content to go in this block.
+ *
+ * @return string The content
+ */
+ function _content()
+ {
+ require_once dirname(__FILE__) . '/../base.php';
+ require_once TREAN_TEMPLATES . '/star_rating_helper.php';
+
+ $template = TREAN_TEMPLATES . '/block/' . $this->_params['template'] . '.inc';
+
+ $folder = $this->_getFolder();
+ if (is_a($folder, 'PEAR_Error')) {
+ return $folder;
+ }
+
+ $sortby = 'title';
+ $sortdir = 0;
+ switch ($this->_params['bookmarks']) {
+ case 'highest_rated':
+ $sortby = 'rating';
+ $sortdir = 1;
+ break;
+
+ case 'most_clicked':
+ $sortby = 'clicks';
+ $sortdir = 1;
+ break;
+ }
+
+ $html = '';
+ $bookmarks = $folder->listBookmarks($sortby, $sortdir, 0, $this->_params['rows']);
+ foreach ($bookmarks as $bookmark) {
+ ob_start();
+ require $template;
+ $html .= '' . ob_get_clean() . '
';
+ }
+
+ if (!$bookmarks) {
+ return '' . _("No bookmarks to display") . '
';
+ }
+
+ return $html;
+ }
+
+ function _getFolder()
+ {
+ require_once dirname(__FILE__) . '/../base.php';
+
+ if ($this->_folder == null) {
+ $this->_folder = $GLOBALS['trean_shares']->getFolder($this->_params['folder']);
+ }
+
+ return $this->_folder;
+ }
+
+}
diff --git a/trean/lib/Block/highestrated.php b/trean/lib/Block/highestrated.php
new file mode 100644
index 000000000..961683a8a
--- /dev/null
+++ b/trean/lib/Block/highestrated.php
@@ -0,0 +1,79 @@
+
+ * @package Horde_Block
+ */
+class Horde_Block_Trean_highestrated extends Horde_Block {
+
+ var $_app = 'trean';
+
+ /**
+ * Block configuration.
+ */
+ function _params()
+ {
+ return array('rows' => array('name' => _("Number of bookmarks to show"),
+ 'type' => 'enum',
+ 'default' => '10',
+ 'values' => array('10' => _("10 rows"),
+ '15' => _("15 rows"),
+ '25' => _("25 rows"))),
+ 'template' => array('name' => _("Template"),
+ 'type' => 'enum',
+ 'default' => '1line',
+ 'values' => array('standard' => _("3 Line"),
+ '2line' => _("2 Line"),
+ '1line' => _("1 Line"))));
+ }
+
+ /**
+ * The title to go in this block.
+ *
+ * @return string The title text.
+ */
+ function _title()
+ {
+ global $registry;
+ return Horde::link(Horde::url($registry->getInitialPage(), true)) . _("Highest-rated Bookmarks") . '
';
+ }
+
+ /**
+ * The content to go in this block.
+ *
+ * @return string The content.
+ */
+ function _content()
+ {
+ require_once dirname(__FILE__) . '/../base.php';
+ require_once TREAN_TEMPLATES . '/star_rating_helper.php';
+
+ $template = TREAN_TEMPLATES . '/block/' . $this->_params['template'] . '.inc';
+
+ $html = '';
+ $bookmarks = $GLOBALS['trean_shares']->sortBookmarks('rating', 1, 0, $this->_params['rows']);
+ foreach ($bookmarks as $bookmark) {
+ ob_start();
+ require $template;
+ $html .= '' . ob_get_clean() . '
';
+ }
+
+ if (!$bookmarks) {
+ return '' . _("No bookmarks to display") . '
';
+ }
+
+ return $html;
+ }
+
+}
diff --git a/trean/lib/Block/mostclicked.php b/trean/lib/Block/mostclicked.php
new file mode 100644
index 000000000..ca8ab0a69
--- /dev/null
+++ b/trean/lib/Block/mostclicked.php
@@ -0,0 +1,79 @@
+
+ * @package Horde_Block
+ */
+class Horde_Block_Trean_mostclicked extends Horde_Block {
+
+ var $_app = 'trean';
+
+ /**
+ * Block configuration.
+ */
+ function _params()
+ {
+ return array('rows' => array('name' => _("Number of bookmarks to show"),
+ 'type' => 'enum',
+ 'default' => '10',
+ 'values' => array('10' => _("10 rows"),
+ '15' => _("15 rows"),
+ '25' => _("25 rows"))),
+ 'template' => array('name' => _("Template"),
+ 'type' => 'enum',
+ 'default' => '1line',
+ 'values' => array('standard' => _("3 Line"),
+ '2line' => _("2 Line"),
+ '1line' => _("1 Line"))));
+ }
+
+ /**
+ * The title to go in this block.
+ *
+ * @return string The title text.
+ */
+ function _title()
+ {
+ global $registry;
+ return Horde::link(Horde::url($registry->getInitialPage(), true)) . _("Most-clicked Bookmarks") . '';
+ }
+
+ /**
+ * The content to go in this block.
+ *
+ * @return string The content.
+ */
+ function _content()
+ {
+ require_once dirname(__FILE__) . '/../base.php';
+ require_once TREAN_TEMPLATES . '/star_rating_helper.php';
+
+ $template = TREAN_TEMPLATES . '/block/' . $this->_params['template'] . '.inc';
+
+ $html = '';
+ $bookmarks = $GLOBALS['trean_shares']->sortBookmarks('clicks', 1, 0, $this->_params['rows']);
+ foreach ($bookmarks as $bookmark) {
+ ob_start();
+ require $template;
+ $html .= '' . ob_get_clean() . '
';
+ }
+
+ if (!$bookmarks) {
+ return '' . _("No bookmarks to display") . '
';
+ }
+
+ return $html;
+ }
+
+}
diff --git a/trean/lib/Block/tree_menu.php b/trean/lib/Block/tree_menu.php
new file mode 100644
index 000000000..d76e7ac13
--- /dev/null
+++ b/trean/lib/Block/tree_menu.php
@@ -0,0 +1,55 @@
+addNode($parent . '__new',
+ $parent,
+ _("Add"),
+ $indent + 1,
+ false,
+ array('icon' => 'add.png',
+ 'icondir' => $registry->getImageDir(),
+ 'url' => Horde::applicationUrl('add.php')));
+
+ $tree->addNode($parent . '__search',
+ $parent,
+ _("Search"),
+ $indent + 1,
+ false,
+ array('icon' => 'search.png',
+ 'icondir' => $registry->getImageDir('horde'),
+ 'url' => Horde::applicationUrl('search.php')));
+
+ $folders = Trean::listFolders();
+ if (!is_a($folders, 'PEAR_Error')) {
+ foreach ($folders as $folder) {
+ $parent_id = $folder->getParent();
+ $tree->addNode($parent . $folder->getId(),
+ $parent . $parent_id,
+ $folder->get('name'),
+ $indent + substr_count($folder->getName(), ':') + 1,
+ false,
+ array('icon' => 'folder.png',
+ 'icondir' => $registry->getImageDir('horde') . '/tree',
+ 'url' => Horde_Util::addParameter($browse, 'f', $folder->getId())));
+ }
+ }
+ }
+
+}
diff --git a/trean/lib/Bookmarks.php b/trean/lib/Bookmarks.php
new file mode 100644
index 000000000..0dfb84e83
--- /dev/null
+++ b/trean/lib/Bookmarks.php
@@ -0,0 +1,1069 @@
+
+ * @package Trean
+ */
+class Trean_Bookmarks {
+
+ /**
+ * Pointer to a DataTree instance to manage/store shares
+ *
+ * @var DataTree
+ */
+ var $_datatree;
+
+ /**
+ * A cache of all shares that have been retrieved, so we don't hit the
+ * backend again and again for them.
+ *
+ * @var array
+ */
+ var $_cache = array();
+
+ /**
+ * Id-name-map of already cached share objects.
+ *
+ * @var array
+ */
+ var $_shareMap = array();
+
+ /**
+ * Cache used for listFolders/getFolders().
+ *
+ * @var array
+ */
+ var $_listcache = array();
+
+ /**
+ * Caches the number of share matching certain criteria.
+ *
+ * @see countShares()
+ * @var array
+ */
+ var $_counts = array();
+
+ /**
+ * A list of objects that we're currently sorting, for reference during the
+ * sorting algorithm.
+ *
+ * @var array
+ */
+ var $_sortList;
+
+ /**
+ * Constructor.
+ */
+ function Trean_Bookmarks()
+ {
+ global $conf, $registry;
+
+ if (empty($conf['datatree']['driver'])) {
+ Horde::fatal('You must configure a DataTree backend to use Trean.', __FILE__, __LINE__);
+ }
+
+ $driver = $conf['datatree']['driver'];
+ $this->_datatree = &DataTree::singleton(
+ $driver,
+ array_merge(Horde::getDriverConfig('datatree', $driver), array('group' => 'horde.shares.trean'))
+ );
+
+ try {
+ Horde::callHook('share_init', array($this, 'trean'));
+ } catch (Horde_Exception_HookNotSet $e) {}
+ }
+
+ /**
+ * Search all folders that the user has permissions to.
+ */
+ function searchBookmarks($search_criteria, $search_operator = 'OR',
+ $sortby = 'title', $sortdir = 0, $from = 0, $count = 0)
+ {
+ // Validate the search operator (AND or OR).
+ switch ($search_operator) {
+ case 'AND':
+ case 'OR':
+ break;
+
+ default:
+ $search_operator = 'AND';
+ }
+
+ // Get the folder ids to search.
+ $folderIds = $this->listFolders($GLOBALS['registry']->getAuth(), Horde_Perms::READ);
+
+ $clauses = array();
+ $values = array();
+ foreach ($search_criteria as $criterion) {
+ $clause = Horde_SQL::buildClause($GLOBALS['trean_db'],
+ 'bookmark_' . $criterion[0],
+ $criterion[1],
+ Horde_String::convertCharset($criterion[2],
+ $GLOBALS['conf']['sql']['charset']),
+ true,
+ isset($criterion[3]) ? $criterion[3] : array());
+ $clauses[] = $clause[0];
+ $values = array_merge($values, $clause[1]);
+ }
+
+ $GLOBALS['trean_db']->setLimit($count, $from);
+
+ $sql = 'SELECT bookmark_id, folder_id, bookmark_url, bookmark_title, bookmark_description,
+ bookmark_clicks, bookmark_rating
+ FROM trean_bookmarks
+ WHERE folder_id IN (' . implode(',', $folderIds) . ')
+ AND (' . implode(' ' . $search_operator . ' ', $clauses) . ')
+ ORDER BY bookmark_' . $sortby . ($sortdir ? ' DESC' : '');
+ $query = $GLOBALS['trean_db']->prepare($sql);
+ if (is_a($query, 'PEAR_Error')) {
+ Horde::logMessage($query, __FILE__, __LINE__, PEAR_LOG_ERR);
+ return array();
+ }
+
+ $result = $query->execute($values);
+ if (is_a($result, 'PEAR_Error')) {
+ Horde::logMessage($result, __FILE__, __LINE__, PEAR_LOG_ERR);
+ return array();
+ }
+
+ return Trean_Bookmarks::resultSet($result->fetchAll(MDB2_FETCHMODE_ASSOC));
+ }
+
+ /**
+ * Sort bookmarks from all folders the user can access by a
+ * specific criteria.
+ */
+ function sortBookmarks($sortby = 'title', $sortdir = 0, $from = 0, $count = 10)
+ {
+ // List the folders to search.
+ $folderIds = $this->listFolders($GLOBALS['registry']->getAuth(), Horde_Perms::READ);
+
+ // Make sure $sortby is a valid field.
+ switch ($sortby) {
+ case 'rating':
+ case 'clicks':
+ break;
+
+ default:
+ $sortby = 'title';
+ }
+
+ if ($count > 100) {
+ return PEAR::raiseError('Max of 100 results');
+ }
+
+ $GLOBALS['trean_db']->setLimit($count, $from);
+ return Trean_Bookmarks::resultSet($GLOBALS['trean_db']->queryAll('
+ SELECT bookmark_id, folder_id, bookmark_url, bookmark_title, bookmark_description,
+ bookmark_clicks, bookmark_rating
+ FROM trean_bookmarks
+ WHERE folder_id IN (' . implode(',', $folderIds) . ')
+ ORDER BY bookmark_' . $sortby . ($sortdir ? ' DESC' : ''), null, MDB2_FETCHMODE_ASSOC));
+ }
+
+ /**
+ * Returns the number of bookmarks in all folders.
+ *
+ * @return integer The number of all bookmarks.
+ */
+ function countBookmarks()
+ {
+ $folderIds = $this->listFolders($GLOBALS['registry']->getAuth(), Horde_Perms::EDIT);
+ $sql = 'SELECT COUNT(*) FROM trean_bookmarks WHERE folder_id IN (' . implode(',', $folderIds) . ')';
+ return $GLOBALS['trean_db']->queryOne($sql);
+ }
+
+ /**
+ * Return counts on grouping bookmarks by a specific property.
+ */
+ function groupBookmarks($groupby)
+ {
+ $folderIds = $this->listFolders($GLOBALS['registry']->getAuth(), Horde_Perms::READ);
+
+ switch ($groupby) {
+ case 'status':
+ $sql = 'SELECT bookmark_http_status AS status, COUNT(*) AS count
+ FROM trean_bookmarks
+ WHERE folder_id IN (' . implode(',', $folderIds) . ')
+ GROUP BY bookmark_http_status';
+ break;
+
+ default:
+ return array();
+ }
+
+ return $GLOBALS['trean_db']->queryAll($sql, null, MDB2_FETCHMODE_ASSOC);
+ }
+
+ /**
+ * Returns an array of DataTreeObject_Folder objects corresponding to the
+ * given set of unique IDs, with the details retrieved appropriately.
+ *
+ * @param array $cids The array of ids to retrieve.
+ *
+ * @return array The requested shares.
+ */
+ function &getShares($cids)
+ {
+ $all_shares = array();
+ $missing_ids = array();
+ foreach ($cids as $cid) {
+ if (isset($this->_shareMap[$cid])) {
+ $all_shares[$this->_shareMap[$cid]] = &$this->_cache[$this->_shareMap[$cid]];
+ } else {
+ $missing_ids[] = $cid;
+ }
+ }
+
+ if (count($missing_ids)) {
+ $shares = $this->_datatree->getObjects($missing_ids, 'DataTreeObject_Folder');
+ if (is_a($shares, 'PEAR_Error')) {
+ return $shares;
+ }
+
+ $keys = array_keys($shares);
+ foreach ($keys as $key) {
+ if (is_a($shares[$key], 'PEAR_Error')) {
+ return $shares[$key];
+ }
+
+ $shares[$key]->setShareOb($this);
+ $all_shares[$key] = &$shares[$key];
+ $this->_cache[$key] = &$shares[$key];
+ $this->_shareMap[$shares[$key]->getId()] = $key;
+ }
+ }
+
+ return $all_shares;
+ }
+
+ /**
+ * Checks if a share exists in the system.
+ *
+ * @param string $share The share to check.
+ *
+ * @return boolean True if the share exists, false otherwise.
+ */
+ function exists($share)
+ {
+ if (isset($this->_cache[$share])) {
+ return true;
+ }
+
+ return $this->_datatree->exists($share);
+ }
+
+ /**
+ * Returns the folder ids that $userid has access to.
+ *
+ * @param string $userid The userid of the user to check access for.
+ * @param integer $perm The level of permissions required.
+ * @param string $parent The parent share to start searching at.
+ * @param boolean $allLevels Return all levels, or just the direct
+ * children of $parent? Defaults to all
+ * levels.
+ *
+ * @return array The folder ids $userid has access to.
+ */
+ function listFolders($userid, $perm = Horde_Perms::SHOW, $parent = null, $allLevels = true)
+ {
+ if (is_null($parent)) {
+ $parent = DATATREE_ROOT;
+ }
+
+ $key = serialize(array($userid, $perm, $parent, $allLevels));
+ if (empty($this->_listCache[$key])) {
+ $criteria = $this->_getShareCriteria($userid, $perm);
+ $sharelist = $this->_datatree->getByAttributes(
+ $criteria, $parent, $allLevels, 'id', 0, 0, 'name'
+ );
+ if (is_a($sharelist, 'PEAR_Error')) {
+ return $sharelist;
+ }
+ $this->_listCache[$key] = array_keys($sharelist);
+ }
+
+ return $this->_listCache[$key];
+ }
+
+ /**
+ * Returns an array of all folders that $userid has access to.
+ *
+ * @param string $userid The userid of the user to check access for.
+ * @param integer $perm The level of permissions required.
+ * @param string $parent The parent share to start searching at.
+ * @param boolean $allLevels Return all levels, or just the direct
+ * children of $parent? Defaults to all
+ * levels.
+ *
+ * @return array The shares the user has access to.
+ */
+ function &getFolders($userid, $perm = Horde_Perms::SHOW, $parent = null, $allLevels = true)
+ {
+ $folderIds = $this->listFolders($userid, $perm, $parent, $allLevels);
+ if (!count($folderIds) || is_a($folderIds, 'PEAR_Error')) {
+ return $folderIds;
+ }
+
+ /* Make sure getShares() didn't return an error. */
+ $shares = &$this->getShares($folderIds);
+ if (is_a($shares, 'PEAR_Error')) {
+ return $shares;
+ }
+
+ $this->_sortList = $shares;
+ uasort($shares, array($this, '_sortShares'));
+ $this->_sortList = null;
+
+ try {
+ return Horde::callHook('share_list', array($userid, $perm, null, $shares));
+ } catch (Horde_Exception_HookNotSet $e) {
+ return $shares;
+ }
+ }
+
+ /**
+ * Returns a new folder object.
+ *
+ * @param string $name The folder's internal name.
+ * @param array $properties The folder's initial properties. If set, a
+ * 'name' value is expected.
+ *
+ * @return DataTreeObject_Folder A new folder object.
+ */
+ function &newFolder($name, $properties = null)
+ {
+ if (empty($name)) {
+ $error = PEAR::raiseError(_("Folder names must be non-empty"));
+ return $error;
+ }
+
+ $folder = new DataTreeObject_Folder($name);
+ $folder->setDataTree($this->_datatree);
+ $folder->setShareOb($this);
+ $folder->set('owner', $GLOBALS['registry']->getAuth());
+ $folder->set('name', isset($properties['name']) ? $properties['name'] : '');
+ return $folder;
+ }
+
+ /**
+ * Returns a DataTreeObject_Folder object corresponding to the given unique
+ * ID, with the details retrieved appropriately.
+ *
+ * @param string $cid The id of the folder to retrieve.
+ *
+ * @return DataTreeObject_Folder The requested folder.
+ */
+ function &getFolder($cid)
+ {
+ if (isset($this->_shareMap[$cid])) {
+ $share = &$this->_cache[$this->_shareMap[$cid]];
+ } else {
+ $share = $this->_datatree->getObjectById($cid, 'DataTreeObject_Folder');
+ if (!is_a($share, 'PEAR_Error')) {
+ $share->setShareOb($this);
+ $name = $share->getName();
+ $this->_cache[$name] = &$share;
+ $this->_shareMap[$cid] = $name;
+ }
+ }
+
+ return $share;
+ }
+
+ /**
+ * Returns the bookmark corresponding to the given id.
+ *
+ * @param integer $id The ID of the bookmark to retrieve.
+ *
+ * @return Trean_Bookmark The bookmark object corresponding to the given name.
+ */
+ function getBookmark($id)
+ {
+ $bookmark = $GLOBALS['trean_db']->queryRow('
+ SELECT bookmark_id, folder_id, bookmark_url, bookmark_title, bookmark_description,
+ bookmark_clicks, bookmark_rating
+ FROM trean_bookmarks
+ WHERE bookmark_id = ' . (int)$id, null, MDB2_FETCHMODE_ASSOC);
+ if (is_null($bookmark)) {
+ return PEAR::raiseError('not found');
+ } elseif (is_a($bookmark, 'PEAR_Error')) {
+ return $bookmark;
+ } else {
+ $bookmark = $this->resultSet(array($bookmark));
+ return array_pop($bookmark);
+ }
+ }
+
+ /**
+ * Stores a new folder permanently.
+ *
+ * @param DataTreeObject_Folder $folder The folder to add.
+ */
+ function addFolder($folder)
+ {
+ if (!is_a($folder, 'DataTreeObject_Folder')) {
+ return PEAR::raiseError('Folders must be DataTreeObject_Folder objects or extend that class.');
+ }
+
+ $perm = &$GLOBALS['perms']->newPermission($folder->getName());
+ if (is_a($perm, 'PEAR_Error')) {
+ return $perm;
+ }
+
+ /* Give the owner full access */
+ $perm->addUserPermission($folder->get('owner'), Horde_Perms::SHOW, false);
+ $perm->addUserPermission($folder->get('owner'), Horde_Perms::READ, false);
+ $perm->addUserPermission($folder->get('owner'), Horde_Perms::EDIT, false);
+ $perm->addUserPermission($folder->get('owner'), Horde_Perms::DELETE, false);
+
+ $folder->setPermission($perm, false);
+
+ try {
+ $result = Horde::callHook('share_add', array($folder));
+ } catch (Horde_Exception_HookNotSet $e) {}
+
+ $result = $this->_datatree->add($folder);
+ if (is_a($result, 'PEAR_Error')) {
+ return $result;
+ }
+
+ /* Store new share in the caches. */
+ $id = $folder->getId();
+ $name = $folder->getName();
+ $this->_cache[$name] = &$folder;
+ $this->_shareMap[$id] = $name;
+
+ /* Reset caches that depend on unknown criteria. */
+ $this->_listCache = array();
+ $this->_counts = array();
+
+ return $result;
+ }
+
+ /**
+ * Removes a folder.
+ *
+ * @param DataTreeObject_Folder $folder The folder to
+ * remove.
+ * @param boolean $force Force the removal of
+ * every child?
+ */
+ function removeFolder($folder, $force = false)
+ {
+ if (!is_a($folder, 'DataTreeObject_Folder')) {
+ return PEAR::raiseError('Folders must be DataTreeObject_Folder objects or extend that class.');
+ }
+
+ try {
+ $result = Horde::callHook('share_remove', array($folder));
+ } catch (Horde_Exception_HookNotSet $e) {}
+
+ return $this->_datatree->remove($folder, $force);
+ }
+
+ /**
+ * Removes a Trean_Bookmark from the backend.
+ *
+ * @param Trean_Bookmark $bookmark The bookmark to remove.
+ */
+ function removeBookmark($bookmark)
+ {
+ /* Make sure $bookmark is a Trean_Bookmark; if not, try
+ * loading it. */
+ if (!is_a($bookmark, 'Trean_Bookmark')) {
+ $b = $this->getBookmark($bookmark);
+ if (is_a($b, 'PEAR_Error')) {
+ return $b;
+ }
+ $bookmark = $b;
+ }
+
+ /* Check permissions. */
+ $folder = $this->getFolder($bookmark->folder);
+ if (!$folder->hasPermission($GLOBALS['registry']->getAuth(), Horde_Perms::DELETE)) {
+ return PEAR::raiseError('permission denied');
+ }
+
+ /* TODO: Decrement favicon refcount. */
+
+ /* Delete from SQL. */
+ $GLOBALS['trean_db']->exec('DELETE FROM trean_bookmarks WHERE bookmark_id = ' . (int)$bookmark->id);
+
+ return true;
+ }
+
+ /**
+ * Returns the id of the folder $name.
+ *
+ * @param string $name A folder name.
+ *
+ * @return integer A folder id.
+ */
+ function getId($name)
+ {
+ return $this->_datatree->getId($name);
+ }
+
+ /**
+ * Move $folder to be a child of $new_parent.
+ */
+ function move($folder, $new_parent)
+ {
+ if (!is_a($folder, 'DataTreeObject_Folder')) {
+ return PEAR::raiseError('Folders must be DataTreeObject_Folder objects or extend that class.');
+ }
+ if (!is_a($new_parent, 'DataTreeObject_Folder')) {
+ return PEAR::raiseError('Folders must be DataTreeObject_Folder objects or extend that class.');
+ }
+ return $this->_datatree->move($folder, $new_parent);
+ }
+
+ /**
+ * Create Trean_Bookmark objects for each row in a SQL result.
+ * @static
+ */
+ function resultSet($bookmarks)
+ {
+ if (is_null($bookmarks)) {
+ return array();
+ } elseif (is_a($bookmarks, 'PEAR_Error')) {
+ return $bookmarks;
+ }
+
+ $objects = array();
+ foreach ($bookmarks as $bookmark) {
+ foreach ($bookmark as $key => $value)
+ if (!empty($value) && !is_numeric($value)) {
+ $cvBookmarks[$key] = Horde_String::convertCharset(
+ $value, $GLOBALS['conf']['sql']['charset']);
+ } else {
+ $cvBookmarks[$key] = $value;
+ }
+ $objects[] = new Trean_Bookmark($cvBookmarks);
+ }
+ return $objects;
+ }
+
+ /**
+ * Utility function to be used with uasort() for sorting arrays of
+ * Trean_Bookmarks objects.
+ * Example:
+ * uasort($list, array('Trean_Bookmarks', '_sortShares'));
+ *
+ *
+ * @access private
+ */
+ function _sortShares($a, $b)
+ {
+ $aParts = explode(':', $a->getName());
+ $bParts = explode(':', $b->getName());
+
+ $min = min(count($aParts), count($bParts));
+ $idA = '';
+ $idB = '';
+ for ($i = 0; $i < $min; $i++) {
+ if ($idA) {
+ $idA .= ':';
+ $idB .= ':';
+ }
+ $idA .= $aParts[$i];
+ $idB .= $bParts[$i];
+
+ if ($idA != $idB) {
+ $curA = isset($this->_sortList[$idA]) ? $this->_sortList[$idA]->get('name') : '';
+ $curB = isset($this->_sortList[$idB]) ? $this->_sortList[$idB]->get('name') : '';
+ return strnatcasecmp($curA, $curB);
+ }
+ }
+
+ return count($aParts) > count($bParts);
+ }
+
+ /**
+ * Returns an array of criteria for querying shares.
+ *
+ * @param string $userid The userid of the user to check access for.
+ * @param integer $perm The level of permissions required.
+ *
+ * @return array The criteria tree for fetching this user's shares.
+ */
+ function _getShareCriteria($userid, $perm = Horde_Perms::SHOW)
+ {
+ if (!empty($userid)) {
+ $criteria = array(
+ 'OR' => array(
+ // (owner == $userid)
+ array(
+ 'AND' => array(
+ array('field' => 'name', 'op' => '=', 'test' => 'owner'),
+ array('field' => 'value', 'op' => '=', 'test' => $userid))),
+
+ // (name == perm_users and key == $userid and val & $perm)
+ array(
+ 'AND' => array(
+ array('field' => 'name', 'op' => '=', 'test' => 'perm_users'),
+ array('field' => 'key', 'op' => '=', 'test' => $userid),
+ array('field' => 'value', 'op' => '&', 'test' => $perm))),
+
+ // (name == perm_creator and val & $perm)
+ array(
+ 'AND' => array(
+ array('field' => 'name', 'op' => '=', 'test' => 'perm_creator'),
+ array('field' => 'value', 'op' => '&', 'test' => $perm))),
+
+ // (name == perm_default and val & $perm)
+ array(
+ 'AND' => array(
+ array('field' => 'name', 'op' => '=', 'test' => 'perm_default'),
+ array('field' => 'value', 'op' => '&', 'test' => $perm)))));
+
+ // If the user has any group memberships, check for those also.
+ $group = Horde_Group::singleton();
+ $groups = $group->getGroupMemberships($userid, true);
+ if (is_array($groups) && count($groups)) {
+ // (name == perm_groups and key in ($groups) and val & $perm)
+ $criteria['OR'][] = array(
+ 'AND' => array(
+ array('field' => 'name', 'op' => '=', 'test' => 'perm_groups'),
+ array('field' => 'key', 'op' => 'IN', 'test' => array_keys($groups)),
+ array('field' => 'value', 'op' => '&', 'test' => $perm)));
+ }
+ } else {
+ $criteria = array(
+ 'AND' => array(
+ array('field' => 'name', 'op' => '=', 'test' => 'perm_guest'),
+ array('field' => 'value', 'op' => '&', 'test' => $perm)));
+ }
+
+ return $criteria;
+ }
+
+}
+
+/**
+ * Extension of the DataTreeObject class for storing bookmark folders.
+ *
+ * @author Mike Cochrane
+ * @package Trean
+ */
+class DataTreeObject_Folder extends DataTreeObject {
+
+ /**
+ * The Trean_Bookmarks object which this share came from - needed
+ * for updating data in the backend to make changes stick, etc.
+ *
+ * @var Trean_Bookmarks
+ */
+ var $_shareOb;
+
+ /**
+ * The DataTreeObject_Folder constructor. Just makes sure to call the parent
+ * constructor so that the share's name is set properly.
+ *
+ * @param string $id The id of the share.
+ */
+ function DataTreeObject_Folder($id)
+ {
+ parent::DataTreeObject($id);
+ if (is_null($this->data)) {
+ $this->data = array();
+ }
+ }
+
+ /**
+ * Returns the properties that need to be serialized.
+ *
+ * @return array List of serializable properties.
+ */
+ function __sleep()
+ {
+ $properties = get_object_vars($this);
+ unset($properties['datatree'], $properties['_shareOb']);
+ $properties = array_keys($properties);
+ return $properties;
+ }
+
+ /**
+ * Associates a Trean_Bookmarks object with this share.
+ *
+ * @param Trean_Bookmarks $shareOb The Trean_Bookmarks object.
+ */
+ function setShareOb(&$shareOb)
+ {
+ $this->_shareOb = &$shareOb;
+ }
+
+ /**
+ * Checks to see if a user has a given permission.
+ *
+ * @param string $userid The userid of the user.
+ * @param integer $permission A Horde_Perms::* constant to test for.
+ * @param string $creator The creator of the event.
+ *
+ * @return boolean Whether or not $userid has $permission.
+ */
+ function hasPermission($userid, $permission, $creator = null)
+ {
+ if ($userid == $this->get('owner')) {
+ return true;
+ }
+
+ return $GLOBALS['perms']->hasPermission($this->getPermission(), $userid, $permission, $creator);
+ }
+
+ /**
+ * TODO
+ *
+ * @param TODO
+ * @param boolean $update TODO
+ *
+ * @return TODO
+ */
+ function setPermission(&$perm, $update = true)
+ {
+ $this->data['perm'] = $perm->getData();
+ if ($update) {
+ return $this->save();
+ }
+ return true;
+ }
+
+ /**
+ * TODO
+ *
+ * @return Horde_Perms_Permission
+ */
+ function getPermission()
+ {
+ $perm = new Horde_Perms_Permission($this->getName());
+ $perm->data = isset($this->data['perm']) ? $this->data['perm'] : array();
+
+ return $perm;
+ }
+
+ /**
+ * Forces all children of this share to inherit the permissions set on this
+ * share.
+ *
+ * @return TODO
+ */
+ function inheritPermissions()
+ {
+ $c_list = $this->datatree->get(DATATREE_FORMAT_FLAT, $this->getName(), true);
+ if (is_a($c_list, 'PEAR_Error') || !$c_list) {
+ // If we got back an error or an empty array, just return it.
+ return $c_list;
+ }
+ unset($c_list[$this->getName()]);
+
+ $children = &$this->_shareOb->getShares(array_keys($c_list));
+ if (is_a($children, 'PEAR_Error')) {
+ return $children;
+ }
+
+ $perm = $this->getPermission();
+ foreach ($children as $child) {
+ $child->setPermission($perm);
+ }
+
+ return true;
+ }
+
+ /**
+ * Sets one of the attributes of the object.
+ *
+ * @param string The attribute to set.
+ * @param mixed The value for $attribute.
+ * @param boolean Determines whether the backend should be updated or not.
+ */
+ function set($attribute, $value, $update = false)
+ {
+ parent::set($attribute, $value);
+ if ($update) {
+ $this->save();
+ }
+ }
+
+ /**
+ * Adds a bookmark to this folder.
+ *
+ * @param array $properties The initial properties for the new
+ * bookmark. Expected values are
+ * 'bookmark_url', 'bookmark_title', and
+ * 'bookmark_description'.
+ *
+ * @return The id of the new bookmark.
+ */
+ function addBookmark($properties)
+ {
+ $properties['folder_id'] = $this->getId();
+ $bookmark = new Trean_Bookmark($properties);
+ return $bookmark->save();
+ }
+
+ /**
+ * Adds a child folder to this folder.
+ *
+ * @param array $properties The initial properties for the new folder.
+ * Expected value is 'name'.
+ *
+ * @return The id of the new folder.
+ */
+ function addFolder($properties)
+ {
+ $folder = &$this->_shareOb->newFolder($this->getName() . ':' . md5(uniqid(mt_rand())), $properties);
+ $this->_shareOb->addFolder($folder);
+ return $this->datatree->getId($folder);
+ }
+
+ /**
+ * Returns the id of this folder's parent folder.
+ */
+ function getParent()
+ {
+ $parent = $this->datatree->getParent($this->getName());
+ return ($parent == DATATREE_ROOT) ? null : $parent;
+ }
+
+ /**
+ * Lists the bookmarks in this folder.
+ *
+ * @param integer $from The bookmark to start fetching.
+ * @param integer $count The numer of bookmarks to return.
+ */
+ function listBookmarks($sortby = 'title', $sortdir = 0, $from = 0, $count = 0)
+ {
+ // Make sure $sortby is a valid field.
+ switch ($sortby) {
+ case 'rating':
+ case 'clicks':
+ break;
+
+ default:
+ $sortby = 'title';
+ }
+
+ $GLOBALS['trean_db']->setLimit($count, $from);
+ return Trean_Bookmarks::resultSet($GLOBALS['trean_db']->queryAll('
+ SELECT bookmark_id, folder_id, bookmark_url, bookmark_title, bookmark_description,
+ bookmark_clicks, bookmark_rating
+ FROM trean_bookmarks
+ WHERE folder_id = ' . (int)$this->getId() . '
+ ORDER BY bookmark_' . $sortby . ($sortdir ? ' DESC' : ''), null, MDB2_FETCHMODE_ASSOC));
+ }
+
+ /**
+ * Maps this object's attributes from the data array into a format that we
+ * can store in the attributes storage backend.
+ *
+ * @access protected
+ *
+ * @param boolean $permsonly Only process permissions? Lets subclasses
+ * override part of this method while handling
+ * their additional attributes seperately.
+ *
+ * @return array The attributes array.
+ */
+ function _toAttributes($permsonly = false)
+ {
+ // Default to no attributes.
+ $attributes = array();
+
+ foreach ($this->data as $key => $value) {
+ if ($key == 'perm') {
+ foreach ($value as $type => $perms) {
+ if (is_array($perms)) {
+ foreach ($perms as $member => $perm) {
+ $attributes[] = array('name' => 'perm_' . $type,
+ 'key' => $member,
+ 'value' => $perm);
+ }
+ } else {
+ $attributes[] = array('name' => 'perm_' . $type,
+ 'key' => '',
+ 'value' => $perms);
+ }
+ }
+ } elseif (!$permsonly) {
+ $attributes[] = array('name' => $key,
+ 'key' => '',
+ 'value' => $value);
+ }
+ }
+
+ return $attributes;
+ }
+
+ /**
+ * Takes in a list of attributes from the backend and maps it to our
+ * internal data array.
+ *
+ * @access protected
+ *
+ * @param array $attributes The list of attributes from the backend
+ * (attribute name, key, and value).
+ * @param boolean $permsonly Only process permissions? Lets subclasses
+ * override part of this method while handling
+ * their additional attributes seperately.
+ */
+ function _fromAttributes($attributes, $permsonly = false)
+ {
+ // Initialize data array.
+ $this->data['perm'] = array();
+
+ foreach ($attributes as $attr) {
+ if (substr($attr['name'], 0, 4) == 'perm') {
+ if (!empty($attr['key'])) {
+ $this->data['perm'][substr($attr['name'], 5)][$attr['key']] = $attr['value'];
+ } else {
+ $this->data['perm'][substr($attr['name'], 5)] = $attr['value'];
+ }
+ } elseif (!$permsonly) {
+ $this->data[$attr['name']] = $attr['value'];
+ }
+ }
+ }
+
+}
+
+/**
+ * @author Ben Chavet
+ * @package Trean
+ */
+class Trean_Bookmark {
+
+ var $id = null;
+ var $url = null;
+ var $title = '';
+ var $description = '';
+ var $clicks = 0;
+ var $rating = 0;
+ var $http_status = null;
+ var $folder;
+ var $favicon;
+
+ function Trean_Bookmark($bookmark = array())
+ {
+ if ($bookmark) {
+ $this->url = $bookmark['bookmark_url'];
+ $this->title = $bookmark['bookmark_title'];
+ $this->description = $bookmark['bookmark_description'];
+ $this->folder = $bookmark['folder_id'];
+
+ if (!empty($bookmark['bookmark_id'])) {
+ $this->id = (int)$bookmark['bookmark_id'];
+ }
+ if (!empty($bookmark['bookmark_clicks'])) {
+ $this->clicks = (int)$bookmark['bookmark_clicks'];
+ }
+ if (!empty($bookmark['bookmark_rating'])) {
+ $this->rating = (int)$bookmark['bookmark_rating'];
+ }
+ if (!empty($bookmark['bookmark_http_status'])) {
+ $this->http_status = $bookmark['bookmark_http_status'];
+ }
+ }
+ }
+
+ /**
+ * Copy this bookmark into $folder.
+ */
+ function copyTo($folder)
+ {
+ if (!is_a($folder, 'DataTreeObject_Folder')) {
+ return PEAR::raiseError('Folders must be DataTreeObject_Folder objects or extend that class.');
+ }
+
+ return $folder->addBookmark(array('bookmark_url' => $this->url,
+ 'bookmark_title' => $this->title,
+ 'bookmark_description' => $this->description));
+ }
+
+ /**
+ * Save bookmark.
+ */
+ function save()
+ {
+ if ($this->id) {
+ // Update an existing bookmark.
+ $update = $GLOBALS['trean_db']->prepare('
+ UPDATE trean_bookmarks
+ SET folder_id = ?,
+ bookmark_url = ?,
+ bookmark_title = ?,
+ bookmark_description = ?,
+ bookmark_clicks = ?,
+ bookmark_rating = ?
+ WHERE bookmark_id = ?',
+ array('integer', 'text', 'text', 'text', 'integer', 'integer', 'integer')
+ );
+ if (is_a($update, 'PEAR_Error')) {
+ return $update;
+ }
+ $result = $update->execute(array($this->folder,
+ Horde_String::convertCharset($this->url, Horde_Nls::getCharset(), $GLOBALS['conf']['sql']['charset']),
+ Horde_String::convertCharset($this->title, Horde_Nls::getCharset(), $GLOBALS['conf']['sql']['charset']),
+ Horde_String::convertCharset($this->description, Horde_Nls::getCharset(), $GLOBALS['conf']['sql']['charset']),
+ $this->clicks,
+ $this->rating,
+ $this->id));
+ if (is_a($result, 'PEAR_Error')) {
+ Horde::logMessage($result, __FILE__, __LINE__, PEAR_LOG_ERR);
+ }
+ return $result;
+ }
+
+ if (!$this->folder || !strlen($this->url)) {
+ return PEAR::raiseError('Incomplete bookmark');
+ }
+
+ // Saving a new bookmark.
+ $bookmark_id = $GLOBALS['trean_db']->nextId('trean_bookmarks');
+ if (is_a($bookmark_id, 'PEAR_Error')) {
+ Horde::logMessage($bookmark_id, __FILE__, __LINE__, PEAR_LOG_ERR);
+ return $bookmark_id;
+ }
+
+ $insert = $GLOBALS['trean_db']->prepare('
+ INSERT INTO trean_bookmarks
+ (bookmark_id, folder_id, bookmark_url, bookmark_title, bookmark_description,
+ bookmark_clicks, bookmark_rating)
+ VALUES (?, ?, ?, ?, ?, ?, ?)',
+ array('integer', 'integer', 'text', 'text', 'text', 'integer', 'integer')
+ );
+ if (is_a($insert, 'PEAR_Error')) {
+ return $insert;
+ }
+
+ $result = $insert->execute(array($bookmark_id,
+ $this->folder,
+ Horde_String::convertCharset($this->url, Horde_Nls::getCharset(), $GLOBALS['conf']['sql']['charset']),
+ Horde_String::convertCharset($this->title, Horde_Nls::getCharset(), $GLOBALS['conf']['sql']['charset']),
+ Horde_String::convertCharset($this->description, Horde_Nls::getCharset(), $GLOBALS['conf']['sql']['charset']),
+ $this->clicks,
+ $this->rating,
+ ));
+ if (is_a($result, 'PEAR_Error')) {
+ Horde::logMessage($result, __FILE__, __LINE__, PEAR_LOG_ERR);
+ return $result;
+ }
+
+ $this->id = (int)$bookmark_id;
+ return $this->id;
+ }
+
+}
diff --git a/trean/lib/Forms/Search.php b/trean/lib/Forms/Search.php
new file mode 100644
index 000000000..45a9bf868
--- /dev/null
+++ b/trean/lib/Forms/Search.php
@@ -0,0 +1,28 @@
+setButtons(_("Search"));
+ $this->addVariable(_("Title"), 'title', 'text', false);
+ $this->addVariable(_("Description"), 'description', 'text', false);
+ $this->addVariable(_("URL"), 'url', 'text', false);
+ $this->addVariable(_("Combine"), 'combine', 'enum', false, false, null, array(array('OR' => _("OR"), 'AND' => _("AND"))));
+ $this->addVariable(_("Match"), 'op', 'enum', false, false, null, array(array('LIKE' => _("Any Part of the field"), '=' => _("Whole Field"))));
+ }
+
+}
diff --git a/trean/lib/Trean.php b/trean/lib/Trean.php
new file mode 100644
index 000000000..00dafb8bc
--- /dev/null
+++ b/trean/lib/Trean.php
@@ -0,0 +1,250 @@
+
+ * @package Trean
+ */
+class Trean
+{
+ public static function initialize()
+ {
+ // Make sure "My Bookmarks" folder exists
+ if ($GLOBALS['registry']->getAuth() && !$GLOBALS['trean_shares']->exists($GLOBALS['registry']->getAuth())) {
+ $identity = $GLOBALS['injector']->getInstance('Horde_Prefs_Identity')->getIdentity();
+ $name = $identity->getValue('fullname');
+ if (trim($name) == '') {
+ $name = Horde_Auth::removeHook($GLOBALS['registry']->getAuth());
+ }
+ $folder = &$GLOBALS['trean_shares']->newFolder($GLOBALS['registry']->getAuth(), array('name' => sprintf(_("%s's Bookmarks"), $name)));
+ $result = $GLOBALS['trean_shares']->addFolder($folder);
+ if (is_a($result, 'PEAR_Error')) {
+ Horde::fatal($result, __FILE__, __LINE__);
+ }
+ }
+ }
+
+ /**
+ */
+ function getDb()
+ {
+ $config = $GLOBALS['conf']['sql'];
+ unset($config['charset']);
+ return MDB2::factory($config);
+ }
+
+ /**
+ * List folders.
+ *
+ * @return array A list of folders.
+ */
+ function &listFolders($perm = Horde_Perms::SHOW, $parent = null, $allLevels = true)
+ {
+ return $GLOBALS['trean_shares']->getFolders($GLOBALS['registry']->getAuth(), $perm, $parent, $allLevels);
+ }
+
+ /**
+ * Counts the number of current user's folders list from storage.
+ *
+ * @param integer $perm The level of permissions to require for a
+ * folder to return it.
+ *
+ * @return integer The number of matching folders.
+ */
+ function countFolders($perm = Horde_Perms::SHOW)
+ {
+ $folders = $GLOBALS['trean_shares']->listFolders($GLOBALS['registry']->getAuth(), $perm);
+ if (is_a($folders, 'PEAR_Error')) {
+ $GLOBALS['notification']->push(sprintf(_("An error occurred counting folders: %s"), $folders->getMessage()), 'horde.error');
+ return 0;
+ }
+ return count($folders);
+ }
+
+ /**
+ * Generates the body of a <select> form input to select a
+ * folder. The <select> and </select> tags are NOT included
+ * in the output of this function.
+ *
+ * @param string $selected The folder to have selected by default.
+ * Defaults to the first option in the list.
+ *
+ * @return string A string containing elements for each folder
+ * in the list.
+ */
+ function folderSelect($selected = null, $perm = Horde_Perms::SHOW, $new = false)
+ {
+ // Default to the user's own main bookmarks.
+ if (is_null($selected)) {
+ $selected = $GLOBALS['registry']->getAuth();
+ }
+
+ $folders = Trean::listFolders($perm);
+ if (is_a($folders, 'PEAR_Error')) {
+ $folders = array();
+ }
+
+ $tree = Horde_Tree::factory('folder_select', 'select');
+
+ foreach ($folders as $folder_name => $folder) {
+ /* Selected or not? */
+ $params['selected'] = ($folder->getId() == $selected || $folder_name == $selected);
+
+ /* Add the node and add the node params. */
+ $tree->addNode($folder->getId(), $folder->getParent(), $folder->get('name'), substr_count($folder_name, ':'), true, $params);
+ }
+
+ $select = $new
+ ? ' ---- ' . _("New Folder") . ' '
+ : '';
+
+ return $select . $tree->renderTree();
+ }
+
+ /**
+ */
+ function sortOrder($sortby)
+ {
+ switch ($sortby) {
+ case 'title':
+ return 0;
+
+ case 'rating':
+ case 'clicks':
+ return 1;
+ }
+ }
+
+ /**
+ * Returns the specified permission for the current user.
+ *
+ * @param string $permission A permission, currently only 'max_folders'
+ * and 'max_bookmarks'.
+ *
+ * @return mixed The value of the specified permission.
+ */
+ function hasPermission($permission)
+ {
+ $perms = $GLOBALS['injector']->getInstance('Horde_Perms');
+ if (!$perms->exists('trean:' . $permission)) {
+ return true;
+ }
+
+ $allowed = $perms->getPermissions('trean:' . $permission);
+ if (is_array($allowed)) {
+ switch ($permission) {
+ case 'max_folders':
+ case 'max_bookmarks':
+ $allowed = max($allowed);
+ break;
+ }
+ }
+
+ return $allowed;
+ }
+
+ /**
+ * Builds Trean's list of menu items.
+ */
+ function getMenu($returnType = 'object')
+ {
+ global $conf, $registry;
+
+ $menu = new Horde_Menu();
+ $menu->add(Horde::applicationUrl('browse.php'), _("_Browse"), 'trean.png', null, null, null, basename($_SERVER['PHP_SELF']) == 'index.php' ? 'current' : null);
+ $menu->add(Horde::applicationUrl('search.php'), _("_Search"), 'search.png');
+ $menu->add(Horde::applicationUrl('reports.php'), _("_Reports"), 'reports.png');
+
+ /* Import/Export. */
+ if ($conf['menu']['import_export']) {
+ $menu->add(Horde::applicationUrl('data.php'), _("_Import/Export"), 'data.png');
+ }
+
+ if ($returnType == 'object') {
+ return $menu;
+ } else {
+ return $menu->render();
+ }
+ }
+
+ /**
+ * Returns the "Reason Phrase" associated with the given HTTP status code
+ * according to rfc2616.
+ */
+ function HTTPStatus($status_code)
+ {
+ switch ($status_code) {
+ case '100': return _("Continue");
+ case '101': return _("Switching Protocols");
+ case '200': return _("OK");
+ case '201': return _("Created");
+ case '202': return _("Accepted");
+ case '203': return _("Non-Authoritative Information");
+ case '204': return _("No Content");
+ case '205': return _("Reset Content");
+ case '206': return _("Partial Content");
+ case '300': return _("Multiple Choices");
+ case '301': return _("Moved Permanently");
+ case '302': return _("Found");
+ case '303': return _("See Other");
+ case '304': return _("Not Modified");
+ case '305': return _("Use Proxy");
+ case '307': return _("Temporary Redirect");
+ case '400': return _("Bad Request");
+ case '401': return _("Unauthorized");
+ case '402': return _("Payment Required");
+ case '403': return _("Forbidden");
+ case '404': return _("Not Found");
+ case '405': return _("Method Not Allowed");
+ case '406': return _("Not Acceptable");
+ case '407': return _("Proxy Authentication Required");
+ case '408': return _("Request Time-out");
+ case '409': return _("Conflict");
+ case '410': return _("Gone");
+ case '411': return _("Length Required");
+ case '412': return _("Precondition Failed");
+ case '413': return _("Request Entity Too Large");
+ case '414': return _("Request-URI Too Large");
+ case '415': return _("Unsupported Media Type");
+ case '416': return _("Requested range not satisfiable");
+ case '417': return _("Expectation Failed");
+ case '500': return _("Internal Server Error");
+ case '501': return _("Not Implemented");
+ case '502': return _("Bad Gateway");
+ case '503': return _("Service Unavailable");
+ case '504': return _("Gateway Time-out");
+ case '505': return _("HTTP Version not supported");
+ default: return '';
+ }
+ }
+
+ /**
+ * Returns an apropriate icon for the given bookmark.
+ */
+ function getFavicon($bookmark)
+ {
+ global $registry;
+
+ // Initialize VFS.
+ try {
+ $vfs = $GLOBALS['injector']->getInstance('Horde_Vfs');
+ if ($bookmark->favicon
+ && $vfs->exists('.horde/trean/favicons/', $bookmark->favicon)) {
+ return Horde_Util::addParameter(Horde::applicationUrl('favicon.php'),
+ 'bookmark_id', $bookmark->id);
+ }
+ } catch (Exception $e) {
+ }
+
+ // Default to the protocol icon.
+ $protocol = substr($bookmark->url, 0, strpos($bookmark->url, '://'));
+ return Horde_Themes::img('/protocol/' . (empty($protocol) ? 'http' : $protocol) . '.png');
+ }
+}
diff --git a/trean/lib/Views/BookmarkList.php b/trean/lib/Views/BookmarkList.php
new file mode 100644
index 000000000..0e25f33bc
--- /dev/null
+++ b/trean/lib/Views/BookmarkList.php
@@ -0,0 +1,50 @@
+bookmarks = $bookmarks;
+ }
+ $this->target = $GLOBALS['prefs']->getValue('show_in_new_window') ? '_blank' : '';
+ $this->redirectUrl = Horde::applicationUrl('redirect.php');
+
+ $this->sortby = $GLOBALS['prefs']->getValue('sortby');
+ $this->sortdir = $GLOBALS['prefs']->getValue('sortdir');
+ $this->sortdirclass = $this->sortdir ? 'sortup' : 'sortdown';
+ }
+
+ function folder($bookmark)
+ {
+ $folder = $GLOBALS['trean_shares']->getFolder($bookmark->folder);
+ return Horde::link(Horde_Util::addParameter(Horde::applicationUrl('browse.php'), 'f', $bookmark->folder)) . htmlspecialchars($folder->get('name')) . '';
+ }
+
+ function render()
+ {
+ include TREAN_TEMPLATES . '/views/BookmarkList.php';
+ }
+
+}
diff --git a/trean/locale/de_DE/LC_MESSAGES/trean.mo b/trean/locale/de_DE/LC_MESSAGES/trean.mo
new file mode 100644
index 000000000..73655fa0b
Binary files /dev/null and b/trean/locale/de_DE/LC_MESSAGES/trean.mo differ
diff --git a/trean/locale/en_US/help.xml b/trean/locale/en_US/help.xml
new file mode 100644
index 000000000..9a686dfe9
--- /dev/null
+++ b/trean/locale/en_US/help.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+ Overview
+ Introduction
+
+ The Bookmarks application allows you to store, organize and manage, and most importantly access your web browser booksmarks on-line and in one central place accessible from any web browser.
+
+
+ By storing your bookmarks here, you can access them from any browser on any machine. This means you can easily access your bookmarks from multiple browsers, multiple machines, remote locations, etc. And if you upgrade, switch, or test out browsers, you don't have to worry about what happens to your bookmarks or how to import them into the new browser.
+
+
+
+
diff --git a/trean/locale/es_ES/LC_MESSAGES/trean.mo b/trean/locale/es_ES/LC_MESSAGES/trean.mo
new file mode 100644
index 000000000..e0d7f8c0d
Binary files /dev/null and b/trean/locale/es_ES/LC_MESSAGES/trean.mo differ
diff --git a/trean/locale/es_ES/help.xml b/trean/locale/es_ES/help.xml
new file mode 100644
index 000000000..8704a7f6c
--- /dev/null
+++ b/trean/locale/es_ES/help.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+ Introducción
+ Introducción
+ La aplicación de marcadores le permite almacenar, organizar, gestionar y lo que es más importante, acceder a los marcadores de su navegador en lÃnea y desde un único sitio accesible desde cualquier navegador y lugar.
+ Al almacenar los marcadores aquÃ, puede acceder a ellos desde cualquier navegador de cualquier máquina. Esto significa que puede acceder fácilmente a sus marcadores desde distintos navegadores, distintas máquinas, ubicaciones remotas, etc. Y si actualiza, cambia o prueba otros navegadores, no tendrá que preocuparse sobre lo que sucederá con sus marcadores o cómo importarlos al nuevo navegador.
+
+
+
diff --git a/trean/locale/fi_FI/LC_MESSAGES/trean.mo b/trean/locale/fi_FI/LC_MESSAGES/trean.mo
new file mode 100644
index 000000000..b2606f590
Binary files /dev/null and b/trean/locale/fi_FI/LC_MESSAGES/trean.mo differ
diff --git a/trean/locale/fi_FI/help.xml b/trean/locale/fi_FI/help.xml
new file mode 100644
index 000000000..1d0f6413f
--- /dev/null
+++ b/trean/locale/fi_FI/help.xml
@@ -0,0 +1,20 @@
+
+
+
+
+ Yleiskuva
+ Esittely
+
+ Ohjelmalla Kirjanmerkki voit tallettaa, hallinnoida, organisoida
+ ja käyttää kirjanmerkkejäsi millä tahansa selaimella kaikkialta ja ne on kätevästi talletettuna yhteen paikkaan.
+
+
+ Tallettamalla kirjanmerkkisi tähän ohjelmaan voit käyttää niitä
+ millä selaimella tahansa miltä koneelta tahansa. Tämä tarkoittaa
+ että voit käyttää kirjanmerkkejäsi monilla selaimilla, monilta eri
+ koneilta ja eri paikoista. Etuna on myös se, että kirjanmerkkisi
+ ei pääse katoamaan jos päivität selaimesi uudempaan versioon tai
+ alat käyttämään kokonaan toista www-selainta.
+
+
+
diff --git a/trean/locale/fr_FR/LC_MESSAGES/trean.mo b/trean/locale/fr_FR/LC_MESSAGES/trean.mo
new file mode 100644
index 000000000..f4f5e4f78
Binary files /dev/null and b/trean/locale/fr_FR/LC_MESSAGES/trean.mo differ
diff --git a/trean/locale/it_IT/LC_MESSAGES/trean.mo b/trean/locale/it_IT/LC_MESSAGES/trean.mo
new file mode 100644
index 000000000..6acbeedef
Binary files /dev/null and b/trean/locale/it_IT/LC_MESSAGES/trean.mo differ
diff --git a/trean/locale/lv_LV/help.xml b/trean/locale/lv_LV/help.xml
new file mode 100644
index 000000000..3cf813665
--- /dev/null
+++ b/trean/locale/lv_LV/help.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+ Apskats
+ Par aplikâciju
+
+Grâmatzîmju aplikâcija ïauj Jums glabât, kârtot un piekïût tîmekïa grâmatzîmçm no jebkuras vietas pasaulç, izmantojot jebkuru grafisko tîmekïa pârlûku.
+
+
+Glabâjot grâmatzîmes ðeit, Jûs varat tâm piekïût no jebkuras vietas pasaulç un izmantot jebkuru grafisko tîmekïa pârlûku. Ja Jums ir nepiecieðams mainîti pârlûku, testçt jaunu utml., Jums nav jâuztraucas par saglabâto grâmatzîmju likteni vai arî kâ tâs importçt jaunajâ pârlûkâ.
+
+
+
+
diff --git a/trean/locale/nb_NO/LC_MESSAGES/trean.mo b/trean/locale/nb_NO/LC_MESSAGES/trean.mo
new file mode 100644
index 000000000..282aa65d9
Binary files /dev/null and b/trean/locale/nb_NO/LC_MESSAGES/trean.mo differ
diff --git a/trean/locale/nl_NL/LC_MESSAGES/trean.mo b/trean/locale/nl_NL/LC_MESSAGES/trean.mo
new file mode 100644
index 000000000..b72a22d70
Binary files /dev/null and b/trean/locale/nl_NL/LC_MESSAGES/trean.mo differ
diff --git a/trean/locale/pl_PL/LC_MESSAGES/trean.mo b/trean/locale/pl_PL/LC_MESSAGES/trean.mo
new file mode 100644
index 000000000..072cb7d86
Binary files /dev/null and b/trean/locale/pl_PL/LC_MESSAGES/trean.mo differ
diff --git a/trean/locale/sl_SI/LC_MESSAGES/trean.mo b/trean/locale/sl_SI/LC_MESSAGES/trean.mo
new file mode 100644
index 000000000..f9938355e
Binary files /dev/null and b/trean/locale/sl_SI/LC_MESSAGES/trean.mo differ
diff --git a/trean/locale/sv_SE/LC_MESSAGES/trean.mo b/trean/locale/sv_SE/LC_MESSAGES/trean.mo
new file mode 100644
index 000000000..4b6365872
Binary files /dev/null and b/trean/locale/sv_SE/LC_MESSAGES/trean.mo differ
diff --git a/trean/locale/tr_TR/LC_MESSAGES/trean.mo b/trean/locale/tr_TR/LC_MESSAGES/trean.mo
new file mode 100644
index 000000000..3d19f0d6d
Binary files /dev/null and b/trean/locale/tr_TR/LC_MESSAGES/trean.mo differ
diff --git a/trean/locale/zh_TW/LC_MESSAGES/trean.mo b/trean/locale/zh_TW/LC_MESSAGES/trean.mo
new file mode 100644
index 000000000..e79354cbd
Binary files /dev/null and b/trean/locale/zh_TW/LC_MESSAGES/trean.mo differ
diff --git a/trean/perms.php b/trean/perms.php
new file mode 100644
index 000000000..61190e3bc
--- /dev/null
+++ b/trean/perms.php
@@ -0,0 +1,262 @@
+
+ */
+
+$fieldsList['show'] = 0;
+$fieldsList['read'] = 1;
+$fieldsList['edit'] = 2;
+$fieldsList['delete'] = 3;
+
+define('TREAN_BASE', dirname(__FILE__));
+require_once TREAN_BASE . '/lib/base.php';
+require_once 'Horde/Group.php';
+
+$groups = &Group::singleton();
+$auth = Horde_Auth::singleton($conf['auth']['driver']);
+
+$form = null;
+$reload = false;
+$actionID = Horde_Util::getFormData('actionID', 'edit');
+switch ($actionID) {
+case 'edit':
+ $share = &$trean_shares->getFolder(Horde_Util::getFormData('cid'));
+ if (is_a($share, 'PEAR_Error')) {
+ $notification->push($share, 'horde.error');
+ } elseif (Horde_Auth::getAuth() != $share->get('owner')) {
+ exit('permission denied');
+ }
+ $form = 'edit.inc';
+ $perm = $share->getPermission();
+ break;
+
+case 'editform':
+case 'editforminherit':
+ $share = &$trean_shares->getFolder(Horde_Util::getFormData('cid'));
+ if (is_a($share, 'PEAR_Error')) {
+ $notification->push(_("Attempt to edit a non-existent share."), 'horde.error');
+ } else {
+ if (Horde_Auth::getAuth() != $share->get('owner')) {
+ exit('permission denied');
+ }
+ $perm = $share->getPermission();
+
+ // Process owner and owner permissions.
+ $old_owner = $share->get('owner');
+ $new_owner = Horde_Util::getFormData('owner', $old_owner);
+ if ($old_owner !== $new_owner && !empty($new_owner)) {
+ if ($old_owner != Horde_Auth::getAuth() && !Horde_Auth::isAdmin()) {
+ $notification->push(_("Only the owner or system administrator may change ownership or owner permissions for a share"), 'horde.error');
+ } else {
+ $share->set('owner', $new_owner);
+ $share->save();
+ if (Horde_Util::getFormData('owner_show')) {
+ $perm->addUserPermission($new_owner, Horde_Perms::SHOW, false);
+ } else {
+ $perm->removeUserPermission($new_owner, Horde_Perms::SHOW, false);
+ }
+ if (Horde_Util::getFormData('owner_read')) {
+ $perm->addUserPermission($new_owner, Horde_Perms::READ, false);
+ } else {
+ $perm->removeUserPermission($new_owner, Horde_Perms::READ, false);
+ }
+ if (Horde_Util::getFormData('owner_edit')) {
+ $perm->addUserPermission($new_owner, Horde_Perms::EDIT, false);
+ } else {
+ $perm->removeUserPermission($new_owner, Horde_Perms::EDIT, false);
+ }
+ if (Horde_Util::getFormData('owner_delete')) {
+ $perm->addUserPermission($new_owner, Horde_Perms::DELETE, false);
+ } else {
+ $perm->removeUserPermission($new_owner, Horde_Perms::DELETE, false);
+ }
+ }
+ }
+
+ // Process default permissions.
+ if (Horde_Util::getFormData('default_show')) {
+ $perm->addDefaultPermission(Horde_Perms::SHOW, false);
+ } else {
+ $perm->removeDefaultPermission(Horde_Perms::SHOW, false);
+ }
+ if (Horde_Util::getFormData('default_read')) {
+ $perm->addDefaultPermission(Horde_Perms::READ, false);
+ } else {
+ $perm->removeDefaultPermission(Horde_Perms::READ, false);
+ }
+ if (Horde_Util::getFormData('default_edit')) {
+ $perm->addDefaultPermission(Horde_Perms::EDIT, false);
+ } else {
+ $perm->removeDefaultPermission(Horde_Perms::EDIT, false);
+ }
+ if (Horde_Util::getFormData('default_delete')) {
+ $perm->addDefaultPermission(Horde_Perms::DELETE, false);
+ } else {
+ $perm->removeDefaultPermission(Horde_Perms::DELETE, false);
+ }
+
+ // Process guest permissions.
+ if (Horde_Util::getFormData('guest_show')) {
+ $perm->addGuestPermission(Horde_Perms::SHOW, false);
+ } else {
+ $perm->removeGuestPermission(Horde_Perms::SHOW, false);
+ }
+ if (Horde_Util::getFormData('guest_read')) {
+ $perm->addGuestPermission(Horde_Perms::READ, false);
+ } else {
+ $perm->removeGuestPermission(Horde_Perms::READ, false);
+ }
+ if (Horde_Util::getFormData('guest_edit')) {
+ $perm->addGuestPermission(Horde_Perms::EDIT, false);
+ } else {
+ $perm->removeGuestPermission(Horde_Perms::EDIT, false);
+ }
+ if (Horde_Util::getFormData('guest_delete')) {
+ $perm->addGuestPermission(Horde_Perms::DELETE, false);
+ } else {
+ $perm->removeGuestPermission(Horde_Perms::DELETE, false);
+ }
+
+ // Process creator permissions.
+ if (Horde_Util::getFormData('creator_show')) {
+ $perm->addCreatorPermission(Horde_Perms::SHOW, false);
+ } else {
+ $perm->removeCreatorPermission(Horde_Perms::SHOW, false);
+ }
+ if (Horde_Util::getFormData('creator_read')) {
+ $perm->addCreatorPermission(Horde_Perms::READ, false);
+ } else {
+ $perm->removeCreatorPermission(Horde_Perms::READ, false);
+ }
+ if (Horde_Util::getFormData('creator_edit')) {
+ $perm->addCreatorPermission(Horde_Perms::EDIT, false);
+ } else {
+ $perm->removeCreatorPermission(Horde_Perms::EDIT, false);
+ }
+ if (Horde_Util::getFormData('creator_delete')) {
+ $perm->addCreatorPermission(Horde_Perms::DELETE, false);
+ } else {
+ $perm->removeCreatorPermission(Horde_Perms::DELETE, false);
+ }
+
+ // Process user permissions.
+ $u_names = Horde_Util::getFormData('u_names');
+ $u_show = Horde_Util::getFormData('u_show');
+ $u_read = Horde_Util::getFormData('u_read');
+ $u_edit = Horde_Util::getFormData('u_edit');
+ $u_delete = Horde_Util::getFormData('u_delete');
+
+ foreach ($u_names as $key => $user) {
+ // If the user is empty, or we've already set permissions
+ // via the owner_ options, don't do anything here.
+ if (empty($user) || $user == $new_owner) {
+ continue;
+ }
+
+ if (!empty($u_show[$key])) {
+ $perm->addUserPermission($user, Horde_Perms::SHOW, false);
+ } else {
+ $perm->removeUserPermission($user, Horde_Perms::SHOW, false);
+ }
+ if (!empty($u_read[$key])) {
+ $perm->addUserPermission($user, Horde_Perms::READ, false);
+ } else {
+ $perm->removeUserPermission($user, Horde_Perms::READ, false);
+ }
+ if (!empty($u_edit[$key])) {
+ $perm->addUserPermission($user, Horde_Perms::EDIT, false);
+ } else {
+ $perm->removeUserPermission($user, Horde_Perms::EDIT, false);
+ }
+ if (!empty($u_delete[$key])) {
+ $perm->addUserPermission($user, Horde_Perms::DELETE, false);
+ } else {
+ $perm->removeUserPermission($user, Horde_Perms::DELETE, false);
+ }
+ }
+
+ // Process group permissions.
+ $g_names = Horde_Util::getFormData('g_names');
+ $g_show = Horde_Util::getFormData('g_show');
+ $g_read = Horde_Util::getFormData('g_read');
+ $g_edit = Horde_Util::getFormData('g_edit');
+ $g_delete = Horde_Util::getFormData('g_delete');
+
+ foreach ($g_names as $key => $group) {
+ if (empty($group)) {
+ continue;
+ }
+
+ if (!empty($g_show[$key])) {
+ $perm->addGroupPermission($group, Horde_Perms::SHOW, false);
+ } else {
+ $perm->removeGroupPermission($group, Horde_Perms::SHOW, false);
+ }
+ if (!empty($g_read[$key])) {
+ $perm->addGroupPermission($group, Horde_Perms::READ, false);
+ } else {
+ $perm->removeGroupPermission($group, Horde_Perms::READ, false);
+ }
+ if (!empty($g_edit[$key])) {
+ $perm->addGroupPermission($group, Horde_Perms::EDIT, false);
+ } else {
+ $perm->removeGroupPermission($group, Horde_Perms::EDIT, false);
+ }
+ if (!empty($g_delete[$key])) {
+ $perm->addGroupPermission($group, Horde_Perms::DELETE, false);
+ } else {
+ $perm->removeGroupPermission($group, Horde_Perms::DELETE, false);
+ }
+ }
+
+ $share->setPermission($perm);
+ $share->save();
+
+ /* If we were asked to, push permissions to all child shares
+ * to. */
+ if ($actionID == 'editforminherit') {
+ $share->inheritPermissions();
+ }
+
+ $notification->push(sprintf(_("Updated %s."), $share->get('name')), 'horde.success');
+ $form = 'edit.inc';
+ }
+ break;
+}
+
+if (is_a($share, 'PEAR_Error')) {
+ $title = _("Edit Permissions");
+} else {
+ $children = Trean::listFolders(Horde_Perms::READ, $share->getName());
+ if (is_a($children, 'PEAR_Error')) {
+ $notification->push(sprintf(_("An error occured listing folders: %s"), $children->getMessage()), 'horde.error');
+ $children = array();
+ }
+ $title = sprintf(_("Edit Permissions for %s"), $share->get('name'));
+}
+
+$userList = $auth->listUsers();
+if (is_a($userList, 'PEAR_Error')) {
+ Horde::logMessage($userList, __FILE__, __LINE__, PEAR_LOG_NOTICE);
+ $userList = array();
+}
+$groupList = $groups->listGroups();
+if (is_a($groupList, 'PEAR_Error')) {
+ Horde::logMessage($groupList, __FILE__, __LINE__, PEAR_LOG_NOTICE);
+ $groupList = array();
+}
+
+require $registry->get('templates', 'horde') . '/common-header.inc';
+$notification->notify(array('listeners' => 'status'));
+if (!empty($form)) {
+ require $registry->get('templates', 'horde') . '/shares/' . $form;
+}
+
+require $registry->get('templates', 'horde') . '/common-footer.inc';
diff --git a/trean/po/de_DE.po b/trean/po/de_DE.po
new file mode 100644
index 000000000..7dde19f23
--- /dev/null
+++ b/trean/po/de_DE.po
@@ -0,0 +1,882 @@
+# German translations for Trean
+# Copyright 2002-2009 The Horde Project
+# This file is distributed under the same license as the Trean package.
+# Jan Schneider , 2002-2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Trean 0.1-cvs\n"
+"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
+"POT-Creation-Date: 2008-08-01 10:44+0200\n"
+"PO-Revision-Date: 2008-06-23 18:31+0200\n"
+"Last-Translator: Jan Schneider \n"
+"Language-Team: i18n@lists.horde.org\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: edit.php:237
+#, php-format
+msgid "\"%s\" was not renamed: %s."
+msgstr "\"%s\" wurde nicht umbenannt: %s."
+
+#: data.php:156
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "%d Ordner und %d Lesezeichen importiert."
+
+#: templates/star_rating_helper.php:21 templates/star_rating_helper.php:22
+#: templates/star_rating_helper.php:23 templates/star_rating_helper.php:24
+#, php-format
+msgid "%d stars out of 5"
+msgstr "%d Sterne von 5"
+
+#: templates/reports.php:104
+#, php-format
+msgid "%s Bookmarks"
+msgstr "%s Lesezeichen"
+
+#: reports.php:25
+#, php-format
+msgid "%s Response Codes"
+msgstr "%s Statuscodes"
+
+#: lib/base.php:78
+#, php-format
+msgid "%s's Bookmarks"
+msgstr "Lesezeichen von %s"
+
+#: lib/Block/highestrated.php:38 lib/Block/bookmarks.php:63
+#: lib/Block/mostclicked.php:38
+msgid "1 Line"
+msgstr "1 Zeile"
+
+#: templates/star_rating_helper.php:20
+msgid "1 star out of 5"
+msgstr "1 Stern von 5"
+
+#: lib/Block/highestrated.php:30 lib/Block/bookmarks.php:55
+#: lib/Block/mostclicked.php:30
+msgid "10 rows"
+msgstr "10 Zeilen"
+
+#: lib/Block/highestrated.php:31 lib/Block/bookmarks.php:56
+#: lib/Block/mostclicked.php:31
+msgid "15 rows"
+msgstr "15 Zeilen"
+
+#: templates/reports.php:36
+#, php-format
+msgid "1xx Response Codes (%s)"
+msgstr "1xx Statuscodes (%s)"
+
+#: lib/Block/highestrated.php:37 lib/Block/bookmarks.php:62
+#: lib/Block/mostclicked.php:37
+msgid "2 Line"
+msgstr "2 Zeilen"
+
+#: lib/Block/highestrated.php:32 lib/Block/bookmarks.php:57
+#: lib/Block/mostclicked.php:32
+msgid "25 rows"
+msgstr "25 Zeilen"
+
+#: templates/reports.php:42
+#, php-format
+msgid "2xx Response Codes (%s)"
+msgstr "2xx Statuscodes (%s)"
+
+#: lib/Block/highestrated.php:36 lib/Block/bookmarks.php:61
+#: lib/Block/mostclicked.php:36
+msgid "3 Line"
+msgstr "3 Zeilen"
+
+#: templates/reports.php:53
+#, php-format
+msgid "3xx Response Codes (%s)"
+msgstr "3xx Statuscodes (%s)"
+
+#: templates/reports.php:64
+#, php-format
+msgid "4xx Response Codes (%s)"
+msgstr "4xx Statuscodes (%s)"
+
+#: templates/reports.php:86
+#, php-format
+msgid "5xx Response Codes (%s)"
+msgstr "5xx Statuscodes (%s)"
+
+#: lib/Forms/Search.php:24
+msgid "AND"
+msgstr "UND"
+
+#: lib/Trean.php:176
+msgid "Accepted"
+msgstr "Angenommen"
+
+#: templates/add.html.php:59 lib/Block/tree_menu.php:24
+msgid "Add"
+msgstr "Hinzufügen"
+
+#: templates/add.html.php:82
+msgid "Add to Bookmarks"
+msgstr "Zu Lesezeichen hinzufügen"
+
+#: templates/search.php:65
+msgid "All"
+msgstr "Alle"
+
+#: data.php:39 perms.php:239 lib/Block/bookmarks.php:32
+#, php-format
+msgid "An error occured listing folders: %s"
+msgstr "Beim Anzeigen der Ordner ist ein Fehler aufgetreten: %s"
+
+#: lib/Trean.php:49
+#, php-format
+msgid "An error occurred counting folders: %s"
+msgstr "Beim Zählen der Ordner ist ein Fehler aufgetreten: %s"
+
+#: lib/Forms/Search.php:25
+msgid "Any Part of the field"
+msgstr "beliebigen Feldteil"
+
+#: templates/search.php:29
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr ""
+"Sind Sie sicher, dass Sie die ausgewählten Lesezeichen löschen möchten?"
+
+#: config/prefs.php.dist:33
+msgid "Ascending (A to Z)"
+msgstr "Aufsteigend (A nach Z)"
+
+#: perms.php:44
+msgid "Attempt to edit a non-existent share."
+msgstr "Es wurde versucht, ein nicht existierendes Recht zu bearbeiten."
+
+#: lib/Trean.php:208
+msgid "Bad Gateway"
+msgstr "Gateway-Fehler"
+
+#: lib/Trean.php:188
+msgid "Bad Request"
+msgstr "Ungültige Anfrage"
+
+#: add.php:66
+msgid "Bookmark Added"
+msgstr "Lesezeichen hinzugefügt"
+
+#: data.php:18 lib/Block/bookmarks.php:3 lib/Block/bookmarks.php:81
+msgid "Bookmarks"
+msgstr "Lesezeichen"
+
+#: templates/common-header.inc:27
+msgid "Bookmarks Feed"
+msgstr "Lesezeichen-Feed"
+
+#: browse.php:61
+msgid "Browse"
+msgstr "Liste"
+
+#: templates/add.html.php:60 templates/edit/footer.inc:2
+msgid "Cancel"
+msgstr "Abbrechen"
+
+#: templates/views/BookmarkList.php:28
+msgid "Clicks"
+msgstr "Klicks"
+
+#: lib/api.php:438
+msgid "Close"
+msgstr "Schließen"
+
+#: lib/Forms/Search.php:24
+msgid "Combine"
+msgstr "Verknüpfung"
+
+#: config/prefs.php.dist:63
+msgid "Completely collapsed"
+msgstr "Alle geschlossen"
+
+#: config/prefs.php.dist:65
+msgid "Completely expanded"
+msgstr "Alle geöffnet"
+
+#: edit.php:247
+msgid "Confirm Deletion"
+msgstr "Löschen bestätigen"
+
+#: lib/Trean.php:197
+msgid "Conflict"
+msgstr "Konflikt"
+
+#: lib/Trean.php:172
+msgid "Continue"
+msgstr "Weiter"
+
+#: templates/browse.php:109 templates/browse.php:110
+msgid "Control access to this folder"
+msgstr "Ordnerrechte festlegen"
+
+#: edit.php:214
+msgid "Copied bookmark: "
+msgstr "Lesezeichen kopiert: "
+
+#: templates/search.php:72
+msgid "Copy"
+msgstr "Kopieren"
+
+#: edit.php:222
+#, php-format
+msgid "Copying folders is not supported."
+msgstr "Ordner können nicht kopiert werden."
+
+#: lib/Trean.php:175
+msgid "Created"
+msgstr "Erstellt"
+
+#: templates/reports.php:96
+#, php-format
+msgid "DNS Failure or Other Error (%s)"
+msgstr "DNS- oder andere Fehler (%s)"
+
+#: templates/browse.php:93 templates/search.php:70
+msgid "Delete"
+msgstr "Löschen"
+
+#: templates/browse.php:170
+msgid "Delete Bookmark"
+msgstr "Lesezeichen löschen "
+
+#: templates/browse.php:94
+msgid "Delete this folder"
+msgstr "Diesen Ordner löschen"
+
+#: edit.php:51 edit.php:110
+msgid "Deleted bookmark: "
+msgstr "Lesezeichen gelöscht: "
+
+#: edit.php:123
+msgid "Deleted folder: "
+msgstr "Ordner gelöscht: "
+
+#: edit.php:273
+#, php-format
+msgid "Deleted the folder \"%s\""
+msgstr "Ordner \"%s\" wurde gelöscht"
+
+#: config/prefs.php.dist:34
+msgid "Descending (9 to 1)"
+msgstr "Absteigend (9 nach 1)"
+
+#: templates/add.html.php:42 templates/edit/bookmark.inc:15
+#: lib/Forms/Search.php:22
+msgid "Description"
+msgstr "Beschreibung"
+
+#: config/prefs.php.dist:10
+msgid "Display Options"
+msgstr "Anzeige-Einstellungen"
+
+#: lib/Block/bookmarks.php:52
+msgid "Display Rows"
+msgstr "Angezeigte Zeilen"
+
+#: templates/data/export.inc:11
+msgid "Download Folder"
+msgstr "Ordner herunterladen"
+
+#: templates/add.html.php:73
+msgid "Drag the \"Add to Bookmarks\" link below onto your \"Links\" Bar"
+msgstr ""
+"Ziehen Sie den \"Zu Lesezeichen hinzufügen\" Link auf die \"Links\"-"
+"Symbolleiste"
+
+#: templates/add.html.php:71
+msgid ""
+"Drag the \"Add to Bookmarks\" link below onto your \"Personal Toolbar\"."
+msgstr ""
+"Ziehen Sie den \"Zu Lesezeichen hinzufügen\" Link auf die \"Persönliche "
+"Symbolleiste\""
+
+#: templates/search.php:69
+msgid "Edit"
+msgstr "Bearbeiten"
+
+#: edit.php:292
+msgid "Edit Bookmark"
+msgstr "Lesezeichen bearbeiten"
+
+#: templates/browse.php:165
+msgid "Edit Bookmarks"
+msgstr "Lesezeichen bearbeiten"
+
+#: perms.php:235
+msgid "Edit Permissions"
+msgstr "Rechte bearbeiten"
+
+#: perms.php:242
+#, php-format
+msgid "Edit Permissions for %s"
+msgstr "Rechte für '%s' bearbeiten"
+
+#: lib/Trean.php:205
+msgid "Expectation Failed"
+msgstr "Antwort auf Expect fehlgeschlagen"
+
+#: templates/data/export.inc:4
+msgid "Export Bookmarks"
+msgstr "Lesezeichen exportieren"
+
+#: templates/data/import.inc:9
+msgid "File to import:"
+msgstr "Zu importierende Datei:"
+
+#: templates/add.html.php:70
+msgid "Firefox/Mozilla"
+msgstr "Firefox/Mozilla"
+
+#: config/prefs.php.dist:64
+msgid "First level shown"
+msgstr "Erste Ebene anzeigen"
+
+#: templates/add.html.php:47 templates/views/BookmarkList.php:26
+#: templates/edit/bookmark.inc:25 lib/Block/bookmarks.php:42
+msgid "Folder"
+msgstr "Ordner"
+
+#: templates/browse.php:73 templates/browse.php:74
+msgid "Folder Actions"
+msgstr "Ordneraktionen"
+
+#: lib/Bookmarks.php:354
+msgid "Folder names must be non-empty"
+msgstr "Ordnernamen dürfen nicht leer sein"
+
+#: templates/data/import.inc:11
+msgid "Folder to import into:"
+msgstr "Ordner in den importiert werden soll:"
+
+#: lib/Trean.php:191
+msgid "Forbidden"
+msgstr "Nicht erlaubt"
+
+#: lib/Trean.php:183
+msgid "Found"
+msgstr "Vorübergehend verschoben"
+
+#: lib/Trean.php:210
+msgid "Gateway Time-out"
+msgstr "Zeit überschritten beim Gateway"
+
+#: lib/Trean.php:198
+msgid "Gone"
+msgstr "Nicht mehr vorhanden"
+
+#: reports.php:25 templates/reports.php:33
+msgid "HTTP Status"
+msgstr "HTTP-Status"
+
+#: lib/Trean.php:211
+msgid "HTTP Version not supported"
+msgstr "HTTP-Version nicht unterstützt"
+
+#: lib/Block/bookmarks.php:50 config/prefs.php.dist:22
+msgid "Highest Rated"
+msgstr "Höchste Bewertungen"
+
+#: lib/Block/highestrated.php:3 lib/Block/highestrated.php:49
+msgid "Highest-rated Bookmarks"
+msgstr "Beste Lesezeichen"
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr "Importieren"
+
+#: data.php:184 templates/data/import.inc:4
+msgid "Import Bookmarks"
+msgstr "Lesezeichen importieren"
+
+#: templates/data/export.inc:9
+msgid "Include Subfolders"
+msgstr "Inklusive Unterordner"
+
+#: lib/Trean.php:206
+msgid "Internal Server Error"
+msgstr "Interner Serverfehler"
+
+#: templates/add.html.php:72
+msgid "Internet Explorer"
+msgstr "Internet Explorer"
+
+#: templates/data/import.inc:7
+msgid ""
+"Internet Explorer users will need to export their current Favorites by going "
+"to the \"File\" menu and selecting \"Import and Export\"."
+msgstr ""
+"Benutzer des Internet Explorers können ihre Favoriten exportieren, indem sie "
+"im \"Datei\"-Menü auf \"Importieren und Exportieren\" klicken."
+
+#: lib/Trean.php:199
+msgid "Length Required"
+msgstr "Längenangabe erforderlich"
+
+#: lib/Forms/Search.php:25
+msgid "Match"
+msgstr "Zutreffend auf"
+
+#: lib/api.php:98
+msgid "Maximum Number of Bookmarks"
+msgstr "Maximale Anzahl an Lesezeichen"
+
+#: lib/api.php:95
+msgid "Maximum Number of Folders"
+msgstr "Maximale Anzahl an Ordnern"
+
+#: lib/Block/tree_menu.php:3
+msgid "Menu List"
+msgstr "Menüliste"
+
+#: lib/Trean.php:193
+msgid "Method Not Allowed"
+msgstr "Methode nicht erlaubt"
+
+#: lib/Block/bookmarks.php:51 config/prefs.php.dist:23
+msgid "Most Clicked"
+msgstr "Am häufigsten geklickt"
+
+#: lib/Block/mostclicked.php:3 lib/Block/mostclicked.php:49
+msgid "Most-clicked Bookmarks"
+msgstr "Meistgeklickte Lesezeichen"
+
+#: templates/search.php:71
+msgid "Move"
+msgstr "Verschieben"
+
+#: lib/Trean.php:182
+msgid "Moved Permanently"
+msgstr "Dauerhaft verschoben"
+
+#: edit.php:161
+msgid "Moved bookmark: "
+msgstr "Lesezeichen verschoben: "
+
+#: edit.php:174
+msgid "Moved folder: "
+msgstr "Ordner verschoben: "
+
+#: templates/data/import.inc:6
+msgid ""
+"Mozilla/Firefox users will need to export their current Bookmarks by going "
+"into \"Bookmark Manager\" and selecting \"Export\" from the \"Tools\" menu."
+msgstr ""
+"Mozilla-Benutzer können ihre Lesezeichen exportieren, indem sie die "
+"\"Lesezeichen-Verwaltung\" öffnen und \"Exportieren\" im \"Extras\"-Menü "
+"auswählen."
+
+#: lib/Trean.php:181
+msgid "Multiple Choices"
+msgstr "Mehrere Möglichkeiten"
+
+#: templates/edit/folder.inc:9
+msgid "Name"
+msgstr "Name"
+
+#: add.php:113 templates/browse.php:160 templates/add.html.php:27
+msgid "New Bookmark"
+msgstr "Neues Lesezeichen"
+
+#: lib/Trean.php:90
+msgid "New Folder"
+msgstr "Neuer Ordner"
+
+#: templates/browse.php:83
+msgid "New folder"
+msgstr "Neuer Ordner"
+
+#: templates/edit/delete_folder_confirmation.inc:15
+msgid "No"
+msgstr "Nein"
+
+#: templates/search.php:76
+msgid "No Bookmarks found"
+msgstr "Keine Lesezeichen gefunden"
+
+#: lib/Trean.php:178
+msgid "No Content"
+msgstr "Kein Inhalt"
+
+#: lib/Block/highestrated.php:73 lib/Block/bookmarks.php:128
+#: lib/Block/mostclicked.php:73
+msgid "No bookmarks to display"
+msgstr "Keine Lesezeichen"
+
+#: lib/Trean.php:177
+msgid "Non-Authoritative Information"
+msgstr "Nicht garantierte Antwort"
+
+#: templates/search.php:66
+msgid "None"
+msgstr "Keine"
+
+#: lib/Trean.php:194
+msgid "Not Acceptable"
+msgstr "Nicht akzeptiert"
+
+#: lib/Trean.php:192
+msgid "Not Found"
+msgstr "Nicht gefunden"
+
+#: lib/Trean.php:207
+msgid "Not Implemented"
+msgstr "Nicht implementiert"
+
+#: lib/Trean.php:185
+msgid "Not Modified"
+msgstr "Nicht geändert"
+
+#: templates/add.html.php:76
+msgid "Note:"
+msgstr "Anmerkung:"
+
+#: edit.php:286
+msgid "Nothing to edit."
+msgstr "Nichts zu bearbeiten."
+
+#: lib/Block/highestrated.php:27 lib/Block/mostclicked.php:27
+msgid "Number of bookmarks to show"
+msgstr "Anzahl der angezeigten Lesezeichen"
+
+#: lib/Trean.php:174
+msgid "OK"
+msgstr "OK"
+
+#: lib/Forms/Search.php:24
+msgid "OR"
+msgstr "ODER"
+
+#: templates/add.html.php:77
+#, php-format
+msgid ""
+"On newer versions of Internet Explorer, you may have to add %s://%s to your "
+"Trusted Zone for this to work."
+msgstr ""
+"In neueren Versionen des Internet Explorer müssen Sie unter Umständen %s://%"
+"s zur Vertrauenswürdigen Zone hinzufügen."
+
+#: perms.php:56
+msgid ""
+"Only the owner or system administrator may change ownership or owner "
+"permissions for a share"
+msgstr ""
+"Nur der Besitzer oder der Systemadministrator kann den Besitzer oder die "
+"Besitzerrechte ändern"
+
+#: config/prefs.php.dist:54
+msgid "Open links in a new window?"
+msgstr "Links in neuem Fenster öffnen?"
+
+#: config/prefs.php.dist:9
+msgid "Other Options"
+msgstr "Andere Einstellungen"
+
+#: lib/Trean.php:180
+msgid "Partial Content"
+msgstr "Teilinhalt"
+
+#: lib/Trean.php:190
+msgid "Payment Required"
+msgstr "Zahlung erforderlich"
+
+#: templates/add.html.php:4
+msgid "Please enter a name for the new folder:"
+msgstr "Bitte geben Sie einen Namen für den neuen Ordner an:"
+
+#: lib/Trean.php:200
+msgid "Precondition Failed"
+msgstr "Bedingung nicht erfüllt"
+
+#: lib/Trean.php:195
+msgid "Proxy Authentication Required"
+msgstr "Proxy-Authentifizierung erforderlich"
+
+#: templates/views/BookmarkList.php:27
+msgid "Rating"
+msgstr "Bewertung"
+
+#: templates/edit/delete_folder_confirmation.inc:3
+#, php-format
+msgid "Really delete \"%s\" and all of its bookmarks?"
+msgstr "\"%s\" und alle enthaltenen Lesezeichen wirklich löschen?"
+
+#: templates/browse.php:102
+msgid "Rename this folder"
+msgstr "Diesen Ordner umbenennen"
+
+#: reports.php:18
+msgid "Reports"
+msgstr "Berichte"
+
+#: lib/Trean.php:201
+msgid "Request Entity Too Large"
+msgstr "Anfrage zu groß"
+
+#: lib/Trean.php:196
+msgid "Request Time-out"
+msgstr "Anfragezeit überschritten"
+
+#: lib/Trean.php:202
+msgid "Request-URI Too Large"
+msgstr "Angeforderte Adresse zu lang"
+
+#: lib/Trean.php:204
+msgid "Requested range not satisfiable"
+msgstr "Gewünschter Bereich nicht vorhanden"
+
+#: lib/Trean.php:179
+msgid "Reset Content"
+msgstr "Inhalt zurückgesetzt"
+
+#: templates/edit/footer.inc:1
+msgid "Save"
+msgstr "Speichern"
+
+#: search.php:23 lib/Forms/Search.php:20 lib/Block/tree_menu.php:33
+msgid "Search"
+msgstr "Suche"
+
+#: lib/Forms/Search.php:18
+msgid "Search Bookmarks"
+msgstr "Lesezeichen suchen"
+
+#: search.php:59
+#, php-format
+msgid "Search Results (%s)"
+msgstr "Suchergebnisse (%s)"
+
+#: lib/Trean.php:184
+msgid "See Other"
+msgstr "Siehe unter"
+
+#: templates/search.php:65
+msgid "Select All"
+msgstr "Alle auswählen"
+
+#: templates/views/BookmarkList.php:29
+msgid "Select All/Select None"
+msgstr "Alle/Keine auswählen"
+
+#: templates/search.php:66
+msgid "Select None"
+msgstr "Keine auswählen"
+
+#: templates/search.php:64
+#, php-format
+msgid "Select: %s, %s"
+msgstr "Auswahl: %s, %s"
+
+#: lib/Trean.php:209
+msgid "Service Unavailable"
+msgstr "Service nicht verfügbar"
+
+#: config/prefs.php.dist:11
+msgid "Set how to display bookmark listings and how to open links."
+msgstr ""
+"Legen Sie fest wie die Lesezeichenlisten angezeigt und wie Links geöffnet "
+"werden."
+
+#: config/prefs.php.dist:66
+msgid "Should your list of bookmark folders be open when you log in?"
+msgstr ""
+"Soll die Liste Ihrer Lesezeichenordner geöffnet werden, wenn Sie sich "
+"anmelden?"
+
+#: config/prefs.php.dist:45
+msgid "Show folder actions panel?"
+msgstr "Kasten mit Ordneraktionen anzeigen?"
+
+#: config/prefs.php.dist:24
+msgid "Sort bookmarks by:"
+msgstr "Lesezeichen sortieren nach:"
+
+#: lib/Block/bookmarks.php:46
+msgid "Sort by"
+msgstr "Sortieren nach"
+
+#: config/prefs.php.dist:35
+msgid "Sort direction:"
+msgstr "Sortierrichtung:"
+
+#: lib/Trean.php:173
+msgid "Switching Protocols"
+msgstr "Protokollwechsel"
+
+#: lib/Block/highestrated.php:33 lib/Block/bookmarks.php:58
+#: lib/Block/mostclicked.php:33
+msgid "Template"
+msgstr "Vorlage"
+
+#: lib/Trean.php:187
+msgid "Temporary Redirect"
+msgstr "Vorübergehende Weiterleitung"
+
+#: templates/browse.php:181
+msgid "There are no bookmarks in this folder"
+msgstr "In diesem Ordner befinden sich keine Lesezeichen"
+
+#: edit.php:216
+#, php-format
+msgid "There was a problem copying the bookmark: %s"
+msgstr "Beim Kopieren des Lesezeichens ist ein Fehler aufgetreten: %s"
+
+#: edit.php:53 edit.php:112
+#, php-format
+msgid "There was a problem deleting the bookmark: %s"
+msgstr "Beim Löschen des Lesezeichens ist ein Fehler aufgetreten: %s"
+
+#: edit.php:125
+#, php-format
+msgid "There was a problem deleting the folder: %s"
+msgstr "Beim Löschen des Ordners ist ein Fehler aufgetreten: %s"
+
+#: edit.php:163
+#, php-format
+msgid "There was a problem moving the bookmark: %s"
+msgstr "Beim Verschieben des Lesezeichens ist ein Fehler aufgetreten: %s"
+
+#: edit.php:176
+#, php-format
+msgid "There was a problem moving the folder: %s"
+msgstr "Beim Verschieben des Ordners ist ein Fehler aufgetreten: %s"
+
+#: add.php:61
+#, php-format
+msgid "There was an error adding the bookmark: %s"
+msgstr "Beim Hinzufügen des Lesezeichens ist ein Fehler aufgetreten: %s"
+
+#: edit.php:147 edit.php:201 add.php:45 add.php:102
+#, php-format
+msgid "There was an error adding the folder: %s"
+msgstr "Beim Hinzufügen des Ordners ist ein Fehler aufgetreten: %s."
+
+#: edit.php:74
+#, php-format
+msgid "There was an error saving the bookmark: %s"
+msgstr "Beim Speichern des Lesezeichens ist ein Fehler aufgetreten: %s"
+
+#: edit.php:87
+#, php-format
+msgid "There was an error saving the folder: %s"
+msgstr "Beim Speichern des Ordners ist ein Fehler aufgetreten: %s"
+
+#: templates/add.html.php:37 templates/views/BookmarkList.php:25
+#: templates/edit/bookmark.inc:10 lib/Forms/Search.php:21
+#: lib/Block/bookmarks.php:49 config/prefs.php.dist:21
+msgid "Title"
+msgstr "Titel"
+
+#: templates/add.html.php:69
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr "Um schnell Lesezeichen von Ihrem Browser hinzuzufügen:"
+
+#: templates/reports.php:103
+msgid "Total"
+msgstr "Insgesamt"
+
+#: templates/add.html.php:32 templates/edit/bookmark.inc:20
+#: lib/Forms/Search.php:23
+msgid "URL"
+msgstr "Homepage"
+
+#: lib/Trean.php:189
+msgid "Unauthorized"
+msgstr "Nicht autorisiert"
+
+#: templates/reports.php:100
+#, php-format
+msgid "Unknown (%s)"
+msgstr "Unbekannt (%s)"
+
+#: lib/Trean.php:203
+msgid "Unsupported Media Type"
+msgstr "Nicht unterstützter Inhaltstyp"
+
+#: perms.php:228
+#, php-format
+msgid "Updated %s."
+msgstr "%s wurde aktualisiert."
+
+#: lib/Trean.php:186
+msgid "Use Proxy"
+msgstr "Proxy benutzen"
+
+#: templates/add.html.php:74
+msgid ""
+"While browsing you will be able to bookmark the current page by clicking "
+"your new \"Add to Bookmarks\" shortcut."
+msgstr ""
+"Während des Browsens können sie neue Lesezeichen hinzufügen, indem Sie auf "
+"die Verknüpfung \"Zu Lesezeichen hinzufügen\" klicken."
+
+#: lib/Forms/Search.php:25
+msgid "Whole Field"
+msgstr "das ganze Feld"
+
+#: templates/edit/delete_folder_confirmation.inc:9
+msgid "Yes"
+msgstr "Ja"
+
+#: data.php:65 data.php:132 add.php:23
+#, php-format
+msgid "You are not allowed to create more than %d bookmarks."
+msgstr "Sie dürfen nicht mehr als %d Lesezeichen erstellen."
+
+#: data.php:56 data.php:107 add.php:86
+#, php-format
+msgid "You are not allowed to create more than %d folders."
+msgstr "Sie dürfen nicht mehr als %d Ordner erstellen."
+
+#: browse.php:45
+msgid "You do not have permission to view this folder."
+msgstr "Sie haben nicht die nötigen Rechte um diesen Ordner anzuzeigen."
+
+#: templates/add.html.php:11
+msgid "You must select a target folder first"
+msgstr "Sie müssen erst einen Zielordner angeben"
+
+#: lib/Trean.php:149
+msgid "_Browse"
+msgstr "_Liste"
+
+#: templates/browse.php:171
+msgid "_Delete Bookmarks"
+msgstr "Lesezeichen lös_chen "
+
+#: templates/browse.php:166
+msgid "_Edit Bookmarks"
+msgstr "Lesezeichen be_arbeiten"
+
+#: lib/Trean.php:155
+msgid "_Import/Export"
+msgstr "_Import/Export"
+
+#: templates/browse.php:161
+msgid "_New Bookmark"
+msgstr "_Neues Lesezeichen"
+
+#: lib/Trean.php:151
+msgid "_Reports"
+msgstr "_Berichte"
+
+#: lib/Trean.php:150
+msgid "_Search"
+msgstr "_Suche"
+
+#: templates/block/1line.inc:22 templates/block/standard.inc:24
+#: templates/block/2line.inc:26
+msgid "click"
+msgstr "Klick"
+
+#: templates/block/1line.inc:22 templates/block/standard.inc:24
+#: templates/block/2line.inc:26
+msgid "clicks"
+msgstr "Klicks"
diff --git a/trean/po/es_ES.po b/trean/po/es_ES.po
new file mode 100644
index 000000000..f38231eab
--- /dev/null
+++ b/trean/po/es_ES.po
@@ -0,0 +1,878 @@
+# Spanish translations for trean package
+# Traducciones al español para el paquete trean.
+# Copyright 2008-2009 The Horde Project
+# This file is distributed under the same license as the trean package.
+# Automatically generated, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Trean 1.0-cvs\n"
+"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
+"POT-Creation-Date: 2008-03-19 09:53+0100\n"
+"PO-Revision-Date: 2008-03-19 09:53+0100\n"
+"Last-Translator: Manuel P. Ayala \n"
+"Language-Team: i18n@lists.horde.org\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: edit.php:237
+#, php-format
+msgid "\"%s\" was not renamed: %s."
+msgstr "No se renombró \"%s\": %s."
+
+#: data.php:156
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "Importados %d carpetas y %d marcadores."
+
+#: templates/star_rating_helper.php:21 templates/star_rating_helper.php:22
+#: templates/star_rating_helper.php:23 templates/star_rating_helper.php:24
+#, php-format
+msgid "%d stars out of 5"
+msgstr "%d estrellas de 5"
+
+#: templates/reports.php:104
+#, php-format
+msgid "%s Bookmarks"
+msgstr "Marcadores de %s"
+
+#: reports.php:25
+#, php-format
+msgid "%s Response Codes"
+msgstr "%s códigos de respuesta"
+
+#: lib/base.php:78
+#, php-format
+msgid "%s's Bookmarks"
+msgstr "Marcadores de %s"
+
+#: lib/Block/mostclicked.php:38 lib/Block/highestrated.php:38
+#: lib/Block/bookmarks.php:63
+msgid "1 Line"
+msgstr "1 línea"
+
+#: templates/star_rating_helper.php:20
+msgid "1 star out of 5"
+msgstr "1 estrella de 5"
+
+#: lib/Block/mostclicked.php:30 lib/Block/highestrated.php:30
+#: lib/Block/bookmarks.php:55
+msgid "10 rows"
+msgstr "10 filas"
+
+#: lib/Block/mostclicked.php:31 lib/Block/highestrated.php:31
+#: lib/Block/bookmarks.php:56
+msgid "15 rows"
+msgstr "15 filas"
+
+#: templates/reports.php:36
+#, php-format
+msgid "1xx Response Codes (%s)"
+msgstr "1xx códigos de respuesta (%s)"
+
+#: lib/Block/mostclicked.php:37 lib/Block/highestrated.php:37
+#: lib/Block/bookmarks.php:62
+msgid "2 Line"
+msgstr "2 líneas"
+
+#: lib/Block/mostclicked.php:32 lib/Block/highestrated.php:32
+#: lib/Block/bookmarks.php:57
+msgid "25 rows"
+msgstr "25 filas"
+
+#: templates/reports.php:42
+#, php-format
+msgid "2xx Response Codes (%s)"
+msgstr "2xx códigos de respuesta (%s)"
+
+#: lib/Block/mostclicked.php:36 lib/Block/highestrated.php:36
+#: lib/Block/bookmarks.php:61
+msgid "3 Line"
+msgstr "3 líneas"
+
+#: templates/reports.php:53
+#, php-format
+msgid "3xx Response Codes (%s)"
+msgstr "3xx códigos de respuesta (%s)"
+
+#: templates/reports.php:64
+#, php-format
+msgid "4xx Response Codes (%s)"
+msgstr "4xx códigos de respuesta (%s)"
+
+#: templates/reports.php:86
+#, php-format
+msgid "5xx Response Codes (%s)"
+msgstr "5xx códigos de respuesta (%s)"
+
+#: lib/Forms/Search.php:24
+msgid "AND"
+msgstr "Y"
+
+#: lib/Trean.php:176
+msgid "Accepted"
+msgstr "Aceptado"
+
+#: templates/add/add.inc:59 lib/Block/tree_menu.php:24
+msgid "Add"
+msgstr "Añadir"
+
+#: templates/add/add.inc:87
+msgid "Add to Bookmarks"
+msgstr "Añadir a los marcadores"
+
+#: templates/search.php:65
+msgid "All"
+msgstr "Todos"
+
+#: perms.php:239 data.php:39 lib/Block/bookmarks.php:32
+#, php-format
+msgid "An error occured listing folders: %s"
+msgstr "Se produjo un error al listar las carpetas: %s"
+
+#: lib/Trean.php:49
+#, php-format
+msgid "An error occurred counting folders: %s"
+msgstr "Se produjo un error contando las carpetas: %s"
+
+#: lib/Forms/Search.php:25
+msgid "Any Part of the field"
+msgstr "Cualquier parte del campo"
+
+#: templates/search.php:29
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr "¿Seguro que desea eliminar los marcadores seleccionados?"
+
+#: config/.bak/prefs.php.dist:33
+msgid "Ascending (A to Z)"
+msgstr "Ascendente (A a la Z)"
+
+#: perms.php:44
+msgid "Attempt to edit a non-existent share."
+msgstr "Se ha intentado modificar un recurso compartido inexistente."
+
+#: lib/Trean.php:208
+msgid "Bad Gateway"
+msgstr "Pasarela incorrecta"
+
+#: lib/Trean.php:188
+msgid "Bad Request"
+msgstr "Petición incorrecta"
+
+#: add.php:66
+msgid "Bookmark Added"
+msgstr "Marcador añadido"
+
+#: data.php:18 lib/Block/bookmarks.php:3 lib/Block/bookmarks.php:81
+msgid "Bookmarks"
+msgstr "Marcadores"
+
+#: templates/common-header.inc:27
+msgid "Bookmarks Feed"
+msgstr "Suscripción de marcadores"
+
+#: browse.php:37
+msgid "Browse"
+msgstr "Examinar"
+
+#: templates/edit/footer.inc:2 templates/add/add.inc:60
+msgid "Cancel"
+msgstr "Cancelar"
+
+#: templates/views/BookmarkList.php:28
+msgid "Clicks"
+msgstr "Visitas"
+
+#: templates/add/add.inc:82
+msgid "Close"
+msgstr "Cerrar"
+
+#: lib/Forms/Search.php:24
+msgid "Combine"
+msgstr "Combinación"
+
+#: config/.bak/prefs.php.dist:63
+msgid "Completely collapsed"
+msgstr "Totalmente colapsado"
+
+#: config/.bak/prefs.php.dist:65
+msgid "Completely expanded"
+msgstr "Totalmente expandido"
+
+#: edit.php:247
+msgid "Confirm Deletion"
+msgstr "Confirmar eliminación"
+
+#: lib/Trean.php:197
+msgid "Conflict"
+msgstr "Conflicto"
+
+#: lib/Trean.php:172
+msgid "Continue"
+msgstr "Seguir"
+
+#: templates/browse.php:105 templates/browse.php:106
+msgid "Control access to this folder"
+msgstr "Controlar el acceso a esta carpeta"
+
+#: edit.php:214
+msgid "Copied bookmark: "
+msgstr "Marcadores copiados: "
+
+#: templates/search.php:72
+msgid "Copy"
+msgstr "Copiar"
+
+#: edit.php:222
+#, php-format
+msgid "Copying folders is not supported."
+msgstr "La copia de carpetas no está implementada."
+
+#: lib/Trean.php:175
+msgid "Created"
+msgstr "Creado"
+
+#: templates/reports.php:96
+#, php-format
+msgid "DNS Failure or Other Error (%s)"
+msgstr "Error DNS o de otro tipo (%s)"
+
+#: templates/browse.php:90 templates/search.php:70
+msgid "Delete"
+msgstr "Eliminar"
+
+#: templates/browse.php:160
+msgid "Delete Bookmark"
+msgstr "Eliminar marcador"
+
+#: templates/browse.php:91
+msgid "Delete this folder"
+msgstr "Eliminar esta carpeta"
+
+#: edit.php:51 edit.php:110
+msgid "Deleted bookmark: "
+msgstr "Marcadores eliminados: "
+
+#: edit.php:123
+msgid "Deleted folder: "
+msgstr "Carpeta eliminada: "
+
+#: edit.php:269
+#, php-format
+msgid "Deleted the folder \"%s\""
+msgstr "Se ha eliminado la carpeta \"%s\""
+
+#: config/.bak/prefs.php.dist:34
+msgid "Descending (9 to 1)"
+msgstr "Descendente (9 a 1)"
+
+#: templates/edit/bookmark.inc:15 templates/add/add.inc:42
+#: lib/Forms/Search.php:22
+msgid "Description"
+msgstr "Descripción"
+
+#: config/.bak/prefs.php.dist:10
+msgid "Display Options"
+msgstr "Opciones de Visualización"
+
+#: lib/Block/bookmarks.php:52
+msgid "Display Rows"
+msgstr "Mostrar filas"
+
+#: templates/data/export.inc:11
+msgid "Download Folder"
+msgstr "Carpeta de descarga"
+
+#: templates/add/add.inc:73
+msgid "Drag the \"Add to Bookmarks\" link below onto your \"Links\" Bar"
+msgstr ""
+"Arrastre el vínculo inferior \"Añadir a los marcadores\" a su barra de "
+"\"Vínculos\""
+
+#: templates/add/add.inc:71
+msgid ""
+"Drag the \"Add to Bookmarks\" link below onto your \"Personal Toolbar\"."
+msgstr ""
+"Arrastre el vínculo inferior \"Añadir a los marcadores\" a su \"Barra "
+"personal\""
+
+#: templates/search.php:69
+msgid "Edit"
+msgstr "Modificar"
+
+#: edit.php:287
+msgid "Edit Bookmark"
+msgstr "Modificar marcador"
+
+#: templates/browse.php:155
+msgid "Edit Bookmarks"
+msgstr "Modificar marcadores"
+
+#: perms.php:235
+msgid "Edit Permissions"
+msgstr "Modificar permisos"
+
+#: perms.php:242
+#, php-format
+msgid "Edit Permissions for %s"
+msgstr "Modificar permisos de %s"
+
+#: lib/Trean.php:205
+msgid "Expectation Failed"
+msgstr "Ha fallado la espera"
+
+#: templates/data/export.inc:4
+msgid "Export Bookmarks"
+msgstr "Exportar marcadores"
+
+#: templates/data/import.inc:9
+msgid "File to import:"
+msgstr "Archivo a importar:"
+
+#: templates/add/add.inc:70
+msgid "Firefox/Mozilla"
+msgstr "Firefox/Mozilla"
+
+#: config/.bak/prefs.php.dist:64
+msgid "First level shown"
+msgstr "Primer nivel mostrado"
+
+#: templates/views/BookmarkList.php:26 templates/edit/bookmark.inc:25
+#: templates/add/add.inc:47 lib/Block/bookmarks.php:42
+msgid "Folder"
+msgstr "Carpeta"
+
+#: templates/browse.php:70 templates/browse.php:71
+msgid "Folder Actions"
+msgstr "Acciones de carpeta"
+
+#: lib/Bookmarks.php:354
+msgid "Folder names must be non-empty"
+msgstr "Los nombres de carpeta no pueden estar vacíos"
+
+#: templates/data/import.inc:11
+msgid "Folder to import into:"
+msgstr "Carpeta a la que importar:"
+
+#: lib/Trean.php:191
+msgid "Forbidden"
+msgstr "Prohibido"
+
+#: lib/Trean.php:183
+msgid "Found"
+msgstr "Encontrado"
+
+#: lib/Trean.php:210
+msgid "Gateway Time-out"
+msgstr "Agotada la espera de la pasarela"
+
+#: lib/Trean.php:198
+msgid "Gone"
+msgstr "Ido"
+
+#: reports.php:25 templates/reports.php:33
+msgid "HTTP Status"
+msgstr "Estado HTTP"
+
+#: lib/Trean.php:211
+msgid "HTTP Version not supported"
+msgstr "Versión HTTP no implementada"
+
+#: lib/Block/bookmarks.php:50 config/.bak/prefs.php.dist:22
+msgid "Highest Rated"
+msgstr "Máxima prioridad"
+
+#: lib/Block/highestrated.php:3 lib/Block/highestrated.php:49
+msgid "Highest-rated Bookmarks"
+msgstr "Marcadores de máxima prioridad"
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr "Importar"
+
+#: data.php:184 templates/data/import.inc:4
+msgid "Import Bookmarks"
+msgstr "Importar marcadores"
+
+#: templates/data/export.inc:9
+msgid "Include Subfolders"
+msgstr "Incluir subcarpetas"
+
+#: lib/Trean.php:206
+msgid "Internal Server Error"
+msgstr "Error interno del servidor"
+
+#: templates/add/add.inc:72
+msgid "Internet Explorer"
+msgstr "Internet Explorer"
+
+#: templates/data/import.inc:7
+msgid ""
+"Internet Explorer users will need to export their current Favorites by going "
+"to the \"File\" menu and selecting \"Import and Export\"."
+msgstr ""
+"Los usuarios de Internet Explorer tendrán que exportar sus Favoritos "
+"seleccionando \"Importar y exportar\" en el menú \"Archivo\"."
+
+#: lib/Trean.php:199
+msgid "Length Required"
+msgstr "Se precisa el tamaño"
+
+#: lib/Forms/Search.php:25
+msgid "Match"
+msgstr "Coincidencia"
+
+#: lib/api.php:93
+msgid "Maximum Number of Bookmarks"
+msgstr "Máximo número de marcadores"
+
+#: lib/api.php:90
+msgid "Maximum Number of Folders"
+msgstr "Máximo número de carpetas"
+
+#: lib/Block/tree_menu.php:3
+msgid "Menu List"
+msgstr "Lista del menú"
+
+#: lib/Trean.php:193
+msgid "Method Not Allowed"
+msgstr "Método no permitido"
+
+#: lib/Block/bookmarks.php:51 config/.bak/prefs.php.dist:23
+msgid "Most Clicked"
+msgstr "Más visitados"
+
+#: lib/Block/mostclicked.php:3 lib/Block/mostclicked.php:49
+msgid "Most-clicked Bookmarks"
+msgstr "Marcadores más visitados"
+
+#: templates/search.php:71
+msgid "Move"
+msgstr "Trasladar"
+
+#: lib/Trean.php:182
+msgid "Moved Permanently"
+msgstr "Trasladado definitivamente"
+
+#: edit.php:161
+msgid "Moved bookmark: "
+msgstr "Marcadores trasladado: "
+
+#: edit.php:174
+msgid "Moved folder: "
+msgstr "Carpeta trasladada: "
+
+#: templates/data/import.inc:6
+msgid ""
+"Mozilla/Firefox users will need to export their current Bookmarks by going "
+"into \"Bookmark Manager\" and selecting \"Export\" from the \"Tools\" menu."
+msgstr ""
+"Los usuarios de Mozilla/Firefox tendrán que exportar los marcadores mediante "
+"el \"Administrador de marcadores\" y seleccionando \"Exportar\" en el menú "
+"\"Herramientas\"."
+
+#: lib/Trean.php:181
+msgid "Multiple Choices"
+msgstr "Varias opciones"
+
+#: templates/edit/folder.inc:9
+msgid "Name"
+msgstr "Nombre"
+
+#: add.php:113 templates/browse.php:150 templates/add/add.inc:27
+msgid "New Bookmark"
+msgstr "Nuevo marcador"
+
+#: lib/Trean.php:90
+msgid "New Folder"
+msgstr "Añadir carpeta"
+
+#: templates/browse.php:80
+msgid "New folder"
+msgstr "Añadir carpeta"
+
+#: templates/edit/delete_folder_confirmation.inc:15
+msgid "No"
+msgstr "No"
+
+#: templates/search.php:76
+msgid "No Bookmarks found"
+msgstr "No se han encontrado marcadores"
+
+#: lib/Trean.php:178
+msgid "No Content"
+msgstr "Sin contenido"
+
+#: lib/Block/mostclicked.php:73 lib/Block/highestrated.php:73
+#: lib/Block/bookmarks.php:128
+msgid "No bookmarks to display"
+msgstr "Sin marcadores visibles"
+
+#: lib/Trean.php:177
+msgid "Non-Authoritative Information"
+msgstr "Información no autoritativa"
+
+#: templates/search.php:66
+msgid "None"
+msgstr "Ninguno"
+
+#: lib/Trean.php:194
+msgid "Not Acceptable"
+msgstr "No aceptable"
+
+#: lib/Trean.php:192
+msgid "Not Found"
+msgstr "No encontrado"
+
+#: lib/Trean.php:207
+msgid "Not Implemented"
+msgstr "Sin implementar"
+
+#: lib/Trean.php:185
+msgid "Not Modified"
+msgstr "Sin modificar"
+
+#: templates/add/add.inc:76
+msgid "Note:"
+msgstr "Comentario:"
+
+#: edit.php:281
+msgid "Nothing to edit."
+msgstr "Nada a modificar."
+
+#: lib/Block/mostclicked.php:27 lib/Block/highestrated.php:27
+msgid "Number of bookmarks to show"
+msgstr "Cantidad de marcadores mostrados"
+
+#: lib/Trean.php:174
+msgid "OK"
+msgstr "Aceptar"
+
+#: lib/Forms/Search.php:24
+msgid "OR"
+msgstr "O"
+
+#: templates/add/add.inc:77
+#, php-format
+msgid ""
+"On newer versions of Internet Explorer, you may have to add %s://%s to your "
+"Trusted Zone for this to work."
+msgstr ""
+"En versiones recientes de Internet Explorer para que ésto funcione puede que "
+"tenga que añadir %s://%s a su zona de confianza."
+
+#: perms.php:56
+msgid ""
+"Only the owner or system administrator may change ownership or owner "
+"permissions for a share"
+msgstr ""
+"Sólo de propietario o el administrador del sistema puede cambiar la "
+"propiedad o los permisos del propietario de un recurso compartido"
+
+#: config/.bak/prefs.php.dist:54
+msgid "Open links in a new window?"
+msgstr "¿Abrir vínculos en ventanas nuevas?"
+
+#: config/.bak/prefs.php.dist:9
+msgid "Other Options"
+msgstr "Otras opciones"
+
+#: lib/Trean.php:180
+msgid "Partial Content"
+msgstr "Contenido parcial"
+
+#: lib/Trean.php:190
+msgid "Payment Required"
+msgstr "Pago requerido"
+
+#: templates/add/add.inc:4
+msgid "Please enter a name for the new folder:"
+msgstr "Introduzca el nombre de la carpeta nueva:"
+
+#: lib/Trean.php:200
+msgid "Precondition Failed"
+msgstr "Ha fallado la condición previa"
+
+#: lib/Trean.php:195
+msgid "Proxy Authentication Required"
+msgstr "Se necesita autentificación en el proxy"
+
+#: templates/views/BookmarkList.php:27
+msgid "Rating"
+msgstr "Prioridad"
+
+#: templates/edit/delete_folder_confirmation.inc:3
+#, php-format
+msgid "Really delete \"%s\" and all of its bookmarks?"
+msgstr "¿Eliminar realmente \"%s\" y todos sus marcadores?"
+
+#: templates/browse.php:98
+msgid "Rename this folder"
+msgstr "Renombrar esta carpeta"
+
+#: reports.php:18
+msgid "Reports"
+msgstr "Informes"
+
+#: lib/Trean.php:201
+msgid "Request Entity Too Large"
+msgstr "Entidad solicitada excesivamente grande"
+
+#: lib/Trean.php:196
+msgid "Request Time-out"
+msgstr "Tiempo de solicitud agotado"
+
+#: lib/Trean.php:202
+msgid "Request-URI Too Large"
+msgstr "URI de solicitud excesivamente grande"
+
+#: lib/Trean.php:204
+msgid "Requested range not satisfiable"
+msgstr "Rango solicitado no se puede satisfacer"
+
+#: lib/Trean.php:179
+msgid "Reset Content"
+msgstr "Reiniciar contenido"
+
+#: templates/edit/footer.inc:1
+msgid "Save"
+msgstr "Guardar"
+
+#: search.php:23 lib/Forms/Search.php:20 lib/Block/tree_menu.php:33
+msgid "Search"
+msgstr "Buscar"
+
+#: lib/Forms/Search.php:18
+msgid "Search Bookmarks"
+msgstr "Buscar marcadores"
+
+#: search.php:59
+#, php-format
+msgid "Search Results (%s)"
+msgstr "Resultados de la búsqueda (%s)"
+
+#: lib/Trean.php:184
+msgid "See Other"
+msgstr "Ver otros"
+
+#: templates/search.php:65
+msgid "Select All"
+msgstr "Seleccionar todos"
+
+#: templates/views/BookmarkList.php:29
+msgid "Select All/Select None"
+msgstr "Seleccionar todos/nada"
+
+#: templates/search.php:66
+msgid "Select None"
+msgstr "Seleccionar nada"
+
+#: templates/search.php:64
+#, php-format
+msgid "Select: %s, %s"
+msgstr "Seleccionado: %s, %s"
+
+#: lib/Trean.php:209
+msgid "Service Unavailable"
+msgstr "Servicio no disponible"
+
+#: config/.bak/prefs.php.dist:11
+msgid "Set how to display bookmark listings and how to open links."
+msgstr "Define cómo mostrar listados de marcadores y cómo abrir los vínculos."
+
+#: config/.bak/prefs.php.dist:66
+msgid "Should your list of bookmark folders be open when you log in?"
+msgstr "¿Abrir el listado de marcadores al iniciar sesión?"
+
+#: config/.bak/prefs.php.dist:45
+msgid "Show folder actions panel?"
+msgstr "¿Mostrar panel de acciones de carpeta?"
+
+#: config/.bak/prefs.php.dist:24
+msgid "Sort bookmarks by:"
+msgstr "Ordenar marcadores por:"
+
+#: lib/Block/bookmarks.php:46
+msgid "Sort by"
+msgstr "Ordenar por"
+
+#: config/.bak/prefs.php.dist:35
+msgid "Sort direction:"
+msgstr "Sentido de clasificación:"
+
+#: lib/Trean.php:173
+msgid "Switching Protocols"
+msgstr "Protocolos de conmutación"
+
+#: lib/Block/mostclicked.php:33 lib/Block/highestrated.php:33
+#: lib/Block/bookmarks.php:58
+msgid "Template"
+msgstr "Plantilla"
+
+#: lib/Trean.php:187
+msgid "Temporary Redirect"
+msgstr "Redirección temporal"
+
+#: templates/browse.php:169
+msgid "There are no bookmarks in this folder"
+msgstr "No hay marcadores en esta carpeta"
+
+#: edit.php:216
+#, php-format
+msgid "There was a problem copying the bookmark: %s"
+msgstr "Se produjo un problema al copiar el marcador: %s"
+
+#: edit.php:53 edit.php:112
+#, php-format
+msgid "There was a problem deleting the bookmark: %s"
+msgstr "Se produjo un problema al eliminar el marcador: %s"
+
+#: edit.php:125
+#, php-format
+msgid "There was a problem deleting the folder: %s"
+msgstr "Se produjo un problema al eliminar la carpeta: %s"
+
+#: edit.php:163
+#, php-format
+msgid "There was a problem moving the bookmark: %s"
+msgstr "Se produjo un problema al trasladar el marcador: %s"
+
+#: edit.php:176
+#, php-format
+msgid "There was a problem moving the folder: %s"
+msgstr "Se produjo un pronlema al trasladar la carpeta: %s"
+
+#: add.php:61
+#, php-format
+msgid "There was an error adding the bookmark: %s"
+msgstr "Se produjo un error al añadir el marcador: %s"
+
+#: add.php:45 add.php:102 edit.php:147 edit.php:201
+#, php-format
+msgid "There was an error adding the folder: %s"
+msgstr "Se produjo un error al añadir la carpeta: %s"
+
+#: edit.php:74
+#, php-format
+msgid "There was an error saving the bookmark: %s"
+msgstr "Se produjo un error al guardar el marcador: %s"
+
+#: edit.php:87
+#, php-format
+msgid "There was an error saving the folder: %s"
+msgstr "Se produjo un error al guardar la carpeta: %s"
+
+#: templates/views/BookmarkList.php:25 templates/edit/bookmark.inc:10
+#: templates/add/add.inc:37 lib/Forms/Search.php:21 lib/Block/bookmarks.php:49
+#: config/.bak/prefs.php.dist:21
+msgid "Title"
+msgstr "Título"
+
+#: templates/add/add.inc:69
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr "Para poder añadir rápidamente marcadores de su navegador:"
+
+#: templates/reports.php:103
+msgid "Total"
+msgstr "Total"
+
+#: templates/edit/bookmark.inc:20 templates/add/add.inc:32
+#: lib/Forms/Search.php:23
+msgid "URL"
+msgstr "URL"
+
+#: lib/Trean.php:189
+msgid "Unauthorized"
+msgstr "Sin autorización"
+
+#: templates/reports.php:100
+#, php-format
+msgid "Unknown (%s)"
+msgstr "Desconocido (%s)"
+
+#: lib/Trean.php:203
+msgid "Unsupported Media Type"
+msgstr "Tipo de medio no soportado"
+
+#: perms.php:228
+#, php-format
+msgid "Updated %s."
+msgstr "Actualizado %s."
+
+#: lib/Trean.php:186
+msgid "Use Proxy"
+msgstr "Usar proxy"
+
+#: templates/add/add.inc:74
+msgid ""
+"While browsing you will be able to bookmark the current page by clicking "
+"your new \"Add to Bookmarks\" shortcut."
+msgstr ""
+"Puede añadir un marcador de la página actual miestras navega pulsando sobre "
+"el nuevo acceso directo \"Añadir a los marcadores\"."
+
+#: lib/Forms/Search.php:25
+msgid "Whole Field"
+msgstr "Campo completo"
+
+#: templates/edit/delete_folder_confirmation.inc:9
+msgid "Yes"
+msgstr "Sí"
+
+#: data.php:65 data.php:132 add.php:23
+#, php-format
+msgid "You are not allowed to create more than %d bookmarks."
+msgstr "Carece de permisos para crear más de %d marcadores."
+
+#: data.php:56 data.php:107 add.php:86
+#, php-format
+msgid "You are not allowed to create more than %d folders."
+msgstr "Carece de permisos para crear más de %d carpetas."
+
+#: browse.php:24
+msgid "You do not have permission to view this folder."
+msgstr "Carece de permisos para ver esta carpeta."
+
+#: templates/add/add.inc:11
+msgid "You must select a target folder first"
+msgstr "Primero tiene que seleccionar una carpeta de destino"
+
+#: lib/Trean.php:149
+msgid "_Browse"
+msgstr "_Examinar"
+
+#: templates/browse.php:161
+msgid "_Delete Bookmarks"
+msgstr "E_liminar"
+
+#: templates/browse.php:156
+msgid "_Edit Bookmarks"
+msgstr "_Modificar"
+
+#: lib/Trean.php:155
+msgid "_Import/Export"
+msgstr "_Importar/Exportar"
+
+#: templates/browse.php:151
+msgid "_New Bookmark"
+msgstr "_Añadir"
+
+#: lib/Trean.php:151
+msgid "_Reports"
+msgstr "_Informes"
+
+#: lib/Trean.php:150
+msgid "_Search"
+msgstr "_Buscar"
+
+#: templates/block/1line.inc:22 templates/block/2line.inc:26
+#: templates/block/standard.inc:24
+msgid "click"
+msgstr "visita"
+
+#: templates/block/1line.inc:22 templates/block/2line.inc:26
+#: templates/block/standard.inc:24
+msgid "clicks"
+msgstr "visitas"
diff --git a/trean/po/fi_FI.po b/trean/po/fi_FI.po
new file mode 100644
index 000000000..cfddaeb33
--- /dev/null
+++ b/trean/po/fi_FI.po
@@ -0,0 +1,449 @@
+# Finnish translation for Trean.
+# Copyright
+# Leena Heino , 2003-2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Trean 0.1-cvs\n"
+"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
+"POT-Creation-Date: 2005-02-10 10:56+0200\n"
+"PO-Revision-Date: 2004-12-10 12:59+0200\n"
+"Last-Translator: Leena Heino \n"
+"Language-Team: Finnish \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8-bit\n"
+
+#: data.php:67
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "Tuotiin %d kansiota ja %d kirjanmerkkia."
+
+#: templates/browse/bookmarks.inc:65
+#, php-format
+msgid "%s Bookmarks"
+msgstr "%s kirjanmerkit"
+
+#: templates/browse/subcategories.inc:47
+#, fuzzy, php-format
+msgid "%s Categories"
+msgstr "Kategoriat"
+
+#: edit.php:127
+#, php-format
+msgid "'%s' was not renamed: %s."
+msgstr "'%s' ei voitu uudelleennimetä: %s."
+
+#: lib/Block/bookmarks.php:47 config/prefs.php.dist:33
+msgid "1 Line"
+msgstr "1-rivinen"
+
+#: lib/Block/bookmarks.php:46 config/prefs.php.dist:32
+msgid "2 Line"
+msgstr "2-rivinen"
+
+#: lib/Block/bookmarks.php:45 config/prefs.php.dist:31
+msgid "3 Line"
+msgstr "3-rivinen"
+
+#: lib/Trean.php:166
+msgid "Add"
+msgstr "Lisää"
+
+#: add.php:72
+msgid "Add Bookmark"
+msgstr "Lisää kirjanmerkki"
+
+#: templates/add/add.inc:12
+msgid "Add a new bookmark"
+msgstr "Lisää uusi kirjanmerkki"
+
+#: templates/add/add.inc:68
+msgid "Add to Bookmarks"
+msgstr "Lisää kirjanmerkkeihin"
+
+#: templates/browse/bookmarks.inc:82 templates/browse/subcategories.inc:55
+msgid "All"
+msgstr "Kaikki"
+
+#: templates/search/search.inc:29
+msgid "And"
+msgstr "Ja"
+
+#: templates/search/search.inc:38
+msgid "Any Part of field"
+msgstr "Missä tahansa kohdassa kenttää"
+
+#: templates/browse/bookmarks.inc:32
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr "Oletko varma että haluat tuhota valitut kirjanmerkit?"
+
+#: templates/browse/subcategories.inc:23
+#, fuzzy
+msgid "Are you sure you want to delete the selected categories?"
+msgstr "Oletko varma että haluat tuhota valitut kirjanmerkit?"
+
+#: lib/Bookmarks.php:70
+msgid "Bookmark names must be non-empty"
+msgstr "Kirjanmerkkien nimet eivät saa olla tyhjiä"
+
+#: data.php:103 lib/Block/bookmarks.php:3
+msgid "Bookmarks"
+msgstr "Kirjanmerkit"
+
+#: browse.php:71 lib/Trean.php:165
+msgid "Browse"
+msgstr "Selaa"
+
+#: templates/edit/footer.inc:4
+msgid "Cancel"
+msgstr "Peru"
+
+#: templates/browse/subcategories.inc:47 templates/browse/browse.html:2
+msgid "Categories"
+msgstr "Kategoriat"
+
+#: templates/edit/edit.inc:26 templates/add/add.inc:36
+#: lib/Block/bookmarks.php:38
+msgid "Category"
+msgstr "Kategoria"
+
+#: lib/Trean.php:33 lib/Trean.php:66
+msgid "Category does not exist."
+msgstr "Kategoriaa ei ole olemassa."
+
+#: lib/Bookmarks.php:51
+msgid "Category names must be non-empty"
+msgstr "Kategorioiden nimetä eivät saa olla tyhjiä"
+
+#: templates/data/import.inc:12
+msgid "Category to import into:"
+msgstr "Kategoria johon tuodaan:"
+
+#: config/prefs.php.dist:11
+msgid "Change the number of columns to display in browse and search results."
+msgstr ""
+"Muuta näytettävien sarakkeiden lukumäärää selausnäkymässä ja haun tuloksissa."
+
+#: templates/search/search.inc:25
+msgid "Combine"
+msgstr "Yhdistä"
+
+#: config/prefs.php.dist:43
+msgid "Completely collapsed"
+msgstr "Kokonaan pienennetty"
+
+#: config/prefs.php.dist:45
+msgid "Completely expanded"
+msgstr "Kokonaan laajennettu"
+
+#: edit.php:105
+msgid "Copied bookmark: "
+msgstr "Kopioitu kirjanmerkki: "
+
+#: templates/browse/bookmarks.inc:89
+msgid "Copy"
+msgstr "Kopioi"
+
+#: templates/add/nocategories.inc:9
+msgid "Define one or more categories for your bookmarks"
+msgstr "Määrittele yksi tai useampi kategoria kirjanmerkeillesi"
+
+#: templates/browse/bookmarks.inc:87 templates/browse/subcategories.inc:59
+msgid "Delete"
+msgstr "Poista"
+
+#: edit.php:153
+#, fuzzy
+msgid "Delete category: "
+msgstr "Poista tämä luokitus"
+
+#: templates/browse/javascript.inc:29
+msgid "Delete current category?"
+msgstr "Poistetaanko nykyinen luokitus?"
+
+#: templates/browse/bookmarks.inc:72
+msgid "Delete this Category"
+msgstr "Poista tämä luokitus"
+
+#: edit.php:58
+msgid "Deleted bookmark: "
+msgstr "Poistettu kirjanmerkki: "
+
+#: templates/search/search.inc:20 templates/edit/edit.inc:21
+#: templates/add/add.inc:31
+msgid "Description"
+msgstr "Kuvaus"
+
+#: config/prefs.php.dist:10
+msgid "Display Options"
+msgstr "Näkymän asetukset"
+
+#: config/prefs.php.dist:55
+msgid "Display edit buttons when displaying Bookmarks?"
+msgstr "Näytä muokkauspainikkeet kun näytetään kirjanmerkkejä"
+
+#: templates/data/import.inc:27
+msgid "Download My Bookmarks"
+msgstr "Lataa kirjanmerkkini"
+
+#: templates/add/add.inc:63
+msgid "Drag the 'Add to Bookmarks' link below onto your 'Links' Bar"
+msgstr "Raahaa allaoleva 'Lisää kirjanmerkkeihin'-linkki 'Links' valikkoon"
+
+#: templates/add/add.inc:61
+msgid "Drag the 'Add to Bookmarks' link below onto your 'Personal Toolbar'"
+msgstr ""
+"Raahaa allaoleva 'Lisää kirjanmerkkeihin'-linkki 'Personal Toolbar' valikkoon"
+
+#: templates/browse/bookmarks.inc:86
+msgid "Edit"
+msgstr "Muokkaa"
+
+#: edit.php:191
+msgid "Edit Bookmark"
+msgstr "Muokkaa kirjanmerkkiä"
+
+#: templates/data/import.inc:26
+msgid "Export Bookmarks"
+msgstr "Vie kirjanmerkit"
+
+#: templates/data/import.inc:11
+msgid "File to import:"
+msgstr "Tiedosto, josta tuodaan:"
+
+#: config/prefs.php.dist:44
+msgid "First level shown"
+msgstr "Ensimmäinen taso näkyvissä"
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr "Tuo"
+
+#: data.php:91 templates/data/import.inc:1
+msgid "Import Bookmarks"
+msgstr "Tuo kirjanmerkkejä"
+
+#: lib/Trean.php:171
+msgid "Import/Export"
+msgstr "Tuo/Vie"
+
+#: templates/add/add.inc:62
+msgid "Internet Explorer"
+msgstr "Internet Explorer"
+
+#: templates/data/import.inc:9
+msgid ""
+"Internet Explorer users will need to export their current Favorites by going "
+"to the 'File' menu and selecting 'Import and Export'."
+msgstr ""
+"Jos käytät Internet Explorer selainta ja haluat tuoda 'Favorites' "
+"kirjanmerkkisi, niin mene 'File' valikkoon ja valitse 'Import and Export'."
+
+#: templates/search/search.inc:35
+msgid "Match"
+msgstr "Täsmää"
+
+#: templates/browse/bookmarks.inc:88 templates/browse/subcategories.inc:60
+msgid "Move"
+msgstr "Siirrä"
+
+#: edit.php:82
+msgid "Moved bookmark: "
+msgstr "Siirretty kirjanmerkki: "
+
+#: edit.php:174
+#, fuzzy
+msgid "Moved category: "
+msgstr "Uusi aliluokitus"
+
+#: templates/add/add.inc:60
+msgid "Mozilla"
+msgstr "Mozilla"
+
+#: templates/data/import.inc:8
+msgid ""
+"Mozilla users will need to export their current Bookmarks by going into "
+"'Bookmark Manager' and selecting 'Export' from the 'Tools' menu."
+msgstr ""
+"Jos käytät Mozilla selainta ja haluat tuoda kirjanmerkkisi, niin mene "
+"'Bookmark Manager' valikkoon ja valitse 'Tools' valikosta 'Export' toiminto."
+
+#: browse.php:52 templates/browse/bookmarks.inc:65 lib/Trean.php:39
+#: lib/Trean.php:70 lib/Trean.php:139 lib/Block/bookmarks.php:29
+#: lib/Block/bookmarks.php:65
+msgid "My Bookmarks"
+msgstr "Kirjanmerkkini"
+
+#: templates/browse/bookmarks.inc:69 lib/Block/bookmarks.php:70
+msgid "New Bookmark"
+msgstr "Uusi kirjanmerkki"
+
+#: templates/browse/bookmarks.inc:70 templates/add/nocategories.inc:4
+msgid "New Subcategory"
+msgstr "Uusi aliluokitus"
+
+#: templates/search/results_none.inc:3
+msgid "No Bookmarks found"
+msgstr "Ei löytynyt kirjanmerkkejä"
+
+#: lib/Block/bookmarks.php:100
+msgid "No bookmarks to display"
+msgstr "Ei kirjanmerkkejä näytettäväksi"
+
+#: templates/browse/bookmarks.inc:83 templates/browse/subcategories.inc:56
+msgid "None"
+msgstr "Ei mitään"
+
+#: config/prefs.php.dist:22
+msgid "Number of columns to display in browse and search results:"
+msgstr ""
+"Näytettävien sarakkeiden lukumäärää selausnäkymässä ja haun tuloksissa:"
+
+#: config/prefs.php.dist:64
+msgid "Open links in a new window?"
+msgstr "Avaa linkit uudessa ikkunassa."
+
+#: templates/search/search.inc:28
+msgid "Or"
+msgstr "Tai"
+
+#: config/prefs.php.dist:9
+msgid "Other Options"
+msgstr "Muut asetukset"
+
+#: templates/browse/javascript.inc:19
+msgid "Please enter the name of the new category:"
+msgstr "Anna uuden luokituksen nimi:"
+
+#: templates/browse/javascript.inc:39
+msgid "Please modify the name accordingly"
+msgstr "Muokkaa nimea sen mukaisesti"
+
+#: templates/browse/bookmarks.inc:73
+msgid "Rename this Category"
+msgstr "Uudelleennimeä tämä kategoria"
+
+#: templates/add/add.inc:47
+msgid "Reset"
+msgstr "Tyhjennä"
+
+#: templates/edit/footer.inc:3 templates/add/add.inc:46
+msgid "Save"
+msgstr "Talleta"
+
+#: search.php:14 templates/search/search.inc:46 lib/Trean.php:167
+msgid "Search"
+msgstr "Haku"
+
+#: templates/search/search.inc:5
+msgid "Search Bookmarks"
+msgstr "Hae kirjanmerkeistä"
+
+#: templates/search/results_header.inc:5
+msgid "Search Results"
+msgstr "Haun tulokset"
+
+#: templates/browse/bookmarks.inc:82 templates/browse/subcategories.inc:55
+msgid "Select All"
+msgstr "Valitse kaikki"
+
+#: templates/browse/bookmarks.inc:83 templates/browse/subcategories.inc:56
+msgid "Select None"
+msgstr "Tyhjennä valinnat"
+
+#: templates/browse/bookmarks.inc:81 templates/browse/subcategories.inc:54
+#, php-format
+msgid "Select: %s | %s"
+msgstr "Valitse %s | %s"
+
+#: config/prefs.php.dist:46
+msgid "Should your list of bookmark categories be open when you log in?"
+msgstr ""
+"Näytä lista kaikista kirjanmerkkikategorioista sisäänkirjautumisen "
+"yhteydessä."
+
+#: lib/Block/bookmarks.php:42
+msgid "Template"
+msgstr "Malli"
+
+#: config/prefs.php.dist:34
+msgid "Template to use when displaying bookmarks:"
+msgstr "Kirjanmerkkien näyttämisessä käytettävä malli:"
+
+#: templates/browse/bookmarks.inc:117
+msgid "There are no bookmarks in this category"
+msgstr "Tässä kategoriassa ei ole ainuttakaan kirjanmerkkiä"
+
+#: edit.php:107
+#, php-format
+msgid "There was a problem copying the bookmark: %s"
+msgstr "Kirjanmerkkiä kopioitaessa tapahtui virhe: %s"
+
+#: edit.php:60
+#, php-format
+msgid "There was a problem deleting the bookmark: %s"
+msgstr "Kirjanmerkkiä poistettaessa tapahtui virhe: %s"
+
+#: edit.php:155
+#, fuzzy, php-format
+msgid "There was a problem deleting the category: %s"
+msgstr "Kirjanmerkkiä poistettaessa tapahtui virhe: %s"
+
+#: edit.php:84
+#, php-format
+msgid "There was a problem moving the bookmark: %s"
+msgstr "Kirjanmerkkiä siirrettäessä tapahtui virhe: %s"
+
+#: edit.php:176
+#, fuzzy, php-format
+msgid "There was a problem moving the category: %s"
+msgstr "Kirjanmerkkiä siirrettäessä tapahtui virhe: %s"
+
+#: add.php:35
+#, php-format
+msgid "There was an error adding the bookmark: %s"
+msgstr "Kirjanmerkkiä lisätessä tapahtui virhe: %s"
+
+#: add.php:61
+#, php-format
+msgid "There was an error adding the category: %s"
+msgstr "Kategoriaa lisätessä tapahtui virhe: %s"
+
+#: edit.php:42
+#, php-format
+msgid "There was an error saving the bookmark: %s"
+msgstr "Kirjanmerkkiä talletettaessa tapahtui virhe: %s"
+
+#: templates/search/search.inc:15 templates/edit/edit.inc:16
+#: templates/add/add.inc:26
+msgid "Title"
+msgstr "Otsikko"
+
+#: templates/add/add.inc:59
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr "Jotta voisit nopeasti lisätä kirjanmerkkejä www-selaimeesi:"
+
+#: templates/search/search.inc:10 templates/edit/edit.inc:11
+#: templates/add/add.inc:21
+msgid "URL"
+msgstr "URL"
+
+#: templates/add/add.inc:64
+msgid ""
+"While browsing you will be able to add bookmarks by clicking your new 'Add "
+"to Bookmarks' shortcut."
+msgstr ""
+"Voit lisätä kirjanmerkkejä Napauttamalla 'Lisää kirjanmerkkeihin' oikopolkua."
+
+#: templates/search/search.inc:39
+msgid "Whole Field"
+msgstr "Koko kenttä"
+
+#: templates/browse/javascript.inc:19
+msgid "You are creating a category folder."
+msgstr "Olet luomassa luokituskansiota."
+
+#: templates/browse/javascript.inc:39
+msgid "You are renaming the current category folder."
+msgstr "Olet uudelleennimeämässä nykyistä kategoriakansiota."
diff --git a/trean/po/fr_FR.po b/trean/po/fr_FR.po
new file mode 100644
index 000000000..580f605c9
--- /dev/null
+++ b/trean/po/fr_FR.po
@@ -0,0 +1,374 @@
+# French translation for Trean package.
+# Copyright YEAR Horde Project
+# This file is distributed under the same license as the PACKAGE package.
+# Raphaël JEUDY , 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Trean 1.0-cvs\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-04-02 20:30+0200\n"
+"PO-Revision-Date: 2003-04-02 23:04+0100\n"
+"Last-Translator: Raphaël JEUDY \n"
+"Language-Team: French \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: data.php:70
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "%d dossiers et %d signets importés."
+
+#: templates/browse/bookmarks.inc:5
+#, php-format
+msgid "%s Bookmarks"
+msgstr "%s Signets"
+
+#: templates/browse/categories.inc:5
+#, php-format
+msgid "%s Subcategories"
+msgstr "%s Sous catégories"
+
+#: add.php:25
+#, php-format
+msgid "'%s' was not added: %s."
+msgstr "'%s' n'a pas été ajouté: %s."
+
+#: add.php:48
+#, php-format
+msgid "'%s' was not created: %s."
+msgstr "'%s' n'a pas été créé: %s."
+
+#: config/prefs.php.dist:40
+msgid "1 Line"
+msgstr "1 ligne"
+
+#: config/prefs.php.dist:39
+msgid "2 Line"
+msgstr "2 lignes"
+
+#: config/prefs.php.dist:38
+msgid "3 Line"
+msgstr "3 lignes"
+
+#: templates/menu/menu.inc:7
+msgid "Add"
+msgstr "Ajouter"
+
+#: add.php:65
+msgid "Add Bookmark"
+msgstr "Ajouter Signet"
+
+#: templates/add/add.inc:11
+msgid "Add a new bookmark"
+msgstr "Ajouter un nouveau signet"
+
+#: templates/add/add.inc:73
+msgid "Add to Bookmarks"
+msgstr "Ajouter aux signets"
+
+#: templates/data/import.inc:23
+msgid "All bookmarks and categories will be imported into here."
+msgstr "Tous les signets et catégories vont être importés ici."
+
+#: templates/search/search.inc:31
+msgid "And"
+msgstr "Et"
+
+#: templates/search/search.inc:40
+msgid "Any Part of field"
+msgstr "N'importe quelle partie du champ"
+
+#: browse.php:7 templates/menu/menu.inc:6
+msgid "Browse"
+msgstr "Parcourir"
+
+#: templates/category/tree.inc:4
+msgid "Categories"
+msgstr "Classer"
+
+#: templates/add/add.inc:39 templates/edit/edit.inc:41
+msgid "Category"
+msgstr "Catégorie"
+
+#: config/prefs.php.dist:13
+msgid "Change the number of columns to display in browse and search results."
+msgstr ""
+"Changez le nombre de colonnes à afficher lors d'une recherche ou d'une "
+"consultation."
+
+#: templates/search/search.inc:27
+msgid "Combine"
+msgstr "Combiner"
+
+#: templates/add/nocategories.inc:11
+msgid "Define one or more categories for your bookmarks"
+msgstr "Definissez une ou plusieurs catégories pour vos signets"
+
+#: templates/bookmark/1line.inc:24 templates/bookmark/1line.inc:25
+#: templates/bookmark/standard.inc:23 templates/bookmark/standard.inc:24
+#: templates/bookmark/2line.inc:25 templates/bookmark/2line.inc:26
+msgid "Delete"
+msgstr "Supprimer"
+
+#: templates/browse/javascript.inc:34
+msgid "Delete current category?"
+msgstr "Supprimer la catégorie?"
+
+#: templates/browse/categories.inc:10
+msgid "Delete this Category"
+msgstr "Supprimer cette catégorie"
+
+#: templates/add/add.inc:34 templates/edit/edit.inc:36
+#: templates/search/search.inc:22
+msgid "Description"
+msgstr "Description"
+
+#: config/prefs.php.dist:12
+msgid "Display Options"
+msgstr "Afficher les options"
+
+#: config/prefs.php.dist:49
+msgid "Display edit buttons when displaying Bookmarks?"
+msgstr "Afficher un bouton d'édition lors de l'affichage des signets?"
+
+#: templates/add/add.inc:65
+msgid "Drag the 'Add to Bookmarks' link below onto your 'Links' Bar"
+msgstr ""
+"Glissez le lien 'Ajouter aux signets' ci-dessous sur votre barre de 'liens'"
+
+#: templates/add/add.inc:63
+msgid "Drag the 'Add to Bookmarks' link below onto your 'Personal Toolbar'"
+msgstr ""
+"Glissez le lien 'Ajouter aux signets' ci-dessous sur votre barre d'outils "
+"'personnel'"
+
+#: templates/bookmark/1line.inc:26 templates/bookmark/1line.inc:27
+#: templates/bookmark/standard.inc:25 templates/bookmark/standard.inc:26
+#: templates/bookmark/2line.inc:27 templates/bookmark/2line.inc:28
+msgid "Edit"
+msgstr "Editer"
+
+#: templates/edit/edit.inc:13
+#, php-format
+msgid "Edit %s"
+msgstr "Editer %s"
+
+#: edit.php:59
+msgid "Edit Bookmark"
+msgstr "Editer le signer"
+
+#: templates/data/import.inc:44
+msgid "Export"
+msgstr "Exporter"
+
+#: templates/data/import.inc:37
+msgid "Export Bookmarks"
+msgstr "Exporter vos signets"
+
+#: templates/menu/menu.inc:23
+msgid "Help"
+msgstr "Aide"
+
+#: templates/data/import.inc:24
+msgid "Import"
+msgstr "Importer"
+
+#: data.php:99 templates/data/import.inc:7
+msgid "Import Bookmarks"
+msgstr "Importer vos signets"
+
+#: templates/menu/menu.inc:15
+msgid "Import/Export"
+msgstr "Importer/Exporter"
+
+#: data.php:14 data.php:72
+msgid "Imported Bookmarks"
+msgstr "Signets importés"
+
+#: templates/add/add.inc:64
+msgid "Internet Explorer"
+msgstr "Internet Explorer"
+
+#: templates/data/import.inc:16
+msgid ""
+"Internet Expolorer Users will need to export their current Favorites by "
+"going to the 'File' menu and selected 'Import and Export'"
+msgstr ""
+"Les utilisateurs d'Internet Explorer devront exporter leurs signets en "
+"allant dans le menu 'Fichier' puis 'Importer et Exporter'"
+
+#: config/prefs.php.dist:6
+msgid "Language"
+msgstr "Langue"
+
+#: templates/search/search.inc:37
+msgid "Match"
+msgstr "Contient"
+
+#: templates/add/add.inc:62
+msgid "Mozilla"
+msgstr "Mozilla"
+
+#: templates/data/import.inc:15
+msgid ""
+"Mozilla will need to export their current Bookmarks by going into 'Bookmark "
+"Manager' and selecting 'Export' from the 'Tools' menu"
+msgstr ""
+"Les utilisateurs de Mozilla devront aller dans le menu 'Bookmarks-> Manage "
+"Bookmarks...->Tools->Export...'"
+
+#: lib/Trean.php:64 templates/browse/bookmarks.inc:5
+#: templates/category/tree.inc:18
+msgid "My Bookmarks"
+msgstr "Mes signets"
+
+#: templates/browse/categories.inc:5
+msgid "My Categories"
+msgstr "Mes categories"
+
+#: templates/add/add.inc:29 templates/edit/edit.inc:31
+#: templates/search/search.inc:17
+msgid "Name"
+msgstr "Nom"
+
+#: templates/browse/bookmarks.inc:11
+msgid "New Bookmark"
+msgstr "Nouveau signet"
+
+#: templates/add/nocategories.inc:5 templates/browse/categories.inc:8
+msgid "New Subcategory"
+msgstr "Nouvelle sous catégorie"
+
+#: templates/search/results_none.inc:3
+msgid "No Bookmarks found"
+msgstr "Pas de signets trouvés"
+
+#: add.php:62
+msgid "No categories defined"
+msgstr "Pas de catégorie définie"
+
+#: config/prefs.php.dist:30
+msgid "Number of columns to display in browse and search results:"
+msgstr ""
+"Nombre de colonnes à afficher lors d'une recherche ou d'une consultation:"
+
+#: config/prefs.php.dist:57
+msgid "Open links in new windows"
+msgstr "Ouvrir le lien dans une nouvelle fenêtre"
+
+#: templates/menu/menu.inc:10
+msgid "Options"
+msgstr "Options"
+
+#: templates/search/search.inc:30
+msgid "Or"
+msgstr "Ou"
+
+#: config/prefs.php.dist:11
+msgid "Other Options"
+msgstr "Autres options"
+
+#: templates/browse/javascript.inc:20
+msgid "Please enter the name of the new category:"
+msgstr "Veuillez entrer le nom de la nouvelle catégorie:"
+
+#: templates/add/add.inc:15 templates/add/add.inc:50
+#: templates/edit/edit.inc:17 templates/edit/edit.inc:52
+msgid "Reset"
+msgstr "RAZ"
+
+#: templates/add/add.inc:14 templates/add/add.inc:49
+#: templates/edit/edit.inc:16 templates/edit/edit.inc:51
+msgid "Save"
+msgstr "Enregistrer"
+
+#: search.php:7 templates/menu/menu.inc:8 templates/search/search.inc:47
+msgid "Search"
+msgstr "Recherche"
+
+#: templates/search/search.inc:7
+msgid "Search Bookmarks"
+msgstr "Rechercher dans les signets"
+
+#: templates/search/results_header.inc:5
+msgid "Search Results"
+msgstr "Résultats de la recherche"
+
+#: templates/data/import.inc:18
+msgid "Select the file to import:"
+msgstr "Séléctionnez le fichier à importer:"
+
+#: config/prefs.php.dist:22
+msgid "Select your preferred language:"
+msgstr "Séléctionnez votre langue par défaut:"
+
+#: config/prefs.php.dist:7
+msgid "Set the your preferred display language."
+msgstr "Séléctionnez votre langue d'affichage."
+
+#: templates/index/notconfigured.inc:39
+msgid "Some of Trean's configuration files are missing:"
+msgstr "Certains fichiers de configuration pour Trean sont manquants:"
+
+#: templates/data/import.inc:19
+msgid "Target Category:"
+msgstr "Catégorie cible:"
+
+#: config/prefs.php.dist:41
+msgid "Template to use when displaying Bookmarks:"
+msgstr "Modèle à utiliser pour l'affichage des signets:"
+
+#: add.php:21
+msgid "There was an error adding the bookmark"
+msgstr "Erreur lors de l'ajout aux signets"
+
+#: templates/index/notconfigured.inc:51
+msgid "This file contains preferences for Trean."
+msgstr "Ce fichiers contient les préférences pour Trean."
+
+#: templates/index/notconfigured.inc:44
+msgid ""
+"This is the main Trean configuration file. It contains options for all Trean "
+"scripts."
+msgstr ""
+"Fichier principal de configuration pour Trean. Il contient les options pour "
+"tous les scripts de Trean."
+
+#: templates/add/add.inc:61
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr "Pour ajouter rapidement un signet depuis votre navigateur:"
+
+#: templates/index/notconfigured.inc:4
+msgid "Trean is not properly configured"
+msgstr "Trean n'est pas correctement configuré"
+
+#: templates/add/add.inc:24 templates/edit/edit.inc:26
+#: templates/search/search.inc:12
+msgid "URL"
+msgstr "Adresse"
+
+#: prefs.php:33
+msgid "User Options"
+msgstr "Options utilisateur"
+
+#: templates/add/add.inc:66
+msgid ""
+"While browsing you will be able to add bookmarks by clicking your new 'Add "
+"to Bookmarks' shortcut."
+msgstr ""
+"Lors d'une navigation vous pouvez rapidement ajouter un signet en cliquant "
+"sur le lien 'Ajouter aux signets'."
+
+#: templates/search/search.inc:41
+msgid "Whole Field"
+msgstr "Tout le champ"
+
+#: templates/browse/javascript.inc:20
+msgid "You are creating a category folder."
+msgstr "Vous crééez une catégorie."
+
+#: config/prefs.php.dist:5
+msgid "Your Information"
+msgstr "Votre information"
diff --git a/trean/po/it_IT.po b/trean/po/it_IT.po
new file mode 100644
index 000000000..ca7f4ab27
--- /dev/null
+++ b/trean/po/it_IT.po
@@ -0,0 +1,878 @@
+# Italian translations for trean package.
+# Copyright 2008-2009 The Horde Project
+# This file is distributed under the same license as the trean package.
+# Fabio Pedretti , 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: trean v0.1\n"
+"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
+"POT-Creation-Date: 2008-09-05 17:46+0200\n"
+"PO-Revision-Date: 2008-09-05 18:33+0200\n"
+"Last-Translator: Fabio Pedretti \n"
+"Language-Team: i18n@lists.horde.org\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: edit.php:237
+#, php-format
+msgid "\"%s\" was not renamed: %s."
+msgstr "\"%s\" non è stato rinominato: %s."
+
+#: data.php:156
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "%d Cartelle e %d Preferiti importati."
+
+#: templates/star_rating_helper.php:21 templates/star_rating_helper.php:22
+#: templates/star_rating_helper.php:23 templates/star_rating_helper.php:24
+#, php-format
+msgid "%d stars out of 5"
+msgstr "%d stelle su 5"
+
+#: templates/reports.php:104
+#, php-format
+msgid "%s Bookmarks"
+msgstr "%s Preferiti"
+
+#: reports.php:25
+#, php-format
+msgid "%s Response Codes"
+msgstr "%s Codici di Risposta"
+
+#: lib/base.php:78
+#, php-format
+msgid "%s's Bookmarks"
+msgstr "%s Preferiti"
+
+#: lib/Block/bookmarks.php:63 lib/Block/highestrated.php:38
+#: lib/Block/mostclicked.php:38
+msgid "1 Line"
+msgstr "1 Riga"
+
+#: templates/star_rating_helper.php:20
+msgid "1 star out of 5"
+msgstr "1 stella su 5"
+
+#: lib/Block/bookmarks.php:55 lib/Block/highestrated.php:30
+#: lib/Block/mostclicked.php:30
+msgid "10 rows"
+msgstr "10 righe"
+
+#: lib/Block/bookmarks.php:56 lib/Block/highestrated.php:31
+#: lib/Block/mostclicked.php:31
+msgid "15 rows"
+msgstr "15 righe"
+
+#: templates/reports.php:36
+#, php-format
+msgid "1xx Response Codes (%s)"
+msgstr "1xx Codici di Risposta (%s)"
+
+#: lib/Block/bookmarks.php:62 lib/Block/highestrated.php:37
+#: lib/Block/mostclicked.php:37
+msgid "2 Line"
+msgstr "2 Righe"
+
+#: lib/Block/bookmarks.php:57 lib/Block/highestrated.php:32
+#: lib/Block/mostclicked.php:32
+msgid "25 rows"
+msgstr "25 righe"
+
+#: templates/reports.php:42
+#, php-format
+msgid "2xx Response Codes (%s)"
+msgstr "2xx Codici di Risposta (%s)"
+
+#: lib/Block/bookmarks.php:61 lib/Block/highestrated.php:36
+#: lib/Block/mostclicked.php:36
+msgid "3 Line"
+msgstr "3 Righe"
+
+#: templates/reports.php:53
+#, php-format
+msgid "3xx Response Codes (%s)"
+msgstr "3xx Codici di Risposta (%s)"
+
+#: templates/reports.php:64
+#, php-format
+msgid "4xx Response Codes (%s)"
+msgstr "4xx Codici di Risposta (%s)"
+
+#: templates/reports.php:86
+#, php-format
+msgid "5xx Response Codes (%s)"
+msgstr "5xx Codici di Risposta (%s)"
+
+#: lib/Forms/Search.php:24
+msgid "AND"
+msgstr "E"
+
+#: lib/Trean.php:176
+msgid "Accepted"
+msgstr "Accettato"
+
+#: templates/add.html.php:59 lib/Block/tree_menu.php:24
+msgid "Add"
+msgstr "Aggiungi"
+
+#: templates/add.html.php:82
+msgid "Add to Bookmarks"
+msgstr "Aggiungi ai Preferiti"
+
+#: templates/search.php:65
+msgid "All"
+msgstr "Tutti"
+
+#: data.php:39 perms.php:239 lib/Block/bookmarks.php:32
+#, php-format
+msgid "An error occured listing folders: %s"
+msgstr "Errore nell'elenco delle cartelle: %s"
+
+#: lib/Trean.php:49
+#, php-format
+msgid "An error occurred counting folders: %s"
+msgstr "Errore nel conteggio delle cartelle: %s"
+
+#: lib/Forms/Search.php:25
+msgid "Any Part of the field"
+msgstr "Qualunque parte del campo"
+
+#: templates/search.php:29
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr "Sei sicuro di voler eliminare i preferiti selezionati?"
+
+#: config/prefs.php.dist:33
+msgid "Ascending (A to Z)"
+msgstr "Crescente (A a Z)"
+
+#: perms.php:44
+msgid "Attempt to edit a non-existent share."
+msgstr "Si è cercato di pubblicare una condivisione non esistente."
+
+#: lib/Trean.php:208
+msgid "Bad Gateway"
+msgstr "Gateway Errato"
+
+#: lib/Trean.php:188
+msgid "Bad Request"
+msgstr "Richiesta Errata"
+
+#: add.php:66
+msgid "Bookmark Added"
+msgstr "Preferito Aggiunto"
+
+#: data.php:18 lib/Block/bookmarks.php:3 lib/Block/bookmarks.php:81
+msgid "Bookmarks"
+msgstr "Preferiti"
+
+#: templates/common-header.inc:27
+msgid "Bookmarks Feed"
+msgstr "Feed Preferiti"
+
+#: browse.php:61
+msgid "Browse"
+msgstr "Passa in Rassegna"
+
+#: templates/add.html.php:60 templates/edit/footer.inc:2
+msgid "Cancel"
+msgstr "Cancella"
+
+#: templates/views/BookmarkList.php:28
+msgid "Clicks"
+msgstr "Premi qui"
+
+#: lib/api.php:438
+msgid "Close"
+msgstr "Chiudi"
+
+#: lib/Forms/Search.php:24
+msgid "Combine"
+msgstr "Continua"
+
+#: config/prefs.php.dist:63
+msgid "Completely collapsed"
+msgstr "Completo"
+
+#: config/prefs.php.dist:65
+msgid "Completely expanded"
+msgstr "Completo"
+
+#: edit.php:247
+msgid "Confirm Deletion"
+msgstr "Conferma Cancellazione"
+
+#: lib/Trean.php:197
+msgid "Conflict"
+msgstr "Conflitto"
+
+#: lib/Trean.php:172
+msgid "Continue"
+msgstr "Continua"
+
+#: templates/browse.php:109 templates/browse.php:110
+msgid "Control access to this folder"
+msgstr "Controlla accesso a questa cartella"
+
+#: edit.php:214
+msgid "Copied bookmark: "
+msgstr "Preferiti copiati: "
+
+#: templates/search.php:72
+msgid "Copy"
+msgstr "Copia"
+
+#: edit.php:222
+#, php-format
+msgid "Copying folders is not supported."
+msgstr "La copia delle cartelle non è supportata."
+
+#: lib/Trean.php:175
+msgid "Created"
+msgstr "Creato"
+
+#: templates/reports.php:96
+#, php-format
+msgid "DNS Failure or Other Error (%s)"
+msgstr "Errore DNS o altro Errore (%s)"
+
+#: templates/browse.php:93 templates/search.php:70
+msgid "Delete"
+msgstr "Elimina"
+
+#: templates/browse.php:170
+msgid "Delete Bookmark"
+msgstr "Elimina Preferito"
+
+#: templates/browse.php:94
+msgid "Delete this folder"
+msgstr "Elimina questa Cartella"
+
+#: edit.php:51 edit.php:110
+msgid "Deleted bookmark: "
+msgstr "Preferiti eliminato: "
+
+#: edit.php:123
+msgid "Deleted folder: "
+msgstr "Cartella eliminata: "
+
+#: edit.php:273
+#, php-format
+msgid "Deleted the folder \"%s\""
+msgstr "Cartella \"%s\" eliminata"
+
+#: config/prefs.php.dist:34
+msgid "Descending (9 to 1)"
+msgstr "Discendente (9 a 1)"
+
+#: templates/add.html.php:42 templates/edit/bookmark.inc:15
+#: lib/Forms/Search.php:22
+msgid "Description"
+msgstr "Descrizione"
+
+#: config/prefs.php.dist:10
+msgid "Display Options"
+msgstr "Opzioni di Visualizzazione"
+
+#: lib/Block/bookmarks.php:52
+msgid "Display Rows"
+msgstr "Mostra Righe"
+
+#: templates/data/export.inc:11
+msgid "Download Folder"
+msgstr "Scarica Cartella"
+
+#: templates/add.html.php:73
+msgid "Drag the \"Add to Bookmarks\" link below onto your \"Links\" Bar"
+msgstr ""
+"Trascina il link \"Aggiungi ai Preferiti\" sotto nella tua barra \"Link\""
+
+#: templates/add.html.php:71
+msgid ""
+"Drag the \"Add to Bookmarks\" link below onto your \"Personal Toolbar\"."
+msgstr ""
+"Trascina il link \"Aggiungi ai Preferiti\" sotto nella tua \"Barra Personale"
+"\"."
+
+#: templates/search.php:69
+msgid "Edit"
+msgstr "Modifica"
+
+#: edit.php:292
+msgid "Edit Bookmark"
+msgstr "Modifica Preferito"
+
+#: templates/browse.php:165
+msgid "Edit Bookmarks"
+msgstr "Modifica Preferiti"
+
+#: perms.php:235
+msgid "Edit Permissions"
+msgstr "Modifica Permessi"
+
+#: perms.php:242
+#, php-format
+msgid "Edit Permissions for %s"
+msgstr "Modifica Permessi per %s"
+
+#: lib/Trean.php:205
+msgid "Expectation Failed"
+msgstr "Autenticazione fallita"
+
+#: templates/data/export.inc:4
+msgid "Export Bookmarks"
+msgstr "Esporta Preferiti"
+
+#: templates/data/import.inc:9
+msgid "File to import:"
+msgstr "File da importare:"
+
+#: templates/add.html.php:70
+msgid "Firefox/Mozilla"
+msgstr "Firefox/Mozilla"
+
+#: config/prefs.php.dist:64
+msgid "First level shown"
+msgstr "Mostrato il primo livello"
+
+#: templates/add.html.php:47 templates/views/BookmarkList.php:26
+#: templates/edit/bookmark.inc:25 lib/Block/bookmarks.php:42
+msgid "Folder"
+msgstr "Cartella"
+
+#: templates/browse.php:73 templates/browse.php:74
+msgid "Folder Actions"
+msgstr "Azioni Cartella"
+
+#: lib/Bookmarks.php:354
+msgid "Folder names must be non-empty"
+msgstr "I nomi delle cartelle non devono essere vuoti"
+
+#: templates/data/import.inc:11
+msgid "Folder to import into:"
+msgstr "Cartella nella quale importare:"
+
+#: lib/Trean.php:191
+msgid "Forbidden"
+msgstr "Vietato"
+
+#: lib/Trean.php:183
+msgid "Found"
+msgstr "Trova"
+
+#: lib/Trean.php:210
+msgid "Gateway Time-out"
+msgstr "Gateway Time-out"
+
+#: lib/Trean.php:198
+msgid "Gone"
+msgstr "Fatto"
+
+#: reports.php:25 templates/reports.php:33
+msgid "HTTP Status"
+msgstr "Stato HTTP"
+
+#: lib/Trean.php:211
+msgid "HTTP Version not supported"
+msgstr "Versione HTTP non supportata"
+
+#: lib/Block/bookmarks.php:50 config/prefs.php.dist:22
+msgid "Highest Rated"
+msgstr "Più votati"
+
+#: lib/Block/highestrated.php:3 lib/Block/highestrated.php:49
+msgid "Highest-rated Bookmarks"
+msgstr "Preferiti più votati"
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr "Importa"
+
+#: data.php:184 templates/data/import.inc:4
+msgid "Import Bookmarks"
+msgstr "Importa Preferiti"
+
+#: templates/data/export.inc:9
+msgid "Include Subfolders"
+msgstr "Includi le sotto cartelle"
+
+#: lib/Trean.php:206
+msgid "Internal Server Error"
+msgstr "Errore interno del Server"
+
+#: templates/add.html.php:72
+msgid "Internet Explorer"
+msgstr "Internet Explorer"
+
+#: templates/data/import.inc:7
+msgid ""
+"Internet Explorer users will need to export their current Favorites by going "
+"to the \"File\" menu and selecting \"Import and Export\"."
+msgstr ""
+"Gli utilizzatori di Internet Explorer possono esportare i loro Preferiti "
+"andando nel menu \"File\" e poi selezionare \"Importa e Esporta\"."
+
+#: lib/Trean.php:199
+msgid "Length Required"
+msgstr "Lunghezza Richiesta"
+
+#: lib/Forms/Search.php:25
+msgid "Match"
+msgstr "Combacia"
+
+#: lib/api.php:98
+msgid "Maximum Number of Bookmarks"
+msgstr "Numero Massimo dei Preferiti"
+
+#: lib/api.php:95
+msgid "Maximum Number of Folders"
+msgstr "Numero Massimo delle Cartelle"
+
+#: lib/Block/tree_menu.php:3
+msgid "Menu List"
+msgstr "Menu Lista"
+
+#: lib/Trean.php:193
+msgid "Method Not Allowed"
+msgstr "Metodo Non Permesso"
+
+#: lib/Block/bookmarks.php:51 config/prefs.php.dist:23
+msgid "Most Clicked"
+msgstr "Più Cliccati"
+
+#: lib/Block/mostclicked.php:3 lib/Block/mostclicked.php:49
+msgid "Most-clicked Bookmarks"
+msgstr "Preferiti più cliccati"
+
+#: templates/search.php:71
+msgid "Move"
+msgstr "Sposta"
+
+#: lib/Trean.php:182
+msgid "Moved Permanently"
+msgstr "Spostato Permanentemente"
+
+#: edit.php:161
+msgid "Moved bookmark: "
+msgstr "Preferito spostato: "
+
+#: edit.php:174
+msgid "Moved folder: "
+msgstr "Cartella spostata: "
+
+#: templates/data/import.inc:6
+msgid ""
+"Mozilla/Firefox users will need to export their current Bookmarks by going "
+"into \"Bookmark Manager\" and selecting \"Export\" from the \"Tools\" menu."
+msgstr ""
+"Gli utilizzatori di Netscape/Mozilla possono esportare i loro Preferiti "
+"andando in \"Gestione Preferiti\" e poi selezionare \"Esporta\" dal menu "
+"\"Strumenti\"."
+
+#: lib/Trean.php:181
+msgid "Multiple Choices"
+msgstr "Scelte Multiple"
+
+#: templates/edit/folder.inc:9
+msgid "Name"
+msgstr "Nome"
+
+#: add.php:113 templates/browse.php:160 templates/add.html.php:27
+msgid "New Bookmark"
+msgstr "Nuovo Preferito"
+
+#: lib/Trean.php:90
+msgid "New Folder"
+msgstr "Nuova cartella"
+
+#: templates/browse.php:83
+msgid "New folder"
+msgstr "Nuova cartella"
+
+#: templates/edit/delete_folder_confirmation.inc:15
+msgid "No"
+msgstr "No"
+
+#: templates/search.php:76
+msgid "No Bookmarks found"
+msgstr "Nessun Preferito trovato"
+
+#: lib/Trean.php:178
+msgid "No Content"
+msgstr "Nessun Contenuto"
+
+#: lib/Block/bookmarks.php:128 lib/Block/highestrated.php:73
+#: lib/Block/mostclicked.php:73
+msgid "No bookmarks to display"
+msgstr "Nessun preferito da visualizzare"
+
+#: lib/Trean.php:177
+msgid "Non-Authoritative Information"
+msgstr "Informazioni Non Autoritativa"
+
+#: templates/search.php:66
+msgid "None"
+msgstr "Nessuno"
+
+#: lib/Trean.php:194
+msgid "Not Acceptable"
+msgstr "Non Accettato"
+
+#: lib/Trean.php:192
+msgid "Not Found"
+msgstr "Non trovato"
+
+#: lib/Trean.php:207
+msgid "Not Implemented"
+msgstr "Non implementato"
+
+#: lib/Trean.php:185
+msgid "Not Modified"
+msgstr "Non Modificato"
+
+#: templates/add.html.php:76
+msgid "Note:"
+msgstr "Appunti:"
+
+#: edit.php:286
+msgid "Nothing to edit."
+msgstr "Nulla da modificare."
+
+#: lib/Block/highestrated.php:27 lib/Block/mostclicked.php:27
+msgid "Number of bookmarks to show"
+msgstr "Numero di preferiti da mostrare"
+
+#: lib/Trean.php:174
+msgid "OK"
+msgstr "OK"
+
+#: lib/Forms/Search.php:24
+msgid "OR"
+msgstr "O"
+
+#: templates/add.html.php:77
+#, php-format
+msgid ""
+"On newer versions of Internet Explorer, you may have to add %s://%s to your "
+"Trusted Zone for this to work."
+msgstr ""
+"Nelle nuove versioni di Internet Explorer, ti potrà essere richiesto di "
+"aggiungere %s://%s alla tua Trusted Zone."
+
+#: perms.php:56
+msgid ""
+"Only the owner or system administrator may change ownership or owner "
+"permissions for a share"
+msgstr ""
+"Solo il proprietario o l'amministratore di sistema può cambiare la proprietà "
+"o i permessi per una condivisione"
+
+#: config/prefs.php.dist:54
+msgid "Open links in a new window?"
+msgstr "Aprire i collegamenti in nuova finestra?"
+
+#: config/prefs.php.dist:9
+msgid "Other Options"
+msgstr "Altre Opzioni"
+
+#: lib/Trean.php:180
+msgid "Partial Content"
+msgstr "Contenuto Parziale"
+
+#: lib/Trean.php:190
+msgid "Payment Required"
+msgstr "Pagamento Richiesto"
+
+#: templates/add.html.php:4
+msgid "Please enter a name for the new folder:"
+msgstr "Scrivi un nome per la nuova cartella:"
+
+#: lib/Trean.php:200
+msgid "Precondition Failed"
+msgstr "Autenticazione fallita"
+
+#: lib/Trean.php:195
+msgid "Proxy Authentication Required"
+msgstr "Autenticazione del Proxy Richiesta"
+
+#: templates/views/BookmarkList.php:27
+msgid "Rating"
+msgstr "Valutazione"
+
+#: templates/edit/delete_folder_confirmation.inc:3
+#, php-format
+msgid "Really delete \"%s\" and all of its bookmarks?"
+msgstr "Sei sicuro di voler eliminare \"%s\" e tutti i suoi preferiti?"
+
+#: templates/browse.php:102
+msgid "Rename this folder"
+msgstr "Rinomina questa Cartella"
+
+#: reports.php:18
+msgid "Reports"
+msgstr "Rapporti"
+
+#: lib/Trean.php:201
+msgid "Request Entity Too Large"
+msgstr "Entita richiesta troppo grande"
+
+#: lib/Trean.php:196
+msgid "Request Time-out"
+msgstr "Richiesta Scaduta"
+
+#: lib/Trean.php:202
+msgid "Request-URI Too Large"
+msgstr "URI-richiesto troppo grande"
+
+#: lib/Trean.php:204
+msgid "Requested range not satisfiable"
+msgstr "Il range richiesto non è realizzabile"
+
+#: lib/Trean.php:179
+msgid "Reset Content"
+msgstr "Azzera il contenuto"
+
+#: templates/edit/footer.inc:1
+msgid "Save"
+msgstr "Salva"
+
+#: search.php:23 lib/Forms/Search.php:20 lib/Block/tree_menu.php:33
+msgid "Search"
+msgstr "Ricerca"
+
+#: lib/Forms/Search.php:18
+msgid "Search Bookmarks"
+msgstr "Ricerca Preferiti"
+
+#: search.php:59
+#, php-format
+msgid "Search Results (%s)"
+msgstr "Risultati Ricerca (%s)"
+
+#: lib/Trean.php:184
+msgid "See Other"
+msgstr "Visualizza l'altro"
+
+#: templates/search.php:65
+msgid "Select All"
+msgstr "Seleziona Tutto"
+
+#: templates/views/BookmarkList.php:29
+msgid "Select All/Select None"
+msgstr "Seleziona Tutto/Deseleziona Tutto"
+
+#: templates/search.php:66
+msgid "Select None"
+msgstr "Nessuna selezionata"
+
+#: templates/search.php:64
+#, php-format
+msgid "Select: %s, %s"
+msgstr "Seleziona: %s, %s"
+
+#: lib/Trean.php:209
+msgid "Service Unavailable"
+msgstr "Servizio non disponibile"
+
+#: config/prefs.php.dist:11
+msgid "Set how to display bookmark listings and how to open links."
+msgstr ""
+"Imposta come visualizzare la lista dei preferiti e come aprire i "
+"collegamenti."
+
+#: config/prefs.php.dist:66
+msgid "Should your list of bookmark folders be open when you log in?"
+msgstr "La tua lista dei Preferiti dovrà essere aperta quando ti colleghi?"
+
+#: config/prefs.php.dist:45
+msgid "Show folder actions panel?"
+msgstr "Mostra pannello della cartella delle azioni?"
+
+#: config/prefs.php.dist:24
+msgid "Sort bookmarks by:"
+msgstr "Ordina preferiti per"
+
+#: lib/Block/bookmarks.php:46
+msgid "Sort by"
+msgstr "Ordina per"
+
+#: config/prefs.php.dist:35
+msgid "Sort direction:"
+msgstr "Ordina direzioni:"
+
+#: lib/Trean.php:173
+msgid "Switching Protocols"
+msgstr "Scegli Protocolli"
+
+#: lib/Block/bookmarks.php:58 lib/Block/highestrated.php:33
+#: lib/Block/mostclicked.php:33
+msgid "Template"
+msgstr "Modello"
+
+#: lib/Trean.php:187
+msgid "Temporary Redirect"
+msgstr "Redirezione temporanea"
+
+#: templates/browse.php:181
+msgid "There are no bookmarks in this folder"
+msgstr "Non ci sono preferiti in questa cartella."
+
+#: edit.php:216
+#, php-format
+msgid "There was a problem copying the bookmark: %s"
+msgstr "Si è verificato un errore copiando il preferito: %s"
+
+#: edit.php:53 edit.php:112
+#, php-format
+msgid "There was a problem deleting the bookmark: %s"
+msgstr "Si verificato un errore eliminando il preferito: %s"
+
+#: edit.php:125
+#, php-format
+msgid "There was a problem deleting the folder: %s"
+msgstr "Si verificato un errore durante la cancellazione della cartella: %s."
+
+#: edit.php:163
+#, php-format
+msgid "There was a problem moving the bookmark: %s"
+msgstr "Si e' verificato un errore nell'aggiunta del preferito: %s"
+
+#: edit.php:176
+#, php-format
+msgid "There was a problem moving the folder: %s"
+msgstr "Si è verificato un errore nello spostare la cartella: %s "
+
+#: add.php:61
+#, php-format
+msgid "There was an error adding the bookmark: %s"
+msgstr "Si e' verificato un errore nell'aggiunta del preferito: %s"
+
+#: add.php:45 add.php:102 edit.php:147 edit.php:201
+#, php-format
+msgid "There was an error adding the folder: %s"
+msgstr "Si è verificato un errore nell'aggiungere la cartella: %s"
+
+#: edit.php:74
+#, php-format
+msgid "There was an error saving the bookmark: %s"
+msgstr "Si è verificato un errore durante il salvataggio del preferito: %s"
+
+#: edit.php:87
+#, php-format
+msgid "There was an error saving the folder: %s"
+msgstr "Si è verificato un errore durante il salvataggio della cartella: %s"
+
+#: templates/add.html.php:37 templates/views/BookmarkList.php:25
+#: templates/edit/bookmark.inc:10 lib/Forms/Search.php:21
+#: lib/Block/bookmarks.php:49 config/prefs.php.dist:21
+msgid "Title"
+msgstr "Titolo"
+
+#: templates/add.html.php:69
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr "Per poter aggiungere rapidamente i Preferiti dal tuo browser:"
+
+#: templates/reports.php:103
+msgid "Total"
+msgstr "Totale"
+
+#: templates/add.html.php:32 templates/edit/bookmark.inc:20
+#: lib/Forms/Search.php:23
+msgid "URL"
+msgstr "URL"
+
+#: lib/Trean.php:189
+msgid "Unauthorized"
+msgstr "Non autorizzato"
+
+#: templates/reports.php:100
+#, php-format
+msgid "Unknown (%s)"
+msgstr "Sconosciuto (%s)"
+
+#: lib/Trean.php:203
+msgid "Unsupported Media Type"
+msgstr "Media Type non supportato"
+
+#: perms.php:228
+#, php-format
+msgid "Updated %s."
+msgstr "Aggiornato %s."
+
+#: lib/Trean.php:186
+msgid "Use Proxy"
+msgstr "Usa il Proxy"
+
+#: templates/add.html.php:74
+msgid ""
+"While browsing you will be able to bookmark the current page by clicking "
+"your new \"Add to Bookmarks\" shortcut."
+msgstr ""
+"Durante la navigazione potrai aggiungere la pagina corrente cliccando "
+"\"Aggiungi ai Preferiti\"."
+
+#: lib/Forms/Search.php:25
+msgid "Whole Field"
+msgstr "Campo Intero"
+
+#: templates/edit/delete_folder_confirmation.inc:9
+msgid "Yes"
+msgstr "Si"
+
+#: add.php:23 data.php:65 data.php:132
+#, php-format
+msgid "You are not allowed to create more than %d bookmarks."
+msgstr "Non hai il permesso di creare più di %d preferiti."
+
+#: add.php:86 data.php:56 data.php:107
+#, php-format
+msgid "You are not allowed to create more than %d folders."
+msgstr "Non ti è permesso creare più di %d cartelle."
+
+#: browse.php:45
+msgid "You do not have permission to view this folder."
+msgstr "Non hai il permesso per visualizzare questa cartella."
+
+#: templates/add.html.php:11
+msgid "You must select a target folder first"
+msgstr "Devi prima selezionare una cartella di destinazione."
+
+#: lib/Trean.php:149
+msgid "_Browse"
+msgstr "_Mostra"
+
+#: templates/browse.php:171
+msgid "_Delete Bookmarks"
+msgstr "_Elimina Preferiti"
+
+#: templates/browse.php:166
+msgid "_Edit Bookmarks"
+msgstr "_Modifica Preferiti"
+
+#: lib/Trean.php:155
+msgid "_Import/Export"
+msgstr "_Importa/Esporta"
+
+#: templates/browse.php:161
+msgid "_New Bookmark"
+msgstr "_Nuovo Preferito"
+
+#: lib/Trean.php:151
+msgid "_Reports"
+msgstr "R_apporti"
+
+#: lib/Trean.php:150
+msgid "_Search"
+msgstr "_Ricerca"
+
+#: templates/block/1line.inc:22 templates/block/2line.inc:26
+#: templates/block/standard.inc:24
+msgid "click"
+msgstr "premi qui"
+
+#: templates/block/1line.inc:22 templates/block/2line.inc:26
+#: templates/block/standard.inc:24
+msgid "clicks"
+msgstr "premi qui"
diff --git a/trean/po/lv_LV.po b/trean/po/lv_LV.po
new file mode 100644
index 000000000..e095091b0
--- /dev/null
+++ b/trean/po/lv_LV.po
@@ -0,0 +1,854 @@
+# Latvian translations for Trean package.
+# Copyright 2008-2009 The Horde Project
+# This file is distributed under the same license as the Trean package.
+# Automatically generated, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Trean 1.0-cvs\n"
+"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
+"POT-Creation-Date: 2008-04-03 14:53+0300\n"
+"PO-Revision-Date: 2008-04-03 14:53+0300\n"
+"Last-Translator: Janis Eisaks \n"
+"Language-Team: i18n@lists.horde.org\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CP1257\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : "
+"2);\n"
+
+#: edit.php:237
+#, php-format
+msgid "\"%s\" was not renamed: %s."
+msgstr "\"%s\" nav pârsaukts: %s."
+
+#: data.php:156
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "Importçtas %d mapes un %d grâmatzîmes."
+
+#: templates/star_rating_helper.php:21 templates/star_rating_helper.php:22
+#: templates/star_rating_helper.php:23 templates/star_rating_helper.php:24
+#, php-format
+msgid "%d stars out of 5"
+msgstr "%d punkti no 5"
+
+#: templates/reports.php:104
+#, php-format
+msgid "%s Bookmarks"
+msgstr "Grâmatzîmes"
+
+#: reports.php:25
+#, php-format
+msgid "%s Response Codes"
+msgstr "%s atbilþu kodi"
+
+#: lib/base.php:78
+#, php-format
+msgid "%s's Bookmarks"
+msgstr "%s's grâmatzîmes"
+
+#: lib/Block/bookmarks.php:63 lib/Block/highestrated.php:38
+#: lib/Block/mostclicked.php:38
+msgid "1 Line"
+msgstr "1 rinda"
+
+#: templates/star_rating_helper.php:20
+msgid "1 star out of 5"
+msgstr "1 punkts no 5"
+
+#: lib/Block/bookmarks.php:55 lib/Block/highestrated.php:30
+#: lib/Block/mostclicked.php:30
+msgid "10 rows"
+msgstr "10 rindas"
+
+#: lib/Block/bookmarks.php:56 lib/Block/highestrated.php:31
+#: lib/Block/mostclicked.php:31
+msgid "15 rows"
+msgstr "15 rindas"
+
+#: templates/reports.php:36
+#, php-format
+msgid "1xx Response Codes (%s)"
+msgstr "1xx atbilþu kodi (%s)"
+
+#: lib/Block/bookmarks.php:62 lib/Block/highestrated.php:37
+#: lib/Block/mostclicked.php:37
+msgid "2 Line"
+msgstr "2 rindas"
+
+#: lib/Block/bookmarks.php:57 lib/Block/highestrated.php:32
+#: lib/Block/mostclicked.php:32
+msgid "25 rows"
+msgstr "25 rindas"
+
+#: templates/reports.php:42
+#, php-format
+msgid "2xx Response Codes (%s)"
+msgstr "2xx atbilþu kodi (%s)"
+
+#: lib/Block/bookmarks.php:61 lib/Block/highestrated.php:36
+#: lib/Block/mostclicked.php:36
+msgid "3 Line"
+msgstr "3 rindas"
+
+#: templates/reports.php:53
+#, php-format
+msgid "3xx Response Codes (%s)"
+msgstr "3xx atbilþu kodi (%s)"
+
+#: templates/reports.php:64
+#, php-format
+msgid "4xx Response Codes (%s)"
+msgstr "4xx atbilþu kodi (%s)"
+
+#: templates/reports.php:86
+#, php-format
+msgid "5xx Response Codes (%s)"
+msgstr "5xx atbilþu kodi (%s)"
+
+#: lib/Forms/Search.php:24
+msgid "AND"
+msgstr "UN"
+
+#: lib/Trean.php:176
+msgid "Accepted"
+msgstr "Akceptçts"
+
+#: templates/add/add.inc:59 lib/Block/tree_menu.php:24
+msgid "Add"
+msgstr "Pievienot"
+
+#: templates/add/add.inc:87
+msgid "Add to Bookmarks"
+msgstr "Pievienot grâmatzîmçm"
+
+#: templates/search.php:65
+msgid "All"
+msgstr "Visas"
+
+#: data.php:39 perms.php:239 lib/Block/bookmarks.php:32
+#, php-format
+msgid "An error occured listing folders: %s"
+msgstr "Kïûme râdot mapes: %s"
+
+#: lib/Trean.php:49
+#, php-format
+msgid "An error occurred counting folders: %s"
+msgstr "Kïûme skaitot mapes: %s"
+
+#: lib/Forms/Search.php:25
+msgid "Any Part of the field"
+msgstr "Jebkura lauka daïa"
+
+#: templates/search.php:29
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr "Vai tieðâm vçlaties dzçst atzîmçtâs grâmatzîmes?"
+
+#: config/prefs.php.dist:33
+msgid "Ascending (A to Z)"
+msgstr "Augoða (A lîdz Z)"
+
+#: perms.php:44
+msgid "Attempt to edit a non-existent share."
+msgstr "Mçìnâjums mainît neeksistçjoðu koplietojumu."
+
+#: lib/Trean.php:208
+msgid "Bad Gateway"
+msgstr ""
+
+#: lib/Trean.php:188
+msgid "Bad Request"
+msgstr "Nepareizs pieprasîjums"
+
+#: add.php:66
+msgid "Bookmark Added"
+msgstr "Grâmatzîme pievienota"
+
+#: data.php:18 lib/Block/bookmarks.php:3 lib/Block/bookmarks.php:81
+msgid "Bookmarks"
+msgstr "Grâmatzîmes"
+
+#: templates/common-header.inc:27
+msgid "Bookmarks Feed"
+msgstr "Grâmatzîmju padeve"
+
+#: browse.php:37
+msgid "Browse"
+msgstr "Pârlûkot"
+
+#: templates/edit/footer.inc:2 templates/add/add.inc:60
+msgid "Cancel"
+msgstr "Atcelt"
+
+#: templates/views/BookmarkList.php:28
+msgid "Clicks"
+msgstr "Klikðíi"
+
+#: templates/add/add.inc:82
+msgid "Close"
+msgstr "Aizvçrt"
+
+#: lib/Forms/Search.php:24
+msgid "Combine"
+msgstr "Kombinçt"
+
+#: config/prefs.php.dist:63
+msgid "Completely collapsed"
+msgstr "Lîdz galam savçrsts"
+
+#: config/prefs.php.dist:65
+msgid "Completely expanded"
+msgstr "Lîdz galam izvçrsts"
+
+#: edit.php:247
+msgid "Confirm Deletion"
+msgstr "Apstiprinât dzçðanu"
+
+#: lib/Trean.php:197
+msgid "Conflict"
+msgstr "Konflikts"
+
+#: lib/Trean.php:172
+msgid "Continue"
+msgstr "Turpinât"
+
+#: templates/browse.php:105 templates/browse.php:106
+msgid "Control access to this folder"
+msgstr "Vadît pieejas tiesîbas ðai mapei"
+
+#: edit.php:214
+msgid "Copied bookmark: "
+msgstr "Kopçtâs grâmatzîmes: "
+
+#: templates/search.php:72
+msgid "Copy"
+msgstr "Kopçt"
+
+#: edit.php:222
+#, php-format
+msgid "Copying folders is not supported."
+msgstr "Mapju kopçðana nav iespçjama."
+
+#: lib/Trean.php:175
+msgid "Created"
+msgstr "Izveidota"
+
+#: templates/reports.php:96
+#, php-format
+msgid "DNS Failure or Other Error (%s)"
+msgstr "DNS kïûme vai cita kïûda (%s)"
+
+#: templates/browse.php:90 templates/search.php:70
+msgid "Delete"
+msgstr "Dzçst"
+
+#: templates/browse.php:160
+msgid "Delete Bookmark"
+msgstr "Dzçst grâmatzîmes"
+
+#: templates/browse.php:91
+msgid "Delete this folder"
+msgstr "Dzçst ðo mapi"
+
+#: edit.php:51 edit.php:110
+msgid "Deleted bookmark: "
+msgstr "Dzçstâ grâmatzîme: "
+
+#: edit.php:123
+msgid "Deleted folder: "
+msgstr "Dzçstâ mapes: "
+
+#: edit.php:269
+#, php-format
+msgid "Deleted the folder \"%s\""
+msgstr "Dzçsta mapes \"%s\""
+
+#: config/prefs.php.dist:34
+msgid "Descending (9 to 1)"
+msgstr "Dilstoði (9 lîdz 1)"
+
+#: templates/edit/bookmark.inc:15 templates/add/add.inc:42
+#: lib/Forms/Search.php:22
+msgid "Description"
+msgstr "Apraksts"
+
+#: config/prefs.php.dist:10
+msgid "Display Options"
+msgstr "Ekrâna opcijas"
+
+#: lib/Block/bookmarks.php:52
+msgid "Display Rows"
+msgstr "Râdît rindas"
+
+#: templates/data/export.inc:11
+msgid "Download Folder"
+msgstr "Lejupielâdçt mapi"
+
+#: templates/add/add.inc:73
+msgid "Drag the \"Add to Bookmarks\" link below onto your \"Links\" Bar"
+msgstr "Aizvelciet zemâk redzamo saiti \"Pievienot grâmatzîmçm\" uz joslu \"Links\""
+
+#: templates/add/add.inc:71
+msgid "Drag the \"Add to Bookmarks\" link below onto your \"Personal Toolbar\"."
+msgstr "Aizvelciet zemâk redzamo saiti \"Pievienot grâmatzîmçm\" uz joslu \"Personal Toolbar\""
+
+#: templates/search.php:69
+msgid "Edit"
+msgstr "Labot"
+
+#: edit.php:287
+msgid "Edit Bookmark"
+msgstr "Labot grâmatzîmes"
+
+#: templates/browse.php:155
+msgid "Edit Bookmarks"
+msgstr "Labot grâmatzîmes"
+
+#: perms.php:235
+msgid "Edit Permissions"
+msgstr "Mainît pieejas tiesîbas"
+
+#: perms.php:242
+#, php-format
+msgid "Edit Permissions for %s"
+msgstr "Mainît %s pieejas tiesîbas"
+
+#: lib/Trean.php:205
+msgid "Expectation Failed"
+msgstr "Gaidîðanas laiks pârsniegts"
+
+#: templates/data/export.inc:4
+msgid "Export Bookmarks"
+msgstr "Eksportçt grâmatzîmes"
+
+#: templates/data/import.inc:9
+msgid "File to import:"
+msgstr "Importçjamais fails:"
+
+#: templates/add/add.inc:70
+msgid "Firefox/Mozilla"
+msgstr "Firefox/Mozilla"
+
+#: config/prefs.php.dist:64
+msgid "First level shown"
+msgstr "Parâdîts pirmais lîmenis"
+
+#: templates/views/BookmarkList.php:26 templates/edit/bookmark.inc:25
+#: templates/add/add.inc:47 lib/Block/bookmarks.php:42
+msgid "Folder"
+msgstr "Mape"
+
+#: templates/browse.php:70 templates/browse.php:71
+msgid "Folder Actions"
+msgstr "Darbîbas ar mapçm"
+
+#: lib/Bookmarks.php:354
+msgid "Folder names must be non-empty"
+msgstr "Mapju nosaukumi nedrîkst bût tukði"
+
+#: templates/data/import.inc:11
+msgid "Folder to import into:"
+msgstr "Importçt mapç:"
+
+#: lib/Trean.php:191
+msgid "Forbidden"
+msgstr "Aizliegts"
+
+#: lib/Trean.php:183
+msgid "Found"
+msgstr "Atrasta"
+
+#: lib/Trean.php:210
+msgid "Gateway Time-out"
+msgstr "Vârtejas pârtraukums"
+
+#: lib/Trean.php:198
+msgid "Gone"
+msgstr "Prom"
+
+#: reports.php:25 templates/reports.php:33
+msgid "HTTP Status"
+msgstr "HTTP statuss"
+
+#: lib/Trean.php:211
+msgid "HTTP Version not supported"
+msgstr "Neatbalstîta HTTP versija."
+
+#: lib/Block/bookmarks.php:50 config/prefs.php.dist:22
+msgid "Highest Rated"
+msgstr "Visaugstâk novçrtçtâs"
+
+#: lib/Block/highestrated.php:3 lib/Block/highestrated.php:49
+msgid "Highest-rated Bookmarks"
+msgstr "Visaugstâk novçrtçtâs grâmatzîmes"
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr "Importçt"
+
+#: data.php:184 templates/data/import.inc:4
+msgid "Import Bookmarks"
+msgstr "Importçt grâmatzîmes"
+
+#: templates/data/export.inc:9
+msgid "Include Subfolders"
+msgstr "Ietvert apakðmapes"
+
+#: lib/Trean.php:206
+msgid "Internal Server Error"
+msgstr "Servera iekðçjâ kïûda"
+
+#: templates/add/add.inc:72
+msgid "Internet Explorer"
+msgstr "Internet Explorer"
+
+#: templates/data/import.inc:7
+msgid "Internet Explorer users will need to export their current Favorites by going "
+"to the \"File\" menu and selecting \"Import and Export\"."
+msgstr "Internet Explorer lietotâjiem sâkumâ jâeksportç Favorites, izmantojot \"Import and Export\" izvçlnç File."
+
+#: lib/Trean.php:199
+msgid "Length Required"
+msgstr "Jânorâda garums"
+
+#: lib/Forms/Search.php:25
+msgid "Match"
+msgstr "Atbilst"
+
+#: lib/api.php:93
+msgid "Maximum Number of Bookmarks"
+msgstr "Maksimâlais grâmatzîmju skaits"
+
+#: lib/api.php:90
+msgid "Maximum Number of Folders"
+msgstr "Maksimâlais mapju skaits"
+
+#: lib/Block/tree_menu.php:3
+msgid "Menu List"
+msgstr "Izvçlòu saraksts"
+
+#: lib/Trean.php:193
+msgid "Method Not Allowed"
+msgstr "Metode nav atïauta"
+
+#: lib/Block/bookmarks.php:51 config/prefs.php.dist:23
+msgid "Most Clicked"
+msgstr "Visvairâk klikðíinâtâs"
+
+#: lib/Block/mostclicked.php:3 lib/Block/mostclicked.php:49
+msgid "Most-clicked Bookmarks"
+msgstr "Visvairâk klikðíinâtâs grâmatzîmes"
+
+#: templates/search.php:71
+msgid "Move"
+msgstr "Pârvietot"
+
+#: lib/Trean.php:182
+msgid "Moved Permanently"
+msgstr "Pârvietota uz visiem laikiem"
+
+#: edit.php:161
+msgid "Moved bookmark: "
+msgstr "Pârvietotâ grâmatzîme:"
+
+#: edit.php:174
+msgid "Moved folder: "
+msgstr "Pârvietotâ mape: "
+
+#: templates/data/import.inc:6
+msgid "Mozilla/Firefox users will need to export their current Bookmarks by going "
+"into \"Bookmark Manager\" and selecting \"Export\" from the \"Tools\" menu."
+msgstr "Mozilla/Firefox lietotâjiem sâkumâ jâeksportç grâmatzîmes, izmantojot \"Bookmark Manager\" un izvçloties \"Export\" no izvçlenes \"Tools\""
+
+#: lib/Trean.php:181
+msgid "Multiple Choices"
+msgstr "Vairâkas iespçjas"
+
+#: templates/edit/folder.inc:9
+msgid "Name"
+msgstr "Nosaukums"
+
+#: add.php:113 templates/browse.php:150 templates/add/add.inc:27
+msgid "New Bookmark"
+msgstr "Jauna grâmatzîmes"
+
+#: lib/Trean.php:90
+msgid "New Folder"
+msgstr "Jauna mape"
+
+#: templates/browse.php:80
+msgid "New folder"
+msgstr "Jauna mape"
+
+#: templates/edit/delete_folder_confirmation.inc:15
+msgid "No"
+msgstr "Nç"
+
+#: templates/search.php:76
+msgid "No Bookmarks found"
+msgstr "Grâmatzîmes nav atrastas"
+
+#: lib/Trean.php:178
+msgid "No Content"
+msgstr "Nav satura"
+
+#: lib/Block/bookmarks.php:128 lib/Block/highestrated.php:73
+#: lib/Block/mostclicked.php:73
+msgid "No bookmarks to display"
+msgstr "Nav parâdâmu grâmatzîmju"
+
+#: lib/Trean.php:177
+msgid "Non-Authoritative Information"
+msgstr "Neapstiprinâta informâcija"
+
+#: templates/search.php:66
+msgid "None"
+msgstr "Nav"
+
+#: lib/Trean.php:194
+msgid "Not Acceptable"
+msgstr "Nav pieòemams"
+
+#: lib/Trean.php:192
+msgid "Not Found"
+msgstr "Nav atrasts"
+
+#: lib/Trean.php:207
+msgid "Not Implemented"
+msgstr "Nav izstrâdâts"
+
+#: lib/Trean.php:185
+msgid "Not Modified"
+msgstr "Nav mainîta"
+
+#: templates/add/add.inc:76
+msgid "Note:"
+msgstr "Piezîme:"
+
+#: edit.php:281
+msgid "Nothing to edit."
+msgstr "Nav ko labot"
+
+#: lib/Block/highestrated.php:27 lib/Block/mostclicked.php:27
+msgid "Number of bookmarks to show"
+msgstr "Vienlaicîgi attçlojamo grâmatzîmju skaits"
+
+#: lib/Trean.php:174
+msgid "OK"
+msgstr "OK"
+
+#: lib/Forms/Search.php:24
+msgid "OR"
+msgstr "VAI"
+
+#: templates/add/add.inc:77
+#, php-format
+msgid "On newer versions of Internet Explorer, you may have to add %s://%s to your Trusted Zone for this to work."
+msgstr "Lai tas darbotos arî jaunâkâs Internet Explorer versijâs, Jums var bût nepiecieðams pievienot %s://%s Jûsu Trusted Zone."
+
+#: perms.php:56
+msgid "Only the owner or system administrator may change ownership or owner permissions for a share"
+msgstr "Tikai objekta îpaðnieks vais sistçmas administrators var manîti koplietojuma îpaðnieku vai tâ pieejas tiesîbas."
+
+#: config/prefs.php.dist:54
+msgid "Open links in a new window?"
+msgstr "Atvçrt saites jaunâ logâ?"
+
+#: config/prefs.php.dist:9
+msgid "Other Options"
+msgstr "Citas opcijas"
+
+#: lib/Trean.php:180
+msgid "Partial Content"
+msgstr "Daïçjs saturs"
+
+#: lib/Trean.php:190
+msgid "Payment Required"
+msgstr "Nepiecieðama samaksa"
+
+#: templates/add/add.inc:4
+msgid "Please enter a name for the new folder:"
+msgstr "Ievadiet jaunâs mapes nosaukumu:"
+
+#: lib/Trean.php:200
+msgid "Precondition Failed"
+msgstr "Priekðnosacîjums nav izpildîts"
+
+#: lib/Trean.php:195
+msgid "Proxy Authentication Required"
+msgstr "Nepiecieðama proxy autentifikâcija"
+
+#: templates/views/BookmarkList.php:27
+msgid "Rating"
+msgstr "Novçrtçjums"
+
+#: templates/edit/delete_folder_confirmation.inc:3
+#, php-format
+msgid "Really delete \"%s\" and all of its bookmarks?"
+msgstr ""
+
+#: templates/browse.php:98
+msgid "Rename this folder"
+msgstr "Pârsaukt ðo mapi"
+
+#: reports.php:18
+msgid "Reports"
+msgstr "Atskaites"
+
+#: lib/Trean.php:201
+msgid "Request Entity Too Large"
+msgstr "Pieprasîtais objekts par lielu"
+
+#: lib/Trean.php:196
+msgid "Request Time-out"
+msgstr "Pieprasîjums pârtraukts"
+
+#: lib/Trean.php:202
+msgid "Request-URI Too Large"
+msgstr "Pieprasîjuma URI par lielu"
+
+#: lib/Trean.php:204
+msgid "Requested range not satisfiable"
+msgstr "Pieprasîtais diapazons nav apmierinâms"
+
+#: lib/Trean.php:179
+msgid "Reset Content"
+msgstr "Notîrît saturu"
+
+#: templates/edit/footer.inc:1
+msgid "Save"
+msgstr "Saglabât"
+
+#: search.php:23 lib/Forms/Search.php:20 lib/Block/tree_menu.php:33
+msgid "Search"
+msgstr "Meklçt"
+
+#: lib/Forms/Search.php:18
+msgid "Search Bookmarks"
+msgstr "Meklçt grâmatzîmes"
+
+#: search.php:59
+#, php-format
+msgid "Search Results (%s)"
+msgstr "Meklçðanas rezultâti (%s)"
+
+#: lib/Trean.php:184
+msgid "See Other"
+msgstr "Skatît citas"
+
+#: templates/search.php:65
+msgid "Select All"
+msgstr "Izvçlçties visas"
+
+#: templates/views/BookmarkList.php:29
+msgid "Select All/Select None"
+msgstr "Izvçlçties visas/nevienu"
+
+#: templates/search.php:66
+msgid "Select None"
+msgstr "Neizvçlçties nevienu"
+
+#: templates/search.php:64
+#, php-format
+msgid "Select: %s, %s"
+msgstr "Izvçlieties: %s, %s"
+
+#: lib/Trean.php:209
+msgid "Service Unavailable"
+msgstr "Pakalpojums nav pieejams"
+
+#: config/prefs.php.dist:11
+msgid "Set how to display bookmark listings and how to open links."
+msgstr "Iestatît veidu kâ râdît grâmatzîmes un atvçrt saites."
+
+#: config/prefs.php.dist:66
+msgid "Should your list of bookmark folders be open when you log in?"
+msgstr "Vai Jûsu grâmatzîmju saraksts ir jâtver pieslçdzoties?"
+
+#: config/prefs.php.dist:45
+msgid "Show folder actions panel?"
+msgstr "Râdît mapju darbîbu paneli?"
+
+#: config/prefs.php.dist:24
+msgid "Sort bookmarks by:"
+msgstr "Ðíirot grâmatzîmes pçc:"
+
+#: lib/Block/bookmarks.php:46
+msgid "Sort by"
+msgstr "Ðíirot pçc"
+
+#: config/prefs.php.dist:35
+msgid "Sort direction:"
+msgstr "Ðíiroðanas kârtîba"
+
+#: lib/Trean.php:173
+msgid "Switching Protocols"
+msgstr "Pârslçgumu protokoli"
+
+#: lib/Block/bookmarks.php:58 lib/Block/highestrated.php:33
+#: lib/Block/mostclicked.php:33
+msgid "Template"
+msgstr "Veidne"
+
+#: lib/Trean.php:187
+msgid "Temporary Redirect"
+msgstr "Pagaidu pâradresâcija"
+
+#: templates/browse.php:169
+msgid "There are no bookmarks in this folder"
+msgstr "Ðajâ mapç nav grâmatzîmju"
+
+#: edit.php:216
+#, php-format
+msgid "There was a problem copying the bookmark: %s"
+msgstr "Kïûme kopçjot grâmatzîmi: %s."
+
+#: edit.php:53 edit.php:112
+#, php-format
+msgid "There was a problem deleting the bookmark: %s"
+msgstr "Kïûme dzçðot grâmatzîmi: %s"
+
+#: edit.php:125
+#, php-format
+msgid "There was a problem deleting the folder: %s"
+msgstr "Kïûme dzçðot mapi: %s"
+
+#: edit.php:163
+#, php-format
+msgid "There was a problem moving the bookmark: %s"
+msgstr " Kïûme pârvietojot grâmatzîmi: %s."
+
+#: edit.php:176
+#, php-format
+msgid "There was a problem moving the folder: %s"
+msgstr "Kïûme pârvietojot mapi: %s."
+
+#: add.php:61
+#, php-format
+msgid "There was an error adding the bookmark: %s"
+msgstr "Kïûda pievienojot grâmatzîmi: %s"
+
+#: add.php:45 add.php:102 edit.php:147 edit.php:201
+#, php-format
+msgid "There was an error adding the folder: %s"
+msgstr "Kïûda pievienojot mapi: %s"
+
+#: edit.php:74
+#, php-format
+msgid "There was an error saving the bookmark: %s"
+msgstr "Kïûda saglabâjot grâmatzîmi: %s"
+
+#: edit.php:87
+#, php-format
+msgid "There was an error saving the folder: %s"
+msgstr "Kïûda saglabâjot mapi: %s"
+
+#: templates/views/BookmarkList.php:25 templates/edit/bookmark.inc:10
+#: templates/add/add.inc:37 lib/Forms/Search.php:21 lib/Block/bookmarks.php:49
+#: config/prefs.php.dist:21
+msgid "Title"
+msgstr "Nosaukums"
+
+#: templates/add/add.inc:69
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr "Lai âtri pievienotu grâmatzîmes no tîmekïa pârlûka:"
+
+#: templates/reports.php:103
+msgid "Total"
+msgstr "Kopâ"
+
+#: templates/edit/bookmark.inc:20 templates/add/add.inc:32
+#: lib/Forms/Search.php:23
+msgid "URL"
+msgstr "URL"
+
+#: lib/Trean.php:189
+msgid "Unauthorized"
+msgstr "Neautorizçts"
+
+#: templates/reports.php:100
+#, php-format
+msgid "Unknown (%s)"
+msgstr "Nezinâms (%s)"
+
+#: lib/Trean.php:203
+msgid "Unsupported Media Type"
+msgstr "Neatbalstîts mçdija tips"
+
+#: perms.php:228
+#, php-format
+msgid "Updated %s."
+msgstr "Mainîts %s."
+
+#: lib/Trean.php:186
+msgid "Use Proxy"
+msgstr "Izmantot proxy"
+
+#: templates/add/add.inc:74
+msgid "While browsing you will be able to bookmark the current page by clicking your new \"Add to Bookmarks\" shortcut."
+msgstr "Pârlûkojot Internet Jûsu varçsiet pievienot grâmatzîmi, uzklikðíinot îsinâjumikonai \"Pievienot grâmatzîmi\"."
+
+#: lib/Forms/Search.php:25
+msgid "Whole Field"
+msgstr "Viss lauks"
+
+#: templates/edit/delete_folder_confirmation.inc:9
+msgid "Yes"
+msgstr "Jâ"
+
+#: add.php:23 data.php:65 data.php:132
+#, php-format
+msgid "You are not allowed to create more than %d bookmarks."
+msgstr "Jums nav atïauts radît vairâk kâ %d grâmatzîmes."
+
+#: add.php:86 data.php:56 data.php:107
+#, php-format
+msgid "You are not allowed to create more than %d folders."
+msgstr "Jums nav atïauts izveidot vairâk kâ %d mapes."
+
+#: browse.php:24
+msgid "You do not have permission to view this folder."
+msgstr "Jums nav tiesîbu pârlûkot ðo mapi."
+
+#: templates/add/add.inc:11
+msgid "You must select a target folder first"
+msgstr "Vispirms jâizvçlas mçría mape."
+
+#: lib/Trean.php:149
+msgid "_Browse"
+msgstr "Pârlûkot"
+
+#: templates/browse.php:161
+msgid "_Delete Bookmarks"
+msgstr "Dzçst grâmatzîmes"
+
+#: templates/browse.php:156
+msgid "_Edit Bookmarks"
+msgstr "Labot grâmatzîmes"
+
+#: lib/Trean.php:155
+msgid "_Import/Export"
+msgstr "Importçt/Eksportçt"
+
+#: templates/browse.php:151
+msgid "_New Bookmark"
+msgstr "Jauna grâmatzîme"
+
+#: lib/Trean.php:151
+msgid "_Reports"
+msgstr "Atskaites"
+
+#: lib/Trean.php:150
+msgid "_Search"
+msgstr "Meklçt"
+
+#: templates/block/1line.inc:22 templates/block/2line.inc:26
+#: templates/block/standard.inc:24
+msgid "click"
+msgstr "klikðíis"
+
+#: templates/block/1line.inc:22 templates/block/2line.inc:26
+#: templates/block/standard.inc:24
+msgid "clicks"
+msgstr "klikðíi"
\ No newline at end of file
diff --git a/trean/po/nb_NO.po b/trean/po/nb_NO.po
new file mode 100644
index 000000000..f127da460
--- /dev/null
+++ b/trean/po/nb_NO.po
@@ -0,0 +1,766 @@
+# Norwegian Bokmal translations for Trean package.
+# Copyright 2005-2009 The Horde Project
+# This file is distributed under the same license as the Trean package.
+# Odd Marthon Lende , Fri, April the 1st, 2005
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Trean 0.1-cvs\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2005-03-31 20:48+0100\n"
+"PO-Revision-Date: 2005-04-01 16:25+0100\n"
+"Last-Translator: Odd Marthon Lende \n"
+"Language-Team: Norwegian Bokmål \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: data.php:67
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "%d Mapper og %d Snarveier ble importert."
+
+#: templates/reports/http-status.inc:127
+#, php-format
+msgid "%s Bookmarks"
+msgstr "%s Snarveier"
+
+#: templates/browse/subcategories.inc:47
+#, php-format
+msgid "%s Categories"
+msgstr "%s Kategorier"
+
+#: scripts/upgrades/2005-03-15_move_to_horde_share.php:123 lib/base.php:61
+#, php-format
+msgid "%s's Bookmarks"
+msgstr "%s's Snarveier"
+
+#: edit.php:146
+#, php-format
+msgid "'%s' was not renamed: %s."
+msgstr "'%s' ble ikke skiftet navn på: %s."
+
+#: lib/Block/bookmarks.php:47 config/prefs.php.dist:33
+msgid "1 Line"
+msgstr "Første linje"
+
+#: templates/reports/http-status/1xx.inc:13
+msgid "1xx Response Codes"
+msgstr "1xx Respons Koder"
+
+#: templates/reports/http-status.inc:59
+#, php-format
+msgid "1xx Response Codes (%s)"
+msgstr "1xx Respons Koder (%s)"
+
+#: lib/Block/bookmarks.php:46 config/prefs.php.dist:32
+msgid "2 Line"
+msgstr "Andre linje"
+
+#: templates/reports/http-status/2xx.inc:13
+msgid "2xx Response Codes"
+msgstr "2xx Respons Koder"
+
+#: templates/reports/http-status.inc:65
+#, php-format
+msgid "2xx Response Codes (%s)"
+msgstr "2xx Respons Koder (%s)"
+
+#: lib/Block/bookmarks.php:45 config/prefs.php.dist:31
+msgid "3 Line"
+msgstr "Tredje Linje"
+
+#: templates/reports/http-status/3xx.inc:28
+msgid "3xx Response Codes"
+msgstr "3xx Respons Koder"
+
+#: templates/reports/http-status.inc:76
+#, php-format
+msgid "3xx Response Codes (%s)"
+msgstr "3xx Respons Koder (%s)"
+
+#: templates/reports/http-status/4xx.inc:24
+msgid "4xx Response Codes"
+msgstr "4xx Respons Koder"
+
+#: templates/reports/http-status.inc:87
+#, php-format
+msgid "4xx Response Codes (%s)"
+msgstr "4xx Respons Koder (%s)"
+
+#: templates/reports/http-status/5xx.inc:13
+msgid "5xx Response Codes"
+msgstr "5xx Respons Koder"
+
+#: templates/reports/http-status.inc:109
+#, php-format
+msgid "5xx Response Codes (%s)"
+msgstr "5xx Respons Koder (%s)"
+
+#: lib/Trean.php:197
+msgid "Accepted"
+msgstr "Akseptert"
+
+#: lib/Trean.php:170
+msgid "Add"
+msgstr "Legg til"
+
+#: add.php:70
+msgid "Add Bookmark"
+msgstr "Legg til snarvei"
+
+#: templates/add/add.inc:12
+msgid "Add a new bookmark"
+msgstr "Legg til ny snarvei"
+
+#: templates/add/add.inc:68
+msgid "Add to Bookmarks"
+msgstr "Legg til snarvei"
+
+#: templates/browse/bookmarks.inc:95 templates/browse/subcategories.inc:55
+msgid "All"
+msgstr "Alle"
+
+#: lib/Trean.php:27
+msgid "An error occured listing categories: %s"
+msgstr "En ukjent feil oppstod under listing av kategoriene: %s"
+
+#: lib/Trean.php:52
+#, php-format
+msgid "An error occurred counting categories: %s"
+msgstr "En feil oppstod under telling av kategoriene: %s"
+
+#: templates/search/search.inc:29
+msgid "And"
+msgstr "Og"
+
+#: templates/search/search.inc:38
+msgid "Any Part of field"
+msgstr "Hvilken som helst del av feltet"
+
+#: templates/browse/bookmarks.inc:40
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr "Er du sikker på at du vil slette valge snarveier?"
+
+#: templates/browse/subcategories.inc:23
+msgid "Are you sure you want to delete the selected categories?"
+msgstr "Er du sikker på at du vil slette valgte kategorier?"
+
+#: perms.php:50
+msgid "Attempt to edit a non-existent share."
+msgstr "Du prøvde å redigere en delt-kategori som ikke eksisterte."
+
+#: lib/Trean.php:229
+msgid "Bad Gateway"
+msgstr "Feil Gateway"
+
+#: lib/Trean.php:209
+msgid "Bad Request"
+msgstr "Feil i forespørselen"
+
+#: lib/Bookmarks.php:53
+msgid "Bookmark names must be non-empty"
+msgstr "Snarveienes navn kan ikke være tomme"
+
+#: data.php:101 lib/Block/bookmarks.php:3
+msgid "Bookmarks"
+msgstr "Snarveier"
+
+#: browse.php:80 lib/Trean.php:169
+msgid "Browse"
+msgstr "Utforsk"
+
+#: templates/edit/footer.inc:4
+msgid "Cancel"
+msgstr "Avbryt"
+
+#: templates/browse/subcategories.inc:47 templates/browse/browse.html:2
+msgid "Categories"
+msgstr "Kategorier"
+
+#: templates/edit/edit.inc:58 templates/add/add.inc:36
+#: lib/Block/bookmarks.php:38
+msgid "Category"
+msgstr "Kategori"
+
+#: lib/Trean.php:74
+msgid "Category does not exist."
+msgstr "Kategorien eksisterer ikke."
+
+#: lib/Bookmarks.php:33
+msgid "Category names must be non-empty"
+msgstr "Kategorienes navn kan ikke være tomme."
+
+#: templates/data/import.inc:12
+msgid "Category to import into:"
+msgstr "Katergori som det skal importeres til:"
+
+#: config/prefs.php.dist:11
+msgid "Change the number of columns to display in browse and search results."
+msgstr ""
+"Skift antall kolonner som skal bli vist for utforsking og søke resultat."
+
+#: templates/search/search.inc:25
+msgid "Combine"
+msgstr "Kombiner"
+
+#: config/prefs.php.dist:43
+msgid "Completely collapsed"
+msgstr "Helt kollapset"
+
+#: config/prefs.php.dist:45
+msgid "Completely expanded"
+msgstr "Helt utvidet"
+
+#: lib/Trean.php:218
+msgid "Conflict"
+msgstr "Konflikt"
+
+#: lib/Trean.php:193
+msgid "Continue"
+msgstr "Fortsett"
+
+#: edit.php:124
+msgid "Copied bookmark: "
+msgstr "Kopiert snarvei: "
+
+#: templates/browse/bookmarks.inc:116
+msgid "Copy"
+msgstr "Kopier"
+
+#: lib/Trean.php:196
+msgid "Created"
+msgstr "Opprettet"
+
+#: templates/reports/http-status/error.inc:18
+msgid "DNS Failure or Other Error"
+msgstr "DNS svikt eller en annen ukjent feil"
+
+#: templates/reports/http-status.inc:119
+#, php-format
+msgid "DNS Failure or Other Error (%s)"
+msgstr "DNS feil eller annen feil (%s)"
+
+#: templates/add/nocategories.inc:9
+msgid "Define one or more categories for your bookmarks"
+msgstr "Opprett en eller fler kategorier for snarveiene dine"
+
+#: templates/browse/bookmarks.inc:107 templates/browse/subcategories.inc:59
+msgid "Delete"
+msgstr "Slett"
+
+#: templates/reports/http-status/4xx.inc:28
+#: templates/reports/http-status/error.inc:18
+msgid "Delete All"
+msgstr "Slett alle"
+
+#: templates/edit/edit.inc:51
+msgid "Delete Bookmark"
+msgstr "Slett snarvei"
+
+#: templates/browse/javascript.inc:29
+msgid "Delete current category?"
+msgstr "Slett nåværende kategorien?"
+
+#: templates/browse/bookmarks.inc:81
+msgid "Delete this Category"
+msgstr "Slett denne kategorien"
+
+#: edit.php:36 edit.php:77
+msgid "Deleted bookmark: "
+msgstr "Slettet snarvei: "
+
+#: edit.php:172
+msgid "Deleted category: "
+msgstr "Slettet kategori: "
+
+#: templates/search/search.inc:20 templates/edit/edit.inc:17
+#: templates/add/add.inc:31
+msgid "Description"
+msgstr "Full beskrivelse:"
+
+#: config/prefs.php.dist:10
+msgid "Display Options"
+msgstr "Visningsvalg"
+
+#: config/prefs.php.dist:55
+msgid "Display edit buttons when displaying Bookmarks?"
+msgstr "Vis redigerings knapper når snarveier blir vist?"
+
+#: templates/data/import.inc:27
+msgid "Download My Bookmarks"
+msgstr "Last ned snarveien(e)"
+
+#: templates/add/add.inc:63
+msgid "Drag the 'Add to Bookmarks' link below onto your 'Links' Bar"
+msgstr ""
+"Dra over 'Legg til snarvei' linken som er nedefor over til 'Snarvei' linjen "
+"din."
+
+#: templates/add/add.inc:61
+msgid "Drag the 'Add to Bookmarks' link below onto your 'Personal Toolbar'"
+msgstr ""
+"Dra over 'Legg til snarvei' linken nedenfor over på 'Din personlige "
+"snarveilinje'"
+
+#: templates/browse/bookmarks.inc:101
+msgid "Edit"
+msgstr "Rediger"
+
+#: edit.php:210
+msgid "Edit Bookmark"
+msgstr "Rediger Snarvei"
+
+#: perms.php:241
+msgid "Edit Permissions"
+msgstr "Rediger adgangs-innstillinger"
+
+#: perms.php:244
+#, php-format
+msgid "Edit Permissions for %s"
+msgstr "Rediger adgangs-innstillinger for %s"
+
+#: templates/reports/http-status/error.inc:15
+msgid "Errors"
+msgstr "Feil"
+
+#: lib/Trean.php:226
+msgid "Expectation Failed"
+msgstr "Forventet handling feilet"
+
+#: templates/data/import.inc:26
+msgid "Export Bookmarks"
+msgstr "Ekporter snarveier"
+
+#: templates/data/import.inc:11
+msgid "File to import:"
+msgstr "Importer filen:"
+
+#: config/prefs.php.dist:44
+msgid "First level shown"
+msgstr "Første nivå vist"
+
+#: lib/Trean.php:212
+msgid "Forbidden"
+msgstr "Forbudt"
+
+#: lib/Trean.php:204
+msgid "Found"
+msgstr "Funnet"
+
+#: lib/Trean.php:231
+msgid "Gateway Time-out"
+msgstr "Gateway Time-Out"
+
+#: lib/Trean.php:219
+msgid "Gone"
+msgstr "Borte"
+
+#: templates/reports/list.inc:5 templates/reports/http-status.inc:56
+#: templates/reports/http-status/2xx.inc:13
+#: templates/reports/http-status/3xx.inc:28
+#: templates/reports/http-status/4xx.inc:24
+#: templates/reports/http-status/5xx.inc:13
+#: templates/reports/http-status/1xx.inc:13
+#: templates/reports/http-status/error.inc:15 templates/edit/edit.inc:39
+msgid "HTTP Status"
+msgstr "HTTP Status"
+
+#: lib/Trean.php:232
+msgid "HTTP Version not supported"
+msgstr "HTTP versjonen er ikke støttet"
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr "Importer"
+
+#: data.php:91 templates/data/import.inc:1
+msgid "Import Bookmarks"
+msgstr "Importer snarveier"
+
+#: lib/Trean.php:176
+msgid "Import/Export"
+msgstr "Importer/Eksporter"
+
+#: lib/Trean.php:227
+msgid "Internal Server Error"
+msgstr "Intern tjener feil"
+
+#: templates/add/add.inc:62
+msgid "Internet Explorer"
+msgstr "Internet Explorer"
+
+#: templates/data/import.inc:9
+msgid ""
+"Internet Explorer users will need to export their current Favorites by going "
+"to the 'File' menu and selecting 'Import and Export'."
+msgstr ""
+"Internet Explorer brukere er nødt til å eksportere snarveiene sine ved å gå "
+"til 'Fil' menyen og deretter velge 'Importer og eksporter'."
+
+#: lib/Trean.php:220
+msgid "Length Required"
+msgstr "Lengde er påkrevd"
+
+#: templates/search/search.inc:35
+msgid "Match"
+msgstr "Sammenligne"
+
+#: lib/Trean.php:214
+msgid "Method Not Allowed"
+msgstr "Metoden er ikke tillatt"
+
+#: templates/browse/bookmarks.inc:109 templates/browse/subcategories.inc:60
+msgid "Move"
+msgstr "Flytt"
+
+#: lib/Trean.php:203
+msgid "Moved Permanently"
+msgstr "Flyttet permanent"
+
+#: edit.php:101
+msgid "Moved bookmark: "
+msgstr "Flyttet snarvei: "
+
+#: edit.php:193
+msgid "Moved category: "
+msgstr "Flyttet kategori: "
+
+#: templates/add/add.inc:60
+msgid "Mozilla"
+msgstr "Mozilla"
+
+#: templates/data/import.inc:8
+msgid ""
+"Mozilla users will need to export their current Bookmarks by going into "
+"'Bookmark Manager' and selecting 'Export' from the 'Tools' menu."
+msgstr ""
+"Mozilla brukere er nødt til å eksporte snarveien sine ved å gå inn i "
+"'Bookmark Manager' og velge 'Export fra 'Tools' menyen."
+
+#: lib/Trean.php:202
+msgid "Multiple Choices"
+msgstr "Fler valg"
+
+#: lib/Trean.php:78 lib/Block/bookmarks.php:29 lib/Block/bookmarks.php:65
+msgid "My Bookmarks"
+msgstr "Mine snarveier"
+
+#: templates/browse/bookmarks.inc:78 lib/Block/bookmarks.php:70
+msgid "New Bookmark"
+msgstr "Ny snarvei"
+
+#: templates/browse/bookmarks.inc:79 templates/add/nocategories.inc:4
+msgid "New Subcategory"
+msgstr "Ny underkategori"
+
+#: templates/search/results_none.inc:3
+msgid "No Bookmarks found"
+msgstr "Ingen snarveier funnet"
+
+#: lib/Trean.php:199
+msgid "No Content"
+msgstr "Ikke noe innhold"
+
+#: lib/Block/bookmarks.php:100
+msgid "No bookmarks to display"
+msgstr "Ikke snarveier å vise"
+
+#: lib/Trean.php:198
+msgid "Non-Authoritative Information"
+msgstr "Ikke autorativ informasjon"
+
+#: templates/browse/bookmarks.inc:96 templates/browse/subcategories.inc:56
+msgid "None"
+msgstr "Ingen"
+
+#: lib/Trean.php:215
+msgid "Not Acceptable"
+msgstr "Ikke akseptert"
+
+#: lib/Trean.php:213
+msgid "Not Found"
+msgstr "Ikke funnet"
+
+#: lib/Trean.php:228
+msgid "Not Implemented"
+msgstr "Ikke implementert"
+
+#: lib/Trean.php:206
+msgid "Not Modified"
+msgstr "Ikke endret"
+
+#: config/prefs.php.dist:22
+msgid "Number of columns to display in browse and search results:"
+msgstr "Antall kolonner i oppsummeringsvisningen:"
+
+#: lib/Trean.php:195
+msgid "OK"
+msgstr "OK"
+
+#: perms.php:62
+msgid ""
+"Only the owner or system administrator may change ownership or owner "
+"permissions for a share"
+msgstr ""
+"Bare eieren eller administratoren kan forandre eierforhold eller eier for en "
+"delt kategori."
+
+#: config/prefs.php.dist:64
+msgid "Open links in a new window?"
+msgstr "Åpne vinduer i et eget vindu?"
+
+#: templates/search/search.inc:28
+msgid "Or"
+msgstr "Eller"
+
+#: config/prefs.php.dist:9
+msgid "Other Options"
+msgstr "Andre valg"
+
+#: lib/Trean.php:201
+msgid "Partial Content"
+msgstr "Ufullstendig innhold"
+
+#: lib/Trean.php:211
+msgid "Payment Required"
+msgstr "Du må betale for dette"
+
+#: templates/browse/bookmarks.inc:85
+msgid "Permissions"
+msgstr "Adgangs-innstillinger"
+
+#: templates/browse/javascript.inc:19
+msgid "Please enter the name of the new category:"
+msgstr "Vennligst skriv inn navnet på den nye kategorien:"
+
+#: templates/browse/javascript.inc:39
+msgid "Please modify the name accordingly"
+msgstr "Vennligs endre navnet som dette"
+
+#: lib/Trean.php:221
+msgid "Precondition Failed"
+msgstr "Førtilstand feilet"
+
+#: lib/Trean.php:216
+msgid "Proxy Authentication Required"
+msgstr "Proxy innlogging er påkrevd"
+
+#: templates/reports/http-status/3xx.inc:32
+msgid "Redirect All"
+msgstr "Omadresser alle"
+
+#: templates/edit/edit.inc:46
+msgid "Redirect to %s"
+msgstr "Omadresser til %s"
+
+#: templates/browse/bookmarks.inc:82
+msgid "Rename this Category"
+msgstr "Lag et nytt navn på denne kategorien"
+
+#: reports.php:18 lib/Trean.php:172
+msgid "Reports"
+msgstr "Rapporter"
+
+#: lib/Trean.php:222
+msgid "Request Entity Too Large"
+msgstr "Etterspurt enhet er før stor"
+
+#: lib/Trean.php:217
+msgid "Request Time-out"
+msgstr "Tiden gikk ut for etterspørselen"
+
+#: lib/Trean.php:223
+msgid "Request-URI Too Large"
+msgstr "Størrelse på etterspurt URI er for stor"
+
+#: lib/Trean.php:225
+msgid "Requested range not satisfiable"
+msgstr "Etterspurt rekkevidde holder ikke mål"
+
+#: templates/add/add.inc:47
+msgid "Reset"
+msgstr "Nullstill"
+
+#: lib/Trean.php:200
+msgid "Reset Content"
+msgstr "Nullstill innhold"
+
+#: templates/edit/footer.inc:3 templates/add/add.inc:46
+msgid "Save"
+msgstr "Lagre"
+
+#: search.php:14 templates/search/search.inc:46 lib/Trean.php:171
+msgid "Search"
+msgstr "Søk"
+
+#: templates/search/search.inc:5
+msgid "Search Bookmarks"
+msgstr "Søk i snarveier"
+
+#: templates/search/results_header.inc:5
+msgid "Search Results"
+msgstr "Søkeresultat"
+
+#: lib/Trean.php:205
+msgid "See Other"
+msgstr "Se andre"
+
+#: templates/browse/bookmarks.inc:95 templates/browse/subcategories.inc:55
+msgid "Select All"
+msgstr "Velg alle"
+
+#: templates/browse/bookmarks.inc:96 templates/browse/subcategories.inc:56
+msgid "Select None"
+msgstr "Velg ingen"
+
+#: templates/browse/bookmarks.inc:94 templates/browse/subcategories.inc:54
+msgid "Select: %s | %s"
+msgstr "Velg: %s | %s]"
+
+#: lib/Trean.php:230
+msgid "Service Unavailable"
+msgstr "Tjenesten er dessverre utilgjengelig"
+
+#: templates/browse/bookmarks.inc:85
+msgid "Set Permissions"
+msgstr "Sett adgangs-innstillinger"
+
+#: config/prefs.php.dist:46
+msgid "Should your list of bookmark categories be open when you log in?"
+msgstr "Skal listen din over internett snarveier være åpen når du logger inn?"
+
+#: lib/Trean.php:194
+msgid "Switching Protocols"
+msgstr "Bytter protokoller"
+
+#: lib/Block/bookmarks.php:42
+msgid "Template"
+msgstr "Mal"
+
+#: config/prefs.php.dist:34
+msgid "Template to use when displaying bookmarks:"
+msgstr "Mal som skal brukes under visning av internett snarveier:"
+
+#: lib/Trean.php:208
+msgid "Temporary Redirect"
+msgstr "Omadresser midlertidig"
+
+#: templates/browse/bookmarks.inc:146
+msgid "There are no bookmarks in this category"
+msgstr "Det er ingen snarveien i denne kategorien"
+
+#: edit.php:126
+msgid "There was a problem copying the bookmark: %s"
+msgstr "Det oppstod en feil under kopiering av snarveien: %s"
+
+#: edit.php:38 edit.php:79
+msgid "There was a problem deleting the bookmark: %s"
+msgstr "Det oppstod en feil under sletting av snarveien: %s"
+
+#: edit.php:174
+msgid "There was a problem deleting the category: %s"
+msgstr "Det oppstod en feil under sletting av kategorien: %s"
+
+#: edit.php:103
+msgid "There was a problem moving the bookmark: %s"
+msgstr "Det oppstod et problem under flytting av snarveien: %s"
+
+#: edit.php:195
+msgid "There was a problem moving the category: %s"
+msgstr "Det oppstod et problem når kategorien %s skulle flyttes"
+
+#: add.php:35
+msgid "There was an error adding the bookmark: %s"
+msgstr "Det oppstod en feil når jeg skulle legge til snarveien: %s"
+
+#: add.php:59
+msgid "There was an error adding the category: %s"
+msgstr "Det oppstod en feil når jeg skulle legge %s til i kategorien"
+
+#: edit.php:60
+msgid "There was an error saving the bookmark: %s"
+msgstr "Det oppstod en feil når jeg skulle lagre snarveien: %s"
+
+#: templates/search/search.inc:15 templates/edit/edit.inc:12
+#: templates/add/add.inc:26
+msgid "Title"
+msgstr "Tittel"
+
+#: templates/add/add.inc:59
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr ""
+"For å ha muligheten til å legge til internett snarveier raskt direkte fra "
+"browseren:"
+
+#: templates/reports/http-status.inc:126
+msgid "Total"
+msgstr "Totalt"
+
+#: templates/search/search.inc:10 templates/edit/edit.inc:22
+#: templates/add/add.inc:21
+msgid "URL"
+msgstr "URL"
+
+#: lib/Trean.php:210
+msgid "Unauthorized"
+msgstr "Uatorisert"
+
+#: templates/reports/http-status.inc:123
+#, php-format
+msgid "Unknown (%s)"
+msgstr "Ukjent (%s)"
+
+#: lib/Trean.php:224
+msgid "Unsupported Media Type"
+msgstr "Denne media typen er ikke støttet"
+
+#: perms.php:234
+#, php-format
+msgid "Updated %s."
+msgstr "Oppdaterte %s."
+
+#: lib/Trean.php:207
+msgid "Use Proxy"
+msgstr "Bruk proxy"
+
+#: templates/reports/list.inc:1
+msgid "View Report"
+msgstr "Vis Rapport"
+
+#: templates/add/add.inc:64
+msgid ""
+"While browsing you will be able to add bookmarks by clicking your new 'Add "
+"to Bookmarks' shortcut."
+msgstr ""
+"Når du surfer så vil du ha muligheten for å legge til favorittsidene dine "
+"ved å klikke på din nye 'Legg til snarvei' snarvei."
+
+#: templates/search/search.inc:39
+msgid "Whole Field"
+msgstr "Helt felt"
+
+#: templates/browse/javascript.inc:19
+msgid "You are creating a category folder."
+msgstr "Du lager en toppnivåmappe."
+
+#: templates/browse/javascript.inc:39
+msgid "You are renaming the current category folder."
+msgstr "Du gir nytt navn til mappen: "
+
+#: browse.php:28
+msgid "You do not have permission to view this category."
+msgstr "Du har ikke adgang i denne kategorien"
+
+#: templates/bookmark/1line.inc:30 templates/bookmark/standard.inc:27
+#: templates/bookmark/2line.inc:33
+msgid "click"
+msgstr "Klikk"
+
+#: templates/bookmark/1line.inc:30 templates/bookmark/standard.inc:27
+#: templates/bookmark/2line.inc:33
+msgid "clicks"
+msgstr "Klikk"
+
+msgid "Number Of Clicks"
+msgstr "Antall Klikk"
diff --git a/trean/po/nl_NL.po b/trean/po/nl_NL.po
new file mode 100644
index 000000000..ec1956f87
--- /dev/null
+++ b/trean/po/nl_NL.po
@@ -0,0 +1,838 @@
+# Dutch translations for Trean package.
+# Copyright 2005-2009 The Horde Project
+# This file is distributed under the same license as the Trean package.
+# Automatically generated, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Trean 0.1-cvs\n"
+"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
+"POT-Creation-Date: 2005-05-23 13:05+0200\n"
+"PO-Revision-Date: 2005-05-24 14:55+0200\n"
+"Last-Translator: Automatically generated\n"
+"Language-Team: i18n@lists.horde.org\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: data.php:153
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "%d Mappen en %d Bladwijzers geïmporteerd"
+
+#: templates/reports/http-status.inc:127
+#, php-format
+msgid "%s Bookmarks"
+msgstr "%s Bladwijzers"
+
+#: templates/browse/subcategories.inc:10
+#, php-format
+msgid "%s Categories"
+msgstr "%s Categorieën:"
+
+#: templates/reports/clicks.inc:49
+#, php-format
+msgid "%s Clicks"
+msgstr "%s keer geopend"
+
+#: reports.php:30
+#, fuzzy, php-format
+msgid "%s Response Codes"
+msgstr "Verantwoordelijke Gebruikers"
+
+#: scripts/upgrades/2005-03-15_move_to_horde_share.php:123 lib/base.php:61
+#, php-format
+msgid "%s's Bookmarks"
+msgstr "%s's Bladwijzers"
+
+#: edit.php:186
+#, php-format
+msgid "'%s' was not renamed: %s."
+msgstr "'%s' is niet hernoemd: %s."
+
+#: templates/reports/clicks.inc:47
+msgid "1 Click"
+msgstr "1 keer geopend"
+
+#: lib/Block/bookmarks.php:52 config/prefs.php.dist:33
+msgid "1 Line"
+msgstr "1 Regel"
+
+#: templates/reports/http-status.inc:59
+#, php-format
+msgid "1xx Response Codes (%s)"
+msgstr ""
+
+#: lib/Block/bookmarks.php:51 config/prefs.php.dist:32
+msgid "2 Line"
+msgstr "2 Regels"
+
+#: templates/reports/http-status.inc:65
+#, php-format
+msgid "2xx Response Codes (%s)"
+msgstr ""
+
+#: lib/Block/bookmarks.php:50 config/prefs.php.dist:31
+msgid "3 Line"
+msgstr "3 Regels"
+
+#: templates/reports/http-status.inc:76
+#, php-format
+msgid "3xx Response Codes (%s)"
+msgstr ""
+
+#: templates/reports/http-status.inc:87
+#, php-format
+msgid "4xx Response Codes (%s)"
+msgstr ""
+
+#: templates/reports/http-status.inc:109
+#, php-format
+msgid "5xx Response Codes (%s)"
+msgstr ""
+
+#: lib/Trean.php:247
+msgid "Accepted"
+msgstr "Geaccepteerd"
+
+#: lib/Block/tree_menu.php:24
+msgid "Add"
+msgstr "Toevoegen"
+
+#: add.php:111
+msgid "Add Bookmark"
+msgstr "Bladwijzer toevoegen"
+
+#: templates/add/add.inc:31
+msgid "Add a new bookmark"
+msgstr "Nieuwe bladwijzer toevoegen:"
+
+#: templates/add/add.inc:82
+msgid "Add to Bookmarks"
+msgstr "Toevoegen aan Bladwijzers"
+
+#: templates/search/results_header.inc:11 templates/browse/bookmarks.inc:28
+#: templates/browse/subcategories.inc:17
+msgid "All"
+msgstr "Alle"
+
+#: lib/Block/bookmarks.php:44
+msgid "All Bookmarks"
+msgstr "Alle Bladwijzers"
+
+#: lib/Trean.php:32
+#, php-format
+msgid "An error occured listing categories: %s"
+msgstr "Een fout vond plaats bij het tonen van categorieën: %s"
+
+#: lib/Trean.php:61
+#, php-format
+msgid "An error occurred counting categories: %s"
+msgstr "Een fout vond plaats in het aantal categorieën: %s"
+
+#: templates/search/search.inc:30
+msgid "And"
+msgstr "En"
+
+#: templates/search/search.inc:39
+msgid "Any Part of field"
+msgstr "Enig deel van veld"
+
+#: templates/search/javascript.inc:31 templates/browse/javascript.inc:90
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr "Weet u zeker dat u de geselecteerde bladwijzers wilt verwijderen?"
+
+#: templates/browse/javascript.inc:163
+msgid "Are you sure you want to delete the selected categories?"
+msgstr "Weet u zeker dat u de geselecteerde catagorieën wilt verwijderen?"
+
+#: perms.php:50
+msgid "Attempt to edit a non-existent share."
+msgstr "Poging om een niet bestaande share te bewerken."
+
+#: lib/Trean.php:279
+msgid "Bad Gateway"
+msgstr "Foute Gateway"
+
+#: lib/Trean.php:259
+msgid "Bad Request"
+msgstr "Foute Aanvraag"
+
+#: lib/Bookmarks.php:52
+msgid "Bookmark names must be non-empty"
+msgstr "Bladwijzernamen mogen niet leeg zijn"
+
+#: data.php:17 lib/Block/bookmarks.php:3 lib/Block/bookmarks.php:41
+msgid "Bookmarks"
+msgstr "Bladwijzers"
+
+#: browse.php:83
+msgid "Browse"
+msgstr "Bladeren"
+
+#: templates/edit/footer.inc:4
+msgid "Cancel"
+msgstr "Afbreken"
+
+#: templates/browse/subcategories.inc:10 templates/browse/browse.html:4
+msgid "Categories"
+msgstr "Categorieën"
+
+#: templates/edit/edit.inc:75 templates/add/add.inc:51
+#: lib/Block/bookmarks.php:37
+msgid "Category"
+msgstr "Categorie"
+
+#: lib/Trean.php:83
+msgid "Category does not exist."
+msgstr "Categorie bestaat niet."
+
+#: lib/Bookmarks.php:32
+msgid "Category names must be non-empty"
+msgstr "Categorienamen mogen niet leeg zijn"
+
+#: templates/data/import.inc:11
+msgid "Category to import into:"
+msgstr "Categorie importeren in:"
+
+#: config/prefs.php.dist:11
+msgid "Change the number of columns to display in browse and search results."
+msgstr "Verander de weer te geven kolommen in blader- en zoekresultaten."
+
+#: templates/search/search.inc:26
+msgid "Combine"
+msgstr "Combineer"
+
+#: config/prefs.php.dist:43
+msgid "Completely collapsed"
+msgstr "Helemaal inklappen"
+
+#: config/prefs.php.dist:45
+msgid "Completely expanded"
+msgstr "Helemaal uitgeklapt"
+
+#: lib/Trean.php:268
+msgid "Conflict"
+msgstr "Conflict"
+
+#: lib/Trean.php:243
+msgid "Continue"
+msgstr "Doorgaan"
+
+#: edit.php:164
+msgid "Copied bookmark: "
+msgstr "Gekopiëerde bladwijzer"
+
+#: templates/search/results_header.inc:18 templates/browse/bookmarks.inc:48
+msgid "Copy"
+msgstr "Kopiëren"
+
+#: lib/Trean.php:246
+#, fuzzy
+msgid "Created"
+msgstr "Gemaakt"
+
+#: templates/reports/http-status.inc:119
+#, php-format
+msgid "DNS Failure or Other Error (%s)"
+msgstr "DNS- of andere fout (%s)"
+
+#: templates/add/nocategories.inc:9
+msgid "Define one or more categories for your bookmarks"
+msgstr "Maak één of meer categorieën voor je bladwijzers"
+
+#: templates/search/results_header.inc:16 templates/browse/bookmarks.inc:39
+#: templates/browse/subcategories.inc:21
+msgid "Delete"
+msgstr "Verwijderen"
+
+#: templates/edit/edit.inc:68
+msgid "Delete Bookmark"
+msgstr "Verwijder Bladwijzer"
+
+#: templates/browse/javascript.inc:34
+msgid "Delete current category?"
+msgstr "Huidige categorie verwijderen"
+
+#: templates/browse/bookmarks.inc:66
+msgid "Delete this Category"
+msgstr "Verwijder deze Categorie"
+
+#: edit.php:37 edit.php:79
+msgid "Deleted bookmark: "
+msgstr "Bladwijzer verwijderd"
+
+#: edit.php:212
+msgid "Deleted category: "
+msgstr "Categorie verwijderd"
+
+#: templates/search/search.inc:21 templates/edit/edit.inc:17
+#: templates/add/add.inc:46
+msgid "Description"
+msgstr "Omschrijving"
+
+#: config/prefs.php.dist:10
+msgid "Display Options"
+msgstr "Weergaveopties"
+
+#: config/prefs.php.dist:55
+msgid "Display edit buttons when displaying Bookmarks?"
+msgstr "Bewerkingsknoppen weergeven bij tonen Bladwijzers?"
+
+#: templates/data/export.inc:11
+msgid "Download Category"
+msgstr "Download Categorie"
+
+#: templates/add/add.inc:77
+msgid "Drag the \"Add to Bookmarks\" link below onto your \"Links\" Bar"
+msgstr ""
+"Sleep de \"Toevoegen aan Bladwijzers\" link hieronder naar je \"Links\" "
+"werkbalk"
+
+#: templates/add/add.inc:75
+msgid ""
+"Drag the \"Add to Bookmarks\" link below onto your \"Personal Toolbar\"."
+msgstr ""
+"Sleep de \"Toevoegen aan Bladwijzers\" link hieronder naar je \"Persoonlijke "
+"werkbalk\""
+
+#: templates/search/results_header.inc:15 templates/browse/bookmarks.inc:33
+msgid "Edit"
+msgstr "Bewerken"
+
+#: edit.php:271
+#, fuzzy
+msgid "Edit Bookmark"
+msgstr "Bladwijzer Bewerken"
+
+#: perms.php:241
+msgid "Edit Permissions"
+msgstr "Rechten bewerken"
+
+#: perms.php:244
+#, php-format
+msgid "Edit Permissions for %s"
+msgstr "Rechten van '%s' bewerken"
+
+#: lib/Trean.php:276
+#, fuzzy
+msgid "Expectation Failed"
+msgstr "Vervaldatum"
+
+#: templates/data/export.inc:4
+msgid "Export Bookmarks"
+msgstr "Bladwijzers exporteren"
+
+#: templates/data/import.inc:9
+msgid "File to import:"
+msgstr "Selecteer het importbestand:"
+
+#: config/prefs.php.dist:44
+msgid "First level shown"
+msgstr "Eerste niveau zichtbaar"
+
+#: lib/Trean.php:262
+msgid "Forbidden"
+msgstr "Verborgen"
+
+#: lib/Trean.php:254
+msgid "Found"
+msgstr "Gevonden"
+
+#: lib/Trean.php:281
+msgid "Gateway Time-out"
+msgstr "Gateway Time-out"
+
+#: lib/Trean.php:269
+msgid "Gone"
+msgstr "Uitgevoerd"
+
+#: reports.php:30 templates/reports/list.inc:7
+#: templates/reports/http-status.inc:56 templates/edit/edit.inc:56
+msgid "HTTP Status"
+msgstr "HTTP Status"
+
+#: lib/Trean.php:282
+msgid "HTTP Version not supported"
+msgstr "HTTP versie wordt niet ondersteund."
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr "Importeren"
+
+#: data.php:181 templates/data/import.inc:4
+msgid "Import Bookmarks"
+msgstr "Bladwijzers importeren"
+
+#: templates/data/export.inc:9
+msgid "Include Subcategories"
+msgstr "Inclusief Subcategorieën"
+
+#: lib/Trean.php:277
+msgid "Internal Server Error"
+msgstr "Interne Serverfout"
+
+#: templates/add/add.inc:76
+msgid "Internet Explorer"
+msgstr "Internet Explorer"
+
+#: templates/data/import.inc:7
+msgid ""
+"Internet Explorer users will need to export their current Favorites by going "
+"to the \"File\" menu and selecting \"Import and Export\"."
+msgstr ""
+"Gebruikers van Internet Explorer: Eerst Favorieten exporteren via het menu "
+"\"Bestand\", ingang \"Im- en export\"."
+
+#: lib/Trean.php:270
+msgid "Length Required"
+msgstr "Lengte Vereist"
+
+#: templates/search/search.inc:36
+msgid "Match"
+msgstr "Overeenkomst"
+
+#: lib/api.php:34
+msgid "Maximum Number of Bookmarks"
+msgstr "Maximum aantal Bladwijzers."
+
+#: lib/api.php:31
+msgid "Maximum Number of Categories"
+msgstr "Maximum aantal Categorieën."
+
+#: lib/Block/tree_menu.php:3
+#, fuzzy
+msgid "Menu List"
+msgstr "Menulijst"
+
+#: lib/Trean.php:264
+msgid "Method Not Allowed"
+msgstr "Methode niet toegestaan"
+
+#: templates/browse/bookmarks.inc:54
+msgid "More Actions"
+msgstr "Meer Bewerkingen"
+
+#: templates/search/results_header.inc:17 templates/browse/bookmarks.inc:41
+#: templates/browse/subcategories.inc:22
+msgid "Move"
+msgstr "Verplaats"
+
+#: lib/Trean.php:253
+msgid "Moved Permanently"
+msgstr "Permanent verplaatst"
+
+#: edit.php:122
+msgid "Moved bookmark: "
+msgstr "Verplaatste bladwijzer: "
+
+#: edit.php:254
+msgid "Moved category: "
+msgstr "Categorie verplaatst"
+
+#: templates/add/add.inc:74
+msgid "Mozilla"
+msgstr "Mozilla"
+
+#: templates/data/import.inc:6
+msgid ""
+"Mozilla/Firefox users will need to export their current Bookmarks by going "
+"into \"Bookmark Manager\" and selecting \"Export\" from the \"Tools\" menu."
+msgstr ""
+"Gebruikers van Firefox/Mozilla: Eerst Favorieten exporteren via "
+"bladwijzerbeheer, menu \"Bestand\", ingang \"Im- en export\"."
+
+#: lib/Trean.php:252
+msgid "Multiple Choices"
+msgstr "Meerdere Keuzes"
+
+#: lib/Trean.php:87 lib/Block/bookmarks.php:70
+msgid "My Bookmarks"
+msgstr "Mijn Bladwijzers"
+
+#: templates/browse/bookmarks.inc:56 lib/Block/bookmarks.php:75
+msgid "New Bookmark"
+msgstr "Nieuwe Bladwijzer"
+
+#: lib/Trean.php:168
+msgid "New Category"
+msgstr "Nieuwe categorie"
+
+#: templates/browse/bookmarks.inc:63 templates/add/nocategories.inc:4
+msgid "New Subcategory"
+msgstr "Nieuwe Subcategorie"
+
+#: templates/search/results_none.inc:3
+msgid "No Bookmarks found"
+msgstr "Geen Bladwijzers gevonden"
+
+#: lib/Trean.php:249
+msgid "No Content"
+msgstr "Leeg"
+
+#: lib/Block/bookmarks.php:117
+msgid "No bookmarks to display"
+msgstr "Geen bladwijzers weer te geven"
+
+#: lib/Trean.php:248
+#, fuzzy
+msgid "Non-Authoritative Information"
+msgstr "Uw informatie"
+
+#: templates/search/results_header.inc:12 templates/browse/bookmarks.inc:29
+#: templates/browse/subcategories.inc:18 templates/reports/rating.inc:48
+msgid "None"
+msgstr "Geen"
+
+#: lib/Trean.php:265
+msgid "Not Acceptable"
+msgstr ""
+
+#: lib/Trean.php:263
+msgid "Not Found"
+msgstr "Niet gevonden"
+
+#: lib/Trean.php:278
+msgid "Not Implemented"
+msgstr "Niet geimplementeerd."
+
+#: lib/Trean.php:256
+msgid "Not Modified"
+msgstr "Niet gewijzigd"
+
+#: templates/reports/list.inc:13 templates/reports/clicks.inc:5
+msgid "Number of Clicks"
+msgstr "Aantal keer gekozen"
+
+#: config/prefs.php.dist:22
+msgid "Number of columns to display in browse and search results:"
+msgstr "Aantal kolommen weer te geven in de zoekresultaten."
+
+#: lib/Trean.php:245
+msgid "OK"
+msgstr "OK"
+
+#: perms.php:62
+msgid ""
+"Only the owner or system administrator may change ownership or owner "
+"permissions for a share"
+msgstr ""
+"Alleen de eigenaar of een systeembeheerder mag de eigenaarrechten van een "
+"share wijzigen"
+
+#: config/prefs.php.dist:64
+msgid "Open links in a new window?"
+msgstr "Open links in een nieuw venster"
+
+#: templates/search/search.inc:29
+msgid "Or"
+msgstr "Of"
+
+#: config/prefs.php.dist:9
+msgid "Other Options"
+msgstr "Andere opties"
+
+#: lib/Trean.php:251
+msgid "Partial Content"
+msgstr "Gedeeltelijke Inhoud"
+
+#: lib/Trean.php:261
+msgid "Payment Required"
+msgstr "Betaling Vereist"
+
+#: templates/browse/javascript.inc:26
+msgid "Please enter the name of the new category:"
+msgstr "Een naam voor de nieuwe categorie invoeren, a.u.b.:"
+
+#: templates/browse/javascript.inc:42
+msgid "Please modify the name accordingly"
+msgstr "Verander de naam"
+
+#: lib/Trean.php:271
+msgid "Precondition Failed"
+msgstr "Niet aan voorwaarde voldaan"
+
+#: lib/Trean.php:266
+msgid "Proxy Authentication Required"
+msgstr "Authenticatie op proxy vereist"
+
+#: templates/edit/edit.inc:27
+msgid "Rating"
+msgstr "Waardering"
+
+#: templates/reports/list.inc:19 templates/reports/rating.inc:5
+#, fuzzy
+msgid "Ratings"
+msgstr "Regen"
+
+#: templates/edit/edit.inc:63
+#, fuzzy, php-format
+msgid "Redirect to %s"
+msgstr "Verder sturen naar"
+
+#: templates/browse/bookmarks.inc:67
+msgid "Rename this Category"
+msgstr "Categorie hernoemen"
+
+#: reports.php:18
+msgid "Reports"
+msgstr "Rapportages"
+
+#: lib/Trean.php:272
+msgid "Request Entity Too Large"
+msgstr "Teveel data in aanvraag"
+
+#: lib/Trean.php:267
+msgid "Request Time-out"
+msgstr "Aanvraag time-out"
+
+#: lib/Trean.php:273
+msgid "Request-URI Too Large"
+msgstr "Aanvraag-URI te groot"
+
+#: lib/Trean.php:275
+msgid "Requested range not satisfiable"
+msgstr "Gevraagde reeks niet beschikbaar."
+
+#: templates/add/add.inc:64
+msgid "Reset"
+msgstr "Herstellen"
+
+#: lib/Trean.php:250
+msgid "Reset Content"
+msgstr "Inhoud Herstellen"
+
+#: templates/edit/footer.inc:3 templates/add/add.inc:63
+msgid "Save"
+msgstr "Opslaan"
+
+#: search.php:14 templates/search/search.inc:47 lib/Block/tree_menu.php:33
+msgid "Search"
+msgstr "Zoeken"
+
+#: templates/search/search.inc:6
+msgid "Search Bookmarks"
+msgstr "Bladwijzers zoeken"
+
+#: templates/search/results_none.inc:2
+msgid "Search Results"
+msgstr "Zoekresultaten"
+
+#: search.php:65
+#, php-format
+msgid "Search Results (%s)"
+msgstr "Zoekresultaten (%s)"
+
+#: lib/Trean.php:255
+msgid "See Other"
+msgstr "Zie Andere"
+
+#: templates/search/results_header.inc:11 templates/browse/bookmarks.inc:28
+#: templates/browse/subcategories.inc:17
+msgid "Select All"
+msgstr "Selecteer alles"
+
+#: templates/search/results_header.inc:12 templates/browse/bookmarks.inc:29
+#: templates/browse/subcategories.inc:18
+msgid "Select None"
+msgstr "Selecteer niets"
+
+#: templates/search/results_header.inc:10 templates/browse/bookmarks.inc:27
+#: templates/browse/subcategories.inc:16
+#, php-format
+msgid "Select: %s, %s"
+msgstr "Selecteer %s %s"
+
+#: lib/Trean.php:280
+msgid "Service Unavailable"
+msgstr "Dienst niet beschikbaar."
+
+#: templates/browse/bookmarks.inc:70
+msgid "Set Permissions"
+msgstr "Instellen rechten"
+
+#: config/prefs.php.dist:46
+msgid "Should your list of bookmark categories be open when you log in?"
+msgstr "Moet je categorieënlijst openen bij aanloggen?"
+
+#: lib/Trean.php:244
+msgid "Switching Protocols"
+msgstr "Protocol Wijzigen"
+
+#: lib/Block/bookmarks.php:47
+msgid "Template"
+msgstr "Sjabloon"
+
+#: config/prefs.php.dist:34
+msgid "Template to use when displaying bookmarks:"
+msgstr "Sjabloon voor weergave van bladwijzers:"
+
+#: lib/Trean.php:258
+msgid "Temporary Redirect"
+msgstr "Tijdelijk Omleiden"
+
+#: templates/browse/bookmarks.inc:101
+msgid "There are no bookmarks in this category"
+msgstr "Er zijn geen bladwijzers in deze categorie."
+
+#: edit.php:166
+#, php-format
+msgid "There was a problem copying the bookmark: %s"
+msgstr "Probleem bij het kopieren van de bladwijzer: %s."
+
+#: edit.php:39 edit.php:81
+#, php-format
+msgid "There was a problem deleting the bookmark: %s"
+msgstr "Probleem bij het verwijderen van bladwijzer: %s"
+
+#: edit.php:214
+#, php-format
+msgid "There was a problem deleting the category: %s"
+msgstr "Probleem bij verwijderen van de categorie: %s"
+
+#: edit.php:124
+#, php-format
+msgid "There was a problem moving the bookmark: %s"
+msgstr "Probleem bij het verplaatsen van bladwijzer: %s."
+
+#: edit.php:256
+#, php-format
+msgid "There was a problem moving the category: %s"
+msgstr "Probleem bij het verplaatsen van bladwijzer: %s."
+
+#: add.php:64
+#, php-format
+msgid "There was an error adding the bookmark: %s"
+msgstr "Fout bij toevoegen van bladwijzer: %s"
+
+#: edit.php:108 edit.php:150 edit.php:240 add.php:43 add.php:100
+#, php-format
+msgid "There was an error adding the category: %s"
+msgstr "Fout bij toevoegen van categorie: %s"
+
+#: edit.php:62
+#, php-format
+msgid "There was an error saving the bookmark: %s"
+msgstr "Fout bij opslaan van bladwijzer: %s"
+
+#: templates/search/search.inc:16 templates/edit/edit.inc:12
+#: templates/add/add.inc:41
+msgid "Title"
+msgstr "Titel"
+
+#: templates/add/add.inc:73
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr "Om snel bladwijzers toe te voegen vanuit je browser:"
+
+#: lib/Block/bookmarks.php:45
+msgid "Top 10 Highest Rated"
+msgstr "Top 10 Hoogst Gewaardeerd"
+
+#: lib/Block/bookmarks.php:46
+msgid "Top 10 Most Clicked"
+msgstr "Top 10 Meest Bezocht"
+
+#: templates/reports/http-status.inc:126
+msgid "Total"
+msgstr "Totaal"
+
+#: templates/search/search.inc:11 templates/edit/edit.inc:22
+#: templates/add/add.inc:36
+msgid "URL"
+msgstr "URL"
+
+#: lib/Trean.php:260
+msgid "Unauthorized"
+msgstr "Geen autorisatie"
+
+#: templates/reports/http-status.inc:123
+#, php-format
+msgid "Unknown (%s)"
+msgstr "Onbekende (%s)"
+
+#: lib/Trean.php:274
+msgid "Unsupported Media Type"
+msgstr "Niet ondersteund Media-Type."
+
+#: perms.php:234
+#, php-format
+msgid "Updated %s."
+msgstr "%s bijgewerkt."
+
+#: lib/Trean.php:257
+msgid "Use Proxy"
+msgstr "Gebruik Proxy"
+
+#: templates/reports/list.inc:1
+msgid "View Report"
+msgstr "Rapport Weergeven"
+
+#: templates/add/add.inc:78
+msgid ""
+"While browsing you will be able to bookmark the current page by clicking "
+"your new \"Add to Bookmarks\" shortcut."
+msgstr ""
+"Tijdens het browsen kun je de huidige pagina aan de bladwijzers "
+"toevoegendoor klikken op je nieuwe \"Toevoegen aan bladwijzers\" "
+"snelkoppeling."
+
+#: templates/search/search.inc:40
+msgid "Whole Field"
+msgstr "Volledige Veld"
+
+#: templates/browse/javascript.inc:26
+msgid "You are creating a category folder."
+msgstr "U maakt een categoriemap."
+
+#: data.php:61 data.php:128 add.php:21
+#, php-format
+msgid "You are not allowed to create more than %d bookmarks."
+msgstr "Maximum aantal bladwijzers is: %d"
+
+#: data.php:52 data.php:103 add.php:84
+#, php-format
+msgid "You are not allowed to create more than %d categories."
+msgstr "Maximum aantal categorieën: %d"
+
+#: templates/browse/javascript.inc:42
+msgid "You are renaming the current category folder."
+msgstr "Je hernoemt categoriemap: "
+
+#: browse.php:25
+msgid "You do not have permission to view this category."
+msgstr "U heeft geen recht om deze categorie in te zien."
+
+#: lib/Trean.php:219
+msgid "_Add"
+msgstr "_Toevoegen"
+
+#: lib/Trean.php:215
+msgid "_Browse"
+msgstr "_Bladeren"
+
+#: lib/Trean.php:226
+msgid "_Import/Export"
+msgstr "_Import/Export"
+
+#: lib/Trean.php:222
+msgid "_Reports"
+msgstr "Rapportages"
+
+#: lib/Trean.php:221
+msgid "_Search"
+msgstr "_Zoeken"
+
+#: templates/bookmark/1line.inc:33 templates/bookmark/standard.inc:33
+#: templates/bookmark/2line.inc:37 templates/search/results.inc:57
+#: templates/block/1line.inc:28 templates/block/standard.inc:29
+#: templates/block/2line.inc:31
+msgid "click"
+msgstr "Klik hier"
+
+#: templates/bookmark/1line.inc:33 templates/bookmark/standard.inc:33
+#: templates/bookmark/2line.inc:37 templates/search/results.inc:57
+#: templates/block/1line.inc:28 templates/block/standard.inc:29
+#: templates/block/2line.inc:31
+msgid "clicks"
+msgstr "x aangeklikt"
diff --git a/trean/po/pl_PL.po b/trean/po/pl_PL.po
new file mode 100644
index 000000000..8909e2977
--- /dev/null
+++ b/trean/po/pl_PL.po
@@ -0,0 +1,892 @@
+# Polish translations for Horde package
+# Polskie t³umaczenia dla pakietu PACKAGE.
+# Copyright 2007-2009 The Horde Project
+# This file is distributed under the same license as the Horde package.
+# Automatically generated, 2007.
+# Mariusz Zynel , 2001.
+# Piotr Roszatycki , 2001.
+# Krzysztof Kozlowski , 2005.
+# Piotr Adamcio , 2007
+msgid ""
+msgstr ""
+"Project-Id-Version: Passwd H3 (3.1-cvs)\n"
+"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
+"POT-Creation-Date: 2007-06-13 22:05+0200\n"
+"PO-Revision-Date: 2007-05-30 12:02+0200\n"
+"Last-Translator: adamcios@go2.pl\n"
+"Language-Team: i18n@lists.horde.org\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: edit.php:227
+#, php-format
+msgid "\"%s\" was not renamed: %s."
+msgstr "Nazwa \"%s\" nie zosta³a zmieniona: %s."
+
+#: data.php:155
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "%d Foldery i %d Ulubione zaimportowano."
+
+#: templates/reports.php:104
+#, php-format
+msgid "%s Bookmarks"
+msgstr "%s zak³adki"
+
+#: reports.php:24
+#, php-format
+msgid "%s Response Codes"
+msgstr "%s kody odpowiedzi"
+
+#: lib/base.php:74
+#, php-format
+msgid "%s's Bookmarks"
+msgstr "Zak³adki %s"
+
+#: lib/Block/bookmarks.php:63 lib/Block/highestrated.php:38
+#: lib/Block/mostclicked.php:38
+msgid "1 Line"
+msgstr "1 linia"
+
+#: templates/star_rating_helper.php:20
+msgid "1 star out of 5"
+msgstr "1 gwizdka mniez z 5"
+
+#: lib/Block/bookmarks.php:55 lib/Block/highestrated.php:30
+#: lib/Block/mostclicked.php:30
+msgid "10 rows"
+msgstr "10 wierszy"
+
+#: lib/Block/bookmarks.php:56 lib/Block/highestrated.php:31
+#: lib/Block/mostclicked.php:31
+msgid "15 rows"
+msgstr "15 wierszy"
+
+#: templates/reports.php:36
+#, php-format
+msgid "1xx Response Codes (%s)"
+msgstr "1xx kody odpowiedzi (%s)"
+
+#: lib/Block/bookmarks.php:62 lib/Block/highestrated.php:37
+#: lib/Block/mostclicked.php:37
+msgid "2 Line"
+msgstr "2 linie"
+
+#: templates/star_rating_helper.php:21
+msgid "2 stars out of 5"
+msgstr "2 gwiazdki mniej z 5"
+
+#: lib/Block/bookmarks.php:57 lib/Block/highestrated.php:32
+#: lib/Block/mostclicked.php:32
+msgid "25 rows"
+msgstr "25 wierszy"
+
+#: templates/reports.php:42
+#, php-format
+msgid "2xx Response Codes (%s)"
+msgstr "2xx kody odpowiedzi (%s)"
+
+#: lib/Block/bookmarks.php:61 lib/Block/highestrated.php:36
+#: lib/Block/mostclicked.php:36
+msgid "3 Line"
+msgstr "3 linie"
+
+#: templates/star_rating_helper.php:22
+msgid "3 stars out of 5"
+msgstr "3 gwiazdki mniej z 5"
+
+#: templates/reports.php:53
+#, php-format
+msgid "3xx Response Codes (%s)"
+msgstr "3xx kody odpowiedzi (%s)"
+
+#: templates/star_rating_helper.php:23
+msgid "4 stars out of 5"
+msgstr "4 gwiazdki mniej z 5"
+
+#: templates/reports.php:64
+#, php-format
+msgid "4xx Response Codes (%s)"
+msgstr "4xx kody odpowiedzi (%s)"
+
+#: templates/star_rating_helper.php:24
+msgid "5 stars out of 5"
+msgstr "5 gwiazdek mniej z 5"
+
+#: templates/reports.php:86
+#, php-format
+msgid "5xx Response Codes (%s)"
+msgstr "5xx kody odpowiedzi (%s)"
+
+#: lib/Forms/Search.php:24
+msgid "AND"
+msgstr "I"
+
+#: lib/Trean.php:171
+msgid "Accepted"
+msgstr "Zaakceptowany"
+
+#: templates/add/add.inc:59 lib/Block/tree_menu.php:24
+msgid "Add"
+msgstr "Dodaj"
+
+#: templates/add/add.inc:87
+msgid "Add to Bookmarks"
+msgstr "Dodaj do zak³adek"
+
+#: templates/search.php:65
+msgid "All"
+msgstr "Wszystko"
+
+#: data.php:38 perms.php:239 lib/Block/bookmarks.php:32
+#, php-format
+msgid "An error occured listing folders: %s"
+msgstr "Wyst±pi³ b³±d wylistowanych folderów: %s"
+
+#: lib/Trean.php:49
+#, php-format
+msgid "An error occurred counting folders: %s"
+msgstr "Wyst±pi³ b³±d podczas zliczania folderów: %s"
+
+#: lib/Forms/Search.php:25
+msgid "Any Part of the field"
+msgstr "Jakakolwiek czê¶æ pola"
+
+#: templates/search.php:29
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr "Czy jeste¶ pewien, ¿e chcesz skasowaæ wybrane zak³adki?"
+
+#: config/prefs.php.dist:33
+msgid "Ascending (A to Z)"
+msgstr "Rosn±co (A do Z)"
+
+#: perms.php:44
+msgid "Attempt to edit a non-existent share."
+msgstr "Próba edycji nieistniej±cego udzia³u.."
+
+#: lib/Trean.php:203
+msgid "Bad Gateway"
+msgstr "Z³a bramka"
+
+#: lib/Trean.php:183
+msgid "Bad Request"
+msgstr "Z³a odpowied¼"
+
+#: add.php:64
+msgid "Bookmark Added"
+msgstr "Dodano zak³adkê"
+
+#: data.php:17 lib/Block/bookmarks.php:3 lib/Block/bookmarks.php:81
+msgid "Bookmarks"
+msgstr "Zak³adki"
+
+#: templates/common-header.inc:27
+msgid "Bookmarks Feed"
+msgstr "Dostarczono zak³adki"
+
+#: browse.php:35
+msgid "Browse"
+msgstr "Przegl±daj"
+
+#: templates/edit/footer.inc:2 templates/add/add.inc:60
+msgid "Cancel"
+msgstr "Anuluj"
+
+#: templates/views/BookmarkList.php:28
+msgid "Clicks"
+msgstr "Klikniêcia"
+
+#: templates/add/add.inc:82
+msgid "Close"
+msgstr "Zamknij"
+
+#: lib/Forms/Search.php:24
+msgid "Combine"
+msgstr "£±cz"
+
+#: config/prefs.php.dist:63
+msgid "Completely collapsed"
+msgstr "Ca³kowicie zwiniêty"
+
+#: config/prefs.php.dist:65
+msgid "Completely expanded"
+msgstr "Ca³kowicie rozwiniêty"
+
+#: edit.php:237
+msgid "Confirm Deletion"
+msgstr "Potwierd¼ usuniêcie"
+
+#: lib/Trean.php:192
+msgid "Conflict"
+msgstr "Konflikt"
+
+#: lib/Trean.php:167
+msgid "Continue"
+msgstr "Kontynuuj"
+
+#: templates/browse.php:105 templates/browse.php:106
+msgid "Control access to this folder"
+msgstr "Zarz±dzanie dostêpem dla tego folderu"
+
+#: edit.php:204
+msgid "Copied bookmark: "
+msgstr "Skopiowane zak³adki: "
+
+#: templates/search.php:72
+msgid "Copy"
+msgstr "Kopiuj"
+
+#: edit.php:212
+#, php-format
+msgid "Copying folders is not supported."
+msgstr "Kopiowanie folderów jest niewspierane"
+
+#: lib/Trean.php:170
+msgid "Created"
+msgstr "Utworzony"
+
+#: templates/reports.php:96
+#, php-format
+msgid "DNS Failure or Other Error (%s)"
+msgstr "Awaria DNS lub Inny b³±d (%s)"
+
+#: templates/browse.php:90 templates/search.php:70
+msgid "Delete"
+msgstr "Usuñ"
+
+#: templates/browse.php:146
+msgid "Delete Bookmark"
+msgstr "Usuniête zak³adki"
+
+#: templates/browse.php:91
+msgid "Delete this folder"
+msgstr "Usuñ ten folder"
+
+#: edit.php:49 edit.php:100
+msgid "Deleted bookmark: "
+msgstr "Skasowane zak³adki: "
+
+#: edit.php:113
+msgid "Deleted folder: "
+msgstr "Skasowane foldery: "
+
+#: edit.php:259
+#, php-format
+msgid "Deleted the folder \"%s\""
+msgstr "Skasowany folder \"%s\""
+
+#: config/prefs.php.dist:34
+msgid "Descending (9 to 1)"
+msgstr "Malej±co (9 do 1)"
+
+#: templates/edit/bookmark.inc:16 templates/add/add.inc:42
+#: lib/Forms/Search.php:22
+msgid "Description"
+msgstr "Opis"
+
+#: config/prefs.php.dist:10
+msgid "Display Options"
+msgstr "Opcje wy¶wietlania"
+
+#: lib/Block/bookmarks.php:52
+msgid "Display Rows"
+msgstr "Wy¶wietl wiersze"
+
+#: templates/data/export.inc:11
+msgid "Download Folder"
+msgstr "¦ci±gniete foldery"
+
+#: templates/add/add.inc:73
+msgid "Drag the \"Add to Bookmarks\" link below onto your \"Links\" Bar"
+msgstr ""
+"Przeci±gnij \"Dodaj do zak³adek\" poni¿szy link na swój± belkê \"Linki\""
+
+#: templates/add/add.inc:71
+msgid ""
+"Drag the \"Add to Bookmarks\" link below onto your \"Personal Toolbar\"."
+msgstr ""
+"Przeci±gnij \"Dodaj do zak³adek\" poni¿szy link na swój \"Osobisty pasek "
+"zadañ\""
+
+#: templates/search.php:69
+msgid "Edit"
+msgstr "Edytuj"
+
+#: edit.php:277
+msgid "Edit Bookmark"
+msgstr "Edytuj zak³adkê"
+
+#: templates/browse.php:141
+msgid "Edit Bookmarks"
+msgstr "Edytuj zak³adki"
+
+#: perms.php:235
+msgid "Edit Permissions"
+msgstr "Edytuj uprawnienia"
+
+#: perms.php:242
+#, php-format
+msgid "Edit Permissions for %s"
+msgstr "Edytuj uprawnienia dla %s"
+
+#: lib/Trean.php:200
+msgid "Expectation Failed"
+msgstr "B³êdna oczekiwana"
+
+#: templates/data/export.inc:4
+msgid "Export Bookmarks"
+msgstr "Eksport zak³adek"
+
+#: templates/data/import.inc:9
+msgid "File to import:"
+msgstr "Plik do importu:"
+
+#: templates/add/add.inc:70
+msgid "Firefox/Mozilla"
+msgstr "Firefox/Mozilla"
+
+#: config/prefs.php.dist:64
+msgid "First level shown"
+msgstr "Pokazany pierwszy poziom"
+
+#: templates/views/BookmarkList.php:26 templates/edit/bookmark.inc:26
+#: templates/add/add.inc:47 lib/Block/bookmarks.php:42
+msgid "Folder"
+msgstr "Folder"
+
+#: templates/browse.php:70 templates/browse.php:71
+msgid "Folder Actions"
+msgstr "Czynno¶ci na folderach"
+
+#: lib/Bookmarks.php:353
+msgid "Folder names must be non-empty"
+msgstr "Nazwal folderu nie mo¿e byæ pusta"
+
+#: templates/data/import.inc:11
+msgid "Folder to import into:"
+msgstr "Importuj folder do:"
+
+#: lib/Trean.php:186
+msgid "Forbidden"
+msgstr "Zabroniony"
+
+#: lib/Trean.php:178
+msgid "Found"
+msgstr "Znaleziony"
+
+#: lib/Trean.php:205
+msgid "Gateway Time-out"
+msgstr ""
+
+#: lib/Trean.php:193
+msgid "Gone"
+msgstr ""
+
+#: reports.php:24 templates/reports.php:33
+msgid "HTTP Status"
+msgstr "Status HTTP"
+
+#: lib/Trean.php:206
+msgid "HTTP Version not supported"
+msgstr "Nie wspierana wersja HTTP"
+
+#: lib/Block/bookmarks.php:50 config/prefs.php.dist:22
+msgid "Highest Rated"
+msgstr "Najczê¶ciej odwiedzane"
+
+#: lib/Block/highestrated.php:3 lib/Block/highestrated.php:49
+msgid "Highest-rated Bookmarks"
+msgstr "Najczê¶ciej odwiedzane zak³adki"
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr "Import"
+
+#: data.php:183 templates/data/import.inc:4
+msgid "Import Bookmarks"
+msgstr "Import Zak³adek"
+
+#: templates/data/export.inc:9
+msgid "Include Subfolders"
+msgstr "W³±czaj±c podfoldery"
+
+#: lib/Trean.php:201
+msgid "Internal Server Error"
+msgstr "Wewnêtrzny b³±d serwera"
+
+#: templates/add/add.inc:72
+msgid "Internet Explorer"
+msgstr "Internet Explorer"
+
+#: templates/data/import.inc:7
+msgid ""
+"Internet Explorer users will need to export their current Favorites by going "
+"to the \"File\" menu and selecting \"Import and Export\"."
+msgstr ""
+"U¿ytkownicy Internt Explorer musz± wyeksportowaæ Ulubione przez menu\"Plik\" "
+"wybieraj±c opcjê \"Importi Ekspor\"."
+
+#: lib/Trean.php:194
+msgid "Length Required"
+msgstr "Wymagana d³ugo¶æ"
+
+#: lib/Forms/Search.php:25
+msgid "Match"
+msgstr "Pasuj±ce"
+
+#: lib/api.php:30
+msgid "Maximum Number of Bookmarks"
+msgstr "Maksymalna liczba zak³adek"
+
+#: lib/api.php:27
+msgid "Maximum Number of Folders"
+msgstr "Maksymalna liczba folderów "
+
+#: lib/Block/tree_menu.php:3
+msgid "Menu List"
+msgstr "Menu Lista"
+
+#: lib/Trean.php:188
+msgid "Method Not Allowed"
+msgstr ""
+
+#: lib/Block/bookmarks.php:51 config/prefs.php.dist:23
+msgid "Most Clicked"
+msgstr "Najczê¶ciej odwiedzane"
+
+#: lib/Block/mostclicked.php:3 lib/Block/mostclicked.php:49
+msgid "Most-clicked Bookmarks"
+msgstr "Najczê¶ciej odwiedzane zak³adki"
+
+#: templates/search.php:71
+msgid "Move"
+msgstr "Przenie¶"
+
+#: lib/Trean.php:177
+msgid "Moved Permanently"
+msgstr "Przesuniêto na sta³e"
+
+#: edit.php:151
+msgid "Moved bookmark: "
+msgstr "Przesuniêto zak³adki: "
+
+#: edit.php:164
+msgid "Moved folder: "
+msgstr "Przesunieto folder"
+
+#: templates/data/import.inc:6
+msgid ""
+"Mozilla/Firefox users will need to export their current Bookmarks by going "
+"into \"Bookmark Manager\" and selecting \"Export\" from the \"Tools\" menu."
+msgstr ""
+"U¿ytkownicy Mozilla/Firefox bêd± musieli eksportowaæ swoje Zak³adki przez "
+"przej¶cie do \"Menad¿er zak³±dek\" i wybranie \"Eksport\" z menu \"Narzêdzia"
+"\"."
+
+#: lib/Trean.php:176
+msgid "Multiple Choices"
+msgstr "Wielokrotne wybory"
+
+#: templates/edit/folder.inc:9
+msgid "Name"
+msgstr "Nazwa"
+
+#: add.php:111 templates/browse.php:136 templates/add/add.inc:27
+msgid "New Bookmark"
+msgstr "Nowa zak³adka"
+
+#: lib/Trean.php:85
+msgid "New Folder"
+msgstr "Nowy folder"
+
+#: templates/browse.php:80
+msgid "New folder"
+msgstr "Nowy folder"
+
+#: templates/edit/delete_folder_confirmation.inc:15
+msgid "No"
+msgstr "Nie"
+
+#: templates/search.php:76
+msgid "No Bookmarks found"
+msgstr "Nie znaleziono zak³adek"
+
+#: lib/Trean.php:173
+msgid "No Content"
+msgstr "Brak zawarto¶ci"
+
+#: lib/Block/bookmarks.php:128 lib/Block/highestrated.php:73
+#: lib/Block/mostclicked.php:73
+msgid "No bookmarks to display"
+msgstr "Brak zak³adek do wy¶wietlenia"
+
+#: lib/Trean.php:172
+msgid "Non-Authoritative Information"
+msgstr "Nie oficjalna informacja"
+
+#: templates/search.php:66
+msgid "None"
+msgstr "¯aden"
+
+#: lib/Trean.php:189
+msgid "Not Acceptable"
+msgstr "Nie akceptowany"
+
+#: lib/Trean.php:187
+msgid "Not Found"
+msgstr "Nie znaleziono"
+
+#: lib/Trean.php:202
+msgid "Not Implemented"
+msgstr "Nie zaimplementowano"
+
+#: lib/Trean.php:180
+msgid "Not Modified"
+msgstr "Nie zmodyfikowany"
+
+#: templates/add/add.inc:76
+msgid "Note:"
+msgstr "Notatka: "
+
+#: edit.php:271
+msgid "Nothing to edit."
+msgstr "Nic do edycji."
+
+#: lib/Block/highestrated.php:27 lib/Block/mostclicked.php:27
+msgid "Number of bookmarks to show"
+msgstr "Lista zak³adek do pokazania"
+
+#: lib/Trean.php:169
+msgid "OK"
+msgstr "OK"
+
+#: lib/Forms/Search.php:24
+msgid "OR"
+msgstr "LUB"
+
+#: templates/add/add.inc:77
+#, php-format
+msgid ""
+"On newer versions of Internet Explorer, you may have to add %s://%s to your "
+"Trusted Zone for this to work."
+msgstr ""
+"W nowszej wersji Internet Eksplorer mo¿esz bêdziesz musia³ dodaæ %s://%s do "
+"strefy zaufania by móc pracowaæ."
+
+#: perms.php:56
+msgid ""
+"Only the owner or system administrator may change ownership or owner "
+"permissions for a share"
+msgstr ""
+"Tylko w³a¶ciciel lub administrator systemu mo¿e zmieniæ wspó³w³asno¶æ lub "
+"w³a¶ciciela uprawnieñ dla udzia³u"
+
+#: config/prefs.php.dist:54
+msgid "Open links in a new window?"
+msgstr "Czy otworzyæ odno¶nik w nowym oknie?"
+
+#: config/prefs.php.dist:9
+msgid "Other Options"
+msgstr "Inne opcje"
+
+#: lib/Trean.php:175
+msgid "Partial Content"
+msgstr "Czê¶ciowa zawarto¶æ"
+
+#: lib/Trean.php:185
+msgid "Payment Required"
+msgstr "Wymagana op³ata"
+
+#: templates/add/add.inc:4
+msgid "Please enter a name for the new folder:"
+msgstr "Proszê podaæ nazwê dla nowego folderu:"
+
+#: lib/Trean.php:195
+msgid "Precondition Failed"
+msgstr ""
+
+#: lib/Trean.php:190
+msgid "Proxy Authentication Required"
+msgstr "Wymagane autoryzacja proxy"
+
+#: templates/views/BookmarkList.php:27
+msgid "Rating"
+msgstr "Notowanie"
+
+#: templates/edit/delete_folder_confirmation.inc:3
+#, php-format
+msgid "Really delete \"%s\" and all of its bookmarks?"
+msgstr "Czy napewno skasowaæ \"%s\" i wszystkie zak³adki w ¶rodnku?"
+
+#: templates/browse.php:98
+msgid "Rename this folder"
+msgstr "Zmieñ nazwê tego folderu"
+
+#: reports.php:17
+msgid "Reports"
+msgstr "Raporty"
+
+#: lib/Trean.php:196
+msgid "Request Entity Too Large"
+msgstr "¯±dana jednostka jest za du¿a"
+
+#: lib/Trean.php:191
+msgid "Request Time-out"
+msgstr "Up³yna³ czas ¿±dania"
+
+#: lib/Trean.php:197
+msgid "Request-URI Too Large"
+msgstr "¯±dany-URI za du¿y"
+
+#: lib/Trean.php:199
+msgid "Requested range not satisfiable"
+msgstr "¯±dany przedzia³ nie spe³niony"
+
+#: lib/Trean.php:174
+msgid "Reset Content"
+msgstr "Wyczy¶æ zawarto¶æ"
+
+#: templates/edit/footer.inc:1
+msgid "Save"
+msgstr "Zapisz"
+
+#: search.php:21 lib/Forms/Search.php:20 lib/Block/tree_menu.php:33
+msgid "Search"
+msgstr "Wyszukiwanie"
+
+#: lib/Forms/Search.php:18
+msgid "Search Bookmarks"
+msgstr "Znajd¼ zak³adki"
+
+#: search.php:57
+#, php-format
+msgid "Search Results (%s)"
+msgstr "Wyniki wyszukiwania (%s)"
+
+#: lib/Trean.php:179
+msgid "See Other"
+msgstr "Zobacz inne"
+
+#: templates/search.php:65
+msgid "Select All"
+msgstr "Wybierz wszystkie"
+
+#: templates/views/BookmarkList.php:29
+msgid "Select All/Select None"
+msgstr "Wybierz wszystko/Brak wyboru"
+
+#: templates/search.php:66
+msgid "Select None"
+msgstr "Brak wyboru"
+
+#: templates/search.php:64
+#, php-format
+msgid "Select: %s, %s"
+msgstr "Wybierz: %s, %s"
+
+#: lib/Trean.php:204
+msgid "Service Unavailable"
+msgstr "Serwis niedostêpny"
+
+#: config/prefs.php.dist:11
+msgid ""
+"Set sort order and direction, choose whether links open in a new window, and "
+"what is visible in bookmark listings."
+msgstr ""
+
+#: config/prefs.php.dist:66
+msgid "Should your list of bookmark folders be open when you log in?"
+msgstr "Czy otworzyæ folder z twoj± list± zak³±dek podczas logowania?"
+
+#: config/prefs.php.dist:45
+#, fuzzy
+msgid "Show folder actions panel?"
+msgstr "Pozwoliæ tworzyæ foldery?"
+
+#: config/prefs.php.dist:24
+msgid "Sort bookmarks by:"
+msgstr "Srotuj zak³adki wg:"
+
+#: lib/Block/bookmarks.php:46
+msgid "Sort by"
+msgstr "Sortuj wg"
+
+#: config/prefs.php.dist:35
+msgid "Sort direction:"
+msgstr "Kierunek sortowania"
+
+#: lib/Trean.php:168
+msgid "Switching Protocols"
+msgstr "Prze³±cza nie protoko³ów"
+
+#: lib/Block/bookmarks.php:58 lib/Block/highestrated.php:33
+#: lib/Block/mostclicked.php:33
+msgid "Template"
+msgstr "Szablon"
+
+#: lib/Trean.php:182
+msgid "Temporary Redirect"
+msgstr "Tymczasowo przeadresowany"
+
+#: templates/browse.php:155
+msgid "There are no bookmarks in this folder"
+msgstr "Brak zak³adek w folderze"
+
+#: edit.php:206
+#, php-format
+msgid "There was a problem copying the bookmark: %s"
+msgstr "Wyst±pi³ problem podczas kopiowania zak³adki: %s"
+
+#: edit.php:51 edit.php:102
+#, php-format
+msgid "There was a problem deleting the bookmark: %s"
+msgstr "Wyst±pi³ problem podczas usuówania zak³adki: %s"
+
+#: edit.php:115
+#, php-format
+msgid "There was a problem deleting the folder: %s"
+msgstr "Wyst±pi³ problem podczas kasowania folderu: %s"
+
+#: edit.php:153
+#, php-format
+msgid "There was a problem moving the bookmark: %s"
+msgstr "Wyst±pi³ problem podczas przenoszenia zak³±dki: %s"
+
+#: edit.php:166
+#, php-format
+msgid "There was a problem moving the folder: %s"
+msgstr "Wyst±pi³ problem podczas przenoszenia folderu: %s"
+
+#: add.php:59
+#, php-format
+msgid "There was an error adding the bookmark: %s"
+msgstr "Wyst±pi³ b³±d podczas dodawania zak³±dki: %s"
+
+#: add.php:43 add.php:100 edit.php:137 edit.php:191
+#, php-format
+msgid "There was an error adding the folder: %s"
+msgstr "Wyst±pi³ problem podczas dodawania folderu: %s"
+
+#: edit.php:72
+#, php-format
+msgid "There was an error saving the bookmark: %s"
+msgstr "Wyst±pi³ b³±d podczas zapisywania zak³adki: %s"
+
+#: edit.php:85
+#, php-format
+msgid "There was an error saving the folder: %s"
+msgstr "Wyst±pi³ b³±d podczas zapisywania folderu: %s"
+
+#: templates/views/BookmarkList.php:25 templates/edit/bookmark.inc:11
+#: templates/add/add.inc:37 lib/Forms/Search.php:21 lib/Block/bookmarks.php:49
+#: config/prefs.php.dist:21
+msgid "Title"
+msgstr "Tytu³"
+
+#: templates/add/add.inc:69
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr "Aby byæ w stanie szybko dodaæ zak³adki od twojej przegl±darki:"
+
+#: templates/reports.php:103
+msgid "Total"
+msgstr "Ca³kowity"
+
+#: templates/edit/bookmark.inc:21 templates/add/add.inc:32
+#: lib/Forms/Search.php:23
+msgid "URL"
+msgstr "URL"
+
+#: lib/Trean.php:184
+msgid "Unauthorized"
+msgstr "Niezatwierdzony"
+
+#: templates/reports.php:100
+#, php-format
+msgid "Unknown (%s)"
+msgstr "Nieznane (%s)"
+
+#: lib/Trean.php:198
+msgid "Unsupported Media Type"
+msgstr "Nieobs³ugiwany typ mediów"
+
+#: perms.php:228
+#, php-format
+msgid "Updated %s."
+msgstr "Uaktualniony %s"
+
+#: lib/Trean.php:181
+msgid "Use Proxy"
+msgstr "Uzyj Proxy"
+
+#: templates/add/add.inc:74
+msgid ""
+"While browsing you will be able to bookmark the current page by clicking "
+"your new \"Add to Bookmarks\" shortcut."
+msgstr ""
+"Podczas przegl±dania bêdziesz mia³ mo¿liwo¶æ dodania aktualnej strony do "
+"zak³adek poprzez klikniêcie swojego nowego skrótu \"Dodaj do zak³adek\"."
+
+#: lib/Forms/Search.php:25
+msgid "Whole Field"
+msgstr "Ca³e pole"
+
+#: templates/edit/delete_folder_confirmation.inc:9
+msgid "Yes"
+msgstr "Tak"
+
+#: add.php:21 data.php:64 data.php:131
+#, php-format
+msgid "You are not allowed to create more than %d bookmarks."
+msgstr "Nie masz uprawnieñ do tworzenia wiêcej ni¿ %d zak³adek."
+
+#: add.php:84 data.php:55 data.php:106
+#, php-format
+msgid "You are not allowed to create more than %d folders."
+msgstr "Nie masz pozwolenia do tworzenia wiêcej ni¿ %d folderów."
+
+#: browse.php:22
+msgid "You do not have permission to view this folder."
+msgstr "Nie masz uprawnieñ do przegl±dania tego folderu."
+
+#: templates/add/add.inc:11
+msgid "You must select a target folder first"
+msgstr "Najperw musisz wybraæ folder docelowy."
+
+#: lib/Trean.php:144
+msgid "_Browse"
+msgstr "Przegl±daj (_b)"
+
+#: templates/browse.php:147
+msgid "_Delete Bookmarks"
+msgstr "Usuñ zak³a_dki"
+
+#: templates/browse.php:142
+msgid "_Edit Bookmarks"
+msgstr "_Edytuj zak³adki"
+
+#: lib/Trean.php:150
+msgid "_Import/Export"
+msgstr "_Import/Eksport"
+
+#: templates/browse.php:137
+msgid "_New Bookmark"
+msgstr "_Nowa zak³adka"
+
+#: lib/Trean.php:146
+msgid "_Reports"
+msgstr "_Raporty"
+
+#: lib/Trean.php:145
+msgid "_Search"
+msgstr "Wyszukiwanie"
+
+#: templates/block/1line.inc:22 templates/block/2line.inc:26
+#: templates/block/standard.inc:24
+msgid "click"
+msgstr "klik"
+
+#: templates/block/1line.inc:22 templates/block/2line.inc:26
+#: templates/block/standard.inc:24
+msgid "clicks"
+msgstr "klikniêcia"
diff --git a/trean/po/sl_SI.po b/trean/po/sl_SI.po
new file mode 100644
index 000000000..eace20641
--- /dev/null
+++ b/trean/po/sl_SI.po
@@ -0,0 +1,904 @@
+# Slovenian translations for Trean packaga
+# Slovenski prevod Trean paketa
+# Copyright 2006-2009 The Horde Project
+# This file is distributed under the same license as the horde package.
+# Automatically generated, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: trean\n"
+"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
+"POT-Creation-Date: 2006-07-25 11:30+0200\n"
+"PO-Revision-Date: 2006-04-30 10:32+0100\n"
+"Last-Translator: duck@obala.net\n"
+"Language-Team: sl_SI \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: edit.php:248
+#, php-format
+msgid "\"%s\" was not renamed: %s."
+msgstr "\"%s\" ni bil preimenovan: %s."
+
+#: data.php:153
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "Uvoženih je bilo %d map in %d priljebljenih."
+
+#: templates/reports/http-status.inc:127
+#, php-format
+msgid "%s Bookmarks"
+msgstr "%s priljubljene"
+
+#: templates/reports/clicks.inc:49
+#, php-format
+msgid "%s Clicks"
+msgstr "%s Klikov"
+
+#: reports.php:30
+#, php-format
+msgid "%s Response Codes"
+msgstr "%s Å ifre odgovorov"
+
+#: scripts/upgrades/2005-03-15_move_to_horde_share.php:123 lib/base.php:69
+#, php-format
+msgid "%s's Bookmarks"
+msgstr "Priljublje %s"
+
+#: templates/reports/clicks.inc:47
+msgid "1 Click"
+msgstr "1 Klik"
+
+#: lib/Block/bookmarks.php:56
+msgid "1 Line"
+msgstr "1. vrstica"
+
+#: templates/reports/http-status.inc:59
+#, php-format
+msgid "1xx Response Codes (%s)"
+msgstr "1xx Å ifra odgovora (%s)"
+
+#: lib/Block/bookmarks.php:55
+msgid "2 Line"
+msgstr "2. vrstica"
+
+#: templates/reports/http-status.inc:65
+#, php-format
+msgid "2xx Response Codes (%s)"
+msgstr "2xx Å ifra odgovoa (%s)"
+
+#: lib/Block/bookmarks.php:54
+msgid "3 Line"
+msgstr "3. vrstica"
+
+#: templates/reports/http-status.inc:76
+#, php-format
+msgid "3xx Response Codes (%s)"
+msgstr "3xx Å ifra odgovoa (%s)"
+
+#: templates/reports/http-status.inc:87
+#, php-format
+msgid "4xx Response Codes (%s)"
+msgstr "5xx Å ifra odgovoa (%s)"
+
+#: templates/reports/http-status.inc:109
+#, php-format
+msgid "5xx Response Codes (%s)"
+msgstr "5xx Å ifra odgovoa (%s)"
+
+#: lib/Trean.php:262
+msgid "Accepted"
+msgstr "Sprejeta"
+
+#: lib/Block/tree_menu.php:24
+msgid "Add"
+msgstr "Dodaj"
+
+#: add.php:111
+msgid "Add Bookmark"
+msgstr "Dodaj Priljubljeno povezavo"
+
+#: templates/add/add.inc:31
+msgid "Add a new bookmark"
+msgstr "Dodaj novo povezavo"
+
+#: templates/add/add.inc:86
+msgid "Add to Bookmarks"
+msgstr "Dodaj v Priljubljene"
+
+#: templates/search/results_header.inc:12 templates/browse/bookmarks.inc:30
+msgid "All"
+msgstr "Vse"
+
+#: lib/Block/bookmarks.php:48
+msgid "All Bookmarks"
+msgstr "Vsi Zaznamki"
+
+#: lib/Trean.php:32
+#, php-format
+msgid "An error occured listing categories: %s"
+msgstr "Prišlo je do napake pri prikazovanjzu kategorije: %s"
+
+#: lib/Trean.php:61
+#, php-format
+msgid "An error occurred counting categories: %s"
+msgstr "Prišlo je do napake pri štetju kategorije: %s"
+
+#: templates/search/search.inc:30
+msgid "And"
+msgstr "in"
+
+#: templates/search/search.inc:39
+msgid "Any Part of field"
+msgstr "Katerikoli del polja"
+
+#: templates/search/javascript.inc:29
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr "ResniÄno želite izbrissatni izbrane povezave?"
+
+#: templates/browse/javascript.inc:114
+msgid "Are you sure you want to delete the selected items?"
+msgstr "ResniÄno želite izbrissatni izbrane povezave?"
+
+#: perms.php:50
+msgid "Attempt to edit a non-existent share."
+msgstr "PoskuÅ¡ali ste urediti neobstojeÄe deljene povezave."
+
+#: lib/Trean.php:294
+msgid "Bad Gateway"
+msgstr "Slab prehod"
+
+#: lib/Trean.php:274
+msgid "Bad Request"
+msgstr "Slab zahtevek"
+
+#: lib/Bookmarks.php:53
+msgid "Bookmark names must be non-empty"
+msgstr "Imena ne morejo biti prazna"
+
+#: data.php:17 templates/browse/bookmarks.inc:33 lib/Block/bookmarks.php:3
+#: lib/Block/bookmarks.php:45 lib/Block/bookmarks.php:74
+msgid "Bookmarks"
+msgstr "Priljubljene"
+
+#: browse.php:89
+msgid "Browse"
+msgstr "Prebrskaj"
+
+#: templates/edit/footer.inc:2
+msgid "Cancel"
+msgstr "PrekliÄi"
+
+#: templates/browse/bookmarks.inc:32
+msgid "Categories"
+msgstr "Kategorije"
+
+#: templates/edit/bookmark.inc:79 templates/add/add.inc:51
+#: lib/Block/bookmarks.php:41
+msgid "Category"
+msgstr "Kategorija"
+
+#: lib/Trean.php:83
+msgid "Category does not exist."
+msgstr "Kategorija ne obstaja"
+
+#: lib/Bookmarks.php:32
+msgid "Category names must be non-empty"
+msgstr "Imena kategorij ne morejo biti prazna"
+
+#: templates/data/import.inc:11
+msgid "Category to import into:"
+msgstr "Kategorija v katero bomo uvozili:"
+
+#: config/prefs.php.dist:11
+msgid "Change the number of columns to display in browse and search results."
+msgstr "Spremeni tevilo kolon, ki se bodo prikazale v brskanju in iskanju."
+
+#: templates/search/search.inc:26
+msgid "Combine"
+msgstr "Združi"
+
+#: config/prefs.php.dist:44
+msgid "Completely collapsed"
+msgstr "Popolnoma združeno"
+
+#: config/prefs.php.dist:46
+msgid "Completely expanded"
+msgstr "Popolnoma razširjeno"
+
+#: lib/Trean.php:283
+msgid "Conflict"
+msgstr "Nasprotje"
+
+#: lib/Trean.php:258
+msgid "Continue"
+msgstr "Nadaljuj"
+
+#: edit.php:222
+msgid "Copied bookmark: "
+msgstr "Podvojen zaznamek: "
+
+#: templates/search/results_header.inc:19 templates/browse/bookmarks.inc:52
+msgid "Copy"
+msgstr "Podvoji"
+
+#: edit.php:231
+#, php-format
+msgid "Copying categories is not supported."
+msgstr "Podvojevanje kategorij ni podpirto."
+
+#: lib/Trean.php:261
+msgid "Created"
+msgstr "Ustvarjeno"
+
+#: templates/reports/http-status.inc:119
+#, php-format
+msgid "DNS Failure or Other Error (%s)"
+msgstr "DNS pregled ali druga napaka (%s)"
+
+#: templates/search/results_header.inc:17 templates/browse/bookmarks.inc:43
+msgid "Delete"
+msgstr "Izbriši"
+
+#: templates/edit/bookmark.inc:72
+msgid "Delete Bookmark"
+msgstr "Izbriši zaznamek"
+
+#: templates/browse/javascript.inc:32
+msgid "Delete current category?"
+msgstr "Pobriem trenutno kategorijo?"
+
+#: templates/browse/bookmarks.inc:70 templates/browse/bookmarks.inc:174
+msgid "Delete this Category"
+msgstr "Pobriši to kategorijo"
+
+#: edit.php:34 edit.php:109
+msgid "Deleted bookmark: "
+msgstr "Izbrise povezave: "
+
+#: edit.php:123
+msgid "Deleted category: "
+msgstr "Izbrsana kategorija: "
+
+#: templates/search/search.inc:21 templates/edit/bookmark.inc:18
+#: templates/add/add.inc:46
+msgid "Description"
+msgstr "Opis"
+
+#: config/prefs.php.dist:10
+msgid "Display Options"
+msgstr "Nastavitve prikazovanja"
+
+#: config/prefs.php.dist:74
+msgid "Display bookmark rating in browse/search view?"
+msgstr "Prkažem ptetje med brskanjem in iskanjem?"
+
+#: config/prefs.php.dist:56
+msgid "Display edit buttons when displaying Bookmarks?"
+msgstr "Prikaži gumbe za urejanje v zaznamkih?"
+
+#: templates/data/export.inc:11
+msgid "Download Category"
+msgstr "Shrani Kategorijo"
+
+#: templates/add/add.inc:77
+msgid "Drag the \"Add to Bookmarks\" link below onto your \"Links\" Bar"
+msgstr ""
+"Povleci povezavo \"Dodaj v zaznamke\" v vrstico brskalnika, kjer piše "
+"\"Osebne povezave\""
+
+#: templates/add/add.inc:75
+msgid ""
+"Drag the \"Add to Bookmarks\" link below onto your \"Personal Toolbar\"."
+msgstr ""
+"Povleci povezavo \"Dodaj v zaznamke\" v vrstico brskalnika, kjer piše "
+"\"Osebni zaznamki\""
+
+#: templates/search/results_header.inc:16 templates/browse/bookmarks.inc:37
+msgid "Edit"
+msgstr "Uredi"
+
+#: edit.php:282
+msgid "Edit Bookmark"
+msgstr "Uredi zaznamek"
+
+#: perms.php:241
+msgid "Edit Permissions"
+msgstr "Uredi privilegije"
+
+#: perms.php:244
+#, php-format
+msgid "Edit Permissions for %s"
+msgstr "Uredi pravice za %s"
+
+#: lib/Trean.php:291
+msgid "Expectation Failed"
+msgstr "NeuspeÅ¡no priÄakovanje"
+
+#: templates/data/export.inc:4
+msgid "Export Bookmarks"
+msgstr "Izvozi priljubljene"
+
+#: templates/data/import.inc:9
+msgid "File to import:"
+msgstr "Datoteka za uvoz:"
+
+#: config/prefs.php.dist:45
+msgid "First level shown"
+msgstr "Prikazan prvi nivo"
+
+#: lib/Trean.php:277
+msgid "Forbidden"
+msgstr "Nedovoljeno"
+
+#: lib/Trean.php:269
+msgid "Found"
+msgstr "Najdeno"
+
+#: lib/Trean.php:296
+msgid "Gateway Time-out"
+msgstr "Vrata pretekla"
+
+#: lib/Trean.php:284
+msgid "Gone"
+msgstr "Å lo"
+
+#: reports.php:30 templates/reports/list.inc:7
+#: templates/reports/http-status.inc:56 templates/edit/bookmark.inc:60
+msgid "HTTP Status"
+msgstr "HTTP status"
+
+#: lib/Trean.php:297
+msgid "HTTP Version not supported"
+msgstr "HTTP verzija ni podporta"
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr "Uvoz"
+
+#: data.php:181 templates/data/import.inc:4
+msgid "Import Bookmarks"
+msgstr "Uvozi priljubljene"
+
+#: templates/data/export.inc:9
+msgid "Include Subcategories"
+msgstr "VkljuÄi podkategorije"
+
+#: lib/Trean.php:292
+msgid "Internal Server Error"
+msgstr "Interna napaka oddaljenega strežnika"
+
+#: templates/add/add.inc:76
+msgid "Internet Explorer"
+msgstr "Internet Exporer"
+
+#: templates/data/import.inc:7
+msgid ""
+"Internet Explorer users will need to export their current Favorites by going "
+"to the \"File\" menu and selecting \"Import and Export\"."
+msgstr ""
+"Uporabniki Internet Explorerja bodo morali izvoziti svoje Priljbubljene "
+"tako, da kliknete na \"Datoteka\" in izberete \"Uvozi in izvozi\""
+
+#: lib/Trean.php:285
+msgid "Length Required"
+msgstr "Dolžina je zahtevana"
+
+#: templates/search/search.inc:36
+msgid "Match"
+msgstr "Zadetek"
+
+#: lib/api.php:34
+msgid "Maximum Number of Bookmarks"
+msgstr "NajveÄje Å¡tevilo zaznamkov"
+
+#: lib/api.php:31
+msgid "Maximum Number of Categories"
+msgstr "NajveÄje Å¡teivlo kategorij"
+
+#: lib/Block/tree_menu.php:3
+msgid "Menu List"
+msgstr "Meni"
+
+#: lib/Trean.php:279
+msgid "Method Not Allowed"
+msgstr "NaÄin ni dovoljen"
+
+#: templates/browse/bookmarks.inc:58
+msgid "More Actions"
+msgstr "VeÄ ukazov"
+
+#: templates/search/results_header.inc:18 templates/browse/bookmarks.inc:45
+msgid "Move"
+msgstr "Premakni"
+
+#: lib/Trean.php:268
+msgid "Moved Permanently"
+msgstr "Premaknjeno za vedno"
+
+#: edit.php:166
+msgid "Moved bookmark: "
+msgstr "Premaknjene povezave: "
+
+#: edit.php:180
+msgid "Moved category: "
+msgstr "Premaknjena kategorija"
+
+#: templates/add/add.inc:74
+msgid "Mozilla"
+msgstr "Mozilla"
+
+#: templates/data/import.inc:6
+msgid ""
+"Mozilla/Firefox users will need to export their current Bookmarks by going "
+"into \"Bookmark Manager\" and selecting \"Export\" from the \"Tools\" menu."
+msgstr ""
+"Uporabniki Firefox/Mozilla in bodo morali izvoziti svoje priljubljene tako, "
+"da bodo odprli \"Bookmark Manager\" in izbrali \"Export\" iz \"Tools\" "
+"menija."
+
+#: lib/Trean.php:267
+msgid "Multiple Choices"
+msgstr "VeÄ izbir"
+
+#: lib/Trean.php:87
+msgid "My Bookmarks"
+msgstr "Moji zaznamki"
+
+#: templates/edit/category.inc:13
+msgid "Name"
+msgstr "Ime"
+
+#: templates/browse/bookmarks.inc:60 templates/browse/bookmarks.inc:158
+#: lib/Block/bookmarks.php:81
+msgid "New Bookmark"
+msgstr "Nov zaznamek"
+
+#: lib/Trean.php:168
+msgid "New Category"
+msgstr "Nova kategorija"
+
+#: templates/browse/bookmarks.inc:67 templates/browse/bookmarks.inc:167
+msgid "New Subcategory"
+msgstr "Nova podkategorija"
+
+#: templates/search/results_none.inc:3
+msgid "No Bookmarks found"
+msgstr "Ni najdenih priljubljenih"
+
+#: lib/Trean.php:264
+msgid "No Content"
+msgstr "Ni vsebine"
+
+#: lib/Block/bookmarks.php:124
+msgid "No bookmarks to display"
+msgstr "Ni zaznamkov za prikaz"
+
+#: lib/Trean.php:263
+msgid "Non-Authoritative Information"
+msgstr "Ne-avtoritativna informacija"
+
+#: templates/search/results_header.inc:13 templates/browse/bookmarks.inc:31
+#: templates/reports/rating.inc:48
+msgid "None"
+msgstr "Noben"
+
+#: lib/Trean.php:280
+msgid "Not Acceptable"
+msgstr "Nedpoustno"
+
+#: lib/Trean.php:278
+msgid "Not Found"
+msgstr "Ne obstaja"
+
+#: lib/Trean.php:293
+msgid "Not Implemented"
+msgstr "Ni podprto"
+
+#: lib/Trean.php:271
+msgid "Not Modified"
+msgstr "Ni spremenjeno"
+
+#: templates/add/add.inc:80
+msgid "Note:"
+msgstr "Opomba:"
+
+#: edit.php:276
+msgid "Nothing to edit."
+msgstr "NiÄ za urediti."
+
+#: templates/reports/list.inc:13 templates/reports/clicks.inc:5
+msgid "Number of Clicks"
+msgstr "Å tevilo klikov"
+
+#: config/prefs.php.dist:22
+msgid ""
+"Number of columns to display in browse and search results (does not apply to "
+"tree view):"
+msgstr ""
+"Å tevilo kolon, ki jih prikažemo v izpisu (nima uÄinka na drevesno strukturo):"
+
+#: lib/Trean.php:260
+msgid "OK"
+msgstr "Da"
+
+#: templates/add/add.inc:81
+#, php-format
+msgid ""
+"On newer versions of Internet Explorer, you may have to add %s://%s to your "
+"Trusted Zone for this to work."
+msgstr ""
+"V novih verzijah Internet Explorerja, boste morali dodati %s://%s med Varne "
+"toÄke da vam bo naposredna povezava delovala."
+
+#: perms.php:62
+msgid ""
+"Only the owner or system administrator may change ownership or owner "
+"permissions for a share"
+msgstr "Le lastnik ali sistemski administrator lahko spremeni lastništvo"
+
+#: templates/menu.inc:2 templates/menu.inc:5 lib/Trean.php:208
+#: lib/Trean.php:213
+msgid "Open Fo_lder"
+msgstr "Odpri mapo"
+
+#: config/prefs.php.dist:65
+msgid "Open links in a new window?"
+msgstr "Odpri povezave v novih oknih"
+
+#: templates/search/search.inc:29
+msgid "Or"
+msgstr "Ali"
+
+#: config/prefs.php.dist:9
+msgid "Other Options"
+msgstr "Druge nastavitve"
+
+#: lib/Trean.php:266
+msgid "Partial Content"
+msgstr "Delna vsebina"
+
+#: lib/Trean.php:276
+msgid "Payment Required"
+msgstr "Zahtevano plaÄilo"
+
+#: templates/browse/javascript.inc:133 templates/browse/javascript.inc:168
+#: templates/add/add.inc:5
+msgid "Please enter a name for the new category:"
+msgstr "Prosim vnesite ime od nove kategorije:"
+
+#: templates/browse/javascript.inc:25
+msgid "Please enter the name of the new category:"
+msgstr "Prosim vnesite ime od nove kategorije:"
+
+#: templates/browse/javascript.inc:39
+msgid "Please modify the name accordingly"
+msgstr "Prosim popravite ime"
+
+#: templates/browse/javascript.inc:97 templates/browse/javascript.inc:112
+#: templates/browse/javascript.inc:152 templates/browse/javascript.inc:187
+msgid "Please select an item first"
+msgstr "Najprej izberite povezavo"
+
+#: lib/Trean.php:286
+msgid "Precondition Failed"
+msgstr "Predpogoj neizpolnjen"
+
+#: lib/Trean.php:281
+msgid "Proxy Authentication Required"
+msgstr "Zahtevna je avtentikacija pri posredniku"
+
+#: templates/edit/bookmark.inc:28
+msgid "Rating"
+msgstr "ToÄkovanje"
+
+#: templates/reports/list.inc:19 templates/reports/rating.inc:5
+msgid "Ratings"
+msgstr "ToÄkovanja"
+
+#: templates/edit/bookmark.inc:67
+#, php-format
+msgid "Redirect to %s"
+msgstr "Preusmerjen na %s"
+
+#: templates/browse/bookmarks.inc:71 templates/browse/bookmarks.inc:175
+msgid "Rename this Category"
+msgstr "Preimenuj to kategorijo"
+
+#: reports.php:18
+msgid "Reports"
+msgstr "PoroÄila"
+
+#: lib/Trean.php:287
+msgid "Request Entity Too Large"
+msgstr "Zahtevek predolg"
+
+#: lib/Trean.php:282
+msgid "Request Time-out"
+msgstr "Äas Äakanje se je iztekel"
+
+#: lib/Trean.php:288
+msgid "Request-URI Too Large"
+msgstr "Zahtevan URI je predolg"
+
+#: lib/Trean.php:290
+msgid "Requested range not satisfiable"
+msgstr "Zahtevana Å¡irina ni zadovoljujoÄa"
+
+#: templates/add/add.inc:64
+msgid "Reset"
+msgstr "Ponastavi"
+
+#: lib/Trean.php:265
+msgid "Reset Content"
+msgstr "Ponastavi vsebino"
+
+#: templates/edit/footer.inc:1 templates/add/add.inc:63
+msgid "Save"
+msgstr "Shrani"
+
+#: search.php:14 templates/search/search.inc:47 lib/Block/tree_menu.php:33
+msgid "Search"
+msgstr "Najdi"
+
+#: templates/search/search.inc:6
+msgid "Search Bookmarks"
+msgstr "Najdi v zaznamkih"
+
+#: templates/search/results_none.inc:2
+msgid "Search Results"
+msgstr "Rezultati iskanja"
+
+#: search.php:65
+#, php-format
+msgid "Search Results (%s)"
+msgstr "Rezultati iskanja (%s)"
+
+#: lib/Trean.php:270
+msgid "See Other"
+msgstr "Preglej ostale"
+
+#: templates/search/results_header.inc:12 templates/browse/bookmarks.inc:30
+msgid "Select All"
+msgstr "Najdi vse"
+
+#: templates/browse/bookmarks.inc:33
+msgid "Select All Bookmarks"
+msgstr "Najdi v vseh zaznamkih"
+
+#: templates/browse/bookmarks.inc:32
+msgid "Select All Categories"
+msgstr "Izberi vse kategorije"
+
+#: templates/search/results_header.inc:13 templates/browse/bookmarks.inc:31
+msgid "Select None"
+msgstr "Ne izberi nobene"
+
+#: templates/search/results_header.inc:11
+#, php-format
+msgid "Select: %s, %s"
+msgstr "Izberi: %s, %s"
+
+#: templates/browse/bookmarks.inc:29
+#, php-format
+msgid "Select: %s, %s, %s, %s"
+msgstr "Izberi: %s, %s, %s, %s"
+
+#: lib/Trean.php:295
+msgid "Service Unavailable"
+msgstr "Servis nedostopen"
+
+#: templates/browse/bookmarks.inc:74 templates/browse/bookmarks.inc:182
+msgid "Set Permissions"
+msgstr "Nastavi previce"
+
+#: config/prefs.php.dist:47
+msgid "Should your list of bookmark categories be open when you log in?"
+msgstr "Odprem spisek proljubljenih pri prijavi?"
+
+#: lib/Trean.php:259
+msgid "Switching Protocols"
+msgstr "Zamenjava protokolov"
+
+#: lib/Block/bookmarks.php:51
+msgid "Template"
+msgstr "Å ablona"
+
+#: config/prefs.php.dist:35
+msgid "Template to use when displaying bookmarks:"
+msgstr "Å ablono, ki jo bomo uporabili pri prikazu priljubljenih:"
+
+#: lib/Trean.php:273
+msgid "Temporary Redirect"
+msgstr "ZaÄasno preusmerjen"
+
+#: templates/browse/bookmarks.inc:186
+msgid "There are no bookmarks in this category"
+msgstr "Ni priljubljenih v tej kategoriji"
+
+#: edit.php:224
+#, php-format
+msgid "There was a problem copying the bookmark: %s"
+msgstr "Prišlo je do napake pri podvajanju povezave: %s"
+
+#: edit.php:36 edit.php:111
+#, php-format
+msgid "There was a problem deleting the bookmark: %s"
+msgstr "Prišlo je do napake pri brisanju povezave: %s"
+
+#: edit.php:125
+#, php-format
+msgid "There was a problem deleting the category: %s"
+msgstr "Prišlo je do napake pri brisanju povezave: %s"
+
+#: edit.php:168
+#, php-format
+msgid "There was a problem moving the bookmark: %s"
+msgstr "Prišlo je do napake pri premikanju povezave: %s"
+
+#: edit.php:182
+#, php-format
+msgid "There was a problem moving the category: %s"
+msgstr "Prišlo je do napake pri premiku kategorije: %s"
+
+#: add.php:64
+#, php-format
+msgid "There was an error adding the bookmark: %s"
+msgstr "Prišlo je do napake pri dodajanju povezave: %s"
+
+#: edit.php:152 edit.php:208 add.php:43 add.php:100
+#, php-format
+msgid "There was an error adding the category: %s"
+msgstr "Prišlo je do napake pri dodajanju kategorije: %s"
+
+#: edit.php:65
+#, php-format
+msgid "There was an error saving the bookmark: %s"
+msgstr "Prišlo je do napake pri shranjevanju povezave: %s"
+
+#: edit.php:78
+#, php-format
+msgid "There was an error saving the category: %s"
+msgstr "Prišlo je do napake pri shranjevanju kategorije: %s"
+
+#: templates/search/search.inc:16 templates/edit/bookmark.inc:13
+#: templates/add/add.inc:41
+msgid "Title"
+msgstr "Naslov"
+
+#: config/prefs.php.dist:33
+msgid "Title Only"
+msgstr "Samo naslov"
+
+#: config/prefs.php.dist:32
+msgid "Title and Description"
+msgstr "Naslov in Opis"
+
+#: config/prefs.php.dist:31
+msgid "Title, URL, and Description"
+msgstr "Naslov, URL in opis"
+
+#: templates/add/add.inc:73
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr "Da lahko hitro doda zaznamke iz svojega brskalnika:"
+
+#: lib/Block/bookmarks.php:49
+msgid "Top 10 Highest Rated"
+msgstr "10 najbolj toÄkovanih"
+
+#: lib/Block/bookmarks.php:50
+msgid "Top 10 Most Clicked"
+msgstr "10 najbolj klikanih"
+
+#: templates/reports/http-status.inc:126
+msgid "Total"
+msgstr "Skupaj"
+
+#: config/prefs.php.dist:34
+msgid "Tree View"
+msgstr "Drevesni pregled"
+
+#: templates/search/search.inc:11 templates/edit/bookmark.inc:23
+#: templates/add/add.inc:36
+msgid "URL"
+msgstr "URL"
+
+#: lib/Trean.php:275
+msgid "Unauthorized"
+msgstr "Neavtorizian"
+
+#: templates/reports/http-status.inc:123
+#, fuzzy, php-format
+msgid "Unknown (%s)"
+msgstr "Nezanan (%d)"
+
+#: lib/Trean.php:289
+msgid "Unsupported Media Type"
+msgstr "Nepodprt Media Type"
+
+#: perms.php:234
+#, php-format
+msgid "Updated %s."
+msgstr "Ažuriran %s."
+
+#: lib/Trean.php:272
+msgid "Use Proxy"
+msgstr "Uporabi posrednika"
+
+#: templates/reports/list.inc:1
+msgid "View Report"
+msgstr "Preglej poroÄilo"
+
+#: templates/add/add.inc:78
+msgid ""
+"While browsing you will be able to bookmark the current page by clicking "
+"your new \"Add to Bookmarks\" shortcut."
+msgstr ""
+"Med brskanjem, bo lahko dodal zaznamke s klikom na povezavo \"Dodaj k "
+"zaznamkom\"."
+
+#: templates/search/search.inc:40
+msgid "Whole Field"
+msgstr "Celotno polje"
+
+#: templates/browse/javascript.inc:25
+msgid "You are creating a category folder."
+msgstr "Ustvarja kategorijsko mapo"
+
+#: data.php:61 data.php:128 add.php:21
+#, php-format
+msgid "You are not allowed to create more than %d bookmarks."
+msgstr "Nimate pravice tvorjenje veÄ kot %d povezav."
+
+#: data.php:52 data.php:103 add.php:84
+#, php-format
+msgid "You are not allowed to create more than %d categories."
+msgstr "Nimate pravice tvorjenja veÄ kot %d kategorij."
+
+#: templates/browse/javascript.inc:39
+msgid "You are renaming the current category folder."
+msgstr "Preimenuje trenutno kategorijsko mapo."
+
+#: browse.php:26
+msgid "You do not have permission to view this category."
+msgstr "Nimate pravice ogleda te kategorije"
+
+#: templates/browse/javascript.inc:143 templates/browse/javascript.inc:178
+#: templates/add/add.inc:13
+msgid "You must select a target category first"
+msgstr "Najprej morete izbrati cljano kategoijo"
+
+#: lib/Trean.php:230
+msgid "_Browse"
+msgstr "Brskaj"
+
+#: lib/Trean.php:241
+msgid "_Import/Export"
+msgstr "Uvoz/Izvoz"
+
+#: lib/Trean.php:234
+msgid "_New Bookmark"
+msgstr "Nova povezava"
+
+#: lib/Trean.php:237
+msgid "_Reports"
+msgstr "PoroÄila"
+
+#: lib/Trean.php:236
+msgid "_Search"
+msgstr "Najdi"
+
+#: templates/bookmark/1line.inc:33 templates/bookmark/standard.inc:33
+#: templates/bookmark/2line.inc:37 templates/search/results.inc:57
+#: templates/block/1line.inc:28 templates/block/standard.inc:29
+#: templates/block/2line.inc:31
+msgid "click"
+msgstr "klik"
+
+#: templates/bookmark/1line.inc:33 templates/bookmark/standard.inc:33
+#: templates/bookmark/2line.inc:37 templates/search/results.inc:57
+#: templates/block/1line.inc:28 templates/block/standard.inc:29
+#: templates/block/2line.inc:31
+msgid "clicks"
+msgstr "klikov"
diff --git a/trean/po/sv_SE.po b/trean/po/sv_SE.po
new file mode 100644
index 000000000..c68c9af69
--- /dev/null
+++ b/trean/po/sv_SE.po
@@ -0,0 +1,835 @@
+# Trean Swedish translation
+# Copyright 2004 Andreas Dahlen.
+# Andreas Dahlén , 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Trean 1.0-cvs\n"
+"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
+"POT-Creation-Date: 2005-06-14 22:08+0200\n"
+"PO-Revision-Date: 2005-06-16 08:48+0100\n"
+"Last-Translator: Andreas Dahlén \n"
+"Language-Team: Swedish \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: data.php:153
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "%d mappar och %d bokmärken importerades."
+
+#: templates/reports/http-status.inc:127
+#, php-format
+msgid "%s Bookmarks"
+msgstr "%s bokmärken"
+
+#: templates/browse/subcategories.inc:10
+#, php-format
+msgid "%s Categories"
+msgstr "%s kategorier"
+
+#: templates/reports/clicks.inc:49
+#, php-format
+msgid "%s Clicks"
+msgstr "%s klick"
+
+#: reports.php:30
+#, php-format
+msgid "%s Response Codes"
+msgstr "%s svar"
+
+#: lib/base.php:61 scripts/upgrades/2005-03-15_move_to_horde_share.php:123
+#, php-format
+msgid "%s's Bookmarks"
+msgstr "%s bokmärken"
+
+#: edit.php:186
+#, php-format
+msgid "'%s' was not renamed: %s."
+msgstr "Namnet byttes inte på '%s': %s."
+
+#: templates/reports/clicks.inc:47
+msgid "1 Click"
+msgstr "1 klick"
+
+#: lib/Block/bookmarks.php:56 config/prefs.php.dist:33
+msgid "1 Line"
+msgstr "1 rad"
+
+#: templates/reports/http-status.inc:59
+#, php-format
+msgid "1xx Response Codes (%s)"
+msgstr "1xx svar (%s)"
+
+#: lib/Block/bookmarks.php:55 config/prefs.php.dist:32
+msgid "2 Line"
+msgstr "2 rad"
+
+#: templates/reports/http-status.inc:65
+#, php-format
+msgid "2xx Response Codes (%s)"
+msgstr "2xx svar (%s)"
+
+#: lib/Block/bookmarks.php:54 config/prefs.php.dist:31
+msgid "3 Line"
+msgstr "3 rad"
+
+#: templates/reports/http-status.inc:76
+#, php-format
+msgid "3xx Response Codes (%s)"
+msgstr "3xx svar (%s)"
+
+#: templates/reports/http-status.inc:87
+#, php-format
+msgid "4xx Response Codes (%s)"
+msgstr "4xx svar (%s)"
+
+#: templates/reports/http-status.inc:109
+#, php-format
+msgid "5xx Response Codes (%s)"
+msgstr "5xx svar (%s)"
+
+#: lib/Trean.php:247
+msgid "Accepted"
+msgstr "Accepterad"
+
+#: lib/Block/tree_menu.php:24
+msgid "Add"
+msgstr "Lägg till"
+
+#: add.php:111
+msgid "Add Bookmark"
+msgstr "Lägg till bokärke"
+
+#: templates/add/add.inc:31
+msgid "Add a new bookmark"
+msgstr "Lägg till nytt bokmärke"
+
+#: templates/add/add.inc:82
+msgid "Add to Bookmarks"
+msgstr "Lägg till bokärken"
+
+#: templates/browse/bookmarks.inc:28 templates/browse/subcategories.inc:17
+#: templates/search/results_header.inc:11
+msgid "All"
+msgstr "Alla"
+
+#: lib/Block/bookmarks.php:48
+msgid "All Bookmarks"
+msgstr "Alla bokmärken"
+
+#: lib/Trean.php:32
+#, php-format
+msgid "An error occured listing categories: %s"
+msgstr "Fel vid listning av kategorier: %s"
+
+#: lib/Trean.php:61
+#, php-format
+msgid "An error occurred counting categories: %s"
+msgstr "Fel vid räkning av kategorier: %s"
+
+#: templates/search/search.inc:30
+msgid "And"
+msgstr "och"
+
+#: templates/search/search.inc:39
+msgid "Any Part of field"
+msgstr "Del av fält"
+
+#: templates/browse/javascript.inc:107 templates/search/javascript.inc:31
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr "Är du säker att du vill radera valda bokmärken?"
+
+#: templates/browse/javascript.inc:210
+msgid "Are you sure you want to delete the selected categories?"
+msgstr "Är du säker att du vill radera valda kategorier?"
+
+#: perms.php:50
+msgid "Attempt to edit a non-existent share."
+msgstr "Försök att ändra en utdelning som inte finns."
+
+#: lib/Trean.php:279
+msgid "Bad Gateway"
+msgstr "Felaktig gateway"
+
+#: lib/Trean.php:259
+msgid "Bad Request"
+msgstr "Felaktig request"
+
+#: lib/Bookmarks.php:52
+msgid "Bookmark names must be non-empty"
+msgstr "Namn på bokmärken får inte vara tomt"
+
+#: data.php:17 lib/Block/bookmarks.php:3 lib/Block/bookmarks.php:45
+#: lib/Block/bookmarks.php:74
+msgid "Bookmarks"
+msgstr "Bokmärken"
+
+#: browse.php:83
+msgid "Browse"
+msgstr "Lista"
+
+#: templates/edit/footer.inc:4
+msgid "Cancel"
+msgstr "Avbryt"
+
+#: templates/browse/subcategories.inc:10 templates/browse/browse.html:4
+msgid "Categories"
+msgstr "Kategorier"
+
+#: lib/Block/bookmarks.php:41 templates/edit/edit.inc:75
+#: templates/add/add.inc:51
+msgid "Category"
+msgstr "Kategori"
+
+#: lib/Trean.php:83
+msgid "Category does not exist."
+msgstr "Kategori existerar inte."
+
+#: lib/Bookmarks.php:32
+msgid "Category names must be non-empty"
+msgstr "Kategorinamn måste vara angivet"
+
+#: templates/data/import.inc:11
+msgid "Category to import into:"
+msgstr "Kategori att importera till:"
+
+#: config/prefs.php.dist:11
+msgid "Change the number of columns to display in browse and search results."
+msgstr "Ändra antal kolumner som visas i listningen och sökresultat."
+
+#: templates/search/search.inc:26
+msgid "Combine"
+msgstr "Kombinera"
+
+#: config/prefs.php.dist:43
+msgid "Completely collapsed"
+msgstr "Helt förminskad"
+
+#: config/prefs.php.dist:45
+msgid "Completely expanded"
+msgstr "Helt expanderad"
+
+#: lib/Trean.php:268
+msgid "Conflict"
+msgstr "Konflikt"
+
+#: lib/Trean.php:243
+msgid "Continue"
+msgstr "Fortsätt"
+
+#: edit.php:164
+msgid "Copied bookmark: "
+msgstr "Kopierade bokmärken: "
+
+#: templates/browse/bookmarks.inc:48 templates/search/results_header.inc:18
+msgid "Copy"
+msgstr "Kopiera"
+
+#: lib/Trean.php:246
+msgid "Created"
+msgstr "Skapad"
+
+#: templates/reports/http-status.inc:119
+#, php-format
+msgid "DNS Failure or Other Error (%s)"
+msgstr "DNS-fel eller annat fel (%s)"
+
+#: templates/add/nocategories.inc:9
+msgid "Define one or more categories for your bookmarks"
+msgstr "Definiera en eller flera kategorierer för dina bokmärken"
+
+#: templates/browse/bookmarks.inc:39 templates/browse/subcategories.inc:21
+#: templates/search/results_header.inc:16
+msgid "Delete"
+msgstr "Radera"
+
+#: templates/edit/edit.inc:68
+msgid "Delete Bookmark"
+msgstr "Radera bokmärke"
+
+#: templates/browse/javascript.inc:34
+msgid "Delete current category?"
+msgstr "Radera aktuell kategori?"
+
+#: templates/browse/bookmarks.inc:66
+msgid "Delete this Category"
+msgstr "Radera aktuell kategorin"
+
+#: edit.php:37 edit.php:79
+msgid "Deleted bookmark: "
+msgstr "Raderade bokmärken: "
+
+#: edit.php:212
+msgid "Deleted category: "
+msgstr "Raderad kategori: "
+
+#: templates/edit/edit.inc:17 templates/search/search.inc:21
+#: templates/add/add.inc:46
+msgid "Description"
+msgstr "Beskrivning"
+
+#: config/prefs.php.dist:10
+msgid "Display Options"
+msgstr "Visningsinställningar"
+
+#: config/prefs.php.dist:55
+msgid "Display edit buttons when displaying Bookmarks?"
+msgstr "Visa ändraknapp vid visning av bokmärken:"
+
+#: templates/data/export.inc:11
+msgid "Download Category"
+msgstr "Ladda ner kategori"
+
+#: templates/add/add.inc:77
+msgid "Drag the \"Add to Bookmarks\" link below onto your \"Links\" Bar"
+msgstr "Dra länken 'Lägg till bokmärken' nedan till din 'Länkar' meny"
+
+#: templates/add/add.inc:75
+msgid ""
+"Drag the \"Add to Bookmarks\" link below onto your \"Personal Toolbar\"."
+msgstr "Dra länken 'Lägg till bokmärken' nedan till din 'Personliga ikonrad'"
+
+#: templates/browse/bookmarks.inc:33 templates/search/results_header.inc:15
+msgid "Edit"
+msgstr "Ändra"
+
+#: edit.php:271
+msgid "Edit Bookmark"
+msgstr "Ändra bokmärke"
+
+#: perms.php:241
+msgid "Edit Permissions"
+msgstr "Öndra behörighet"
+
+#: perms.php:244
+#, php-format
+msgid "Edit Permissions for %s"
+msgstr "Ändra behörigheter för %s"
+
+#: lib/Trean.php:276
+msgid "Expectation Failed"
+msgstr "Väntan misslyckades"
+
+#: templates/data/export.inc:4
+msgid "Export Bookmarks"
+msgstr "Exportera bokmärken"
+
+#: templates/data/import.inc:9
+msgid "File to import:"
+msgstr "Välj fil som skall importeras:"
+
+#: config/prefs.php.dist:44
+msgid "First level shown"
+msgstr "Första nivå som visas"
+
+#: lib/Trean.php:262
+msgid "Forbidden"
+msgstr "Förbjuden"
+
+#: lib/Trean.php:254
+msgid "Found"
+msgstr "Hittade"
+
+#: lib/Trean.php:281
+msgid "Gateway Time-out"
+msgstr "Gateway timeout"
+
+#: lib/Trean.php:269
+msgid "Gone"
+msgstr "Borta"
+
+#: reports.php:30 templates/edit/edit.inc:56
+#: templates/reports/http-status.inc:56 templates/reports/list.inc:7
+msgid "HTTP Status"
+msgstr "HTTP-status"
+
+#: lib/Trean.php:282
+msgid "HTTP Version not supported"
+msgstr "HTTP-version stöds inte."
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr "Importera"
+
+#: data.php:181 templates/data/import.inc:4
+msgid "Import Bookmarks"
+msgstr "Importera bokmärken"
+
+#: templates/data/export.inc:9
+msgid "Include Subcategories"
+msgstr "Inkludera underkategorir"
+
+#: lib/Trean.php:277
+msgid "Internal Server Error"
+msgstr "Internt serverfel"
+
+#: templates/add/add.inc:76
+msgid "Internet Explorer"
+msgstr "Internet Explorer"
+
+#: templates/data/import.inc:7
+msgid ""
+"Internet Explorer users will need to export their current Favorites by going "
+"to the \"File\" menu and selecting \"Import and Export\"."
+msgstr ""
+"Användare av Internet Explorer måste exportera sina favoriter genom att gå "
+"till 'Arkiv' och välja 'Importera och Exportera'"
+
+#: lib/Trean.php:270
+msgid "Length Required"
+msgstr "Längs krävs"
+
+#: templates/search/search.inc:36
+msgid "Match"
+msgstr "Matcha"
+
+#: lib/api.php:34
+msgid "Maximum Number of Bookmarks"
+msgstr "Maximalt antal bokmärken"
+
+#: lib/api.php:31
+msgid "Maximum Number of Categories"
+msgstr "Maximalt antal kategorier"
+
+#: lib/Block/tree_menu.php:3
+msgid "Menu List"
+msgstr "Menylista"
+
+#: lib/Trean.php:264
+msgid "Method Not Allowed"
+msgstr "Metod stöds inte"
+
+#: templates/browse/bookmarks.inc:54
+msgid "More Actions"
+msgstr "Fler åtgärder"
+
+#: templates/browse/bookmarks.inc:41 templates/browse/subcategories.inc:22
+#: templates/search/results_header.inc:17
+msgid "Move"
+msgstr "Flytta"
+
+#: lib/Trean.php:253
+msgid "Moved Permanently"
+msgstr "Flyttat permanent"
+
+#: edit.php:122
+msgid "Moved bookmark: "
+msgstr "Flyttade bokmärken: "
+
+#: edit.php:254
+msgid "Moved category: "
+msgstr "Flyttade kategorier: "
+
+#: templates/add/add.inc:74
+msgid "Mozilla"
+msgstr "Mozilla"
+
+#: templates/data/import.inc:6
+msgid ""
+"Mozilla/Firefox users will need to export their current Bookmarks by going "
+"into \"Bookmark Manager\" and selecting \"Export\" from the \"Tools\" menu."
+msgstr ""
+"Användare av Mozilla/Firefox måste exportera sina bokmärken genom att gå "
+"till 'Bookmark Manager' och välja 'Export' från 'Tools'"
+
+#: lib/Trean.php:252
+msgid "Multiple Choices"
+msgstr "Flera val"
+
+#: lib/Trean.php:87
+msgid "My Bookmarks"
+msgstr "Mina bokmärken"
+
+#: lib/Block/bookmarks.php:79 templates/browse/bookmarks.inc:56
+msgid "New Bookmark"
+msgstr "Nytt bokmärke"
+
+#: lib/Trean.php:168
+msgid "New Category"
+msgstr "Ny kategori"
+
+#: templates/browse/bookmarks.inc:63 templates/add/nocategories.inc:4
+msgid "New Subcategory"
+msgstr "Ny underkategori"
+
+#: templates/search/results_none.inc:3
+msgid "No Bookmarks found"
+msgstr "Bokmärken saknas"
+
+#: lib/Trean.php:249
+msgid "No Content"
+msgstr "Inget innehåll"
+
+#: lib/Block/bookmarks.php:121
+msgid "No bookmarks to display"
+msgstr "Inga bokmärken att visa"
+
+#: lib/Trean.php:248
+msgid "Non-Authoritative Information"
+msgstr "Non-Authoritative information"
+
+#: templates/browse/bookmarks.inc:29 templates/browse/subcategories.inc:18
+#: templates/reports/rating.inc:48 templates/search/results_header.inc:12
+msgid "None"
+msgstr "Ingen"
+
+#: lib/Trean.php:265
+msgid "Not Acceptable"
+msgstr "Ej accepterad"
+
+#: lib/Trean.php:263
+msgid "Not Found"
+msgstr "Hittades inte"
+
+#: lib/Trean.php:278
+msgid "Not Implemented"
+msgstr "Ej implementerad"
+
+#: lib/Trean.php:256
+msgid "Not Modified"
+msgstr "Ej ändrad"
+
+#: templates/reports/clicks.inc:5 templates/reports/list.inc:13
+msgid "Number of Clicks"
+msgstr "Antal klick"
+
+#: config/prefs.php.dist:22
+msgid "Number of columns to display in browse and search results:"
+msgstr "Antal kolumner som visas i listningen och sökresultat:"
+
+#: lib/Trean.php:245
+msgid "OK"
+msgstr "OK"
+
+#: perms.php:62
+msgid ""
+"Only the owner or system administrator may change ownership or owner "
+"permissions for a share"
+msgstr ""
+"Endast ägare eller systemadministratör kan ändra ägare eller behörigheter på "
+"en utdelning"
+
+#: config/prefs.php.dist:64
+msgid "Open links in a new window?"
+msgstr "Öppna länkar i nytt fönster?"
+
+#: templates/search/search.inc:29
+msgid "Or"
+msgstr "eller"
+
+#: config/prefs.php.dist:9
+msgid "Other Options"
+msgstr "Andra inställningar"
+
+#: lib/Trean.php:251
+msgid "Partial Content"
+msgstr "Ofullständigt innehåll"
+
+#: lib/Trean.php:261
+msgid "Payment Required"
+msgstr "Betalning krävs"
+
+#: templates/browse/javascript.inc:26
+msgid "Please enter the name of the new category:"
+msgstr "Var god ange namnet på den nya kategorin."
+
+#: templates/browse/javascript.inc:42
+msgid "Please modify the name accordingly"
+msgstr "Var god ändra namnet"
+
+#: templates/browse/javascript.inc:93 templates/browse/javascript.inc:112
+#: templates/browse/javascript.inc:147 templates/browse/javascript.inc:182
+msgid "Please select a bookmark first"
+msgstr "Völj ett bokmärke först"
+
+#: templates/browse/javascript.inc:215 templates/browse/javascript.inc:250
+msgid "Please select a category first"
+msgstr "Välj en kategori först"
+
+#: lib/Trean.php:271
+msgid "Precondition Failed"
+msgstr "Förutsättningar misslyckades"
+
+#: lib/Trean.php:266
+msgid "Proxy Authentication Required"
+msgstr "Proxy-authentisering krävs"
+
+#: templates/edit/edit.inc:27
+msgid "Rating"
+msgstr "Klassning"
+
+#: templates/reports/list.inc:19 templates/reports/rating.inc:5
+msgid "Ratings"
+msgstr "Klassningar"
+
+#: templates/edit/edit.inc:63
+#, php-format
+msgid "Redirect to %s"
+msgstr "Eftersänd till %s"
+
+#: templates/browse/bookmarks.inc:67
+msgid "Rename this Category"
+msgstr "Byt namn på aktuell kategori"
+
+#: reports.php:18
+msgid "Reports"
+msgstr "Rapporter"
+
+#: lib/Trean.php:272
+msgid "Request Entity Too Large"
+msgstr "Begärt begrepp för stort"
+
+#: lib/Trean.php:267
+msgid "Request Time-out"
+msgstr "Begäran timeout"
+
+#: lib/Trean.php:273
+msgid "Request-URI Too Large"
+msgstr "Begärd URI för stor"
+
+#: lib/Trean.php:275
+msgid "Requested range not satisfiable"
+msgstr "Begärt begräsning är inte tillräcklig"
+
+#: templates/add/add.inc:64
+msgid "Reset"
+msgstr "Återställ"
+
+#: lib/Trean.php:250
+msgid "Reset Content"
+msgstr "Återställ innehåll"
+
+#: templates/edit/footer.inc:3 templates/add/add.inc:63
+msgid "Save"
+msgstr "Spara"
+
+#: search.php:14 lib/Block/tree_menu.php:33 templates/search/search.inc:47
+msgid "Search"
+msgstr "Sök"
+
+#: templates/search/search.inc:6
+msgid "Search Bookmarks"
+msgstr "Sök bokmärken"
+
+#: templates/search/results_none.inc:2
+msgid "Search Results"
+msgstr "Sökresultat"
+
+#: search.php:65
+#, php-format
+msgid "Search Results (%s)"
+msgstr "Sökresultat (%s)"
+
+#: lib/Trean.php:255
+msgid "See Other"
+msgstr "Se annan"
+
+#: templates/browse/bookmarks.inc:28 templates/browse/subcategories.inc:17
+#: templates/search/results_header.inc:11
+msgid "Select All"
+msgstr "Välj alla"
+
+#: templates/browse/bookmarks.inc:29 templates/browse/subcategories.inc:18
+#: templates/search/results_header.inc:12
+msgid "Select None"
+msgstr "Välj ingen"
+
+#: templates/browse/bookmarks.inc:27 templates/browse/subcategories.inc:16
+#: templates/search/results_header.inc:10
+#, php-format
+msgid "Select: %s, %s"
+msgstr "Välj: %s, %s"
+
+#: lib/Trean.php:280
+msgid "Service Unavailable"
+msgstr "Service ej tillgänglig"
+
+#: templates/browse/bookmarks.inc:70
+msgid "Set Permissions"
+msgstr "Sätt behörigheter"
+
+#: config/prefs.php.dist:46
+msgid "Should your list of bookmark categories be open when you log in?"
+msgstr "Skall din lista med bokmärkeskategorier öppnas vid inloggning?"
+
+#: lib/Trean.php:244
+msgid "Switching Protocols"
+msgstr "Byter protokoll"
+
+#: lib/Block/bookmarks.php:51
+msgid "Template"
+msgstr "Mall"
+
+#: config/prefs.php.dist:34
+msgid "Template to use when displaying bookmarks:"
+msgstr "Mall att använda vid visning av bokmärken:"
+
+#: lib/Trean.php:258
+msgid "Temporary Redirect"
+msgstr "Temporär eftersändning"
+
+#: templates/browse/bookmarks.inc:101
+msgid "There are no bookmarks in this category"
+msgstr "Det finns inga bokmärken i den här kategorin."
+
+#: edit.php:166
+#, php-format
+msgid "There was a problem copying the bookmark: %s"
+msgstr "Fel uppstod vid kopiering bokmärket: %s"
+
+#: edit.php:39 edit.php:81
+#, php-format
+msgid "There was a problem deleting the bookmark: %s"
+msgstr "Fel uppstod vid radering av bokmärket: %s"
+
+#: edit.php:214
+#, php-format
+msgid "There was a problem deleting the category: %s"
+msgstr "Fel uppstod vid radering av kategorin: %s"
+
+#: edit.php:124
+#, php-format
+msgid "There was a problem moving the bookmark: %s"
+msgstr "Fel uppstod vid flytt av bokmärket: %s"
+
+#: edit.php:256
+#, php-format
+msgid "There was a problem moving the category: %s"
+msgstr "Fel uppstod vid flytt av kategorin: %s"
+
+#: add.php:64
+#, php-format
+msgid "There was an error adding the bookmark: %s"
+msgstr "Fel uppstod när bokmärket skulle läggas till: %s"
+
+#: edit.php:108 edit.php:150 edit.php:240 add.php:43 add.php:100
+#, php-format
+msgid "There was an error adding the category: %s"
+msgstr "Fel uppstod när kategorin skulle läggas till: %s"
+
+#: edit.php:62
+#, php-format
+msgid "There was an error saving the bookmark: %s"
+msgstr "Fel uppstod när bokmärket skulle sparas: %s"
+
+#: templates/edit/edit.inc:12 templates/search/search.inc:16
+#: templates/add/add.inc:41
+msgid "Title"
+msgstr "Titel"
+
+#: templates/add/add.inc:73
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr "För att snabbt lägga till bokmärken från din browser:"
+
+#: lib/Block/bookmarks.php:49
+msgid "Top 10 Highest Rated"
+msgstr "10 högst klassade"
+
+#: lib/Block/bookmarks.php:50
+msgid "Top 10 Most Clicked"
+msgstr "10 mest klickade"
+
+#: templates/reports/http-status.inc:126
+msgid "Total"
+msgstr "Totalt"
+
+#: templates/edit/edit.inc:22 templates/search/search.inc:11
+#: templates/add/add.inc:36
+msgid "URL"
+msgstr "URL"
+
+#: lib/Trean.php:260
+msgid "Unauthorized"
+msgstr "Obehörig"
+
+#: templates/reports/http-status.inc:123
+#, php-format
+msgid "Unknown (%s)"
+msgstr "Okänd (%s)"
+
+#: lib/Trean.php:274
+msgid "Unsupported Media Type"
+msgstr "Mediatyp stöds inte."
+
+#: perms.php:234
+#, php-format
+msgid "Updated %s."
+msgstr "Uppdaterad %s."
+
+#: lib/Trean.php:257
+msgid "Use Proxy"
+msgstr "Använd proxy"
+
+#: templates/reports/list.inc:1
+msgid "View Report"
+msgstr "Visa rapport"
+
+#: templates/add/add.inc:78
+msgid ""
+"While browsing you will be able to bookmark the current page by clicking "
+"your new \"Add to Bookmarks\" shortcut."
+msgstr ""
+"Vid surfning kan du lägga till bokmärken genom att klicka på din nya genväg "
+"till 'Lägg till bokmärken'"
+
+#: templates/search/search.inc:40
+msgid "Whole Field"
+msgstr "Hela fält"
+
+#: templates/browse/javascript.inc:26
+msgid "You are creating a category folder."
+msgstr "Du skapar en kategorimapp."
+
+#: data.php:61 data.php:128 add.php:21
+#, php-format
+msgid "You are not allowed to create more than %d bookmarks."
+msgstr "Du har inte behörighet skapa mer än %d bokmärken."
+
+#: data.php:52 data.php:103 add.php:84
+#, php-format
+msgid "You are not allowed to create more than %d categories."
+msgstr "Du har inte behörighet att skapa mer än %d kategorier."
+
+#: templates/browse/javascript.inc:42
+msgid "You are renaming the current category folder."
+msgstr "Du byter namn på aktuell kategorimapp."
+
+#: browse.php:25
+msgid "You do not have permission to view this category."
+msgstr "Du har inte behörighet att visa aktuell kategori."
+
+#: lib/Trean.php:219
+msgid "_Add"
+msgstr "Lägg _till"
+
+#: lib/Trean.php:215
+msgid "_Browse"
+msgstr "_Lista"
+
+#: lib/Trean.php:226
+msgid "_Import/Export"
+msgstr "_Importera/Exportera"
+
+#: lib/Trean.php:222
+msgid "_Reports"
+msgstr "_Rapporter"
+
+#: lib/Trean.php:221
+msgid "_Search"
+msgstr "_Sök"
+
+#: templates/search/results.inc:57 templates/block/1line.inc:28
+#: templates/block/2line.inc:31 templates/block/standard.inc:29
+#: templates/bookmark/1line.inc:33 templates/bookmark/2line.inc:37
+#: templates/bookmark/standard.inc:33
+msgid "click"
+msgstr "klicka"
+
+#: templates/search/results.inc:57 templates/block/1line.inc:28
+#: templates/block/2line.inc:31 templates/block/standard.inc:29
+#: templates/bookmark/1line.inc:33 templates/bookmark/2line.inc:37
+#: templates/bookmark/standard.inc:33
+msgid "clicks"
+msgstr "klick"
diff --git a/trean/po/tr_TR.po b/trean/po/tr_TR.po
new file mode 100644
index 000000000..ffc7dfccd
--- /dev/null
+++ b/trean/po/tr_TR.po
@@ -0,0 +1,878 @@
+# Turkish translations for Trean package
+# Yer Ýmleri paketi için Türkçe çeviriler.
+# Copyright 2008-2009 The Horde Project
+# This file is distributed under the same license as the Trean package.
+# horde-tr at metu.edu.tr, 2008.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Trean 1.0-cvs\n"
+"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
+"POT-Creation-Date: 2008-04-15 12:57+0300\n"
+"PO-Revision-Date: 2008-04-15 12:57+0300\n"
+"Last-Translator: Onur Koþar\n"
+"Language-Team: i18n@lists.horde.org\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-9\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#: edit.php:237
+#, php-format
+msgid "\"%s\" was not renamed: %s."
+msgstr "\"%s\" tekrar adlandýrýlamadý: %s."
+
+#: data.php:156
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "%d Klasörleri %d Yerimleri içe aktarýldý."
+
+#: templates/star_rating_helper.php:21 templates/star_rating_helper.php:22
+#: templates/star_rating_helper.php:23 templates/star_rating_helper.php:24
+#, php-format
+msgid "%d stars out of 5"
+msgstr "yýldýzlar 5 üzerinden %d "
+
+#: templates/reports.php:104
+#, php-format
+msgid "%s Bookmarks"
+msgstr "%s Yer imleri"
+
+#: reports.php:25
+#, php-format
+msgid "%s Response Codes"
+msgstr "%s yanýt kodu"
+
+#: lib/base.php:78
+#, php-format
+msgid "%s's Bookmarks"
+msgstr "%s'ýn yer imleri"
+
+#: lib/Block/highestrated.php:38 lib/Block/mostclicked.php:38
+#: lib/Block/bookmarks.php:63
+msgid "1 Line"
+msgstr "1 çizgi"
+
+#: templates/star_rating_helper.php:20
+msgid "1 star out of 5"
+msgstr "5 üzerinden 1 yýldýz"
+
+#: lib/Block/highestrated.php:30 lib/Block/mostclicked.php:30
+#: lib/Block/bookmarks.php:55
+msgid "10 rows"
+msgstr "10 satýr"
+
+#: lib/Block/highestrated.php:31 lib/Block/mostclicked.php:31
+#: lib/Block/bookmarks.php:56
+msgid "15 rows"
+msgstr "15 satýr"
+
+#: templates/reports.php:36
+#, php-format
+msgid "1xx Response Codes (%s)"
+msgstr "1xx Yanýt Kodlarý (%s)"
+
+#: lib/Block/highestrated.php:37 lib/Block/mostclicked.php:37
+#: lib/Block/bookmarks.php:62
+msgid "2 Line"
+msgstr "2 Çizgi"
+
+#: lib/Block/highestrated.php:32 lib/Block/mostclicked.php:32
+#: lib/Block/bookmarks.php:57
+msgid "25 rows"
+msgstr "25 satýr"
+
+#: templates/reports.php:42
+#, php-format
+msgid "2xx Response Codes (%s)"
+msgstr "2xx Yanýt Kodlarý (%s)"
+
+#: lib/Block/highestrated.php:36 lib/Block/mostclicked.php:36
+#: lib/Block/bookmarks.php:61
+msgid "3 Line"
+msgstr "3 Çizgi"
+
+#: templates/reports.php:53
+#, php-format
+msgid "3xx Response Codes (%s)"
+msgstr "3xx Yanýt Kodlarý (%s)"
+
+#: templates/reports.php:64
+#, php-format
+msgid "4xx Response Codes (%s)"
+msgstr "4xx Yanýt Kodlarý (%s)"
+
+#: templates/reports.php:86
+#, php-format
+msgid "5xx Response Codes (%s)"
+msgstr "5xx Yanýt Kodlarý (%s)"
+
+#: lib/Forms/Search.php:24
+msgid "AND"
+msgstr "VE"
+
+#: lib/Trean.php:176
+msgid "Accepted"
+msgstr "Onaylandý"
+
+#: templates/add/add.inc:59 lib/Block/tree_menu.php:24
+msgid "Add"
+msgstr "Ekle"
+
+#: templates/add/add.inc:87
+msgid "Add to Bookmarks"
+msgstr "Yer imlerine ekle"
+
+#: templates/search.php:65
+msgid "All"
+msgstr "Tümü"
+
+#: data.php:39 perms.php:239 lib/Block/bookmarks.php:32
+#, php-format
+msgid "An error occured listing folders: %s"
+msgstr "Dosyalarý listelerken hata oluþtu: %s"
+
+#: lib/Trean.php:49
+#, php-format
+msgid "An error occurred counting folders: %s"
+msgstr "Dosyalarý sayarken hata oluþtu: %s"
+
+#: lib/Forms/Search.php:25
+msgid "Any Part of the field"
+msgstr "Alanýn herhangi bir kýsmý"
+
+#: templates/search.php:29
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr "Seçilen Yer imlerini silmekten emin misiniz?"
+
+#: config/prefs.php.dist:33
+msgid "Ascending (A to Z)"
+msgstr "Artan (A' dan Z' ye)"
+
+#: perms.php:44
+msgid "Attempt to edit a non-existent share."
+msgstr "Varolmayan bir paylaþýmý silmeye çalýþýyorsunuz."
+
+#: lib/Trean.php:208
+msgid "Bad Gateway"
+msgstr "Kötü Geçiþ yolu"
+
+#: lib/Trean.php:188
+msgid "Bad Request"
+msgstr "Kötü Ýstek"
+
+#: add.php:66
+msgid "Bookmark Added"
+msgstr "Yer imi eklendi"
+
+#: data.php:18 lib/Block/bookmarks.php:3 lib/Block/bookmarks.php:81
+msgid "Bookmarks"
+msgstr "Yer Ýmleri"
+
+#: templates/common-header.inc:27
+msgid "Bookmarks Feed"
+msgstr "Yer imleri kaynaðý"
+
+#: browse.php:37
+msgid "Browse"
+msgstr "Gözat"
+
+#: templates/edit/footer.inc:2 templates/add/add.inc:60
+msgid "Cancel"
+msgstr "Ýptal"
+
+#: templates/views/BookmarkList.php:28
+msgid "Clicks"
+msgstr "Týklamalar"
+
+#: templates/add/add.inc:82
+msgid "Close"
+msgstr "Kapat"
+
+#: lib/Forms/Search.php:24
+msgid "Combine"
+msgstr "Birleþtir"
+
+#: config/prefs.php.dist:63
+msgid "Completely collapsed"
+msgstr "Tamamýyla çakýþtý"
+
+#: config/prefs.php.dist:65
+msgid "Completely expanded"
+msgstr "Tamamýyla geniþletildi"
+
+#: edit.php:247
+msgid "Confirm Deletion"
+msgstr "Silmeyi Onayla"
+
+#: lib/Trean.php:197
+msgid "Conflict"
+msgstr "Karýþýklýk"
+
+#: lib/Trean.php:172
+msgid "Continue"
+msgstr "Devam"
+
+#: templates/browse.php:105 templates/browse.php:106
+msgid "Control access to this folder"
+msgstr "Bu dosyaya eriþimi kontrol edin"
+
+#: edit.php:214
+msgid "Copied bookmark: "
+msgstr "Kopyalanan Yer imi: "
+
+#: templates/search.php:72
+msgid "Copy"
+msgstr "Kopyala"
+
+#: edit.php:222
+#, php-format
+msgid "Copying folders is not supported."
+msgstr "Dosya kopyalama desteklenmiyor."
+
+#: lib/Trean.php:175
+msgid "Created"
+msgstr "Oluþturuldu"
+
+#: templates/reports.php:96
+#, php-format
+msgid "DNS Failure or Other Error (%s)"
+msgstr "DNS hatasý ya da baþka bir hata(%s)"
+
+#: templates/browse.php:90 templates/search.php:70
+msgid "Delete"
+msgstr "Sil"
+
+#: templates/browse.php:160
+msgid "Delete Bookmark"
+msgstr "Yer imini sil "
+
+#: templates/browse.php:91
+msgid "Delete this folder"
+msgstr "Bu dosyayý sil"
+
+#: edit.php:51 edit.php:110
+msgid "Deleted bookmark: "
+msgstr "Yer imini sil: "
+
+#: edit.php:123
+msgid "Deleted folder: "
+msgstr "Dosyayý sil: "
+
+#: edit.php:269
+#, php-format
+msgid "Deleted the folder \"%s\""
+msgstr " \"%s\" dosyasýný sil"
+
+#: config/prefs.php.dist:34
+msgid "Descending (9 to 1)"
+msgstr "Azalan (9' dan 1' e)"
+
+#: templates/edit/bookmark.inc:15 templates/add/add.inc:42
+#: lib/Forms/Search.php:22
+msgid "Description"
+msgstr "Açýklama"
+
+#: config/prefs.php.dist:10
+msgid "Display Options"
+msgstr "Görüntüleme Seçenekleri"
+
+#: lib/Block/bookmarks.php:52
+msgid "Display Rows"
+msgstr "Satýrlarý görüntüle"
+
+#: templates/data/export.inc:11
+msgid "Download Folder"
+msgstr "Ýnenler Dosyasý"
+
+#: templates/add/add.inc:73
+msgid "Drag the \"Add to Bookmarks\" link below onto your \"Links\" Bar"
+msgstr ""
+"\"Yer imlerine ekle\" baðlantýyý \"Yer imleri\" Çubuðu altýna sürükleyerek "
+"ekle"
+
+#: templates/add/add.inc:71
+msgid ""
+"Drag the \"Add to Bookmarks\" link below onto your \"Personal Toolbar\"."
+msgstr ""
+"\"Yer imlerine ekle\" Kiþisel araç çubuðu \"'na baðlantýyý sürükleyerek ekle "
+
+#: templates/search.php:69
+msgid "Edit"
+msgstr "Düzenle"
+
+#: edit.php:287
+msgid "Edit Bookmark"
+msgstr "Yer imini düzenle"
+
+#: templates/browse.php:155
+msgid "Edit Bookmarks"
+msgstr "Yer imini düzenle"
+
+#: perms.php:235
+msgid "Edit Permissions"
+msgstr "Ýzinleri Düzenle"
+
+#: perms.php:242
+#, php-format
+msgid "Edit Permissions for %s"
+msgstr "'%s' için izinleri düzenle"
+
+#: lib/Trean.php:205
+msgid "Expectation Failed"
+msgstr "Beklenti Baþarýsýz"
+
+#: templates/data/export.inc:4
+msgid "Export Bookmarks"
+msgstr "Yer imlerini dýþa aktar"
+
+#: templates/data/import.inc:9
+msgid "File to import:"
+msgstr "Ýçe aktarýlacak dosya:"
+
+#: templates/add/add.inc:70
+msgid "Firefox/Mozilla"
+msgstr "Firefox/Mozilla"
+
+#: config/prefs.php.dist:64
+msgid "First level shown"
+msgstr "Ýlk seviye gösterildi"
+
+#: templates/edit/bookmark.inc:25 templates/add/add.inc:47
+#: templates/views/BookmarkList.php:26 lib/Block/bookmarks.php:42
+msgid "Folder"
+msgstr "Dizin"
+
+#: templates/browse.php:70 templates/browse.php:71
+msgid "Folder Actions"
+msgstr "Dosya Ýþlemleri"
+
+#: lib/Bookmarks.php:354
+msgid "Folder names must be non-empty"
+msgstr "Dosya adlarý boþ girilmemeli"
+
+#: templates/data/import.inc:11
+msgid "Folder to import into:"
+msgstr "Ýçe aktarýlacak dosya:"
+
+#: lib/Trean.php:191
+msgid "Forbidden"
+msgstr "Yasak"
+
+#: lib/Trean.php:183
+msgid "Found"
+msgstr "Bulundu"
+
+#: lib/Trean.php:210
+msgid "Gateway Time-out"
+msgstr "Geçit yolu zaman aþýmý"
+
+#: lib/Trean.php:198
+msgid "Gone"
+msgstr "Gönderildi"
+
+#: reports.php:25 templates/reports.php:33
+msgid "HTTP Status"
+msgstr "HTTP-Durumu"
+
+#: lib/Trean.php:211
+msgid "HTTP Version not supported"
+msgstr "HTTP-Versiyonu desteklenmiyor"
+
+#: lib/Block/bookmarks.php:50 config/prefs.php.dist:22
+msgid "Highest Rated"
+msgstr "En çok oy alan"
+
+#: lib/Block/highestrated.php:3 lib/Block/highestrated.php:49
+msgid "Highest-rated Bookmarks"
+msgstr "En çok oy alan Yer imi "
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr "(Ýçeri) Aktar"
+
+#: data.php:184 templates/data/import.inc:4
+msgid "Import Bookmarks"
+msgstr "Yer imlerini içe aktar"
+
+#: templates/data/export.inc:9
+msgid "Include Subfolders"
+msgstr "Alt dosyalarý da içer"
+
+#: lib/Trean.php:206
+msgid "Internal Server Error"
+msgstr "Yerel sunucu hatasý"
+
+#: templates/add/add.inc:72
+msgid "Internet Explorer"
+msgstr "Internet Explorer"
+
+#: templates/data/import.inc:7
+msgid ""
+"Internet Explorer users will need to export their current Favorites by going "
+"to the \"File\" menu and selecting \"Import and Export\"."
+msgstr ""
+"Internet Explorer kullanýcýlarý kendi favorileri yer imlerini aktarmalarý "
+"için \"Dosya\" menusünden \"Aktar\" seçeneðini seçmeliler."
+
+#: lib/Trean.php:199
+msgid "Length Required"
+msgstr "Uzunluk gerekli"
+
+#: lib/Forms/Search.php:25
+msgid "Match"
+msgstr "Eþleþen"
+
+#: lib/api.php:93
+msgid "Maximum Number of Bookmarks"
+msgstr "Maksimum Yer imi sayýsý"
+
+#: lib/api.php:90
+msgid "Maximum Number of Folders"
+msgstr "En Fazla Dizin Sayýsý"
+
+#: lib/Block/tree_menu.php:3
+msgid "Menu List"
+msgstr "Menü listesi"
+
+#: lib/Trean.php:193
+msgid "Method Not Allowed"
+msgstr "Method'a izin verilmedi"
+
+#: lib/Block/bookmarks.php:51 config/prefs.php.dist:23
+msgid "Most Clicked"
+msgstr "En çok týklanan"
+
+#: lib/Block/mostclicked.php:3 lib/Block/mostclicked.php:49
+msgid "Most-clicked Bookmarks"
+msgstr "En çok týklanan Yer imleri"
+
+#: templates/search.php:71
+msgid "Move"
+msgstr "Taþý"
+
+#: lib/Trean.php:182
+msgid "Moved Permanently"
+msgstr "Tamamen Taþýndý"
+
+#: edit.php:161
+msgid "Moved bookmark: "
+msgstr "Taþýnan Yer imi: "
+
+#: edit.php:174
+msgid "Moved folder: "
+msgstr "Taþýnan dosya: "
+
+#: templates/data/import.inc:6
+msgid ""
+"Mozilla/Firefox users will need to export their current Bookmarks by going "
+"into \"Bookmark Manager\" and selecting \"Export\" from the \"Tools\" menu."
+msgstr ""
+"Mozilla-FÝrefox kullanýcýlarý kendi yer imlerini aktarmalarý için \"Yer imi "
+"yöneticisi ile\" \"\" Araçlar menüsünden \"Export\"-Menüsüseçilmelidir."
+
+#: lib/Trean.php:181
+msgid "Multiple Choices"
+msgstr "Çoklu Seçimler"
+
+#: templates/edit/folder.inc:9
+msgid "Name"
+msgstr "Ad"
+
+#: add.php:113 templates/browse.php:150 templates/add/add.inc:27
+msgid "New Bookmark"
+msgstr "Yeni Yer imi"
+
+#: lib/Trean.php:90
+msgid "New Folder"
+msgstr "Yeni Dizin"
+
+#: templates/browse.php:80
+msgid "New folder"
+msgstr "Yeni Dosya"
+
+#: templates/edit/delete_folder_confirmation.inc:15
+msgid "No"
+msgstr "Hayýr"
+
+#: templates/search.php:76
+msgid "No Bookmarks found"
+msgstr "Hiçbir Yer imi bulunamadý"
+
+#: lib/Trean.php:178
+msgid "No Content"
+msgstr "Ýçerik Yok"
+
+#: lib/Block/highestrated.php:73 lib/Block/mostclicked.php:73
+#: lib/Block/bookmarks.php:128
+msgid "No bookmarks to display"
+msgstr "Gösterilecek Yer imi yok"
+
+#: lib/Trean.php:177
+msgid "Non-Authoritative Information"
+msgstr "Yetkisiz\tBilgi"
+
+#: templates/search.php:66
+msgid "None"
+msgstr "Hiçbiri"
+
+#: lib/Trean.php:194
+msgid "Not Acceptable"
+msgstr "Kabul edilebilir Deðil"
+
+#: lib/Trean.php:192
+msgid "Not Found"
+msgstr "Bulunamadý"
+
+#: lib/Trean.php:207
+msgid "Not Implemented"
+msgstr "Yerine getirilemedi"
+
+#: lib/Trean.php:185
+msgid "Not Modified"
+msgstr "Deðiþiklik yapýlamadý"
+
+#: templates/add/add.inc:76
+msgid "Note:"
+msgstr "Not:"
+
+#: edit.php:281
+msgid "Nothing to edit."
+msgstr "Düzenlenecek birþey yok."
+
+#: lib/Block/highestrated.php:27 lib/Block/mostclicked.php:27
+msgid "Number of bookmarks to show"
+msgstr "Gösterilecel Yer imi sayýsý"
+
+#: lib/Trean.php:174
+msgid "OK"
+msgstr "Tamam"
+
+#: lib/Forms/Search.php:24
+msgid "OR"
+msgstr "VEYA"
+
+#: templates/add/add.inc:77
+#, php-format
+msgid ""
+"On newer versions of Internet Explorer, you may have to add %s://%s to your "
+"Trusted Zone for this to work."
+msgstr ""
+"Internet Explorer'ýn yeni versiyonlarýnda %s://%s, güvenilen alanlara "
+"eklemelidir."
+
+#: perms.php:56
+msgid ""
+"Only the owner or system administrator may change ownership or owner "
+"permissions for a share"
+msgstr ""
+"Yalnýzca paylaþýmýn sahibi ya da sistem yöneticisi, paylaþým için sahiplik "
+"haklarý ve izinlerini deðiþtirebilir"
+
+#: config/prefs.php.dist:54
+msgid "Open links in a new window?"
+msgstr "Baðlantýlar yeni bir pencerede açýlsýn mý?"
+
+#: config/prefs.php.dist:9
+msgid "Other Options"
+msgstr "Diðer Seçenekler"
+
+#: lib/Trean.php:180
+msgid "Partial Content"
+msgstr "Kýsmi Ýçerik"
+
+#: lib/Trean.php:190
+msgid "Payment Required"
+msgstr "ödeneme Gerekiyor"
+
+#: templates/add/add.inc:4
+msgid "Please enter a name for the new folder:"
+msgstr "Lütfen yeni posta kutusu için bir ad girin:"
+
+#: lib/Trean.php:200
+msgid "Precondition Failed"
+msgstr "önkoþul Baþarýsýz"
+
+#: lib/Trean.php:195
+msgid "Proxy Authentication Required"
+msgstr "Vekil Sunucu Yetkilendirmesi Gerekiyor"
+
+#: templates/views/BookmarkList.php:27
+msgid "Rating"
+msgstr "Beðenilme"
+
+#: templates/edit/delete_folder_confirmation.inc:3
+#, php-format
+msgid "Really delete \"%s\" and all of its bookmarks?"
+msgstr "\"%s\" ve tüm Yer imleri silinsin mi?"
+
+#: templates/browse.php:98
+msgid "Rename this folder"
+msgstr "Dosyayý yeniden adlandýr"
+
+#: reports.php:18
+msgid "Reports"
+msgstr "Raporlar"
+
+#: lib/Trean.php:201
+msgid "Request Entity Too Large"
+msgstr "Ýstek çok büyük."
+
+#: lib/Trean.php:196
+msgid "Request Time-out"
+msgstr "Ýstek zaman aþýmýna uðradý"
+
+#: lib/Trean.php:202
+msgid "Request-URI Too Large"
+msgstr "Ýstenilen URI çok büyük"
+
+#: lib/Trean.php:204
+msgid "Requested range not satisfiable"
+msgstr "Ýstek sýnýrlarý tatminkar deðil"
+
+#: lib/Trean.php:179
+msgid "Reset Content"
+msgstr "Yeniden baþlatma içeriði"
+
+#: templates/edit/footer.inc:1
+msgid "Save"
+msgstr "Kaydet"
+
+#: search.php:23 lib/Block/tree_menu.php:33 lib/Forms/Search.php:20
+msgid "Search"
+msgstr "Arama"
+
+#: lib/Forms/Search.php:18
+msgid "Search Bookmarks"
+msgstr "Yer imlerini ara"
+
+#: search.php:59
+#, php-format
+msgid "Search Results (%s)"
+msgstr "Arama Sonuçlarý (%s)"
+
+#: lib/Trean.php:184
+msgid "See Other"
+msgstr "Diðerlerini de gör"
+
+#: templates/search.php:65
+msgid "Select All"
+msgstr "Hepsini seç"
+
+#: templates/views/BookmarkList.php:29
+msgid "Select All/Select None"
+msgstr "Hepsini seç/Hiçbirini seçme"
+
+#: templates/search.php:66
+msgid "Select None"
+msgstr "Hiçbirini seçme"
+
+#: templates/search.php:64
+#, php-format
+msgid "Select: %s, %s"
+msgstr "Seç: %s, %s"
+
+#: lib/Trean.php:209
+msgid "Service Unavailable"
+msgstr "Servis Eriþilebilir Deðil"
+
+#: config/prefs.php.dist:11
+msgid "Set how to display bookmark listings and how to open links."
+msgstr ""
+"Yer imi listesininin nasýl gösterileceðini ve baðlantýlarýn nasýl "
+"açýlacaðýnýayarla"
+
+#: config/prefs.php.dist:66
+msgid "Should your list of bookmark folders be open when you log in?"
+msgstr "Sisteme giriþ yapýldýðýnda Yer imleri dosyalarýnýz açýk olsun mu? "
+
+#: config/prefs.php.dist:45
+msgid "Show folder actions panel?"
+msgstr "Dosya iþlemleri paneli gösterilsin mi?"
+
+#: config/prefs.php.dist:24
+msgid "Sort bookmarks by:"
+msgstr "Yer imlerini sýrala:"
+
+#: lib/Block/bookmarks.php:46
+msgid "Sort by"
+msgstr "ile Sýrala"
+
+#: config/prefs.php.dist:35
+msgid "Sort direction:"
+msgstr "Sýralama Yönü:"
+
+#: lib/Trean.php:173
+msgid "Switching Protocols"
+msgstr "Yönlendirme Protokolleri"
+
+#: lib/Block/highestrated.php:33 lib/Block/mostclicked.php:33
+#: lib/Block/bookmarks.php:58
+msgid "Template"
+msgstr "Taslak"
+
+#: lib/Trean.php:187
+msgid "Temporary Redirect"
+msgstr "Geçici Yönlendirme"
+
+#: templates/browse.php:169
+msgid "There are no bookmarks in this folder"
+msgstr "Bu dosyada hiç yer imi yok"
+
+#: edit.php:216
+#, php-format
+msgid "There was a problem copying the bookmark: %s"
+msgstr "Yer imi kopyalanmasýnda sorun oluþtu: %s"
+
+#: edit.php:53 edit.php:112
+#, php-format
+msgid "There was a problem deleting the bookmark: %s"
+msgstr "Yer imi silinmesinde sorun oluþtu: %s"
+
+#: edit.php:125
+#, php-format
+msgid "There was a problem deleting the folder: %s"
+msgstr "Dosya silinmesinde sorun oluþtu: %s"
+
+#: edit.php:163
+#, php-format
+msgid "There was a problem moving the bookmark: %s"
+msgstr "Yer imi taþýnmasýnda sorun oluþtu: %s"
+
+#: edit.php:176
+#, php-format
+msgid "There was a problem moving the folder: %s"
+msgstr "Dosya taþýnmasýnda sorun oluþtu: %s"
+
+#: add.php:61
+#, php-format
+msgid "There was an error adding the bookmark: %s"
+msgstr "Yer imi eklenmesinde sorun oluþtu: %s"
+
+#: edit.php:147 edit.php:201 add.php:45 add.php:102
+#, php-format
+msgid "There was an error adding the folder: %s"
+msgstr "Dosya eklenmesinde sorun oluþtu: %s."
+
+#: edit.php:74
+#, php-format
+msgid "There was an error saving the bookmark: %s"
+msgstr "Yer imi kaydedilirken sorun oluþtu: %s"
+
+#: edit.php:87
+#, php-format
+msgid "There was an error saving the folder: %s"
+msgstr "Dosya kaydedilirken sorun oluþtu: %s"
+
+#: templates/edit/bookmark.inc:10 templates/add/add.inc:37
+#: templates/views/BookmarkList.php:25 lib/Block/bookmarks.php:49
+#: lib/Forms/Search.php:21 config/prefs.php.dist:21
+msgid "Title"
+msgstr "Baþlýk"
+
+#: templates/add/add.inc:69
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr "Web tarayýcýnýza kolaylýkla Yer imi eklemek için:"
+
+#: templates/reports.php:103
+msgid "Total"
+msgstr "Toplam"
+
+#: templates/edit/bookmark.inc:20 templates/add/add.inc:32
+#: lib/Forms/Search.php:23
+msgid "URL"
+msgstr "URL"
+
+#: lib/Trean.php:189
+msgid "Unauthorized"
+msgstr "Yetkisiz"
+
+#: templates/reports.php:100
+#, php-format
+msgid "Unknown (%s)"
+msgstr "Bilinmeyen (%s)"
+
+#: lib/Trean.php:203
+msgid "Unsupported Media Type"
+msgstr "Desteklenmeyen Medya Türü"
+
+#: perms.php:228
+#, php-format
+msgid "Updated %s."
+msgstr "%s Güncellendi."
+
+#: lib/Trean.php:186
+msgid "Use Proxy"
+msgstr "Vekil sunucu kullan"
+
+#: templates/add/add.inc:74
+msgid ""
+"While browsing you will be able to bookmark the current page by clicking "
+"your new \"Add to Bookmarks\" shortcut."
+msgstr ""
+"Internet'de Gezinirken kullnýlan sayfayý Yer imlerine eklemek için \"Yeni "
+"Yer imi ekle\" kýsayolunu týklayabilirsiniz"
+
+#: lib/Forms/Search.php:25
+msgid "Whole Field"
+msgstr "Tüm Alanlar"
+
+#: templates/edit/delete_folder_confirmation.inc:9
+msgid "Yes"
+msgstr "Evet"
+
+#: data.php:65 data.php:132 add.php:23
+#, php-format
+msgid "You are not allowed to create more than %d bookmarks."
+msgstr "%d 'den fazla Yer imi yaratma izniniz yok ."
+
+#: data.php:56 data.php:107 add.php:86
+#, php-format
+msgid "You are not allowed to create more than %d folders."
+msgstr "%d'den fazla dizin yaratmanýza izin verilmiyor."
+
+#: browse.php:24
+msgid "You do not have permission to view this folder."
+msgstr "Bu dosyayý görme izniniz yok."
+
+#: templates/add/add.inc:11
+msgid "You must select a target folder first"
+msgstr "öncelikle bir hedef dosya seçmelisiniz"
+
+#: lib/Trean.php:149
+msgid "_Browse"
+msgstr "_Gözat"
+
+#: templates/browse.php:161
+msgid "_Delete Bookmarks"
+msgstr "Yer imlerini _Sil "
+
+#: templates/browse.php:156
+msgid "_Edit Bookmarks"
+msgstr "Yer imlerini _Düzenle"
+
+#: lib/Trean.php:155
+msgid "_Import/Export"
+msgstr "Ýçeri/_Dýþarý Aktar"
+
+#: templates/browse.php:151
+msgid "_New Bookmark"
+msgstr "_Yeni Yer imi"
+
+#: lib/Trean.php:151
+msgid "_Reports"
+msgstr "_Raporlar"
+
+#: lib/Trean.php:150
+msgid "_Search"
+msgstr "_Arama"
+
+#: templates/block/1line.inc:22 templates/block/2line.inc:26
+#: templates/block/standard.inc:24
+msgid "click"
+msgstr "Týkla"
+
+#: templates/block/1line.inc:22 templates/block/2line.inc:26
+#: templates/block/standard.inc:24
+msgid "clicks"
+msgstr "Týklama"
diff --git a/trean/po/trean.pot b/trean/po/trean.pot
new file mode 100644
index 000000000..2d29ad53d
--- /dev/null
+++ b/trean/po/trean.pot
@@ -0,0 +1,862 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright YEAR Horde Project
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR , YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
+"POT-Creation-Date: 2008-08-01 10:44+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME \n"
+"Language-Team: LANGUAGE \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: edit.php:237
+#, php-format
+msgid "\"%s\" was not renamed: %s."
+msgstr ""
+
+#: data.php:156
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr ""
+
+#: templates/star_rating_helper.php:21 templates/star_rating_helper.php:22
+#: templates/star_rating_helper.php:23 templates/star_rating_helper.php:24
+#, php-format
+msgid "%d stars out of 5"
+msgstr ""
+
+#: templates/reports.php:104
+#, php-format
+msgid "%s Bookmarks"
+msgstr ""
+
+#: reports.php:25
+#, php-format
+msgid "%s Response Codes"
+msgstr ""
+
+#: lib/base.php:78
+#, php-format
+msgid "%s's Bookmarks"
+msgstr ""
+
+#: lib/Block/highestrated.php:38 lib/Block/bookmarks.php:63
+#: lib/Block/mostclicked.php:38
+msgid "1 Line"
+msgstr ""
+
+#: templates/star_rating_helper.php:20
+msgid "1 star out of 5"
+msgstr ""
+
+#: lib/Block/highestrated.php:30 lib/Block/bookmarks.php:55
+#: lib/Block/mostclicked.php:30
+msgid "10 rows"
+msgstr ""
+
+#: lib/Block/highestrated.php:31 lib/Block/bookmarks.php:56
+#: lib/Block/mostclicked.php:31
+msgid "15 rows"
+msgstr ""
+
+#: templates/reports.php:36
+#, php-format
+msgid "1xx Response Codes (%s)"
+msgstr ""
+
+#: lib/Block/highestrated.php:37 lib/Block/bookmarks.php:62
+#: lib/Block/mostclicked.php:37
+msgid "2 Line"
+msgstr ""
+
+#: lib/Block/highestrated.php:32 lib/Block/bookmarks.php:57
+#: lib/Block/mostclicked.php:32
+msgid "25 rows"
+msgstr ""
+
+#: templates/reports.php:42
+#, php-format
+msgid "2xx Response Codes (%s)"
+msgstr ""
+
+#: lib/Block/highestrated.php:36 lib/Block/bookmarks.php:61
+#: lib/Block/mostclicked.php:36
+msgid "3 Line"
+msgstr ""
+
+#: templates/reports.php:53
+#, php-format
+msgid "3xx Response Codes (%s)"
+msgstr ""
+
+#: templates/reports.php:64
+#, php-format
+msgid "4xx Response Codes (%s)"
+msgstr ""
+
+#: templates/reports.php:86
+#, php-format
+msgid "5xx Response Codes (%s)"
+msgstr ""
+
+#: lib/Forms/Search.php:24
+msgid "AND"
+msgstr ""
+
+#: lib/Trean.php:176
+msgid "Accepted"
+msgstr ""
+
+#: templates/add.html.php:59 lib/Block/tree_menu.php:24
+msgid "Add"
+msgstr ""
+
+#: templates/add.html.php:82
+msgid "Add to Bookmarks"
+msgstr ""
+
+#: templates/search.php:65
+msgid "All"
+msgstr ""
+
+#: data.php:39 perms.php:239 lib/Block/bookmarks.php:32
+#, php-format
+msgid "An error occured listing folders: %s"
+msgstr ""
+
+#: lib/Trean.php:49
+#, php-format
+msgid "An error occurred counting folders: %s"
+msgstr ""
+
+#: lib/Forms/Search.php:25
+msgid "Any Part of the field"
+msgstr ""
+
+#: templates/search.php:29
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr ""
+
+#: config/prefs.php.dist:33
+msgid "Ascending (A to Z)"
+msgstr ""
+
+#: perms.php:44
+msgid "Attempt to edit a non-existent share."
+msgstr ""
+
+#: lib/Trean.php:208
+msgid "Bad Gateway"
+msgstr ""
+
+#: lib/Trean.php:188
+msgid "Bad Request"
+msgstr ""
+
+#: add.php:66
+msgid "Bookmark Added"
+msgstr ""
+
+#: data.php:18 lib/Block/bookmarks.php:3 lib/Block/bookmarks.php:81
+msgid "Bookmarks"
+msgstr ""
+
+#: templates/common-header.inc:27
+msgid "Bookmarks Feed"
+msgstr ""
+
+#: browse.php:61
+msgid "Browse"
+msgstr ""
+
+#: templates/add.html.php:60 templates/edit/footer.inc:2
+msgid "Cancel"
+msgstr ""
+
+#: templates/views/BookmarkList.php:28
+msgid "Clicks"
+msgstr ""
+
+#: lib/api.php:438
+msgid "Close"
+msgstr ""
+
+#: lib/Forms/Search.php:24
+msgid "Combine"
+msgstr ""
+
+#: config/prefs.php.dist:63
+msgid "Completely collapsed"
+msgstr ""
+
+#: config/prefs.php.dist:65
+msgid "Completely expanded"
+msgstr ""
+
+#: edit.php:247
+msgid "Confirm Deletion"
+msgstr ""
+
+#: lib/Trean.php:197
+msgid "Conflict"
+msgstr ""
+
+#: lib/Trean.php:172
+msgid "Continue"
+msgstr ""
+
+#: templates/browse.php:109 templates/browse.php:110
+msgid "Control access to this folder"
+msgstr ""
+
+#: edit.php:214
+msgid "Copied bookmark: "
+msgstr ""
+
+#: templates/search.php:72
+msgid "Copy"
+msgstr ""
+
+#: edit.php:222
+#, php-format
+msgid "Copying folders is not supported."
+msgstr ""
+
+#: lib/Trean.php:175
+msgid "Created"
+msgstr ""
+
+#: templates/reports.php:96
+#, php-format
+msgid "DNS Failure or Other Error (%s)"
+msgstr ""
+
+#: templates/browse.php:93 templates/search.php:70
+msgid "Delete"
+msgstr ""
+
+#: templates/browse.php:170
+msgid "Delete Bookmark"
+msgstr ""
+
+#: templates/browse.php:94
+msgid "Delete this folder"
+msgstr ""
+
+#: edit.php:51 edit.php:110
+msgid "Deleted bookmark: "
+msgstr ""
+
+#: edit.php:123
+msgid "Deleted folder: "
+msgstr ""
+
+#: edit.php:273
+#, php-format
+msgid "Deleted the folder \"%s\""
+msgstr ""
+
+#: config/prefs.php.dist:34
+msgid "Descending (9 to 1)"
+msgstr ""
+
+#: templates/add.html.php:42 templates/edit/bookmark.inc:15
+#: lib/Forms/Search.php:22
+msgid "Description"
+msgstr ""
+
+#: config/prefs.php.dist:10
+msgid "Display Options"
+msgstr ""
+
+#: lib/Block/bookmarks.php:52
+msgid "Display Rows"
+msgstr ""
+
+#: templates/data/export.inc:11
+msgid "Download Folder"
+msgstr ""
+
+#: templates/add.html.php:73
+msgid "Drag the \"Add to Bookmarks\" link below onto your \"Links\" Bar"
+msgstr ""
+
+#: templates/add.html.php:71
+msgid ""
+"Drag the \"Add to Bookmarks\" link below onto your \"Personal Toolbar\"."
+msgstr ""
+
+#: templates/search.php:69
+msgid "Edit"
+msgstr ""
+
+#: edit.php:292
+msgid "Edit Bookmark"
+msgstr ""
+
+#: templates/browse.php:165
+msgid "Edit Bookmarks"
+msgstr ""
+
+#: perms.php:235
+msgid "Edit Permissions"
+msgstr ""
+
+#: perms.php:242
+#, php-format
+msgid "Edit Permissions for %s"
+msgstr ""
+
+#: lib/Trean.php:205
+msgid "Expectation Failed"
+msgstr ""
+
+#: templates/data/export.inc:4
+msgid "Export Bookmarks"
+msgstr ""
+
+#: templates/data/import.inc:9
+msgid "File to import:"
+msgstr ""
+
+#: templates/add.html.php:70
+msgid "Firefox/Mozilla"
+msgstr ""
+
+#: config/prefs.php.dist:64
+msgid "First level shown"
+msgstr ""
+
+#: templates/add.html.php:47 templates/views/BookmarkList.php:26
+#: templates/edit/bookmark.inc:25 lib/Block/bookmarks.php:42
+msgid "Folder"
+msgstr ""
+
+#: templates/browse.php:73 templates/browse.php:74
+msgid "Folder Actions"
+msgstr ""
+
+#: lib/Bookmarks.php:354
+msgid "Folder names must be non-empty"
+msgstr ""
+
+#: templates/data/import.inc:11
+msgid "Folder to import into:"
+msgstr ""
+
+#: lib/Trean.php:191
+msgid "Forbidden"
+msgstr ""
+
+#: lib/Trean.php:183
+msgid "Found"
+msgstr ""
+
+#: lib/Trean.php:210
+msgid "Gateway Time-out"
+msgstr ""
+
+#: lib/Trean.php:198
+msgid "Gone"
+msgstr ""
+
+#: reports.php:25 templates/reports.php:33
+msgid "HTTP Status"
+msgstr ""
+
+#: lib/Trean.php:211
+msgid "HTTP Version not supported"
+msgstr ""
+
+#: lib/Block/bookmarks.php:50 config/prefs.php.dist:22
+msgid "Highest Rated"
+msgstr ""
+
+#: lib/Block/highestrated.php:3 lib/Block/highestrated.php:49
+msgid "Highest-rated Bookmarks"
+msgstr ""
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr ""
+
+#: data.php:184 templates/data/import.inc:4
+msgid "Import Bookmarks"
+msgstr ""
+
+#: templates/data/export.inc:9
+msgid "Include Subfolders"
+msgstr ""
+
+#: lib/Trean.php:206
+msgid "Internal Server Error"
+msgstr ""
+
+#: templates/add.html.php:72
+msgid "Internet Explorer"
+msgstr ""
+
+#: templates/data/import.inc:7
+msgid ""
+"Internet Explorer users will need to export their current Favorites by going "
+"to the \"File\" menu and selecting \"Import and Export\"."
+msgstr ""
+
+#: lib/Trean.php:199
+msgid "Length Required"
+msgstr ""
+
+#: lib/Forms/Search.php:25
+msgid "Match"
+msgstr ""
+
+#: lib/api.php:98
+msgid "Maximum Number of Bookmarks"
+msgstr ""
+
+#: lib/api.php:95
+msgid "Maximum Number of Folders"
+msgstr ""
+
+#: lib/Block/tree_menu.php:3
+msgid "Menu List"
+msgstr ""
+
+#: lib/Trean.php:193
+msgid "Method Not Allowed"
+msgstr ""
+
+#: lib/Block/bookmarks.php:51 config/prefs.php.dist:23
+msgid "Most Clicked"
+msgstr ""
+
+#: lib/Block/mostclicked.php:3 lib/Block/mostclicked.php:49
+msgid "Most-clicked Bookmarks"
+msgstr ""
+
+#: templates/search.php:71
+msgid "Move"
+msgstr ""
+
+#: lib/Trean.php:182
+msgid "Moved Permanently"
+msgstr ""
+
+#: edit.php:161
+msgid "Moved bookmark: "
+msgstr ""
+
+#: edit.php:174
+msgid "Moved folder: "
+msgstr ""
+
+#: templates/data/import.inc:6
+msgid ""
+"Mozilla/Firefox users will need to export their current Bookmarks by going "
+"into \"Bookmark Manager\" and selecting \"Export\" from the \"Tools\" menu."
+msgstr ""
+
+#: lib/Trean.php:181
+msgid "Multiple Choices"
+msgstr ""
+
+#: templates/edit/folder.inc:9
+msgid "Name"
+msgstr ""
+
+#: add.php:113 templates/browse.php:160 templates/add.html.php:27
+msgid "New Bookmark"
+msgstr ""
+
+#: lib/Trean.php:90
+msgid "New Folder"
+msgstr ""
+
+#: templates/browse.php:83
+msgid "New folder"
+msgstr ""
+
+#: templates/edit/delete_folder_confirmation.inc:15
+msgid "No"
+msgstr ""
+
+#: templates/search.php:76
+msgid "No Bookmarks found"
+msgstr ""
+
+#: lib/Trean.php:178
+msgid "No Content"
+msgstr ""
+
+#: lib/Block/highestrated.php:73 lib/Block/bookmarks.php:128
+#: lib/Block/mostclicked.php:73
+msgid "No bookmarks to display"
+msgstr ""
+
+#: lib/Trean.php:177
+msgid "Non-Authoritative Information"
+msgstr ""
+
+#: templates/search.php:66
+msgid "None"
+msgstr ""
+
+#: lib/Trean.php:194
+msgid "Not Acceptable"
+msgstr ""
+
+#: lib/Trean.php:192
+msgid "Not Found"
+msgstr ""
+
+#: lib/Trean.php:207
+msgid "Not Implemented"
+msgstr ""
+
+#: lib/Trean.php:185
+msgid "Not Modified"
+msgstr ""
+
+#: templates/add.html.php:76
+msgid "Note:"
+msgstr ""
+
+#: edit.php:286
+msgid "Nothing to edit."
+msgstr ""
+
+#: lib/Block/highestrated.php:27 lib/Block/mostclicked.php:27
+msgid "Number of bookmarks to show"
+msgstr ""
+
+#: lib/Trean.php:174
+msgid "OK"
+msgstr ""
+
+#: lib/Forms/Search.php:24
+msgid "OR"
+msgstr ""
+
+#: templates/add.html.php:77
+#, php-format
+msgid ""
+"On newer versions of Internet Explorer, you may have to add %s://%s to your "
+"Trusted Zone for this to work."
+msgstr ""
+
+#: perms.php:56
+msgid ""
+"Only the owner or system administrator may change ownership or owner "
+"permissions for a share"
+msgstr ""
+
+#: config/prefs.php.dist:54
+msgid "Open links in a new window?"
+msgstr ""
+
+#: config/prefs.php.dist:9
+msgid "Other Options"
+msgstr ""
+
+#: lib/Trean.php:180
+msgid "Partial Content"
+msgstr ""
+
+#: lib/Trean.php:190
+msgid "Payment Required"
+msgstr ""
+
+#: templates/add.html.php:4
+msgid "Please enter a name for the new folder:"
+msgstr ""
+
+#: lib/Trean.php:200
+msgid "Precondition Failed"
+msgstr ""
+
+#: lib/Trean.php:195
+msgid "Proxy Authentication Required"
+msgstr ""
+
+#: templates/views/BookmarkList.php:27
+msgid "Rating"
+msgstr ""
+
+#: templates/edit/delete_folder_confirmation.inc:3
+#, php-format
+msgid "Really delete \"%s\" and all of its bookmarks?"
+msgstr ""
+
+#: templates/browse.php:102
+msgid "Rename this folder"
+msgstr ""
+
+#: reports.php:18
+msgid "Reports"
+msgstr ""
+
+#: lib/Trean.php:201
+msgid "Request Entity Too Large"
+msgstr ""
+
+#: lib/Trean.php:196
+msgid "Request Time-out"
+msgstr ""
+
+#: lib/Trean.php:202
+msgid "Request-URI Too Large"
+msgstr ""
+
+#: lib/Trean.php:204
+msgid "Requested range not satisfiable"
+msgstr ""
+
+#: lib/Trean.php:179
+msgid "Reset Content"
+msgstr ""
+
+#: templates/edit/footer.inc:1
+msgid "Save"
+msgstr ""
+
+#: search.php:23 lib/Forms/Search.php:20 lib/Block/tree_menu.php:33
+msgid "Search"
+msgstr ""
+
+#: lib/Forms/Search.php:18
+msgid "Search Bookmarks"
+msgstr ""
+
+#: search.php:59
+#, php-format
+msgid "Search Results (%s)"
+msgstr ""
+
+#: lib/Trean.php:184
+msgid "See Other"
+msgstr ""
+
+#: templates/search.php:65
+msgid "Select All"
+msgstr ""
+
+#: templates/views/BookmarkList.php:29
+msgid "Select All/Select None"
+msgstr ""
+
+#: templates/search.php:66
+msgid "Select None"
+msgstr ""
+
+#: templates/search.php:64
+#, php-format
+msgid "Select: %s, %s"
+msgstr ""
+
+#: lib/Trean.php:209
+msgid "Service Unavailable"
+msgstr ""
+
+#: config/prefs.php.dist:11
+msgid "Set how to display bookmark listings and how to open links."
+msgstr ""
+
+#: config/prefs.php.dist:66
+msgid "Should your list of bookmark folders be open when you log in?"
+msgstr ""
+
+#: config/prefs.php.dist:45
+msgid "Show folder actions panel?"
+msgstr ""
+
+#: config/prefs.php.dist:24
+msgid "Sort bookmarks by:"
+msgstr ""
+
+#: lib/Block/bookmarks.php:46
+msgid "Sort by"
+msgstr ""
+
+#: config/prefs.php.dist:35
+msgid "Sort direction:"
+msgstr ""
+
+#: lib/Trean.php:173
+msgid "Switching Protocols"
+msgstr ""
+
+#: lib/Block/highestrated.php:33 lib/Block/bookmarks.php:58
+#: lib/Block/mostclicked.php:33
+msgid "Template"
+msgstr ""
+
+#: lib/Trean.php:187
+msgid "Temporary Redirect"
+msgstr ""
+
+#: templates/browse.php:181
+msgid "There are no bookmarks in this folder"
+msgstr ""
+
+#: edit.php:216
+#, php-format
+msgid "There was a problem copying the bookmark: %s"
+msgstr ""
+
+#: edit.php:53 edit.php:112
+#, php-format
+msgid "There was a problem deleting the bookmark: %s"
+msgstr ""
+
+#: edit.php:125
+#, php-format
+msgid "There was a problem deleting the folder: %s"
+msgstr ""
+
+#: edit.php:163
+#, php-format
+msgid "There was a problem moving the bookmark: %s"
+msgstr ""
+
+#: edit.php:176
+#, php-format
+msgid "There was a problem moving the folder: %s"
+msgstr ""
+
+#: add.php:61
+#, php-format
+msgid "There was an error adding the bookmark: %s"
+msgstr ""
+
+#: edit.php:147 edit.php:201 add.php:45 add.php:102
+#, php-format
+msgid "There was an error adding the folder: %s"
+msgstr ""
+
+#: edit.php:74
+#, php-format
+msgid "There was an error saving the bookmark: %s"
+msgstr ""
+
+#: edit.php:87
+#, php-format
+msgid "There was an error saving the folder: %s"
+msgstr ""
+
+#: templates/add.html.php:37 templates/views/BookmarkList.php:25
+#: templates/edit/bookmark.inc:10 lib/Forms/Search.php:21
+#: lib/Block/bookmarks.php:49 config/prefs.php.dist:21
+msgid "Title"
+msgstr ""
+
+#: templates/add.html.php:69
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr ""
+
+#: templates/reports.php:103
+msgid "Total"
+msgstr ""
+
+#: templates/add.html.php:32 templates/edit/bookmark.inc:20
+#: lib/Forms/Search.php:23
+msgid "URL"
+msgstr ""
+
+#: lib/Trean.php:189
+msgid "Unauthorized"
+msgstr ""
+
+#: templates/reports.php:100
+#, php-format
+msgid "Unknown (%s)"
+msgstr ""
+
+#: lib/Trean.php:203
+msgid "Unsupported Media Type"
+msgstr ""
+
+#: perms.php:228
+#, php-format
+msgid "Updated %s."
+msgstr ""
+
+#: lib/Trean.php:186
+msgid "Use Proxy"
+msgstr ""
+
+#: templates/add.html.php:74
+msgid ""
+"While browsing you will be able to bookmark the current page by clicking "
+"your new \"Add to Bookmarks\" shortcut."
+msgstr ""
+
+#: lib/Forms/Search.php:25
+msgid "Whole Field"
+msgstr ""
+
+#: templates/edit/delete_folder_confirmation.inc:9
+msgid "Yes"
+msgstr ""
+
+#: data.php:65 data.php:132 add.php:23
+#, php-format
+msgid "You are not allowed to create more than %d bookmarks."
+msgstr ""
+
+#: data.php:56 data.php:107 add.php:86
+#, php-format
+msgid "You are not allowed to create more than %d folders."
+msgstr ""
+
+#: browse.php:45
+msgid "You do not have permission to view this folder."
+msgstr ""
+
+#: templates/add.html.php:11
+msgid "You must select a target folder first"
+msgstr ""
+
+#: lib/Trean.php:149
+msgid "_Browse"
+msgstr ""
+
+#: templates/browse.php:171
+msgid "_Delete Bookmarks"
+msgstr ""
+
+#: templates/browse.php:166
+msgid "_Edit Bookmarks"
+msgstr ""
+
+#: lib/Trean.php:155
+msgid "_Import/Export"
+msgstr ""
+
+#: templates/browse.php:161
+msgid "_New Bookmark"
+msgstr ""
+
+#: lib/Trean.php:151
+msgid "_Reports"
+msgstr ""
+
+#: lib/Trean.php:150
+msgid "_Search"
+msgstr ""
+
+#: templates/block/1line.inc:22 templates/block/standard.inc:24
+#: templates/block/2line.inc:26
+msgid "click"
+msgstr ""
+
+#: templates/block/1line.inc:22 templates/block/standard.inc:24
+#: templates/block/2line.inc:26
+msgid "clicks"
+msgstr ""
diff --git a/trean/po/zh_TW.po b/trean/po/zh_TW.po
new file mode 100644
index 000000000..de68bdafa
--- /dev/null
+++ b/trean/po/zh_TW.po
@@ -0,0 +1,876 @@
+# Trean Traditional Chinese Translation.
+# Copyright 2002 Chih-Wei Yeh
+# Chih-Wei Yeh
+# David Chang , 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Trean 1.0-cvs\n"
+"Report-Msgid-Bugs-To: dev@lists.horde.org\n"
+"POT-Creation-Date: 2007-01-25 15:09+0800\n"
+"PO-Revision-Date: 2003-07-07 16:22+0800\n"
+"Last-Translator: David Chang \n"
+"Language-Team: Traditional Chinese \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=BIG5\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: edit.php:216
+#, php-format
+msgid "\"%s\" was not renamed: %s."
+msgstr "'\"%s\" ¨Ã¥¼§ó¦W: %s."
+
+#: data.php:155
+#, php-format
+msgid "%d Folders and %d Bookmarks imported."
+msgstr "¤w¶×¤J %d Ó¸ê®Æ§¨©M %d µ§®ÑÅÒ"
+
+#: templates/reports.php:104
+#, php-format
+msgid "%s Bookmarks"
+msgstr "%s Ó®ÑÅÒ"
+
+#: reports.php:24
+#, php-format
+msgid "%s Response Codes"
+msgstr "%s ¦^À³½X"
+
+#: lib/base.php:74
+#, php-format
+msgid "%s's Bookmarks"
+msgstr "%sªº®ÑÅÒ"
+
+#: lib/Block/bookmarks.php:63 lib/Block/highestrated.php:38
+#: lib/Block/mostclicked.php:38
+msgid "1 Line"
+msgstr "1 ¦æ"
+
+#: templates/star_rating_helper.php:20
+msgid "1 star out of 5"
+msgstr "¤@¬PµûŲ"
+
+#: lib/Block/bookmarks.php:55 lib/Block/highestrated.php:30
+#: lib/Block/mostclicked.php:30
+msgid "10 rows"
+msgstr "10 ¦æ"
+
+#: lib/Block/bookmarks.php:56 lib/Block/highestrated.php:31
+#: lib/Block/mostclicked.php:31
+msgid "15 rows"
+msgstr "15 ¦æ"
+
+#: templates/reports.php:36
+#, php-format
+msgid "1xx Response Codes (%s)"
+msgstr "1xx ¦^À³½X (%s)"
+
+#: lib/Block/bookmarks.php:62 lib/Block/highestrated.php:37
+#: lib/Block/mostclicked.php:37
+msgid "2 Line"
+msgstr "2 ¦æ"
+
+#: templates/star_rating_helper.php:21
+msgid "2 stars out of 5"
+msgstr "¤G¬PµûŲ"
+
+#: lib/Block/bookmarks.php:57 lib/Block/highestrated.php:32
+#: lib/Block/mostclicked.php:32
+msgid "25 rows"
+msgstr "25 ¦æ"
+
+#: templates/reports.php:42
+#, php-format
+msgid "2xx Response Codes (%s)"
+msgstr "2xx ¦^À³½X (%s)"
+
+#: lib/Block/bookmarks.php:61 lib/Block/highestrated.php:36
+#: lib/Block/mostclicked.php:36
+msgid "3 Line"
+msgstr "3 ¦æ"
+
+#: templates/star_rating_helper.php:22
+msgid "3 stars out of 5"
+msgstr "¤T¬PµûŲ"
+
+#: templates/reports.php:53
+#, php-format
+msgid "3xx Response Codes (%s)"
+msgstr "3xx ¦^À³½X (%s)"
+
+#: templates/star_rating_helper.php:23
+msgid "4 stars out of 5"
+msgstr "¥|¬PµûŲ"
+
+#: templates/reports.php:64
+#, php-format
+msgid "4xx Response Codes (%s)"
+msgstr "4xx ¦^À³½X (%s)"
+
+#: templates/star_rating_helper.php:24
+msgid "5 stars out of 5"
+msgstr "¤¬PµûŲ"
+
+#: templates/reports.php:86
+#, php-format
+msgid "5xx Response Codes (%s)"
+msgstr "5xx ¦^À³½X (%s)"
+
+#: lib/Trean.php:176
+msgid "Accepted"
+msgstr "¤w±µ¨ü"
+
+#: templates/add/add.inc:64 lib/Block/tree_menu.php:24
+msgid "Add"
+msgstr "·s¼W"
+
+#: templates/add/add.inc:91
+msgid "Add to Bookmarks"
+msgstr "¥[¤J®ÑÅÒ"
+
+#: templates/browse.php:220 templates/search.php:65
+msgid "All"
+msgstr "©Ò¦³"
+
+#: browse.php:31 data.php:38 perms.php:239 lib/Block/bookmarks.php:32
+#, php-format
+msgid "An error occured listing folders: %s"
+msgstr "¦b¦C¥X¸ê®Æ§¨: %s ®Éµo¥Í¤@Ó¿ù»~"
+
+#: lib/Trean.php:49
+#, php-format
+msgid "An error occurred counting folders: %s"
+msgstr "¦bpºâ¸ê®Æ§¨: %s ®Éµo¥Í¤@Ó¿ù»~"
+
+#: search.php:31
+msgid "Any Part of the field"
+msgstr "Äæ¦ì¥ô¤@³¡¥÷"
+
+#: templates/search.php:29
+msgid "Are you sure you want to delete the selected bookmarks?"
+msgstr "§A½T©wn§R°£©Ò¿ï¾Üªº®ÑÅÒ¶Ü?"
+
+#: templates/browse.php:115
+msgid "Are you sure you want to delete the selected items?"
+msgstr "§A½T©wn§R°£©Ò¿ï¾Üªº¶µ¥Ø¶Ü?"
+
+#: perms.php:44
+msgid "Attempt to edit a non-existent share."
+msgstr "À|¸Õ½s¿è¤@Ó¤£¦s¦bªº¦@¨É."
+
+#: lib/Trean.php:208
+msgid "Bad Gateway"
+msgstr "Web ¦øªA¾¹¦b§@¬°¹h¹D©Î¥N²z¦øªA¾¹ Proxy ®É¦¬¨ìµL®Äªº¦^À³"
+
+#: lib/Trean.php:188
+msgid "Bad Request"
+msgstr "¿ù»~ªºn¨D"
+
+#: add.php:64
+msgid "Bookmark Added"
+msgstr "®ÑÅÒ¤w¼W¥["
+
+#: data.php:17 templates/browse.php:223 lib/Block/bookmarks.php:3
+#: lib/Block/bookmarks.php:81
+msgid "Bookmarks"
+msgstr "®ÑÅÒ"
+
+#: browse.php:35
+msgid "Browse"
+msgstr "ÂsÄý"
+
+#: templates/edit/footer.inc:2
+msgid "Cancel"
+msgstr "¨ú®ø"
+
+#: config/prefs.php.dist:11
+msgid "Change the number of columns to display in browse and search results."
+msgstr "×§ïÂsÄý©Î·j´M®É§e²{µe±ªºÄæ¼Æ."
+
+#: templates/add/add.inc:86
+msgid "Close"
+msgstr "Ãö³¬"
+
+#: search.php:30
+msgid "Combine"
+msgstr "ÅÞ¿è"
+
+#: config/prefs.php.dist:46
+msgid "Completely collapsed"
+msgstr "§¹¥þ§éÅ|"
+
+#: config/prefs.php.dist:48
+msgid "Completely expanded"
+msgstr "§¹¥þ®i¶}"
+
+#: lib/Trean.php:197
+msgid "Conflict"
+msgstr "»P¨ä¥L½Ð¨Dµo¥Í½Ä¬ð"
+
+#: lib/Trean.php:172
+msgid "Continue"
+msgstr "Ä~Äò"
+
+#: edit.php:192
+msgid "Copied bookmark: "
+msgstr "®ÑÅҽƻs§¹¦¨: "
+
+#: templates/browse.php:242 templates/search.php:72
+msgid "Copy"
+msgstr "½Æ»s"
+
+#: edit.php:201
+#, php-format
+msgid "Copying folders is not supported."
+msgstr "¤£¤ä´©¸ê®Æ§¨½Æ»s."
+
+#: lib/Trean.php:175
+msgid "Created"
+msgstr "¤w«Ø¥ß"
+
+#: templates/reports.php:96
+#, php-format
+msgid "DNS Failure or Other Error (%s)"
+msgstr "DNS ¦WºÙ¸ÑªR©Î¨ä¥L¿ù»~ (%s)"
+
+#: templates/browse.php:233 templates/search.php:70
+msgid "Delete"
+msgstr "§R°£"
+
+#: templates/browse.php:33
+msgid "Delete current folder?"
+msgstr "§R°£¥Ø«eªº¸ê®Æ§¨?"
+
+#: templates/browse.php:260 templates/browse.php:360
+msgid "Delete this Folder"
+msgstr "§R°£³oÓ¸ê®Æ§¨"
+
+#: edit.php:32 edit.php:84
+msgid "Deleted bookmark: "
+msgstr "®ÑÅÒ§R°£§¹¦¨: "
+
+#: edit.php:98
+msgid "Deleted folder: "
+msgstr "¸ê®Æ§¨§R°£§¹¦¨:"
+
+#: search.php:28 templates/edit/bookmark.inc:15 templates/add/add.inc:47
+msgid "Description"
+msgstr "´yz"
+
+#: config/prefs.php.dist:10
+msgid "Display Options"
+msgstr "Åã¥Ü¿ï¶µ"
+
+#: lib/Block/bookmarks.php:52
+msgid "Display Rows"
+msgstr "Åã¥Ü¦æ"
+
+#: config/prefs.php.dist:76
+msgid "Display bookmark rating in browse/search view?"
+msgstr "¦bÂsÄý/·j´Mªºµe±¤¤Åã¥Ü®ÑÅÒ³QÂI¿ïªº¦¸¼Æ?"
+
+#: config/prefs.php.dist:58
+msgid "Display edit buttons when displaying Bookmarks?"
+msgstr "·íÅã¥Ü®ÑÅҮɤ]Åã¥Ü½s¿è¹Ï¥Ü?"
+
+#: templates/data/export.inc:11
+msgid "Download Folder"
+msgstr "¤U¸ü¸ê®Æ§¨"
+
+#: templates/add/add.inc:77
+msgid "Drag the \"Add to Bookmarks\" link below onto your \"Links\" Bar"
+msgstr "±N¤U¤èªº\"¥[¤J®ÑÅÒ\"³sµ²©Ô¨ì§Aªº\"³sµ²\"¤u¨ã¦C"
+
+#: templates/add/add.inc:75
+msgid ""
+"Drag the \"Add to Bookmarks\" link below onto your \"Personal Toolbar\"."
+msgstr "±N¤U¤èªº\"¥[¤J®ÑÅÒ\"³sµ²©Ô¨ì§Aªº\"Ó¤H¤u¨ã¦C\"."
+
+#: templates/browse.php:227 templates/search.php:69
+msgid "Edit"
+msgstr "½s¿è"
+
+#: edit.php:245
+msgid "Edit Bookmark"
+msgstr "½s¿è®ÑÅÒ"
+
+#: perms.php:235
+msgid "Edit Permissions"
+msgstr "½s¿èÅv"
+
+#: perms.php:242
+#, php-format
+msgid "Edit Permissions for %s"
+msgstr "½s¿è %s ªºÅv"
+
+#: lib/Trean.php:205
+msgid "Expectation Failed"
+msgstr "°õ¦æ¥¢±Ñ"
+
+#: templates/data/export.inc:4
+msgid "Export Bookmarks"
+msgstr "¶×¥X®ÑÅÒ"
+
+#: templates/data/import.inc:9
+msgid "File to import:"
+msgstr "¿ï¾ÜÀÉ®×¥H¶×¤J:"
+
+#: config/prefs.php.dist:47
+msgid "First level shown"
+msgstr "Åã¥Ü²Ä¤@¼h"
+
+#: templates/edit/bookmark.inc:25 templates/add/add.inc:52
+#: lib/Block/bookmarks.php:42
+msgid "Folder"
+msgstr "¸ê®Æ§¨"
+
+#: lib/Bookmarks.php:353
+msgid "Folder names must be non-empty"
+msgstr "¸ê®Æ§¨¦WºÙ¤£¥iªÅ¥Õ"
+
+#: templates/data/import.inc:11
+msgid "Folder to import into:"
+msgstr "¶×¤J¨ì¸ê®Æ§¨:"
+
+#: templates/browse.php:222
+msgid "Folders"
+msgstr "¸ê®Æ§¨"
+
+#: lib/Trean.php:191
+msgid "Forbidden"
+msgstr "¸T¤î¨Ï¥Î"
+
+#: lib/Trean.php:183
+msgid "Found"
+msgstr "ª«¥ó¤w²¾°Ê"
+
+#: lib/Trean.php:210
+msgid "Gateway Time-out"
+msgstr "¹h¹D¹O®É"
+
+#: lib/Trean.php:198
+msgid "Gone"
+msgstr "½Ð¨Dªº¸ê·½¤w¤£¦s¦b©ó¦øªA¾¹¤¤"
+
+#: reports.php:24 templates/reports.php:33
+msgid "HTTP Status"
+msgstr "HTTP ª¬ºA"
+
+#: lib/Trean.php:211
+msgid "HTTP Version not supported"
+msgstr "¤£¤ä´©ªº HTTP ª©¥»"
+
+#: lib/Block/bookmarks.php:50 config/prefs.php.dist:35
+msgid "Highest Rated"
+msgstr "³Ì¨üÅwªï"
+
+#: lib/Block/highestrated.php:3 lib/Block/highestrated.php:49
+msgid "Highest-rated Bookmarks"
+msgstr "³Ì¨üÅwªïªº®ÑÅÒ"
+
+#: templates/data/import.inc:16
+msgid "Import"
+msgstr "¶×¤J"
+
+#: data.php:183 templates/data/import.inc:4
+msgid "Import Bookmarks"
+msgstr "¶×¤J®ÑÅÒ"
+
+#: templates/data/export.inc:9
+msgid "Include Subfolders"
+msgstr "¥]§t¦¸¸ê®Æ§¨"
+
+#: lib/Trean.php:206
+msgid "Internal Server Error"
+msgstr "¤º³¡¦øªA¾¹¿ù»~"
+
+#: templates/add/add.inc:76
+msgid "Internet Explorer"
+msgstr "Internet Explorer"
+
+#: templates/data/import.inc:7
+msgid ""
+"Internet Explorer users will need to export their current Favorites by going "
+"to the \"File\" menu and selecting \"Import and Export\"."
+msgstr ""
+"Internet Explorer ¨Ï¥ÎªÌn¿é¥X§Úªº³Ì·R¥²¶·¨ì\"ÀÉ®×\"¿ï³æ¨Ã¿ï¾Ü\"¶×¤J©M¶×¥X\"."
+
+#: lib/Trean.php:199
+msgid "Length Required"
+msgstr "¥²¶·¦b½Ð¨D¤¤´£¨Ñ Content-Length ªíÀY"
+
+#: search.php:31
+msgid "Match"
+msgstr "§k¦X"
+
+#: lib/api.php:30
+msgid "Maximum Number of Bookmarks"
+msgstr "®ÑÅÒ¤W¼Æ¥Ø"
+
+#: lib/api.php:27
+msgid "Maximum Number of Folders"
+msgstr "¸ê®Æ§¨¤W¼Æ¥Ø"
+
+#: lib/Block/tree_menu.php:3
+msgid "Menu List"
+msgstr "¥\¯àªí"
+
+#: lib/Trean.php:193
+msgid "Method Not Allowed"
+msgstr "¤£±µ¨ü«È¤áºÝªº½Ð¨D¤èªk"
+
+#: templates/browse.php:248
+msgid "More Actions"
+msgstr "¨ä¥L§@¥Î¤è¦¡"
+
+#: lib/Block/bookmarks.php:51 config/prefs.php.dist:36
+msgid "Most Clicked"
+msgstr "³Ì¦hÂI¿ï"
+
+#: lib/Block/mostclicked.php:3 lib/Block/mostclicked.php:49
+msgid "Most-clicked Bookmarks"
+msgstr "³Ì¦hÂI¿ïªº®ÑÅÒ"
+
+#: templates/browse.php:235 templates/search.php:71
+msgid "Move"
+msgstr "·h²¾"
+
+#: lib/Trean.php:182
+msgid "Moved Permanently"
+msgstr "½Ð¨Dªº¸ê·½¤w¤£¦s¦b"
+
+#: edit.php:137
+msgid "Moved bookmark: "
+msgstr "®ÑÅÒ·h²¾§¹¦¨: "
+
+#: edit.php:151
+msgid "Moved folder: "
+msgstr "¸ê®Æ§¨·h²¾§¹¦¨: "
+
+#: templates/add/add.inc:74
+msgid "Mozilla"
+msgstr "Mozilla"
+
+#: templates/data/import.inc:6
+msgid ""
+"Mozilla/Firefox users will need to export their current Bookmarks by going "
+"into \"Bookmark Manager\" and selecting \"Export\" from the \"Tools\" menu."
+msgstr ""
+"Mozilla/Firefox ¨Ï¥ÎªÌn¶×¥X¥Ø«eªº®ÑÅÒ³]©w¥²¶·¨ì\"®ÑÅÒºÞ²zªÌ\"¨Ã±q\"¤u¨ã\"¿ï"
+"³æ¿ï¾Ü\"¶×¥X\"."
+
+#: lib/Trean.php:181
+msgid "Multiple Choices"
+msgstr "½Ð¨D¤¤ªº¸ê·½«ü¦V¤@¸s¤å¥ó"
+
+#: templates/edit/folder.inc:9
+msgid "Name"
+msgstr "¦WºÙ"
+
+#: add.php:111 templates/browse.php:250 templates/browse.php:344
+#: templates/add/add.inc:32
+msgid "New Bookmark"
+msgstr "·s¼W®ÑÅÒ"
+
+#: lib/Trean.php:85
+msgid "New Folder"
+msgstr "·s¼W¸ê®Æ§¨"
+
+#: templates/browse.php:257 templates/browse.php:353
+msgid "New Subfolder"
+msgstr "·s¼W¦¸¸ê®Æ§¨"
+
+#: templates/search.php:76
+msgid "No Bookmarks found"
+msgstr "§ä¤£¨ì®ÑÅÒ"
+
+#: lib/Trean.php:178
+msgid "No Content"
+msgstr "µL¤º®e"
+
+#: lib/Block/bookmarks.php:128 lib/Block/highestrated.php:73
+#: lib/Block/mostclicked.php:73
+msgid "No bookmarks to display"
+msgstr "µL®ÑÅÒ¥iÅã¥Ü"
+
+#: lib/Trean.php:177
+msgid "Non-Authoritative Information"
+msgstr "«D±ÂÅv¸ê°T"
+
+#: templates/browse.php:221 templates/search.php:66
+msgid "None"
+msgstr "µL"
+
+#: lib/Trean.php:194
+msgid "Not Acceptable"
+msgstr "¥Î¤áºÝÂsÄý¾¹¤£±µ¨ün¨D¶±ªº MIME Ãþ«¬"
+
+#: lib/Trean.php:192
+msgid "Not Found"
+msgstr "½Ð¨Dªº¤å¥ó¤£¦s¦b"
+
+#: lib/Trean.php:207
+msgid "Not Implemented"
+msgstr "¦øªA¾¹µLªk¤ä´©½Ð¨D¤¤ªº¥\¯à"
+
+#: lib/Trean.php:185
+msgid "Not Modified"
+msgstr "¥¼×§ï"
+
+#: templates/add/add.inc:80
+msgid "Note:"
+msgstr "³Æµù:"
+
+#: edit.php:239
+msgid "Nothing to edit."
+msgstr "¤°»ò¤]¤£½s¿è"
+
+#: lib/Block/highestrated.php:27 lib/Block/mostclicked.php:27
+msgid "Number of bookmarks to show"
+msgstr "®ÑÅÒÅã¥Ü¼Æ¥Ø"
+
+#: lib/Trean.php:174
+msgid "OK"
+msgstr "½T»{"
+
+#: templates/add/add.inc:81
+#, php-format
+msgid ""
+"On newer versions of Internet Explorer, you may have to add %s://%s to your "
+"Trusted Zone for this to work."
+msgstr ""
+"¦b¤ñ¸û·sª©ªº I.E ÂsÄý¾¹, §A¥i¯à»Ýn±N %s://%s ¥[¤J¨ì«H¥ôªººô¯¸¤¤¤~¯à¥Í®Ä.(¤è"
+"ªk¡GÂI¿ïI.E ÂsÄý¾¹ -> ¤u¨ã -> ºô»Úºô¸ô¿ï¶µ -> ¦w¥þ©Ê -> «H¥ôªººô¯¸ -"
+"> ºô¯¸)"
+
+#: perms.php:56
+msgid ""
+"Only the owner or system administrator may change ownership or owner "
+"permissions for a share"
+msgstr "¥u¦³¾Ö¦³ªÌ»P¨t²ÎºÞ²zû¥i¥HÅܧó¦@¨ÉÅv"
+
+#: templates/menu.inc:2 templates/menu.inc:5
+msgid "Open Fo_lder"
+msgstr "¶}±Ò¸ê®Æ§¨_l"
+
+#: config/prefs.php.dist:67
+msgid "Open links in a new window?"
+msgstr "¦b·sªºµøµ¡¶}±Ò³sµ²"
+
+#: config/prefs.php.dist:9
+msgid "Other Options"
+msgstr "¨ä¥L¿ï¶µ"
+
+#: lib/Trean.php:180
+msgid "Partial Content"
+msgstr "³¡¤À¤º®e"
+
+#: lib/Trean.php:190
+msgid "Payment Required"
+msgstr "«O¯d"
+
+#: templates/browse.php:134 templates/browse.php:169 templates/add/add.inc:5
+msgid "Please enter a name for the new folder:"
+msgstr "½Ð¿é¤J¤@Ó·s¸ê®Æ§¨ªº¦WºÙ:"
+
+#: templates/browse.php:26
+msgid "Please enter the name of the new folder:"
+msgstr "½Ð¿é¤J·s¸ê®Æ§¨ªº¦WºÙ:"
+
+#: templates/browse.php:40
+msgid "Please modify the name accordingly"
+msgstr "½Ð·r°u×§ï¦WºÙ"
+
+#: templates/browse.php:98 templates/browse.php:113 templates/browse.php:153
+#: templates/browse.php:188
+msgid "Please select an item first"
+msgstr "½Ð¥ý¿ï¾Ü¤@Ó¶µ¥Ø"
+
+#: lib/Trean.php:200
+msgid "Precondition Failed"
+msgstr "«ü©w±ø¥ó¥¢±Ñ"
+
+#: lib/Trean.php:195
+msgid "Proxy Authentication Required"
+msgstr "»Ýn¥N²z¦øªA¾¹ Proxy ÅçÃÒ"
+
+#: templates/browse.php:261 templates/browse.php:361
+msgid "Rename this Folder"
+msgstr "§ó¦W³oÓ¸ê®Æ§¨"
+
+#: reports.php:17
+msgid "Reports"
+msgstr "³øªí"
+
+#: lib/Trean.php:201
+msgid "Request Entity Too Large"
+msgstr "½Ð¨Dªº°T®§¥DÅé¹L©óÃe¤j"
+
+#: lib/Trean.php:196
+msgid "Request Time-out"
+msgstr "«È¤áºÝµLªk©ó¦³®Ä®É¤º§¹¦¨§@·~"
+
+#: lib/Trean.php:202
+msgid "Request-URI Too Large"
+msgstr "½Ð¨Dªº URI ¤Óªø"
+
+#: lib/Trean.php:204
+msgid "Requested range not satisfiable"
+msgstr "µLªkº¡¨¬n¨Dªº½d³ò"
+
+#: lib/Trean.php:179
+msgid "Reset Content"
+msgstr "«³]¤º®e"
+
+#: templates/edit/footer.inc:1
+msgid "Save"
+msgstr "Àx¦s"
+
+#: search.php:19 search.php:26 lib/Block/tree_menu.php:33
+msgid "Search"
+msgstr "·j´M"
+
+#: search.php:25
+msgid "Search Bookmarks"
+msgstr "·j´M®ÑÅÒ"
+
+#: search.php:61
+#, php-format
+msgid "Search Results (%s)"
+msgstr "·j´Mµ²ªG (%s)"
+
+#: lib/Trean.php:184
+msgid "See Other"
+msgstr "½Ð¨Dªº¸ê·½¥i¥H¦b§Oªº¦ì¸m§ä¨ì"
+
+#: templates/browse.php:220 templates/search.php:65
+msgid "Select All"
+msgstr "¥þ¿ï"
+
+#: templates/browse.php:223
+msgid "Select All Bookmarks"
+msgstr "¿ï¾Ü©Ò¦³®ÑÅÒ"
+
+#: templates/browse.php:222
+msgid "Select All Folders"
+msgstr "¿ï¾Ü©Ò¦³¸ê®Æ§¨"
+
+#: templates/browse.php:221 templates/search.php:66
+msgid "Select None"
+msgstr "¤£¿ï"
+
+#: templates/search.php:64
+#, php-format
+msgid "Select: %s, %s"
+msgstr "¿ï¾Ü: %s, %s"
+
+#: templates/browse.php:219
+#, php-format
+msgid "Select: %s, %s, %s, %s"
+msgstr "¿ï¾Ü: %s, %s, %s, %s"
+
+#: lib/Trean.php:209
+msgid "Service Unavailable"
+msgstr "ªA°ÈµLªk¨Ï¥Î"
+
+#: templates/browse.php:264 templates/browse.php:368
+msgid "Set Permissions"
+msgstr "³]©wÅv"
+
+#: config/prefs.php.dist:49
+msgid "Should your list of bookmark folders be open when you log in?"
+msgstr "µn¤J«áÅã¥Ü©Ò¦³¸ê®Æ§¨¤¤ªº®ÑÅÒ?"
+
+#: config/prefs.php.dist:37
+msgid "Sort bookmarks by:"
+msgstr "±Æ§Ç®ÑÅÒ¨Ì:"
+
+#: lib/Block/bookmarks.php:46
+msgid "Sort by"
+msgstr "±Æ¦C¨Ì"
+
+#: lib/Trean.php:173
+msgid "Switching Protocols"
+msgstr "¤Á´«³q°T¨ó©w"
+
+#: lib/Block/bookmarks.php:58 lib/Block/highestrated.php:33
+#: lib/Block/mostclicked.php:33
+msgid "Template"
+msgstr "¼ËªO"
+
+#: config/prefs.php.dist:25
+msgid "Template to use when displaying bookmarks:"
+msgstr "Åã¥Ü®ÑÅҮɩҥΪº¼ËªO:"
+
+#: lib/Trean.php:187
+msgid "Temporary Redirect"
+msgstr "¼È®É«·s¾É¦V"
+
+#: templates/browse.php:372
+msgid "There are no bookmarks in this folder"
+msgstr "¦¹¸ê®Æ§¨¤¤¨S¦³¥ô¦ó®ÑÅÒ"
+
+#: edit.php:194
+#, php-format
+msgid "There was a problem copying the bookmark: %s"
+msgstr "½Æ»s®ÑÅÒ: %s ®Éµo¥Í¤@Ó¿ù»~"
+
+#: edit.php:34 edit.php:86
+#, php-format
+msgid "There was a problem deleting the bookmark: %s"
+msgstr "§R°£®ÑÅÒ: %s ®Éµo¥Í¤@Ó¿ù»~"
+
+#: edit.php:100
+#, php-format
+msgid "There was a problem deleting the folder: %s"
+msgstr "§R°£¸ê®Æ§¨: %s ®Éµo¥Í¤@Ó¿ù»~"
+
+#: edit.php:139
+#, php-format
+msgid "There was a problem moving the bookmark: %s"
+msgstr "·h²¾®ÑÅÒ: %s ®Éµo¥Í¤@Ó¿ù»~"
+
+#: edit.php:153
+#, php-format
+msgid "There was a problem moving the folder: %s"
+msgstr "·h²¾¸ê®Æ§¨: %s ®Éµo¥Í¤@Ó¿ù»~"
+
+#: add.php:59
+#, php-format
+msgid "There was an error adding the bookmark: %s"
+msgstr "·s¼W®ÑÅÒ: %s ®Éµo¥Í¤@Ó¿ù»~"
+
+#: add.php:43 add.php:100 edit.php:122 edit.php:178
+#, php-format
+msgid "There was an error adding the folder: %s"
+msgstr "·s¼W¸ê®Æ§¨: %s ®Éµo¥Í¤@Ó¿ù»~."
+
+#: edit.php:55
+#, php-format
+msgid "There was an error saving the bookmark: %s"
+msgstr "Àx¦s®ÑÅÒ: %s ®Éµo¥Í¤@Ó¿ù»~"
+
+#: edit.php:68
+#, php-format
+msgid "There was an error saving the folder: %s"
+msgstr "Àx¦s¸ê®Æ§¨: %s ®Éµo¥Í¤@Ó¿ù»~."
+
+#: search.php:27 templates/edit/bookmark.inc:10 templates/add/add.inc:42
+#: lib/Block/bookmarks.php:49 config/prefs.php.dist:34
+msgid "Title"
+msgstr "¼ÐÃD"
+
+#: config/prefs.php.dist:24
+msgid "Title Only"
+msgstr "¶È¼ÐÃD"
+
+#: config/prefs.php.dist:23
+msgid "Title and Description"
+msgstr "¼ÐÃD»P´yz"
+
+#: config/prefs.php.dist:22
+msgid "Title, URL, and Description"
+msgstr "¼ÐÃD,ºô§}»P´yz"
+
+#: templates/add/add.inc:73
+msgid "To be able to quickly add bookmarks from your web browser:"
+msgstr "¬°¤F¯à°÷§Ö³tªº±q§AªºÂsÄý¾¹·s¼W®ÑÅÒ:"
+
+#: templates/reports.php:103
+msgid "Total"
+msgstr "Á`p"
+
+#: search.php:29 templates/edit/bookmark.inc:20 templates/add/add.inc:37
+msgid "URL"
+msgstr "ºô§}"
+
+#: lib/Trean.php:189
+msgid "Unauthorized"
+msgstr "©Úµ´¦s¨ú"
+
+#: templates/reports.php:100
+#, php-format
+msgid "Unknown (%s)"
+msgstr "¥¼ª¾ªº (%s)"
+
+#: lib/Trean.php:203
+msgid "Unsupported Media Type"
+msgstr "¤£¤ä´©ªº´CÅéÃþ«¬"
+
+#: perms.php:228
+#, php-format
+msgid "Updated %s."
+msgstr "%s ¤w§ó·s."
+
+#: lib/Trean.php:186
+msgid "Use Proxy"
+msgstr "¨Ï¥Î¥N²z¦øªA¾¹ Proxy"
+
+#: templates/add/add.inc:78
+msgid ""
+"While browsing you will be able to bookmark the current page by clicking "
+"your new \"Add to Bookmarks\" shortcut."
+msgstr "·í§A¦bÂsÄýºô¶®É,§A¥i¥HÂI¿ï\"¥[¤J®ÑÅÒ\"ªº±¶®|¥H·s¼W®ÑÅÒ"
+
+#: search.php:31
+msgid "Whole Field"
+msgstr "§¹¥þ²Å¦X"
+
+#: templates/browse.php:26
+msgid "You are creating a new folder."
+msgstr "§A¥¿¦b«Ø¥ß¤@Ó·sªº¸ê®Æ§¨."
+
+#: add.php:21 data.php:64 data.php:131
+#, php-format
+msgid "You are not allowed to create more than %d bookmarks."
+msgstr "§A¨S¦³«Ø¥ß¶W¹L %d Ó®ÑÅÒªºÅv."
+
+#: add.php:84 data.php:55 data.php:106
+#, php-format
+msgid "You are not allowed to create more than %d folders."
+msgstr "¤£¤¹³\§A«Ø¥ß %d Ó¥H¤Wªº¸ê®Æ§¨."
+
+#: templates/browse.php:40
+msgid "You are renaming the current folder."
+msgstr "§A¥¿¦b¬°¥Ø«eªº¸ê®Æ§¨§ó·s¦WºÙ."
+
+#: browse.php:21
+msgid "You do not have permission to view this folder."
+msgstr "§A¨S¦³À˵ø¦¹¸ê®Æ§¨ªºÅv."
+
+#: templates/browse.php:144 templates/browse.php:179 templates/add/add.inc:13
+msgid "You must select a target folder first"
+msgstr "½Ð¥ý¿ï¾Ü¤@Ó¥Ø¼Ð¸ê®Æ§¨"
+
+#: lib/Trean.php:144
+msgid "_Browse"
+msgstr "ÂsÄý_B"
+
+#: lib/Trean.php:155
+msgid "_Import/Export"
+msgstr "¶×¤J/¶×¥X_I"
+
+#: lib/Trean.php:148
+msgid "_New Bookmark"
+msgstr "·s¼W®ÑÅÒ_N"
+
+#: lib/Trean.php:151
+msgid "_Reports"
+msgstr "³øªí_R"
+
+#: lib/Trean.php:150
+msgid "_Search"
+msgstr "·j´M_S"
+
+#: templates/search.php:111 templates/bookmark/1line.inc:27
+#: templates/bookmark/2line.inc:38 templates/bookmark/standard.inc:42
+#: templates/block/1line.inc:22 templates/block/2line.inc:26
+#: templates/block/standard.inc:24
+msgid "click"
+msgstr "ÂI¿ï"
+
+#: templates/search.php:111 templates/bookmark/1line.inc:27
+#: templates/bookmark/2line.inc:38 templates/bookmark/standard.inc:42
+#: templates/block/1line.inc:22 templates/block/2line.inc:26
+#: templates/block/standard.inc:24
+msgid "clicks"
+msgstr "ÂI¿ï"
diff --git a/trean/redirect.php b/trean/redirect.php
new file mode 100644
index 000000000..179df7683
--- /dev/null
+++ b/trean/redirect.php
@@ -0,0 +1,30 @@
+
+ */
+
+require_once dirname(__FILE__) . '/lib/Application.php';
+Horde_Registry::appInit('trean');
+
+$bookmark_id = Horde_Util::getFormData('b');
+if (!$bookmark_id) {
+ exit;
+}
+$bookmark = $trean_shares->getBookmark($bookmark_id);
+if (is_a($bookmark, 'PEAR_Error')) {
+ exit;
+}
+
+++$bookmark->clicks;
+$bookmark->save();
+
+header('Location: ' . Horde::externalUrl($bookmark->url));
diff --git a/trean/reports.php b/trean/reports.php
new file mode 100644
index 000000000..6091f04bc
--- /dev/null
+++ b/trean/reports.php
@@ -0,0 +1,34 @@
+
+ */
+
+require_once dirname(__FILE__) . '/lib/Application.php';
+Horde_Registry::appInit('trean');
+
+require_once TREAN_BASE . '/lib/Views/BookmarkList.php';
+
+$drilldown = Horde_Util::getFormData('drilldown');
+$title = _("Reports");
+Horde::addScriptFile('stripe.js', 'horde', true);
+require TREAN_TEMPLATES . '/common-header.inc';
+require TREAN_TEMPLATES . '/menu.inc';
+
+if ($drilldown) {
+ $bookmarks = $trean_shares->searchBookmarks(array(array('http_status', 'LIKE', substr($drilldown, 0, 1), array('begin' => true))));
+ $search_title = _("HTTP Status") . ' :: ' . sprintf(_("%s Response Codes"), $drilldown) . ' (' . count($bookmarks) . ')';
+
+ /* Display the results. */
+ require TREAN_TEMPLATES . '/search.php';
+} else {
+ require TREAN_TEMPLATES . '/reports.php';
+}
+
+require $registry->get('templates', 'horde') . '/common-footer.inc';
diff --git a/trean/rss.php b/trean/rss.php
new file mode 100644
index 000000000..d84cbcbab
--- /dev/null
+++ b/trean/rss.php
@@ -0,0 +1,99 @@
+
+ *
+ * See the enclosed file LICENSE for license information (BSD). If you
+ * did not receive this file, see http://www.horde.org/licenses/bsdl.php.
+ */
+
+@define('AUTH_HANDLER', true);
+@define('TREAN_BASE', dirname(__FILE__));
+require_once TREAN_BASE . '/lib/base.php';
+require_once 'Horde/Cache.php';
+
+// Handle HTTP Authentication
+function _requireAuth()
+{
+ $auth = Horde_Auth::singleton($GLOBALS['conf']['auth']['driver']);
+ if (!isset($_SERVER['PHP_AUTH_USER'])
+ || !$auth->authenticate($_SERVER['PHP_AUTH_USER'],
+ array('password' => isset($_SERVER['PHP_AUTH_PW']) ? $_SERVER['PHP_AUTH_PW'] : null))) {
+ header('WWW-Authenticate: Basic realm="Trean RSS Interface"');
+ header('HTTP/1.0 401 Unauthorized');
+ echo '401 Unauthorized';
+ exit;
+ }
+
+ return true;
+}
+
+// Show a specific folder?
+if (($folderId = Horde_Util::getGet('f')) !== null) {
+ $folder = &$trean_shares->getFolder($folderId);
+ // Try guest permissions, if acccess is not granted, login and
+ // retry.
+ if ($folder->hasPermission('', Horde_Perms::READ) ||
+ (_requireAuth() && $folder->hasPermission(Horde_Auth::getAuth(), Horde_Perms::READ))) {
+ $folders = array($folderId);
+ }
+} else {
+ // Get all folders. Try guest permissions, if no folders are
+ // accessible, login and retry.
+ $folders = $trean_shares->listFolders('', Horde_Perms::READ);
+ if (empty($folders) && _requireAuth()) {
+ $folders = $trean_shares->listFolders(Horde_Auth::getAuth(), Horde_Perms::READ);
+ }
+}
+
+// No folders to display
+if (empty($folders)) {
+ exit;
+}
+
+// Cache object
+$cache = $GLOBALS['injector']->getInstance('Horde_Cache');
+
+// Get folders to display
+$cache_key = 'trean_rss_' . Horde_Auth::getAuth() . '_' . ($folderId === null ? 'all' : $folderId);
+$rss = $cache->get($cache_key, $conf['cache']['default_lifetime']);
+if (!$rss) {
+ $rss = '
+
+
+ ' . htmlspecialchars($folderId == null ? $registry->get('name') : $folder->get('name')) . '
+ ' . Horde_Nls::select() . '
+ ' . Horde_Nls::getCharset() . '
+ ' . date('Y-m-d H:i:s') . '
+
+ http://' . $_SERVER['SERVER_NAME'] . $registry->get('webroot') . '/themes/graphics/favicon.ico
+
+ ' . htmlspecialchars($registry->get('name')) . ' ';
+
+ foreach ($folders as $folderId) {
+ $folder = &$trean_shares->getFolder($folderId);
+ $bookmarks = $folder->listBookmarks($prefs->getValue('sortby'),
+ $prefs->getValue('sortdir'));
+ foreach ($bookmarks as $bookmark) {
+ if (!$bookmark->url) {
+ continue;
+ }
+ $rss .= '
+ -
+
' . htmlspecialchars($bookmark->title) . '
+ ' . htmlspecialchars($bookmark->url) . '
+ ' . htmlspecialchars($bookmark->description) . '
+ ';
+ }
+ }
+
+ $rss .= '
+
+ ';
+
+ $cache->set($cache_key, $rss);
+}
+
+header('Content-type: application/rss+xml');
+echo $rss;
diff --git a/trean/scripts/sql/trean.sql b/trean/scripts/sql/trean.sql
new file mode 100644
index 000000000..77e1b212f
--- /dev/null
+++ b/trean/scripts/sql/trean.sql
@@ -0,0 +1,27 @@
+-- $Horde: trean/scripts/sql/trean.sql,v 1.6 2008/11/25 20:47:27 chuck Exp $
+
+CREATE TABLE trean_bookmarks (
+ bookmark_id INT NOT NULL,
+ folder_id INT NOT NULL,
+ bookmark_url VARCHAR(1024) NOT NULL,
+ bookmark_title VARCHAR(255),
+ bookmark_description VARCHAR(1024),
+ bookmark_clicks INT DEFAULT 0,
+ bookmark_rating INT,
+ favicon_id INT,
+ bookmark_http_status VARCHAR(5),
+--
+ PRIMARY KEY (bookmark_id)
+);
+CREATE INDEX trean_bookmarks_folder_idx ON trean_bookmarks (folder_id);
+CREATE INDEX trean_bookmarks_clicks_idx ON trean_bookmarks (bookmark_clicks);
+CREATE INDEX trean_bookmarks_rating_idx ON trean_bookmarks (bookmark_rating);
+
+CREATE TABLE trean_favicons (
+ favicon_id INT NOT NULL,
+ favicon_url TEXT NOT NULL,
+ favicon_updated INT NOT NULL,
+--
+ PRIMARY KEY (favicon_id)
+);
+CREATE INDEX trean_favicons_url_idx ON trean_favicons (favicon_url(255));
diff --git a/trean/scripts/url_cron.php b/trean/scripts/url_cron.php
new file mode 100644
index 000000000..e5fb79790
--- /dev/null
+++ b/trean/scripts/url_cron.php
@@ -0,0 +1,227 @@
+#!/usr/bin/php
+
+ * @author Chuck Hagenbuch
+ */
+
+// Find the base file path of Horde.
+@define('HORDE_BASE', dirname(__FILE__) . '/../..');
+
+// Find the base file path of Trean.
+@define('TREAN_BASE', dirname(__FILE__) . '/..');
+
+// Do CLI checks and environment setup first.
+require_once HORDE_BASE . '/lib/core.php';
+require_once 'Horde/CLI.php';
+
+// Make sure no one runs this from the web.
+if (!Horde_CLI::runningFromCLI()) {
+ exit("Must be run from the command line\n");
+}
+
+// Load the CLI environment - make sure there's no time limit, init
+// some variables, etc.
+Horde_CLI::init();
+
+// Now load the Registry and setup conf, etc.
+$registry = &Registry::singleton();
+$registry->pushApp('trean', false);
+
+// Include needed libraries.
+require_once TREAN_BASE . '/lib/Trean.php';
+require_once TREAN_BASE . '/lib/Bookmarks.php';
+
+// Create Trean objects.
+$trean_db = Trean::getDb();
+$trean_shares = new Trean_Bookmarks();
+
+$ids = $trean_db->queryCol('SELECT bookmark_id FROM trean_bookmarks');
+foreach ($ids as $bookmark_id) {
+ $bookmark = $trean_shares->getBookmark($bookmark_id);
+ $check = @_getHeaders($bookmark->url, 1);
+ if (!$check) {
+ $bookmark->http_status = 'error';
+ } else {
+ $status = explode(' ', $check[0]);
+ if ($status[1] != $bookmark->http_status) {
+ $bookmark->http_status = $status[1];
+ }
+
+ if ($bookmark->http_status == '200' || $bookmark->http_status == '302') {
+ $body = get_body($bookmark);
+ if ($favicon = get_favicon($bookmark, $body)) {
+ $bookmark->favicon = $favicon;
+ }
+ }
+
+ // If we've been redirected, update the bookmark's URL.
+ if (isset($check['Location']) && $check['Location'] != $bookmark->url) {
+ $location = @parse_url($check['Location']);
+ if ($location && !empty($location['scheme'])) {
+ $bookmark->url = $check['Location'];
+ $bookmark->http_status = '';
+ }
+ }
+ }
+
+ $bookmark->save();
+}
+
+/**
+ */
+function _getHeaders($url, $format = 0)
+{
+ $url_info = @parse_url($url);
+ $port = isset($url_info['port']) ? $url_info['port'] : 80;
+ $fp = @fsockopen($url_info['host'], $port, $errno, $errstr, 30);
+
+ if (!$fp) {
+ return false;
+ }
+
+ // Generate HTTP/1.0 HEAD request.
+ $head = 'HEAD ' .
+ (empty($url_info['path']) ? '/' : $url_info['path']) .
+ (empty($url_info['query']) ? '' : '?' . $url_info['query']) .
+ " HTTP/1.0\r\nHost: " . $url_info['host'] . "\r\n\r\n";
+
+ $headers = array();
+ fputs($fp, $head);
+
+ stream_set_timeout($fp, 10);
+ while (!feof($fp)) {
+ $info = stream_get_meta_data($fp);
+ if ($info['timed_out']) {
+ return false;
+ }
+ if ($header = trim(fgets($fp, 1024))) {
+ if ($format == 1) {
+ $tmp = explode(':', $header);
+ $key = array_shift($tmp);
+ if ($key == $header) {
+ $headers[] = $header;
+ } else {
+ $headers[$key] = substr($header, strlen($key) + 2);
+ }
+ } else {
+ $headers[] = $header;
+ }
+ }
+ }
+ return $headers;
+}
+
+function get_body($bookmark)
+{
+ $body = file_get_contents($bookmark->url);
+
+ // @TODO get headers
+
+ get_favicon($bookmark, $body);
+
+
+/**
+ * Attempts to retrieve a favicon for the given bookmark. If successful, the
+ * favicon is stored in the trean_urls table for later use.
+ */
+function get_favicon($bookmark, $body)
+{
+ global $favicon;
+ $favicon = '';
+
+ // Attempt to parse a favicon.
+ $error = false;
+ $xml_parser = xml_parser_create();
+ xml_set_element_handler($xml_parser, 'startElement', 'endElement');
+ if (!xml_parse($xml_parser, $body, true)) {
+ $error = true;
+ }
+ xml_parser_free($xml_parser);
+
+ $url = parse_url($bookmark->url);
+
+ // If parsing a favicon failed, look for favicon.ico.
+ if (!$favicon) {
+ $headers = @_getHeaders($url['scheme'] . '://' . $url['host'] . '/favicon.ico', 1);
+ if ($headers) {
+ $status = explode(' ', $headers[0]);
+ if ($status[1] == '200') {
+ $favicon = $url['scheme'] . '://' . $url['host'] . '/favicon.ico';
+ } else {
+ if (isset($url['path'])) {
+ $path = pathinfo($url['path']);
+ } else {
+ $path = array('dirname' => '');
+ }
+ $headers = @_getHeaders($url['scheme'] . '://' . $url['host'] . $path['dirname'] . '/favicon.ico', 1);
+ if ($headers) {
+ $status = explode(' ', $headers[0]);
+ if ($status[1] == '200') {
+ $favicon = $url['scheme'] . '://' . $url['host'] . $path['dirname'] . '/favicon.ico';
+ }
+ }
+ }
+ }
+ }
+
+ // If a favicon was found, try to get it.
+ if ($favicon) {
+ // Make sure $favicon is a full URL.
+ if (false && substr(strtolower($favicon), 0, 7) != 'http://') {
+ if (substr($favicon, 0, 1) == '/') {
+ $favicon = $url['scheme'] . '://' . $url['host'] . $favicon;
+ } else {
+ $path = pathinfo($url['path']);
+ $favicon = $url['scheme'] . '://' . $url['host'] . $path['dirname'] . '/' . $favicon;
+ }
+ }
+
+ // Attempt to read and store $favicon.
+ if ($data = @file_get_contents($favicon)) {
+ $info = pathinfo($favicon);
+ $favicon_ext = $info['extension'];
+ }
+ }
+
+ return false;
+}
+
+/**
+ * get_favicon html parsing helper function
+ */
+function startElement($parser, $name, $attrs)
+{
+ global $favicon;
+
+ if (strtoupper($name) == 'LINK' && is_array($attrs)) {
+ $use = false;
+ $href = '';
+ foreach ($attrs as $key => $val) {
+ if (strtoupper($key) == 'REL' &&
+ (strtoupper($val) == 'SHORTCUT ICON' || strtoupper($val) == 'ICON')) {
+ $use = true;
+ }
+ if (strtoupper($key) == 'HREF') {
+ $href = $val;
+ }
+ }
+ if ($use && $href) {
+ $favicon = $href;
+ }
+ }
+}
+
+/**
+ * get_favicon html parsing helper function
+ */
+function endElement($parser, $name)
+{
+}
diff --git a/trean/search.php b/trean/search.php
new file mode 100644
index 000000000..ef02aba6f
--- /dev/null
+++ b/trean/search.php
@@ -0,0 +1,62 @@
+
+ */
+
+require_once dirname(__FILE__) . '/lib/Application.php';
+Horde_Registry::appInit('trean');
+
+require_once TREAN_BASE . '/lib/Forms/Search.php';
+require_once TREAN_BASE . '/lib/Views/BookmarkList.php';
+
+$title = _("Search");
+require TREAN_TEMPLATES . '/common-header.inc';
+require TREAN_TEMPLATES . '/menu.inc';
+
+// Set up the search form.
+$vars = Horde_Variables::getDefaultVariables();
+$form = new SearchForm($vars);
+
+// Render the search form.
+$form->renderActive(new Horde_Form_Renderer(), $vars, Horde::selfUrl(), 'post');
+echo ' ';
+
+if ($form->validate($vars)) {
+ // Create the filter.
+ $combine = Horde_Util::getFormData('combine', 'OR');
+ $op = Horde_Util::getFormData('op', 'LIKE');
+ $criteria = array();
+
+ // Searching for URL?
+ if (strlen($u = Horde_Util::getFormData('url'))) {
+ $criteria[] = array('url', $op, $u);
+ }
+
+ // Searching title?
+ if (strlen($t = Horde_Util::getFormData('title'))) {
+ $criteria[] = array('title', $op, $t);
+ }
+
+ // Searching description?
+ if (strlen($d = Horde_Util::getFormData('description'))) {
+ $criteria[] = array('description', $op, $d);
+ }
+
+ if ($criteria) {
+ // Get the bookmarks.
+ $bookmarks = $trean_shares->searchBookmarks($criteria, $combine);
+ $search_title = sprintf(_("Search Results (%s)"), count($bookmarks));
+
+ // Display the results.
+ require TREAN_TEMPLATES . '/search.php';
+ }
+}
+
+require_once $registry->get('templates', 'horde') . '/common-footer.inc';
diff --git a/trean/templates/add.html.php b/trean/templates/add.html.php
new file mode 100644
index 000000000..787525170
--- /dev/null
+++ b/trean/templates/add.html.php
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
diff --git a/trean/templates/block/1line.inc b/trean/templates/block/1line.inc
new file mode 100644
index 000000000..b6e865fe2
--- /dev/null
+++ b/trean/templates/block/1line.inc
@@ -0,0 +1,25 @@
+id);
+$target = $GLOBALS['prefs']->getValue('show_in_new_window') ? '_blank' : '';
+if ($bookmark->http_status == 'error') {
+ $status = 'error.png';
+} elseif ($bookmark->http_status == '') {
+ $status = '';
+} else {
+ $status = substr($bookmark->http_status, 0, 1) . 'xx.png';
+}
+?>
+
+
+
+
+
+
+
+
+
+ url) ?>description) ? '' : ' - ' . htmlspecialchars($bookmark->description) . ' ') ?>
+ (clicks ?> clicks == 1 ? _("click") : _("clicks")) ?>)
+
+
+
diff --git a/trean/templates/block/2line.inc b/trean/templates/block/2line.inc
new file mode 100644
index 000000000..3929be3ad
--- /dev/null
+++ b/trean/templates/block/2line.inc
@@ -0,0 +1,31 @@
+id);
+$target = $GLOBALS['prefs']->getValue('show_in_new_window') ? '_blank' : '';
+if ($bookmark->http_status == 'error') {
+ $status = 'error.png';
+} elseif ($bookmark->http_status == '') {
+ $status = '';
+} else {
+ $status = substr($bookmark->http_status, 0, 1) . 'xx.png';
+}
+?>
+
+
+
+
+
+
+
+
+
+
+ title) ?>
+
+
+
+ (clicks . ' ' . ($bookmark->clicks == 1 ? _("click") : _("clicks")) ?>)
+ description) ?>
+
+
+
+
diff --git a/trean/templates/block/standard.inc b/trean/templates/block/standard.inc
new file mode 100644
index 000000000..05acbc509
--- /dev/null
+++ b/trean/templates/block/standard.inc
@@ -0,0 +1,36 @@
+getValue('show_in_new_window') ? '_blank' : '';
+$bookmark_url = Horde_Util::addParameter(Horde::applicationUrl('redirect.php'), 'b', $bookmark->id);
+if ($bookmark->http_status == 'error') {
+ $status = 'error.png';
+} elseif ($bookmark->http_status == '') {
+ $status = '';
+} else {
+ $status = substr($bookmark->http_status, 0, 1) . 'xx.png';
+}
+?>
+
+
+
+
+
+
+
+
+
+
+
+ title) ?>
+ (clicks . ' ' . ($bookmark->clicks == 1 ? _("click") : _("clicks")) ?>)
+
+
+
+ url, 100, "\n", true))) ?>
+
+
+
+ description) ?>
+
+
+
+
diff --git a/trean/templates/browse.php b/trean/templates/browse.php
new file mode 100644
index 000000000..76362603c
--- /dev/null
+++ b/trean/templates/browse.php
@@ -0,0 +1,190 @@
+
+
+
+
+
+ $GLOBALS['trean_shares']->countBookmarks());
+
+$option_edit = (!empty($GLOBALS['folder']) ? $GLOBALS['folder']->hasPermission($GLOBALS['registry']->getAuth(), Horde_Perms::EDIT) : false);
+$option_delete = (!empty($GLOBALS['folder']) ? $GLOBALS['folder']->hasPermission($GLOBALS['registry']->getAuth(), Horde_Perms::DELETE) : false);
+$num_items = count(!empty($GLOBALS['bookmarks']) ? $GLOBALS['bookmarks'] : 0);
+if (!empty($folder)):
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+getAuth()): ?>
+
+
+
+
+ Trean::countFolders()): ?>
+
+
+
+ getParent() && $option_delete): ?>
+
+
+ getParent() && $option_edit): ?>
+
+
+
+ get('owner') == $GLOBALS['registry']->getAuth()): ?>
+
+ getId()), _("Control access to this folder"), '', '_blank', 'popup(this.href); return false;')
+ . Horde::img('perms.png') . _("Control access to this folder") . '' ?>
+
+
+
+
+ 'folder.png',
+ 'iconopen' => 'folderopen.png');
+ $tree = Horde_Tree::factory('folder_tree', 'javascript', array('alternate' => true));
+ $expand = $prefs->getValue('expand_tree');
+ if ($expand == 'none') {
+ $expand = false;
+ } elseif ($expand == 'all') {
+ $expand = true;
+ }
+
+ foreach ($folders as $tfn => $tf) {
+ if (!empty($folder)) {
+ $f_id = $folder->getId();
+ } else {
+ $f_id = null;
+ }
+ $params['class'] = ($tf->getId() == $f_id) ? 'selected' : null;
+ $params['url'] = Horde::applicationUrl('browse.php?f=' . $tf->getId());
+ $level = substr_count($tfn, ':');
+
+ if ($expand == 'first') {
+ $expand_node = ($level == 0);
+ } else {
+ $expand_node = $expand;
+ }
+ $tree->addNode($tf->getId(), $tf->getParent(), $tf->get('name'), $level, $expand_node, $params);
+ }
+
+ echo $tree->renderTree();
+}
+?>
+
+
+
+
+
+
diff --git a/trean/templates/common-header.inc b/trean/templates/common-header.inc
new file mode 100644
index 000000000..03befd2ac
--- /dev/null
+++ b/trean/templates/common-header.inc
@@ -0,0 +1,44 @@
+
+
+
+
+
+' : '' ?>
+
+get('name');
+if (!empty($title)) $page_title .= ' :: ' . $title;
+if (!empty($refresh_time) && ($refresh_time > 0) && !empty($refresh_url)) {
+ echo " \n";
+}
+
+Horde::includeScriptFiles();
+
+$rss = Horde::applicationUrl('rss.php', true, -1);
+if (Horde_Util::getFormData('f')) {
+ $rss = Horde_Util::addParameter($rss, 'f', Horde_Util::getFormData('f'), false);
+}
+echo ' ';
+
+$bc = Horde_Util::nonInputVar('bodyClass');
+if ($prefs->getValue('show_folder_actions')) {
+ if ($bc) {
+ $bc .= ' ';
+ }
+ $bc .= 'folderActions';
+}
+
+?>
+
+
+
+
+
+
+>
diff --git a/trean/templates/data/export.inc b/trean/templates/data/export.inc
new file mode 100644
index 000000000..0b08452f8
--- /dev/null
+++ b/trean/templates/data/export.inc
@@ -0,0 +1,13 @@
+
diff --git a/trean/templates/data/import.inc b/trean/templates/data/import.inc
new file mode 100644
index 000000000..6e85e5d52
--- /dev/null
+++ b/trean/templates/data/import.inc
@@ -0,0 +1,20 @@
+
+
+
diff --git a/trean/templates/edit/bookmark.inc b/trean/templates/edit/bookmark.inc
new file mode 100644
index 000000000..d774fa7f4
--- /dev/null
+++ b/trean/templates/edit/bookmark.inc
@@ -0,0 +1,33 @@
+
+
+
+
+
+
diff --git a/trean/templates/edit/delete_folder_confirmation.inc b/trean/templates/edit/delete_folder_confirmation.inc
new file mode 100644
index 000000000..c284909b3
--- /dev/null
+++ b/trean/templates/edit/delete_folder_confirmation.inc
@@ -0,0 +1,18 @@
+
+
+
get('name'))) ?>
+
+
+
+
+
+
diff --git a/trean/templates/edit/folder.inc b/trean/templates/edit/folder.inc
new file mode 100644
index 000000000..8b15587be
--- /dev/null
+++ b/trean/templates/edit/folder.inc
@@ -0,0 +1,12 @@
+getId() ?>
+
+
+
+
+
+
+
+
diff --git a/trean/templates/edit/footer.inc b/trean/templates/edit/footer.inc
new file mode 100644
index 000000000..f3c2dcfec
--- /dev/null
+++ b/trean/templates/edit/footer.inc
@@ -0,0 +1,3 @@
+ " />
+ " onclick="return cancelEdit();" />
+
diff --git a/trean/templates/edit/header.inc b/trean/templates/edit/header.inc
new file mode 100644
index 000000000..b184e1e32
--- /dev/null
+++ b/trean/templates/edit/header.inc
@@ -0,0 +1,17 @@
+
+
+
'; endif;
+
+$view = new Trean_View_BookmarkList($bookmarks);
+echo $view->render();
+?>
+
diff --git a/trean/templates/star_rating_helper.php b/trean/templates/star_rating_helper.php
new file mode 100644
index 000000000..db556e827
--- /dev/null
+++ b/trean/templates/star_rating_helper.php
@@ -0,0 +1,32 @@
+id, true);
+ return '
+
+ ' . str_repeat('*', $bookmark->rating) . '
+ 1
+ 2
+ 3
+ 4
+ 5
+ ';
+}
+
+function static_star_rating_helper($bookmark)
+{
+ return '
+' . str_repeat('*', $bookmark->rating) . ' ';
+}
diff --git a/trean/templates/views/BookmarkList.php b/trean/templates/views/BookmarkList.php
new file mode 100644
index 000000000..89dc59652
--- /dev/null
+++ b/trean/templates/views/BookmarkList.php
@@ -0,0 +1,68 @@
+
+
+
diff --git a/trean/themes/graphics/add.png b/trean/themes/graphics/add.png
new file mode 100644
index 000000000..41be5d97d
Binary files /dev/null and b/trean/themes/graphics/add.png differ
diff --git a/trean/themes/graphics/az.png b/trean/themes/graphics/az.png
new file mode 100644
index 000000000..2b646f94c
Binary files /dev/null and b/trean/themes/graphics/az.png differ
diff --git a/trean/themes/graphics/data.png b/trean/themes/graphics/data.png
new file mode 100644
index 000000000..e75ddf849
Binary files /dev/null and b/trean/themes/graphics/data.png differ
diff --git a/trean/themes/graphics/delete.png b/trean/themes/graphics/delete.png
new file mode 100644
index 000000000..26477f183
Binary files /dev/null and b/trean/themes/graphics/delete.png differ
diff --git a/trean/themes/graphics/edit.png b/trean/themes/graphics/edit.png
new file mode 100644
index 000000000..550f13dbe
Binary files /dev/null and b/trean/themes/graphics/edit.png differ
diff --git a/trean/themes/graphics/favicon.ico b/trean/themes/graphics/favicon.ico
new file mode 100644
index 000000000..29e2e6bfb
Binary files /dev/null and b/trean/themes/graphics/favicon.ico differ
diff --git a/trean/themes/graphics/folders/folder_create.png b/trean/themes/graphics/folders/folder_create.png
new file mode 100644
index 000000000..5b428d2f5
Binary files /dev/null and b/trean/themes/graphics/folders/folder_create.png differ
diff --git a/trean/themes/graphics/folders/folder_delete.png b/trean/themes/graphics/folders/folder_delete.png
new file mode 100644
index 000000000..985c12a3c
Binary files /dev/null and b/trean/themes/graphics/folders/folder_delete.png differ
diff --git a/trean/themes/graphics/folders/folder_edit.png b/trean/themes/graphics/folders/folder_edit.png
new file mode 100644
index 000000000..2b5397f37
Binary files /dev/null and b/trean/themes/graphics/folders/folder_edit.png differ
diff --git a/trean/themes/graphics/http/1xx.png b/trean/themes/graphics/http/1xx.png
new file mode 100644
index 000000000..1cae1e8af
Binary files /dev/null and b/trean/themes/graphics/http/1xx.png differ
diff --git a/trean/themes/graphics/http/2xx.png b/trean/themes/graphics/http/2xx.png
new file mode 100644
index 000000000..4af9076c7
Binary files /dev/null and b/trean/themes/graphics/http/2xx.png differ
diff --git a/trean/themes/graphics/http/3xx.png b/trean/themes/graphics/http/3xx.png
new file mode 100644
index 000000000..1cae1e8af
Binary files /dev/null and b/trean/themes/graphics/http/3xx.png differ
diff --git a/trean/themes/graphics/http/4xx.png b/trean/themes/graphics/http/4xx.png
new file mode 100644
index 000000000..7f6d50fab
Binary files /dev/null and b/trean/themes/graphics/http/4xx.png differ
diff --git a/trean/themes/graphics/http/5xx.png b/trean/themes/graphics/http/5xx.png
new file mode 100644
index 000000000..d1c6785ec
Binary files /dev/null and b/trean/themes/graphics/http/5xx.png differ
diff --git a/trean/themes/graphics/http/error.png b/trean/themes/graphics/http/error.png
new file mode 100644
index 000000000..d1c6785ec
Binary files /dev/null and b/trean/themes/graphics/http/error.png differ
diff --git a/trean/themes/graphics/minus.png b/trean/themes/graphics/minus.png
new file mode 100644
index 000000000..32170460c
Binary files /dev/null and b/trean/themes/graphics/minus.png differ
diff --git a/trean/themes/graphics/perms.png b/trean/themes/graphics/perms.png
new file mode 100644
index 000000000..36d087c2e
Binary files /dev/null and b/trean/themes/graphics/perms.png differ
diff --git a/trean/themes/graphics/plus.png b/trean/themes/graphics/plus.png
new file mode 100644
index 000000000..263e35690
Binary files /dev/null and b/trean/themes/graphics/plus.png differ
diff --git a/trean/themes/graphics/protocol/ftp.png b/trean/themes/graphics/protocol/ftp.png
new file mode 100644
index 000000000..3befbd1c7
Binary files /dev/null and b/trean/themes/graphics/protocol/ftp.png differ
diff --git a/trean/themes/graphics/protocol/http.png b/trean/themes/graphics/protocol/http.png
new file mode 100644
index 000000000..f9ee388a5
Binary files /dev/null and b/trean/themes/graphics/protocol/http.png differ
diff --git a/trean/themes/graphics/protocol/https.png b/trean/themes/graphics/protocol/https.png
new file mode 100644
index 000000000..f9ee388a5
Binary files /dev/null and b/trean/themes/graphics/protocol/https.png differ
diff --git a/trean/themes/graphics/rating-star.gif b/trean/themes/graphics/rating-star.gif
new file mode 100644
index 000000000..068fa7f3f
Binary files /dev/null and b/trean/themes/graphics/rating-star.gif differ
diff --git a/trean/themes/graphics/reports.png b/trean/themes/graphics/reports.png
new file mode 100644
index 000000000..6e8e3d8dc
Binary files /dev/null and b/trean/themes/graphics/reports.png differ
diff --git a/trean/themes/graphics/search.png b/trean/themes/graphics/search.png
new file mode 100644
index 000000000..8b7937d95
Binary files /dev/null and b/trean/themes/graphics/search.png differ
diff --git a/trean/themes/graphics/trean.png b/trean/themes/graphics/trean.png
new file mode 100644
index 000000000..a7ce49890
Binary files /dev/null and b/trean/themes/graphics/trean.png differ
diff --git a/trean/themes/graphics/za.png b/trean/themes/graphics/za.png
new file mode 100644
index 000000000..a154237b5
Binary files /dev/null and b/trean/themes/graphics/za.png differ
diff --git a/trean/themes/grids-min.css b/trean/themes/grids-min.css
new file mode 100644
index 000000000..1fed7a61c
--- /dev/null
+++ b/trean/themes/grids-min.css
@@ -0,0 +1,7 @@
+/*
+Copyright 2007, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.2.2
+*/
+body{text-align:center;}#ft{clear:both;}#doc,#doc2,#doc3,.yui-t1,.yui-t2,.yui-t3,.yui-t4,.yui-t5,.yui-t6,.yui-t7{margin:auto;text-align:left;width:57.69em;*width:56.3em;min-width:750px;}#doc2{width:73.074em;*width:71.313em;min-width:950px;}#doc3{margin:auto 10px;width:auto;}.yui-b{position:relative;}.yui-b{_position:static;}#yui-main .yui-b{position:static;}#yui-main{width:100%;}.yui-t1 #yui-main,.yui-t2 #yui-main,.yui-t3 #yui-main{float:right;margin-left:-25em;}.yui-t4 #yui-main,.yui-t5 #yui-main,.yui-t6 #yui-main{float:left;margin-right:-25em;}.yui-t1 .yui-b{float:left;width:12.3207em;*width:12.0106em;}.yui-t1 #yui-main .yui-b{margin-left:13.3207em;*margin-left:13.0106em;}.yui-t2 .yui-b{float:left;width:13.8456em;*width:13.512em;}.yui-t2 #yui-main .yui-b{margin-left:14.8456em;*margin-left:14.512em;}.yui-t3 .yui-b{float:left;width:23.0759em;*width:22.52em;}.yui-t3 #yui-main .yui-b{margin-left:24.0759em;*margin-left:23.52em;}.yui-t4 .yui-b{float:right;width:13.8456em;*width:13.512em;}.yui-t4 #yui-main .yui-b{margin-right:14.8456em;*margin-right:14.512em;}.yui-t5 .yui-b{float:right;width:18.4608em;*width:18.016em;}.yui-t5 #yui-main .yui-b{margin-right:19.4608em;*margin-right:19.016em;}.yui-t6 .yui-b{float:right;width:23.0759em;*width:22.52em;}.yui-t6 #yui-main .yui-b{margin-right:24.0759em;*margin-right:23.52em;}.yui-t7 #yui-main .yui-b{display:block;margin:0 0 1em 0;}#yui-main .yui-b{float:none;width:auto;}.yui-g .yui-u,.yui-g .yui-g,.yui-gc .yui-u,.yui-gc .yui-g .yui-u,.yui-ge .yui-u,.yui-gf .yui-u{float:right;display:inline;}.yui-g div.first,.yui-gc div.first,.yui-gc div.first div.first,.yui-gd div.first,.yui-ge div.first,.yui-gf div.first{float:left;}.yui-g .yui-u,.yui-g .yui-g{width:49.1%;}.yui-g .yui-g .yui-u,.yui-gc .yui-g .yui-u{width:48.1%;}.yui-gb .yui-u,.yui-gc .yui-u,.yui-gd .yui-u{float:left;margin-left:2%;*margin-left:1.895%;width:32%;}.yui-gb div.first,.yui-gc div.first,.yui-gd div.first{margin-left:0;}.yui-gc div.first,.yui-gd .yui-u{width:66%;}.yui-gd div.first{width:32%;}.yui-ge .yui-u{width:24%;}.yui-ge div.first,.yui-gf .yui-u{width:74.2%;}.yui-gf div.first{width:24%;}.yui-ge div.first{width:74.2%;}#bd:after,.yui-g:after,.yui-gb:after,.yui-gc:after,.yui-gd:after,.yui-ge:after,.yui-gf:after{content:".";display:block;height:0;clear:both;visibility:hidden;}#bd,.yui-g,.yui-gb,.yui-gc,.yui-gd,.yui-ge,.yui-gf{zoom:1;}
\ No newline at end of file
diff --git a/trean/themes/screen.css b/trean/themes/screen.css
new file mode 100644
index 000000000..97ecab62f
--- /dev/null
+++ b/trean/themes/screen.css
@@ -0,0 +1,254 @@
+/**
+ * $Horde: trean/themes/screen.css,v 1.18 2008/03/27 17:48:52 jan Exp $
+ */
+
+.reportheader {
+ text-align: left;
+ font-weight: bold;
+ padding: 8px;
+ font-size: larger;
+ margin-left: 16px;
+}
+.report {
+ text-align: left;
+ margin-left: 25px;
+ padding: 5px;
+}
+
+td, th {
+ text-align: left;
+}
+table.control {
+ width: 100%;
+}
+table.control td.actions {
+ text-align: right;
+}
+
+/* Folder Actions toggles */
+#faShow, #faHide {
+ padding-left: 18px;
+ white-space: nowrap;
+ font-weight: bold;
+}
+#faShow {
+ display: block;
+ background: transparent url("graphics/plus.png") center left no-repeat;
+}
+#faHide {
+ display: none;
+ background: transparent url("graphics/minus.png") center left no-repeat;
+}
+#folderActionsInner {
+ display: none;
+}
+body.folderActions #folderActionsInner {
+ margin-top: 1em;
+ display: block;
+}
+body.folderActions #faShow {
+ display: none;
+}
+body.folderActions #faHide {
+ display: block;
+}
+
+#folderList {
+ padding: .5em;
+}
+#folderList form, #folderList p {
+ margin: .5em 0;
+ clear: left;
+}
+#folderList form img, #folderList p img {
+ padding-right: .5em;
+ display: block;
+ float: left;
+}
+#folderList input {
+ font-size: 90%;
+}
+#folderActions {
+ margin-bottom: .5em;
+ border: 1px solid #ccc;
+ padding: .5em;
+ background: #eee;
+}
+
+#bookmarkActions {
+ border: 1px solid #ccc;
+ background: #eee;
+ padding: .5em;
+ margin: .5em 0;
+}
+#bookmarkActions label {
+ font-size: 95%;
+ margin-right: .5em;
+ cursor: pointer;
+}
+
+#bookmarkList table {
+ width: 100%;
+ border-top: 1px solid #ddd;
+ border-left: 1px solid #ddd;
+}
+#bookmarkList th {
+ padding: 3px;
+ background: #e9e9e9;
+ border-right: 1px solid #ccc;
+ text-align: left;
+}
+#bookmarkList th.rightAlign {
+ text-align: right;
+}
+#bookmarkList th.sortup {
+ background: #bbcbff url("graphics/za.png") center left no-repeat;
+ padding-left: 10px;
+}
+#bookmarkList th.sortdown {
+ background: #bbcbff url("graphics/az.png") center left no-repeat;
+ padding-left: 10px;
+}
+#bookmarkList td {
+ padding: 3px;
+ border-right: 1px solid #ddd;
+ border-bottom: 1px solid #ddd;
+}
+
+div.bookmarks img {
+ padding-right: 2px;
+}
+div.bookmarks .checkbox {
+ margin: 0 5px;
+}
+
+.favicon {
+ width: 16px;
+ height: 16px;
+}
+
+.bl-title {
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+.bl-title a {
+ font-weight: bold;
+}
+.bl-clicks {
+ text-align: center;
+}
+
+#browser-instructions {
+ margin: 8px;
+ padding: 8px;
+}
+
+/* Star rating styles. */
+div.rating {
+ float: right;
+}
+td.rating {
+ background: #fff;
+}
+.star-rating {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ width: 125px;
+ height: 25px;
+ position: relative;
+ background: url("graphics/rating-star.gif") top left repeat-x;
+}
+.star-rating li {
+ padding: 0;
+ margin: 0;
+ /*\*/
+ float: left;
+ /* */
+}
+.star-rating li a {
+ display: block;
+ width: 25px;
+ height: 25px;
+ text-decoration: none;
+ text-indent: -9000px;
+ z-index: 20;
+ position: absolute;
+ padding: 0;
+}
+.star-rating li a:hover {
+ background: url("graphics/rating-star.gif") left bottom;
+ z-index: 2;
+ left: 0;
+ border: none;
+}
+.star-rating a.one-star {
+ left: 0;
+}
+.star-rating a.one-star:hover {
+ width: 25px;
+}
+.star-rating a.two-stars {
+ left: 25px;
+}
+.star-rating a.two-stars:hover {
+ width: 50px;
+}
+.star-rating a.three-stars {
+ left: 50px;
+}
+.star-rating a.three-stars:hover {
+ width: 75px;
+}
+.star-rating a.four-stars {
+ left: 75px;
+}
+.star-rating a.four-stars:hover {
+ width: 100px;
+}
+.star-rating a.five-stars {
+ left: 100px;
+}
+.star-rating a.five-stars:hover {
+ width: 125px;
+}
+.star-rating li.current-rating {
+ background: url("graphics/rating-star.gif") left center;
+ position: absolute;
+ height: 25px;
+ display: block;
+ text-indent: -9000px;
+ z-index: 1;
+}
+.star-rating a:active {
+ outline: none;
+}
+a.static-rating {
+ background: url("graphics/rating-star.gif") left center;
+ height: 25px;
+ display: block;
+ text-indent: -9000px;
+}
+
+/* Folder delete confirmation styles. */
+#delete-folder-confirmation-template {
+ display: none;
+}
+
+#delete-folder-confirmation {
+ margin: 1em;
+ padding: 1em;
+ border: 1px solid #ccc;
+ background: #ffc;
+}
+#delete-folder-confirmation form {
+ display: inline;
+}
+
+#RB_window #delete-folder-confirmation {
+ margin: 0;
+ width: 20em;
+}
+#RB_window #delete-folder-confirmation input {
+ margin: .2em;
+}
diff --git a/trean/themes/silver/graphics/add.png b/trean/themes/silver/graphics/add.png
new file mode 100644
index 000000000..d5bfa0719
Binary files /dev/null and b/trean/themes/silver/graphics/add.png differ
diff --git a/trean/themes/silver/graphics/az.png b/trean/themes/silver/graphics/az.png
new file mode 100644
index 000000000..f52e8287a
Binary files /dev/null and b/trean/themes/silver/graphics/az.png differ
diff --git a/trean/themes/silver/graphics/data.png b/trean/themes/silver/graphics/data.png
new file mode 100644
index 000000000..44c06dddf
Binary files /dev/null and b/trean/themes/silver/graphics/data.png differ
diff --git a/trean/themes/silver/graphics/delete.png b/trean/themes/silver/graphics/delete.png
new file mode 100644
index 000000000..3141467c6
Binary files /dev/null and b/trean/themes/silver/graphics/delete.png differ
diff --git a/trean/themes/silver/graphics/edit.png b/trean/themes/silver/graphics/edit.png
new file mode 100644
index 000000000..046811ed7
Binary files /dev/null and b/trean/themes/silver/graphics/edit.png differ
diff --git a/trean/themes/silver/graphics/favicon.ico b/trean/themes/silver/graphics/favicon.ico
new file mode 100644
index 000000000..461907c71
Binary files /dev/null and b/trean/themes/silver/graphics/favicon.ico differ
diff --git a/trean/themes/silver/graphics/folders/folder_create.png b/trean/themes/silver/graphics/folders/folder_create.png
new file mode 100644
index 000000000..529fe8fe0
Binary files /dev/null and b/trean/themes/silver/graphics/folders/folder_create.png differ
diff --git a/trean/themes/silver/graphics/folders/folder_delete.png b/trean/themes/silver/graphics/folders/folder_delete.png
new file mode 100644
index 000000000..112b01638
Binary files /dev/null and b/trean/themes/silver/graphics/folders/folder_delete.png differ
diff --git a/trean/themes/silver/graphics/folders/folder_edit.png b/trean/themes/silver/graphics/folders/folder_edit.png
new file mode 100644
index 000000000..ad669cc78
Binary files /dev/null and b/trean/themes/silver/graphics/folders/folder_edit.png differ
diff --git a/trean/themes/silver/graphics/http/1xx.png b/trean/themes/silver/graphics/http/1xx.png
new file mode 100644
index 000000000..12cd1aef9
Binary files /dev/null and b/trean/themes/silver/graphics/http/1xx.png differ
diff --git a/trean/themes/silver/graphics/http/2xx.png b/trean/themes/silver/graphics/http/2xx.png
new file mode 100644
index 000000000..89c8129a4
Binary files /dev/null and b/trean/themes/silver/graphics/http/2xx.png differ
diff --git a/trean/themes/silver/graphics/http/3xx.png b/trean/themes/silver/graphics/http/3xx.png
new file mode 100644
index 000000000..12cd1aef9
Binary files /dev/null and b/trean/themes/silver/graphics/http/3xx.png differ
diff --git a/trean/themes/silver/graphics/http/4xx.png b/trean/themes/silver/graphics/http/4xx.png
new file mode 100644
index 000000000..628cf2dae
Binary files /dev/null and b/trean/themes/silver/graphics/http/4xx.png differ
diff --git a/trean/themes/silver/graphics/http/5xx.png b/trean/themes/silver/graphics/http/5xx.png
new file mode 100644
index 000000000..c37bd062e
Binary files /dev/null and b/trean/themes/silver/graphics/http/5xx.png differ
diff --git a/trean/themes/silver/graphics/http/error.png b/trean/themes/silver/graphics/http/error.png
new file mode 100644
index 000000000..c37bd062e
Binary files /dev/null and b/trean/themes/silver/graphics/http/error.png differ
diff --git a/trean/themes/silver/graphics/minus.png b/trean/themes/silver/graphics/minus.png
new file mode 100644
index 000000000..763c90d3e
Binary files /dev/null and b/trean/themes/silver/graphics/minus.png differ
diff --git a/trean/themes/silver/graphics/perms.png b/trean/themes/silver/graphics/perms.png
new file mode 100644
index 000000000..35e1fd690
Binary files /dev/null and b/trean/themes/silver/graphics/perms.png differ
diff --git a/trean/themes/silver/graphics/plus.png b/trean/themes/silver/graphics/plus.png
new file mode 100644
index 000000000..6332fefea
Binary files /dev/null and b/trean/themes/silver/graphics/plus.png differ
diff --git a/trean/themes/silver/graphics/protocol/ftp.png b/trean/themes/silver/graphics/protocol/ftp.png
new file mode 100644
index 000000000..caea546af
Binary files /dev/null and b/trean/themes/silver/graphics/protocol/ftp.png differ
diff --git a/trean/themes/silver/graphics/protocol/http.png b/trean/themes/silver/graphics/protocol/http.png
new file mode 100644
index 000000000..b8895ddec
Binary files /dev/null and b/trean/themes/silver/graphics/protocol/http.png differ
diff --git a/trean/themes/silver/graphics/protocol/https.png b/trean/themes/silver/graphics/protocol/https.png
new file mode 100644
index 000000000..d6626cb09
Binary files /dev/null and b/trean/themes/silver/graphics/protocol/https.png differ
diff --git a/trean/themes/silver/graphics/rating-star.gif b/trean/themes/silver/graphics/rating-star.gif
new file mode 100644
index 000000000..068fa7f3f
Binary files /dev/null and b/trean/themes/silver/graphics/rating-star.gif differ
diff --git a/trean/themes/silver/graphics/reports.png b/trean/themes/silver/graphics/reports.png
new file mode 100644
index 000000000..fe00fa050
Binary files /dev/null and b/trean/themes/silver/graphics/reports.png differ
diff --git a/trean/themes/silver/graphics/search.png b/trean/themes/silver/graphics/search.png
new file mode 100644
index 000000000..a158b9932
Binary files /dev/null and b/trean/themes/silver/graphics/search.png differ
diff --git a/trean/themes/silver/graphics/trean.png b/trean/themes/silver/graphics/trean.png
new file mode 100644
index 000000000..d9ee53e59
Binary files /dev/null and b/trean/themes/silver/graphics/trean.png differ
diff --git a/trean/themes/silver/graphics/za.png b/trean/themes/silver/graphics/za.png
new file mode 100644
index 000000000..32e427a6d
Binary files /dev/null and b/trean/themes/silver/graphics/za.png differ
diff --git a/trean/themes/silver/screen.css b/trean/themes/silver/screen.css
new file mode 100644
index 000000000..127d34028
--- /dev/null
+++ b/trean/themes/silver/screen.css
@@ -0,0 +1,16 @@
+/**
+ * $Horde: trean/themes/silver/screen.css,v 1.1 2008/03/27 17:45:34 jan Exp $
+ */
+
+#bookmarkList th.sortup {
+ background: #ccc url("graphics/za.png") center left no-repeat;
+}
+#bookmarkList th.sortdown {
+ background: #ccc url("graphics/az.png") center left no-repeat;
+}
+#faShow {
+ background-image: url("graphics/plus.png");
+}
+#faHide {
+ background-image: url("graphics/minus.png");
+}