From 6ad93dff69d7c2beb2196e73f641e6484fccbeb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 20 Jan 2015 07:40:39 +0100 Subject: new folders --- src/Wallabag/Wallabag/Database.php | 603 +++++++++++++++ src/Wallabag/Wallabag/Ebooks.php | 247 ++++++ src/Wallabag/Wallabag/FlattrItem.php | 59 ++ src/Wallabag/Wallabag/Language.php | 116 +++ src/Wallabag/Wallabag/Picture.php | 169 ++++ .../cs_CZ.utf8/LC_MESSAGES/cs_CZ.utf8.mo | Bin 0 -> 4823 bytes .../cs_CZ.utf8/LC_MESSAGES/cs_CZ.utf8.po | 567 ++++++++++++++ .../de_DE.utf8/LC_MESSAGES/de_DE.utf8.mo | Bin 0 -> 10620 bytes .../de_DE.utf8/LC_MESSAGES/de_DE.utf8.po | 658 ++++++++++++++++ .../en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo | Bin 0 -> 18368 bytes .../en_EN.utf8/LC_MESSAGES/en_EN.utf8.po | 770 ++++++++++++++++++ .../en_US.utf8/LC_MESSAGES/en_US.utf8.mo | Bin 0 -> 15793 bytes .../en_US.utf8/LC_MESSAGES/en_US.utf8.po | 682 ++++++++++++++++ .../es_ES.utf8/LC_MESSAGES/es_ES.utf8.mo | Bin 0 -> 4848 bytes .../es_ES.utf8/LC_MESSAGES/es_ES.utf8.po | 563 ++++++++++++++ .../fa_IR.utf8/LC_MESSAGES/fa_IR.utf8.mo | Bin 0 -> 5632 bytes .../fa_IR.utf8/LC_MESSAGES/fa_IR.utf8.po | 563 ++++++++++++++ .../fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.mo | Bin 0 -> 21037 bytes .../fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.po | 804 +++++++++++++++++++ .../it_IT.utf8/LC_MESSAGES/it_IT.utf8.mo | Bin 0 -> 4897 bytes .../it_IT.utf8/LC_MESSAGES/it_IT.utf8.po | 568 ++++++++++++++ .../pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.mo | Bin 0 -> 12632 bytes .../pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.po | 553 +++++++++++++ .../pt_BR.utf8/LC_MESSAGES/pt_BR.utf8.mo | Bin 0 -> 12451 bytes .../pt_BR.utf8/LC_MESSAGES/pt_BR.utf8.po | 549 +++++++++++++ .../ru_RU.utf8/LC_MESSAGES/ru_RU.utf8.mo | Bin 0 -> 13552 bytes .../ru_RU.utf8/LC_MESSAGES/ru_RU.utf8.po | 561 ++++++++++++++ .../sl_SI.utf8/LC_MESSAGES/sl_SI.utf8.mo | Bin 0 -> 4927 bytes .../sl_SI.utf8/LC_MESSAGES/sl_SI.utf8.po | 568 ++++++++++++++ .../Resources/translations/tools/fillCache.php | 59 ++ .../uk_UA.utf8/LC_MESSAGES/uk_UA.utf8.mo | Bin 0 -> 15670 bytes .../uk_UA.utf8/LC_MESSAGES/uk_UA.utf8.po | 534 +++++++++++++ src/Wallabag/Wallabag/Routing.php | 163 ++++ src/Wallabag/Wallabag/Template.php | 237 ++++++ src/Wallabag/Wallabag/Tools.php | 422 ++++++++++ src/Wallabag/Wallabag/Url.php | 33 + src/Wallabag/Wallabag/User.php | 59 ++ src/Wallabag/Wallabag/Wallabag.php | 861 +++++++++++++++++++++ 38 files changed, 10968 insertions(+) create mode 100755 src/Wallabag/Wallabag/Database.php create mode 100644 src/Wallabag/Wallabag/Ebooks.php create mode 100644 src/Wallabag/Wallabag/FlattrItem.php create mode 100644 src/Wallabag/Wallabag/Language.php create mode 100644 src/Wallabag/Wallabag/Picture.php create mode 100644 src/Wallabag/Wallabag/Resources/translations/cs_CZ.utf8/LC_MESSAGES/cs_CZ.utf8.mo create mode 100644 src/Wallabag/Wallabag/Resources/translations/cs_CZ.utf8/LC_MESSAGES/cs_CZ.utf8.po create mode 100644 src/Wallabag/Wallabag/Resources/translations/de_DE.utf8/LC_MESSAGES/de_DE.utf8.mo create mode 100644 src/Wallabag/Wallabag/Resources/translations/de_DE.utf8/LC_MESSAGES/de_DE.utf8.po create mode 100644 src/Wallabag/Wallabag/Resources/translations/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo create mode 100644 src/Wallabag/Wallabag/Resources/translations/en_EN.utf8/LC_MESSAGES/en_EN.utf8.po create mode 100644 src/Wallabag/Wallabag/Resources/translations/en_US.utf8/LC_MESSAGES/en_US.utf8.mo create mode 100644 src/Wallabag/Wallabag/Resources/translations/en_US.utf8/LC_MESSAGES/en_US.utf8.po create mode 100644 src/Wallabag/Wallabag/Resources/translations/es_ES.utf8/LC_MESSAGES/es_ES.utf8.mo create mode 100644 src/Wallabag/Wallabag/Resources/translations/es_ES.utf8/LC_MESSAGES/es_ES.utf8.po create mode 100644 src/Wallabag/Wallabag/Resources/translations/fa_IR.utf8/LC_MESSAGES/fa_IR.utf8.mo create mode 100644 src/Wallabag/Wallabag/Resources/translations/fa_IR.utf8/LC_MESSAGES/fa_IR.utf8.po create mode 100644 src/Wallabag/Wallabag/Resources/translations/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.mo create mode 100644 src/Wallabag/Wallabag/Resources/translations/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.po create mode 100644 src/Wallabag/Wallabag/Resources/translations/it_IT.utf8/LC_MESSAGES/it_IT.utf8.mo create mode 100644 src/Wallabag/Wallabag/Resources/translations/it_IT.utf8/LC_MESSAGES/it_IT.utf8.po create mode 100644 src/Wallabag/Wallabag/Resources/translations/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.mo create mode 100755 src/Wallabag/Wallabag/Resources/translations/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.po create mode 100644 src/Wallabag/Wallabag/Resources/translations/pt_BR.utf8/LC_MESSAGES/pt_BR.utf8.mo create mode 100644 src/Wallabag/Wallabag/Resources/translations/pt_BR.utf8/LC_MESSAGES/pt_BR.utf8.po create mode 100755 src/Wallabag/Wallabag/Resources/translations/ru_RU.utf8/LC_MESSAGES/ru_RU.utf8.mo create mode 100755 src/Wallabag/Wallabag/Resources/translations/ru_RU.utf8/LC_MESSAGES/ru_RU.utf8.po create mode 100644 src/Wallabag/Wallabag/Resources/translations/sl_SI.utf8/LC_MESSAGES/sl_SI.utf8.mo create mode 100644 src/Wallabag/Wallabag/Resources/translations/sl_SI.utf8/LC_MESSAGES/sl_SI.utf8.po create mode 100755 src/Wallabag/Wallabag/Resources/translations/tools/fillCache.php create mode 100755 src/Wallabag/Wallabag/Resources/translations/uk_UA.utf8/LC_MESSAGES/uk_UA.utf8.mo create mode 100755 src/Wallabag/Wallabag/Resources/translations/uk_UA.utf8/LC_MESSAGES/uk_UA.utf8.po create mode 100755 src/Wallabag/Wallabag/Routing.php create mode 100644 src/Wallabag/Wallabag/Template.php create mode 100755 src/Wallabag/Wallabag/Tools.php create mode 100644 src/Wallabag/Wallabag/Url.php create mode 100644 src/Wallabag/Wallabag/User.php create mode 100755 src/Wallabag/Wallabag/Wallabag.php (limited to 'src/Wallabag') diff --git a/src/Wallabag/Wallabag/Database.php b/src/Wallabag/Wallabag/Database.php new file mode 100755 index 00000000..afda69de --- /dev/null +++ b/src/Wallabag/Wallabag/Database.php @@ -0,0 +1,603 @@ + + * @copyright 2013 + * @license http://opensource.org/licenses/MIT see COPYING file + */ + +namespace Wallabag\Wallabag; + +class Database { + + var $handle; + private $order = array ( + 'ia' => 'ORDER BY entries.id', + 'id' => 'ORDER BY entries.id DESC', + 'ta' => 'ORDER BY lower(entries.title)', + 'td' => 'ORDER BY lower(entries.title) DESC', + 'default' => 'ORDER BY entries.id' + ); + + function __construct() + { + switch (STORAGE) { + case 'sqlite': + // Check if /db is writeable + if ( !is_writable(STORAGE_SQLITE) || !is_writable(dirname(STORAGE_SQLITE))) { + die('An error occured: ' . STORAGE_SQLITE . ' directory must be writeable for your web server user!'); + } + $db_path = 'sqlite:' . STORAGE_SQLITE; + $this->handle = new PDO($db_path); + break; + case 'mysql': + $db_path = 'mysql:host=' . STORAGE_SERVER . ';dbname=' . STORAGE_DB . ';charset=utf8mb4'; + $this->handle = new PDO($db_path, STORAGE_USER, STORAGE_PASSWORD, array( + PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8mb4', + )); + break; + case 'postgres': + $db_path = 'pgsql:host=' . STORAGE_SERVER . ';dbname=' . STORAGE_DB; + $this->handle = new PDO($db_path, STORAGE_USER, STORAGE_PASSWORD); + break; + default: + die(STORAGE . ' is not a recognised database system !'); + } + + $this->handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); + $this->_checkTags(); + Tools::logm('storage type ' . STORAGE); + } + + private function getHandle() + { + return $this->handle; + } + + private function _checkTags() + { + + if (STORAGE == 'sqlite') { + $sql = ' + CREATE TABLE IF NOT EXISTS tags ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL UNIQUE, + value TEXT + )'; + } + elseif(STORAGE == 'mysql') { + $sql = ' + CREATE TABLE IF NOT EXISTS `tags` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `value` varchar(255) NOT NULL, + PRIMARY KEY (`id`) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + '; + } + else { + $sql = ' + CREATE TABLE IF NOT EXISTS tags ( + id bigserial primary key, + value varchar(255) NOT NULL + ); + '; + } + + $query = $this->executeQuery($sql, array()); + + if (STORAGE == 'sqlite') { + $sql = ' + CREATE TABLE IF NOT EXISTS tags_entries ( + id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL UNIQUE, + entry_id INTEGER, + tag_id INTEGER, + FOREIGN KEY(entry_id) REFERENCES entries(id) ON DELETE CASCADE, + FOREIGN KEY(tag_id) REFERENCES tags(id) ON DELETE CASCADE + )'; + } + elseif(STORAGE == 'mysql') { + $sql = ' + CREATE TABLE IF NOT EXISTS `tags_entries` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `entry_id` int(11) NOT NULL, + `tag_id` int(11) NOT NULL, + FOREIGN KEY(entry_id) REFERENCES entries(id) ON DELETE CASCADE, + FOREIGN KEY(tag_id) REFERENCES tags(id) ON DELETE CASCADE, + PRIMARY KEY (`id`) + ) ENGINE=InnoDB DEFAULT CHARSET=utf8; + '; + } + else { + $sql = ' + CREATE TABLE IF NOT EXISTS tags_entries ( + id bigserial primary key, + entry_id integer NOT NULL, + tag_id integer NOT NULL + ) + '; + } + + $query = $this->executeQuery($sql, array()); + } + + public function install($login, $password, $email = '') + { + $sql = 'INSERT INTO users ( username, password, name, email) VALUES (?, ?, ?, ?)'; + $params = array($login, $password, $login, $email); + $query = $this->executeQuery($sql, $params); + + $sequence = ''; + if (STORAGE == 'postgres') { + $sequence = 'users_id_seq'; + } + + $id_user = intval($this->getLastId($sequence)); + + $sql = 'INSERT INTO users_config ( user_id, name, value ) VALUES (?, ?, ?)'; + $params = array($id_user, 'pager', PAGINATION); + $query = $this->executeQuery($sql, $params); + + $sql = 'INSERT INTO users_config ( user_id, name, value ) VALUES (?, ?, ?)'; + $params = array($id_user, 'language', LANG); + $query = $this->executeQuery($sql, $params); + + $sql = 'INSERT INTO users_config ( user_id, name, value ) VALUES (?, ?, ?)'; + $params = array($id_user, 'theme', DEFAULT_THEME); + $query = $this->executeQuery($sql, $params); + + return TRUE; + } + + public function getConfigUser($id) + { + $sql = "SELECT * FROM users_config WHERE user_id = ?"; + $query = $this->executeQuery($sql, array($id)); + $result = $query->fetchAll(); + $user_config = array(); + + foreach ($result as $key => $value) { + $user_config[$value['name']] = $value['value']; + } + + return $user_config; + } + + public function userExists($username) + { + $sql = "SELECT * FROM users WHERE username=?"; + $query = $this->executeQuery($sql, array($username)); + $login = $query->fetchAll(); + if (isset($login[0])) { + return true; + } else { + return false; + } + } + + public function login($username, $password, $isauthenticated = FALSE) + { + if ($isauthenticated) { + $sql = "SELECT * FROM users WHERE username=?"; + $query = $this->executeQuery($sql, array($username)); + } else { + $sql = "SELECT * FROM users WHERE username=? AND password=?"; + $query = $this->executeQuery($sql, array($username, $password)); + } + $login = $query->fetchAll(); + + $user = array(); + if (isset($login[0])) { + $user['id'] = $login[0]['id']; + $user['username'] = $login[0]['username']; + $user['password'] = $login[0]['password']; + $user['name'] = $login[0]['name']; + $user['email'] = $login[0]['email']; + $user['config'] = $this->getConfigUser($login[0]['id']); + } + + return $user; + } + + public function updatePassword($userId, $password) + { + $sql_update = "UPDATE users SET password=? WHERE id=?"; + $params_update = array($password, $userId); + $query = $this->executeQuery($sql_update, $params_update); + } + + public function updateUserConfig($userId, $key, $value) + { + $config = $this->getConfigUser($userId); + + if (! isset($config[$key])) { + $sql = "INSERT INTO users_config (value, user_id, name) VALUES (?, ?, ?)"; + } + else { + $sql = "UPDATE users_config SET value=? WHERE user_id=? AND name=?"; + } + + $params = array($value, $userId, $key); + $query = $this->executeQuery($sql, $params); + } + + private function executeQuery($sql, $params) + { + try + { + $query = $this->getHandle()->prepare($sql); + $query->execute($params); + return $query; + } + catch (Exception $e) + { + Tools::logm('execute query error : '.$e->getMessage()); + return FALSE; + } + } + + public function listUsers($username = NULL) + { + $sql = 'SELECT count(*) FROM users'.( $username ? ' WHERE username=?' : ''); + $query = $this->executeQuery($sql, ( $username ? array($username) : array())); + list($count) = $query->fetch(); + return $count; + } + + public function getUserPassword($userID) + { + $sql = "SELECT * FROM users WHERE id=?"; + $query = $this->executeQuery($sql, array($userID)); + $password = $query->fetchAll(); + return isset($password[0]['password']) ? $password[0]['password'] : null; + } + + public function deleteUserConfig($userID) + { + $sql_action = 'DELETE from users_config WHERE user_id=?'; + $params_action = array($userID); + $query = $this->executeQuery($sql_action, $params_action); + return $query; + } + + public function deleteTagsEntriesAndEntries($userID) + { + $entries = $this->retrieveAll($userID); + foreach($entries as $entryid) { + $tags = $this->retrieveTagsByEntry($entryid); + foreach($tags as $tag) { + $this->removeTagForEntry($entryid,$tags); + } + $this->deleteById($entryid,$userID); + } + } + + public function deleteUser($userID) + { + $sql_action = 'DELETE from users WHERE id=?'; + $params_action = array($userID); + $query = $this->executeQuery($sql_action, $params_action); + } + + public function updateContentAndTitle($id, $title, $body, $user_id) + { + $sql_action = 'UPDATE entries SET content = ?, title = ? WHERE id=? AND user_id=?'; + $params_action = array($body, $title, $id, $user_id); + $query = $this->executeQuery($sql_action, $params_action); + return $query; + } + + public function retrieveUnfetchedEntries($user_id, $limit) + { + + $sql_limit = "LIMIT 0,".$limit; + if (STORAGE == 'postgres') { + $sql_limit = "LIMIT ".$limit." OFFSET 0"; + } + + $sql = "SELECT * FROM entries WHERE (content = '' OR content IS NULL) AND title LIKE 'Untitled - Import%' AND user_id=? ORDER BY id " . $sql_limit; + $query = $this->executeQuery($sql, array($user_id)); + $entries = $query->fetchAll(); + + return $entries; + } + + public function retrieveUnfetchedEntriesCount($user_id) + { + $sql = "SELECT count(*) FROM entries WHERE (content = '' OR content IS NULL) AND title LIKE 'Untitled - Import%' AND user_id=?"; + $query = $this->executeQuery($sql, array($user_id)); + list($count) = $query->fetch(); + + return $count; + } + + public function retrieveAll($user_id) + { + $sql = "SELECT * FROM entries WHERE user_id=? ORDER BY id"; + $query = $this->executeQuery($sql, array($user_id)); + $entries = $query->fetchAll(); + + return $entries; + } + + public function retrieveOneById($id, $user_id) + { + $entry = NULL; + $sql = "SELECT * FROM entries WHERE id=? AND user_id=?"; + $params = array(intval($id), $user_id); + $query = $this->executeQuery($sql, $params); + $entry = $query->fetchAll(); + + return isset($entry[0]) ? $entry[0] : null; + } + + public function retrieveOneByURL($url, $user_id) + { + $entry = NULL; + $sql = "SELECT * FROM entries WHERE url=? AND user_id=?"; + $params = array($url, $user_id); + $query = $this->executeQuery($sql, $params); + $entry = $query->fetchAll(); + + return isset($entry[0]) ? $entry[0] : null; + } + + public function reassignTags($old_entry_id, $new_entry_id) + { + $sql = "UPDATE tags_entries SET entry_id=? WHERE entry_id=?"; + $params = array($new_entry_id, $old_entry_id); + $query = $this->executeQuery($sql, $params); + } + + public function getEntriesByView($view, $user_id, $limit = '', $tag_id = 0) + { + switch ($view) { + case 'archive': + $sql = "SELECT * FROM entries WHERE user_id=? AND is_read=? "; + $params = array($user_id, 1); + break; + case 'fav' : + $sql = "SELECT * FROM entries WHERE user_id=? AND is_fav=? "; + $params = array($user_id, 1); + break; + case 'tag' : + $sql = "SELECT entries.* FROM entries + LEFT JOIN tags_entries ON tags_entries.entry_id=entries.id + WHERE entries.user_id=? AND tags_entries.tag_id = ? "; + $params = array($user_id, $tag_id); + break; + default: + $sql = "SELECT * FROM entries WHERE user_id=? AND is_read=? "; + $params = array($user_id, 0); + break; + } + + $sql .= $this->getEntriesOrder().' ' . $limit; + + $query = $this->executeQuery($sql, $params); + $entries = $query->fetchAll(); + + return $entries; + } + + public function getEntriesByViewCount($view, $user_id, $tag_id = 0) + { + switch ($view) { + case 'archive': + $sql = "SELECT count(*) FROM entries WHERE user_id=? AND is_read=? "; + $params = array($user_id, 1); + break; + case 'fav' : + $sql = "SELECT count(*) FROM entries WHERE user_id=? AND is_fav=? "; + $params = array($user_id, 1); + break; + case 'tag' : + $sql = "SELECT count(*) FROM entries + LEFT JOIN tags_entries ON tags_entries.entry_id=entries.id + WHERE entries.user_id=? AND tags_entries.tag_id = ? "; + $params = array($user_id, $tag_id); + break; + default: + $sql = "SELECT count(*) FROM entries WHERE user_id=? AND is_read=? "; + $params = array($user_id, 0); + break; + } + + $query = $this->executeQuery($sql, $params); + list($count) = $query->fetch(); + + return $count; + } + + public function updateContent($id, $content, $user_id) + { + $sql_action = 'UPDATE entries SET content = ? WHERE id=? AND user_id=?'; + $params_action = array($content, $id, $user_id); + $query = $this->executeQuery($sql_action, $params_action); + return $query; + } + + /** + * + * @param string $url + * @param string $title + * @param string $content + * @param integer $user_id + * @return integer $id of inserted record + */ + public function add($url, $title, $content, $user_id, $isFavorite=0, $isRead=0) + { + $sql_action = 'INSERT INTO entries ( url, title, content, user_id, is_fav, is_read ) VALUES (?, ?, ?, ?, ?, ?)'; + $params_action = array($url, $title, $content, $user_id, $isFavorite, $isRead); + + if ( !$this->executeQuery($sql_action, $params_action) ) { + $id = null; + } + else { + $id = intval($this->getLastId( (STORAGE == 'postgres') ? 'entries_id_seq' : '') ); + } + return $id; + } + + public function deleteById($id, $user_id) + { + $sql_action = "DELETE FROM entries WHERE id=? AND user_id=?"; + $params_action = array($id, $user_id); + $query = $this->executeQuery($sql_action, $params_action); + return $query; + } + + public function favoriteById($id, $user_id) + { + $sql_action = "UPDATE entries SET is_fav=NOT is_fav WHERE id=? AND user_id=?"; + $params_action = array($id, $user_id); + $query = $this->executeQuery($sql_action, $params_action); + } + + public function archiveById($id, $user_id) + { + $sql_action = "UPDATE entries SET is_read=NOT is_read WHERE id=? AND user_id=?"; + $params_action = array($id, $user_id); + $query = $this->executeQuery($sql_action, $params_action); + } + + public function archiveAll($user_id) + { + $sql_action = "UPDATE entries SET is_read=? WHERE user_id=? AND is_read=?"; + $params_action = array($user_id, 1, 0); + $query = $this->executeQuery($sql_action, $params_action); + } + + public function getLastId($column = '') + { + return $this->getHandle()->lastInsertId($column); + } + + public function search($term, $user_id, $limit = '') + { + $search = '%'.$term.'%'; + $sql_action = "SELECT * FROM entries WHERE user_id=? AND (content LIKE ? OR title LIKE ? OR url LIKE ?) "; //searches in content, title and URL + $sql_action .= $this->getEntriesOrder().' ' . $limit; + $params_action = array($user_id, $search, $search, $search); + $query = $this->executeQuery($sql_action, $params_action); + return $query->fetchAll(); + } + + public function retrieveAllTags($user_id, $term = NULL) + { + $sql = "SELECT DISTINCT tags.*, count(entries.id) AS entriescount FROM tags + LEFT JOIN tags_entries ON tags_entries.tag_id=tags.id + LEFT JOIN entries ON tags_entries.entry_id=entries.id + WHERE entries.user_id=? + ". (($term) ? "AND lower(tags.value) LIKE ?" : '') ." + GROUP BY tags.id, tags.value + ORDER BY tags.value"; + $query = $this->executeQuery($sql, (($term)? array($user_id, strtolower('%'.$term.'%')) : array($user_id) )); + $tags = $query->fetchAll(); + + return $tags; + } + + public function retrieveTag($id, $user_id) + { + $tag = NULL; + $sql = "SELECT DISTINCT tags.* FROM tags + LEFT JOIN tags_entries ON tags_entries.tag_id=tags.id + LEFT JOIN entries ON tags_entries.entry_id=entries.id + WHERE tags.id=? AND entries.user_id=?"; + $params = array(intval($id), $user_id); + $query = $this->executeQuery($sql, $params); + $tag = $query->fetchAll(); + + return isset($tag[0]) ? $tag[0] : NULL; + } + + public function retrieveEntriesByTag($tag_id, $user_id) + { + $sql = + "SELECT entries.* FROM entries + LEFT JOIN tags_entries ON tags_entries.entry_id=entries.id + WHERE tags_entries.tag_id = ? AND entries.user_id=? ORDER by entries.id DESC"; + $query = $this->executeQuery($sql, array($tag_id, $user_id)); + $entries = $query->fetchAll(); + + return $entries; + } + + public function retrieveTagsByEntry($entry_id) + { + $sql = + "SELECT tags.* FROM tags + LEFT JOIN tags_entries ON tags_entries.tag_id=tags.id + WHERE tags_entries.entry_id = ?"; + $query = $this->executeQuery($sql, array($entry_id)); + $tags = $query->fetchAll(); + + return $tags; + } + + public function removeTagForEntry($entry_id, $tag_id) + { + $sql_action = "DELETE FROM tags_entries WHERE tag_id=? AND entry_id=?"; + $params_action = array($tag_id, $entry_id); + $query = $this->executeQuery($sql_action, $params_action); + return $query; + } + + public function cleanUnusedTag($tag_id) + { + $sql_action = "SELECT tags.* FROM tags JOIN tags_entries ON tags_entries.tag_id=tags.id WHERE tags.id=?"; + $query = $this->executeQuery($sql_action,array($tag_id)); + $tagstokeep = $query->fetchAll(); + $sql_action = "SELECT tags.* FROM tags LEFT JOIN tags_entries ON tags_entries.tag_id=tags.id WHERE tags.id=?"; + $query = $this->executeQuery($sql_action,array($tag_id)); + $alltags = $query->fetchAll(); + + foreach ($alltags as $tag) { + if ($tag && !in_array($tag,$tagstokeep)) { + $sql_action = "DELETE FROM tags WHERE id=?"; + $params_action = array($tag[0]); + $this->executeQuery($sql_action, $params_action); + return true; + } + } + + } + + public function retrieveTagByValue($value) + { + $tag = NULL; + $sql = "SELECT * FROM tags WHERE value=?"; + $params = array($value); + $query = $this->executeQuery($sql, $params); + $tag = $query->fetchAll(); + + return isset($tag[0]) ? $tag[0] : null; + } + + public function createTag($value) + { + $sql_action = 'INSERT INTO tags ( value ) VALUES (?)'; + $params_action = array($value); + $query = $this->executeQuery($sql_action, $params_action); + return $query; + } + + public function setTagToEntry($tag_id, $entry_id) + { + $sql_action = 'INSERT INTO tags_entries ( tag_id, entry_id ) VALUES (?, ?)'; + $params_action = array($tag_id, $entry_id); + $query = $this->executeQuery($sql_action, $params_action); + return $query; + } + + private function getEntriesOrder() + { + if (isset($_SESSION['sort']) and array_key_exists($_SESSION['sort'], $this->order)) { + return $this->order[$_SESSION['sort']]; + } + else { + return $this->order['default']; + } + } +} diff --git a/src/Wallabag/Wallabag/Ebooks.php b/src/Wallabag/Wallabag/Ebooks.php new file mode 100644 index 00000000..2ad89a1c --- /dev/null +++ b/src/Wallabag/Wallabag/Ebooks.php @@ -0,0 +1,247 @@ + + * @copyright 2013 + * @license http://opensource.org/licenses/MIT see COPYING file + */ + +namespace Wallabag\Wallabag; + +class Ebooks +{ + protected $wallabag; + protected $method; + protected $value; + protected $entries; + protected $bookTitle; + protected $bookFileName; + protected $author = 'wallabag'; + + public function __construct(Wallabag $wallabag, $method, $value) + { + $this->wallabag = $wallabag; + $this->method = $method; + $this->value = $value; + } + + public function prepareData() + { + switch ($this->method) { + case 'id': + $entryID = filter_var($this->value, FILTER_SANITIZE_NUMBER_INT); + $entry = $this->wallabag->store->retrieveOneById($entryID, $this->wallabag->user->getId()); + $this->entries = array($entry); + $this->bookTitle = $entry['title']; + $this->bookFileName = substr($this->bookTitle, 0, 200); + $this->author = preg_replace('#^w{3}.#', '', Tools::getdomain($entry["url"])); # if only one article, set author to domain name (we strip the eventual www part) + Tools::logm('Producing ebook from article ' . $this->bookTitle); + break; + case 'all': + $this->entries = $this->wallabag->store->retrieveAll($this->wallabag->user->getId()); + $this->bookTitle = sprintf(_('All my articles on %s'), date(_('d.m.y'))); #translatable because each country has it's own date format system + $this->bookFileName = _('Allarticles') . date(_('dmY')); + Tools::logm('Producing ebook from all articles'); + break; + case 'tag': + $tag = filter_var($this->value, FILTER_SANITIZE_STRING); + $tags_id = $this->wallabag->store->retrieveAllTags($this->wallabag->user->getId(), $tag); + $tag_id = $tags_id[0]["id"]; // we take the first result, which is supposed to match perfectly. There must be a workaround. + $this->entries = $this->wallabag->store->retrieveEntriesByTag($tag_id, $this->wallabag->user->getId()); + $this->bookTitle = sprintf(_('Articles tagged %s'), $tag); + $this->bookFileName = substr(sprintf(_('Tag %s'), $tag), 0, 200); + Tools::logm('Producing ebook from tag ' . $tag); + break; + case 'category': + $category = filter_var($this->value, FILTER_SANITIZE_STRING); + $this->entries = $this->wallabag->store->getEntriesByView($category, $this->wallabag->user->getId()); + $this->bookTitle = sprintf(_('Articles in category %s'), $category); + $this->bookFileName = substr(sprintf(_('Category %s'), $category), 0, 200); + Tools::logm('Producing ebook from category ' . $category); + break; + case 'search': + $search = filter_var($this->value, FILTER_SANITIZE_STRING); + Tools::logm($search); + $this->entries = $this->wallabag->store->search($search, $this->wallabag->user->getId()); + $this->bookTitle = sprintf(_('Articles for search %s'), $search); + $this->bookFileName = substr(sprintf(_('Search %s'), $search), 0, 200); + Tools::logm('Producing ebook from search ' . $search); + break; + case 'default': + die(_('Uh, there is a problem while generating eBook.')); + } + } +} + +class WallabagEpub extends WallabagEBooks +{ + /** + * handle ePub + */ + public function produceEpub() + { + Tools::logm('Starting to produce ePub 3 file'); + $content_start = + "\n" + . "\n" + . "" + . "\n" + . "" . _("wallabag articles book") . "\n" + . "\n" + . "\n"; + + $bookEnd = "\n\n"; + + $log = new Logger("wallabag", TRUE); + $fileDir = CACHE; + + $book = new EPub(EPub::BOOK_VERSION_EPUB3, DEBUG_POCHE); + $log->logLine("new EPub()"); + $log->logLine("EPub class version: " . EPub::VERSION); + $log->logLine("EPub Req. Zip version: " . EPub::REQ_ZIP_VERSION); + $log->logLine("Zip version: " . Zip::VERSION); + $log->logLine("getCurrentServerURL: " . $book->getCurrentServerURL()); + $log->logLine("getCurrentPageURL..: " . $book->getCurrentPageURL()); + + Tools::logm('Filling metadata for ePub...'); + + $book->setTitle($this->bookTitle); + $book->setIdentifier("http://$_SERVER[HTTP_HOST]", EPub::IDENTIFIER_URI); // Could also be the ISBN number, prefered for published books, or a UUID. + //$book->setLanguage("en"); // Not needed, but included for the example, Language is mandatory, but EPub defaults to "en". Use RFC3066 Language codes, such as "en", "da", "fr" etc. + $book->setDescription(_("Some articles saved on my wallabag")); + $book->setAuthor($this->author,$this->author); + $book->setPublisher("wallabag", "wallabag"); // I hope this is a non existant address :) + $book->setDate(time()); // Strictly not needed as the book date defaults to time(). + //$book->setRights("Copyright and licence information specific for the book."); // As this is generated, this _could_ contain the name or licence information of the user who purchased the book, if needed. If this is used that way, the identifier must also be made unique for the book. + $book->setSourceURL("http://$_SERVER[HTTP_HOST]"); + + $book->addDublinCoreMetadata(DublinCore::CONTRIBUTOR, "PHP"); + $book->addDublinCoreMetadata(DublinCore::CONTRIBUTOR, "wallabag"); + + $cssData = "body {\n margin-left: .5em;\n margin-right: .5em;\n text-align: justify;\n}\n\np {\n font-family: serif;\n font-size: 10pt;\n text-align: justify;\n text-indent: 1em;\n margin-top: 0px;\n margin-bottom: 1ex;\n}\n\nh1, h2 {\n font-family: sans-serif;\n font-style: italic;\n text-align: center;\n background-color: #6b879c;\n color: white;\n width: 100%;\n}\n\nh1 {\n margin-bottom: 2px;\n}\n\nh2 {\n margin-top: -2px;\n margin-bottom: 2px;\n}\n"; + + $log->logLine("Add Cover"); + + $fullTitle = "

" . $this->bookTitle . "

\n"; + + $book->setCoverImage("Cover.png", file_get_contents("themes/_global/img/appicon/apple-touch-icon-152.png"), "image/png", $fullTitle); + + $cover = $content_start . '

' . _('Produced by wallabag with PHPePub') . '

'. _('Please open an issue if you have trouble with the display of this E-Book on your device.') . '

' . $bookEnd; + + //$book->addChapter("Table of Contents", "TOC.xhtml", NULL, false, EPub::EXTERNAL_REF_IGNORE); + $book->addChapter("Notices", "Cover2.html", $cover); + + $book->buildTOC(); + + Tools::logm('Adding actual content...'); + + foreach ($this->entries as $entry) { //set tags as subjects + $tags = $this->wallabag->store->retrieveTagsByEntry($entry['id']); + foreach ($tags as $tag) { + $book->setSubject($tag['value']); + } + + $log->logLine("Set up parameters"); + + $chapter = $content_start . $entry['content'] . $bookEnd; + $book->addChapter($entry['title'], htmlspecialchars($entry['title']) . ".html", $chapter, true, EPub::EXTERNAL_REF_ADD); + $log->logLine("Added chapter " . $entry['title']); + } + + if (DEBUG_POCHE) { + $book->addChapter("Log", "Log.html", $content_start . $log->getLog() . "\n" . $bookEnd); // log generation + Tools::logm('Production log available in produced file'); + } + $book->finalize(); + $zipData = $book->sendBook($this->bookFileName); + Tools::logm('Ebook produced'); + } +} + +class WallabagMobi extends WallabagEBooks +{ + /** + * MOBI Class + * @author Sander Kromwijk + */ + + public function produceMobi() + { + + Tools::logm('Starting to produce Mobi file'); + $mobi = new MOBI(); + $content = new MOBIFile(); + + $messages = new Messages(); // for later + + Tools::logm('Filling metadata for Mobi...'); + + $content->set("title", $this->bookTitle); + $content->set("author", $this->author); + $content->set("subject", $this->bookTitle); + + # introduction + $content->appendParagraph('

' . _('Produced by wallabag with PHPMobi') . '

'. _('Please open an issue if you have trouble with the display of this E-Book on your device.') . '

'); + $content->appendImage(imagecreatefrompng("themes/_global/img/appicon/apple-touch-icon-152.png")); + $content->appendPageBreak(); + + Tools::logm('Adding actual content...'); + + foreach ($this->entries as $item) { + $content->appendChapterTitle($item['title']); + $content->appendParagraph($item['content']); + $content->appendPageBreak(); + } + $mobi->setContentProvider($content); + + // we offer file to download + $mobi->download($this->bookFileName.'.mobi'); + Tools::logm('Mobi file produced'); + } +} + +class WallabagPDF extends WallabagEbooks +{ + public function producePDF() + { + + Tools::logm('Starting to produce PDF file'); + + $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); + + Tools::logm('Filling metadata for PDF...'); + $pdf->SetCreator(PDF_CREATOR); + $pdf->SetAuthor(''); + $pdf->SetTitle($this->bookTitle); + $pdf->SetSubject($this->bookTitle); + + Tools::logm('Adding introduction...'); + $pdf->AddPage(); + $intro = '

' . $this->bookTitle . '

+

' . _('Produced by wallabag with tcpdf') . '

+

'. _('Please open an issue if you have trouble with the display of this E-Book on your device.') . '

+
'; + + + $pdf->writeHTMLCell(0, 0, '', '', $intro, 0, 1, 0, true, '', true); + + $i = 1; + Tools::logm('Adding actual content...'); + foreach ($this->entries as $item) { + $pdf->AddPage(); + $html = '

' . $item['title'] . '

'; + $html .= $item['content']; + $pdf->writeHTMLCell(0, 0, '', '', $html, 0, 1, 0, true, '', true); + $i = $i+1; + } + + // set image scale factor + $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); + + + $pdf->Output(CACHE . '/' . $this->bookFileName . '.pdf', 'FD'); + + } +} diff --git a/src/Wallabag/Wallabag/FlattrItem.php b/src/Wallabag/Wallabag/FlattrItem.php new file mode 100644 index 00000000..17eccd3f --- /dev/null +++ b/src/Wallabag/Wallabag/FlattrItem.php @@ -0,0 +1,59 @@ + + * @copyright 2013 + * @license http://opensource.org/licenses/MIT see COPYING file + */ + +namespace Wallabag\Wallabag; + +class FlattrItem +{ + public $status; + public $urlToFlattr; + public $flattrItemURL; + public $numFlattrs; + + public function checkItem($urlToFlattr, $id) + { + $this->_cacheFlattrFile($urlToFlattr, $id); + $flattrResponse = file_get_contents(CACHE . "/flattr/".$id.".cache"); + if($flattrResponse != FALSE) { + $result = json_decode($flattrResponse); + if (isset($result->message)) { + if ($result->message == "flattrable") { + $this->status = FLATTRABLE; + } + } + elseif (is_object($result) && $result->link) { + $this->status = FLATTRED; + $this->flattrItemURL = $result->link; + $this->numFlattrs = $result->flattrs; + } + else { + $this->status = NOT_FLATTRABLE; + } + } + else { + $this->status = "FLATTR_ERR_CONNECTION"; + } + } + + private function _cacheFlattrFile($urlToFlattr, $id) + { + if (!is_dir(CACHE . '/flattr')) { + mkdir(CACHE . '/flattr', 0777); + } + + // if a cache flattr file for this url already exists and it's been less than one day than it have been updated, see in /cache + if ((!file_exists(CACHE . "/flattr/".$id.".cache")) || (time() - filemtime(CACHE . "/flattr/".$id.".cache") > 86400)) { + $askForFlattr = Tools::getFile(FLATTR_API . $urlToFlattr); + $flattrCacheFile = fopen(CACHE . "/flattr/".$id.".cache", 'w+'); + fwrite($flattrCacheFile, $askForFlattr); + fclose($flattrCacheFile); + } + } +} diff --git a/src/Wallabag/Wallabag/Language.php b/src/Wallabag/Wallabag/Language.php new file mode 100644 index 00000000..43411817 --- /dev/null +++ b/src/Wallabag/Wallabag/Language.php @@ -0,0 +1,116 @@ + + * @copyright 2013 + * @license http://opensource.org/licenses/MIT see COPYING file + */ + +namespace Wallabag\Wallabag; + +class Language +{ + protected $wallabag; + + private $currentLanguage; + + private $languageNames = array( + 'cs_CZ.utf8' => 'čeština', + 'de_DE.utf8' => 'German', + 'en_EN.utf8' => 'English', + 'en_US.utf8' => 'English (US)', + 'es_ES.utf8' => 'Español', + 'fa_IR.utf8' => 'فارسی', + 'fr_FR.utf8' => 'Français', + 'it_IT.utf8' => 'Italiano', + 'pl_PL.utf8' => 'Polski', + 'pt_BR.utf8' => 'Português (Brasil)', + 'ru_RU.utf8' => 'Pусский', + 'sl_SI.utf8' => 'Slovenščina', + 'uk_UA.utf8' => 'Українська', + ); + + public function __construct(Wallabag $wallabag) + { + $this->wallabag = $wallabag; + $pocheUser = Session::getParam('poche_user'); + $language = (is_null($pocheUser) ? LANG : $pocheUser->getConfigValue('language')); + + @putenv('LC_ALL=' . $language); + setlocale(LC_ALL, $language); + bindtextdomain($language, LOCALE); + textdomain($language); + + $this->currentLanguage = $language; + } + + public function getLanguage() { + return $this->currentLanguage; + } + + public function getInstalledLanguages() { + $handle = opendir(LOCALE); + $languages = array(); + + while (($language = readdir($handle)) !== false) { + # Languages are stored in a directory, so all directory names are languages + # @todo move language installation data to database + if (! is_dir(LOCALE . '/' . $language) || in_array($language, array('..', '.', 'tools'))) { + continue; + } + + $current = false; + + if ($language === $this->getLanguage()) { + $current = true; + } + + $languages[] = array('name' => (isset($this->languageNames[$language]) ? $this->languageNames[$language] : $language), 'value' => $language, 'current' => $current); + } + + return $languages; + } + + + /** + * Update language for current user + * + * @param $newLanguage + */ + public function updateLanguage($newLanguage) + { + # we are not going to change it to the current language + if ($newLanguage == $this->getLanguage()) { + $this->wallabag->messages->add('w', _('still using the "' . $this->getLanguage() . '" language!')); + Tools::redirect('?view=config'); + } + + $languages = $this->getInstalledLanguages(); + $actualLanguage = false; + + foreach ($languages as $language) { + if ($language['value'] == $newLanguage) { + $actualLanguage = true; + break; + } + } + + if (!$actualLanguage) { + $this->wallabag->messages->add('e', _('that language does not seem to be installed')); + Tools::redirect('?view=config'); + } + + $this->wallabag->store->updateUserConfig($this->wallabag->user->getId(), 'language', $newLanguage); + $this->wallabag->messages->add('s', _('you have changed your language preferences')); + + $currentConfig = $_SESSION['poche_user']->config; + $currentConfig['language'] = $newLanguage; + + $_SESSION['poche_user']->setConfig($currentConfig); + + Tools::emptyCache(); + Tools::redirect('?view=config'); + } +} diff --git a/src/Wallabag/Wallabag/Picture.php b/src/Wallabag/Wallabag/Picture.php new file mode 100644 index 00000000..8a9cd764 --- /dev/null +++ b/src/Wallabag/Wallabag/Picture.php @@ -0,0 +1,169 @@ + + * @copyright 2013 + * @license http://opensource.org/licenses/MIT see COPYING file + */ + +namespace Wallabag\Wallabag; + +final class Picture +{ + /** + * Changing pictures URL in article content + */ + public static function filterPicture($content, $url, $id) + { + $matches = array(); + $processing_pictures = array(); // list of processing image to avoid processing the same pictures twice + preg_match_all('#<\s*(img)[^>]+src="([^"]*)"[^>]*>#Si', $content, $matches, PREG_SET_ORDER); + foreach($matches as $i => $link) { + $link[1] = trim($link[1]); + if (!preg_match('#^(([a-z]+://)|(\#))#', $link[1])) { + $absolute_path = self::_getAbsoluteLink($link[2], $url); + $filename = basename(parse_url($absolute_path, PHP_URL_PATH)); + $directory = self::_createAssetsDirectory($id); + $fullpath = $directory . '/' . $filename; + + if (in_array($absolute_path, $processing_pictures) === true) { + // replace picture's URL only if processing is OK : already processing -> go to next picture + continue; + } + + if (self::_downloadPictures($absolute_path, $fullpath) === true) { + $content = str_replace($matches[$i][2], Tools::getPocheUrl() . $fullpath, $content); + } + + $processing_pictures[] = $absolute_path; + } + } + + return $content; + } + + /** + * Get absolute URL + */ + private static function _getAbsoluteLink($relativeLink, $url) + { + /* return if already absolute URL */ + if (parse_url($relativeLink, PHP_URL_SCHEME) != '') return $relativeLink; + + /* queries and anchors */ + if ($relativeLink[0]=='#' || $relativeLink[0]=='?') return $url . $relativeLink; + + /* parse base URL and convert to local variables: + $scheme, $host, $path */ + extract(parse_url($url)); + + /* remove non-directory element from path */ + $path = preg_replace('#/[^/]*$#', '', $path); + + /* destroy path if relative url points to root */ + if ($relativeLink[0] == '/') $path = ''; + + /* dirty absolute URL */ + $abs = $host . $path . '/' . $relativeLink; + + /* replace '//' or '/./' or '/foo/../' with '/' */ + $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); + for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) {} + + /* absolute URL is ready! */ + return $scheme.'://'.$abs; + } + + /** + * Downloading pictures + * + * @return bool true if the download and processing is OK, false else + */ + private static function _downloadPictures($absolute_path, $fullpath) + { + $rawdata = Tools::getFile($absolute_path); + $fullpath = urldecode($fullpath); + + if(file_exists($fullpath)) { + unlink($fullpath); + } + + // check extension + $file_ext = strrchr($fullpath, '.'); + $whitelist = array(".jpg",".jpeg",".gif",".png"); + if (!(in_array($file_ext, $whitelist))) { + Tools::logm('processed image with not allowed extension. Skipping ' . $fullpath); + return false; + } + + // check headers + $imageinfo = getimagesize($absolute_path); + if ($imageinfo['mime'] != 'image/gif' && $imageinfo['mime'] != 'image/jpeg'&& $imageinfo['mime'] != 'image/jpg'&& $imageinfo['mime'] != 'image/png') { + Tools::logm('processed image with bad header. Skipping ' . $fullpath); + return false; + } + + // regenerate image + $im = imagecreatefromstring($rawdata); + if ($im === false) { + Tools::logm('error while regenerating image ' . $fullpath); + return false; + } + + switch ($imageinfo['mime']) { + case 'image/gif': + $result = imagegif($im, $fullpath); + break; + case 'image/jpeg': + case 'image/jpg': + $result = imagejpeg($im, $fullpath, REGENERATE_PICTURES_QUALITY); + break; + case 'image/png': + $result = imagepng($im, $fullpath, ceil(REGENERATE_PICTURES_QUALITY / 100 * 9)); + break; + } + imagedestroy($im); + + return $result; + } + + /** + * Create a directory for an article + * + * @param $id ID of the article + * @return string + */ + private static function _createAssetsDirectory($id) + { + $assets_path = ABS_PATH; + if (!is_dir($assets_path)) { + mkdir($assets_path, 0715); + } + + $article_directory = $assets_path . $id; + if (!is_dir($article_directory)) { + mkdir($article_directory, 0715); + } + + return $article_directory; + } + + /** + * Remove the directory + * + * @param $directory + * @return bool + */ + public static function removeDirectory($directory) + { + if (is_dir($directory)) { + $files = array_diff(scandir($directory), array('.','..')); + foreach ($files as $file) { + (is_dir("$directory/$file")) ? self::removeDirectory("$directory/$file") : unlink("$directory/$file"); + } + return rmdir($directory); + } + } +} \ No newline at end of file diff --git a/src/Wallabag/Wallabag/Resources/translations/cs_CZ.utf8/LC_MESSAGES/cs_CZ.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/cs_CZ.utf8/LC_MESSAGES/cs_CZ.utf8.mo new file mode 100644 index 00000000..af0920d2 Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/cs_CZ.utf8/LC_MESSAGES/cs_CZ.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/cs_CZ.utf8/LC_MESSAGES/cs_CZ.utf8.po b/src/Wallabag/Wallabag/Resources/translations/cs_CZ.utf8/LC_MESSAGES/cs_CZ.utf8.po new file mode 100644 index 00000000..cf727432 --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/cs_CZ.utf8/LC_MESSAGES/cs_CZ.utf8.po @@ -0,0 +1,567 @@ +# +# Translators: +# David Štancl , 2013 +msgid "" +msgstr "" +"Project-Id-Version: poche\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-25 15:28+0300\n" +"PO-Revision-Date: 2014-02-25 15:29+0300\n" +"Last-Translator: Maryana \n" +"Language-Team: Czech (http://www.transifex.com/projects/p/poche/language/cs/)\n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"X-Generator: Poedit 1.5.4\n" +"X-Poedit-Language: Czech\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: /home/mariroz/_DEV/web/wallabag/wallabag-master-testing\n" + +msgid "wallabag, a read it later open source system" +msgstr "" + +msgid "login failed: user doesn't exist" +msgstr "" + +msgid "return home" +msgstr "" + +msgid "config" +msgstr "nastavení" + +msgid "Saving articles" +msgstr "" + +msgid "There are several ways to save an article:" +msgstr "" + +msgid "read the documentation" +msgstr "číst dokumentaci" + +msgid "download the extension" +msgstr "" + +msgid "via F-Droid" +msgstr "" + +msgid " or " +msgstr "" + +msgid "via Google Play" +msgstr "" + +msgid "download the application" +msgstr "" + +#, fuzzy +msgid "By filling this field" +msgstr "vyplněním tohoto pole" + +msgid "bag it!" +msgstr "" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "" + +msgid "Upgrading wallabag" +msgstr "" + +#, fuzzy +msgid "Installed version" +msgstr "poslední stabilní verze" + +#, fuzzy +msgid "Latest stable version" +msgstr "poslední stabilní verze" + +#, fuzzy +msgid "A more recent stable version is available." +msgstr "je k dispozici novější stabilní verze." + +#, fuzzy +msgid "You are up to date." +msgstr "je aktuální" + +#, fuzzy +msgid "Latest dev version" +msgstr "poslední vývojová verze" + +#, fuzzy +msgid "A more recent development version is available." +msgstr "je k dispozici novější vývojová verze." + +msgid "Feeds" +msgstr "" + +msgid "Your feed token is currently empty and must first be generated to enable feeds. Click here to generate it." +msgstr "" + +msgid "Unread feed" +msgstr "" + +#, fuzzy +msgid "Favorites feed" +msgstr "oblíbené" + +#, fuzzy +msgid "Archive feed" +msgstr "archív" + +msgid "Your token:" +msgstr "" + +msgid "Your user id:" +msgstr "" + +msgid "You can regenerate your token: generate!." +msgstr "" + +#, fuzzy +msgid "Change your theme" +msgstr "Změnit heslo" + +msgid "Theme:" +msgstr "" + +msgid "Update" +msgstr "Aktualizovat" + +#, fuzzy +msgid "Change your language" +msgstr "Změnit heslo" + +msgid "Language:" +msgstr "" + +msgid "Change your password" +msgstr "Změnit heslo" + +msgid "New password:" +msgstr "Nové heslo:" + +msgid "Password" +msgstr "Heslo" + +msgid "Repeat your new password:" +msgstr "Znovu nové heslo:" + +msgid "Import" +msgstr "Importovat" + +#, fuzzy +msgid "Please execute the import script locally as it can take a very long time." +msgstr "Spusťte importní skript lokálně, může to dlouho trvat." + +#, fuzzy +msgid "More info in the official documentation:" +msgstr "Více informací v oficiální dokumentaci:" + +#, fuzzy +msgid "Import from Pocket" +msgstr "importovat z Pocket" + +#, php-format +msgid "(you must have a %s file on your server)" +msgstr "" + +#, fuzzy +msgid "Import from Readability" +msgstr "importovat z Readability" + +#, fuzzy +msgid "Import from Instapaper" +msgstr "importovat z Instapaper" + +#, fuzzy +msgid "Import from wallabag" +msgstr "importovat z Readability" + +#, fuzzy +msgid "Export your wallabag data" +msgstr "Export dat" + +msgid "Click here" +msgstr "Klikněte zde" + +msgid "to download your database." +msgstr "" + +#, fuzzy +msgid "to export your wallabag data." +msgstr "pro export vašich dat." + +msgid "Cache" +msgstr "" + +msgid "to delete cache." +msgstr "" + +msgid "You can enter multiple tags, separated by commas." +msgstr "" + +msgid "return to article" +msgstr "" + +msgid "plop" +msgstr "" + +msgid "You can check your configuration here." +msgstr "" + +msgid "favoris" +msgstr "oblíbené" + +msgid "archive" +msgstr "archív" + +msgid "unread" +msgstr "nepřečtené" + +msgid "by date asc" +msgstr "podle data od nejstarších" + +msgid "by date" +msgstr "podle data" + +msgid "by date desc" +msgstr "podle data od nejnovějších" + +msgid "by title asc" +msgstr "podle nadpisu vzestupně" + +msgid "by title" +msgstr "podle nadpisu" + +msgid "by title desc" +msgstr "podle nadpisu sestupně" + +msgid "Tag" +msgstr "" + +msgid "No articles found." +msgstr "" + +#, fuzzy +msgid "Toggle mark as read" +msgstr "označit jako přečtené" + +msgid "toggle favorite" +msgstr "označit jako oblíbené" + +msgid "delete" +msgstr "smazat" + +msgid "original" +msgstr "originál" + +msgid "estimated reading time:" +msgstr "" + +msgid "mark all the entries as read" +msgstr "" + +msgid "results" +msgstr "výsledky" + +msgid "installation" +msgstr "instalace" + +#, fuzzy +msgid "install your wallabag" +msgstr "instalovat" + +#, fuzzy +msgid "wallabag is still not installed. Please fill the below form to install it. Don't hesitate to read the documentation on wallabag website." +msgstr "poche ještě není nainstalováno. Pro instalaci vyplňte níže uvedený formulář. Nezapomeňte si přečíst dokumentaci na stránkách programu." + +msgid "Login" +msgstr "Jméno" + +msgid "Repeat your password" +msgstr "Zopakujte heslo" + +msgid "Install" +msgstr "Instalovat" + +#, fuzzy +msgid "login to your wallabag" +msgstr "přihlásit se k poche" + +msgid "Login to wallabag" +msgstr "" + +msgid "you are in demo mode, some features may be disabled." +msgstr "používáte ukázkový mód, některé funkce jsou zakázány." + +msgid "Username" +msgstr "" + +msgid "Stay signed in" +msgstr "Zůstat přihlášen(a)" + +msgid "(Do not check on public computers)" +msgstr "(Nezaškrtávejte na veřejně dostupných počítačích)" + +msgid "Sign in" +msgstr "Přihlásit se" + +msgid "favorites" +msgstr "oblíbené" + +msgid "estimated reading time :" +msgstr "" + +msgid "Mark all the entries as read" +msgstr "" + +msgid "Return home" +msgstr "" + +#, fuzzy +msgid "Back to top" +msgstr "zpět na začátek" + +#, fuzzy +msgid "Mark as read" +msgstr "označit jako přečtené" + +#, fuzzy +msgid "Favorite" +msgstr "oblíbené" + +#, fuzzy +msgid "Toggle favorite" +msgstr "označit jako oblíbené" + +#, fuzzy +msgid "Delete" +msgstr "smazat" + +#, fuzzy +msgid "Tweet" +msgstr "tweetnout" + +#, fuzzy +msgid "Email" +msgstr "email" + +msgid "shaarli" +msgstr "shaarli" + +msgid "flattr" +msgstr "flattr" + +#, fuzzy +msgid "Does this article appear wrong?" +msgstr "vypadá tento článek špatně?" + +msgid "tags:" +msgstr "" + +msgid "Edit tags" +msgstr "" + +msgid "save link!" +msgstr "" + +msgid "home" +msgstr "domů" + +msgid "tags" +msgstr "" + +msgid "logout" +msgstr "odhlásit se" + +msgid "powered by" +msgstr "běží na" + +msgid "debug mode is on so cache is off." +msgstr "je zapnut ladicí mód, proto je keš vypnuta." + +#, fuzzy +msgid "your wallabag version:" +msgstr "vaše verze" + +msgid "storage:" +msgstr "úložiště:" + +msgid "save a link" +msgstr "" + +msgid "back to home" +msgstr "zpět na úvod" + +msgid "toggle mark as read" +msgstr "označit jako přečtené" + +msgid "tweet" +msgstr "tweetnout" + +msgid "email" +msgstr "email" + +msgid "this article appears wrong?" +msgstr "vypadá tento článek špatně?" + +msgid "No link available here!" +msgstr "Není k dispozici žádný odkaz!" + +msgid "Poching a link" +msgstr "Odkaz se ukládá" + +msgid "by filling this field" +msgstr "vyplněním tohoto pole" + +msgid "bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "" + +msgid "your version" +msgstr "vaše verze" + +msgid "latest stable version" +msgstr "poslední stabilní verze" + +msgid "a more recent stable version is available." +msgstr "je k dispozici novější stabilní verze." + +msgid "you are up to date." +msgstr "je aktuální" + +msgid "latest dev version" +msgstr "poslední vývojová verze" + +msgid "a more recent development version is available." +msgstr "je k dispozici novější vývojová verze." + +msgid "Please execute the import script locally, it can take a very long time." +msgstr "Spusťte importní skript lokálně, může to dlouho trvat." + +#, fuzzy +msgid "More infos in the official doc:" +msgstr "Více informací v oficiální dokumentaci:" + +msgid "import from Pocket" +msgstr "importovat z Pocket" + +msgid "import from Readability" +msgstr "importovat z Readability" + +msgid "import from Instapaper" +msgstr "importovat z Instapaper" + +msgid "Tags" +msgstr "" + +#, fuzzy +msgid "Untitled" +msgstr "podle nadpisu" + +msgid "the link has been added successfully" +msgstr "" + +msgid "error during insertion : the link wasn't added" +msgstr "" + +msgid "the link has been deleted successfully" +msgstr "" + +msgid "the link wasn't deleted" +msgstr "" + +msgid "Article not found!" +msgstr "" + +msgid "previous" +msgstr "" + +msgid "next" +msgstr "" + +msgid "in demo mode, you can't update your password" +msgstr "" + +msgid "your password has been updated" +msgstr "" + +msgid "the two fields have to be filled & the password must be the same in the two fields" +msgstr "" + +msgid "still using the \"" +msgstr "" + +msgid "that theme does not seem to be installed" +msgstr "" + +msgid "you have changed your theme preferences" +msgstr "" + +msgid "that language does not seem to be installed" +msgstr "" + +msgid "you have changed your language preferences" +msgstr "" + +msgid "login failed: you have to fill all fields" +msgstr "" + +msgid "welcome to your wallabag" +msgstr "" + +msgid "login failed: bad login or password" +msgstr "" + +#, fuzzy +msgid "import from instapaper completed" +msgstr "importovat z Instapaper" + +#, fuzzy +msgid "import from pocket completed" +msgstr "importovat z Pocket" + +#, fuzzy +msgid "import from Readability completed. " +msgstr "importovat z Readability" + +#, fuzzy +msgid "import from Poche completed. " +msgstr "importovat z Pocket" + +msgid "Unknown import provider." +msgstr "" + +msgid "Incomplete inc/poche/define.inc.php file, please define \"" +msgstr "" + +msgid "Could not find required \"" +msgstr "" + +msgid "Uh, there is a problem while generating feeds." +msgstr "" + +#, fuzzy +msgid "Cache deleted." +msgstr "smazat" + +msgid "Oops, it seems you don't have PHP 5." +msgstr "" + +#~ msgid "poche it!" +#~ msgstr "uložit!" + +#~ msgid "Updating poche" +#~ msgstr "Poche se aktualizuje" + +#~ msgid "create an issue" +#~ msgstr "odeslat požadavek" + +#~ msgid "or" +#~ msgstr "nebo" + +#~ msgid "contact us by mail" +#~ msgstr "kontaktovat e-mailem" + +#~ msgid "your poche version:" +#~ msgstr "verze:" diff --git a/src/Wallabag/Wallabag/Resources/translations/de_DE.utf8/LC_MESSAGES/de_DE.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/de_DE.utf8/LC_MESSAGES/de_DE.utf8.mo new file mode 100644 index 00000000..bd18817f Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/de_DE.utf8/LC_MESSAGES/de_DE.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/de_DE.utf8/LC_MESSAGES/de_DE.utf8.po b/src/Wallabag/Wallabag/Resources/translations/de_DE.utf8/LC_MESSAGES/de_DE.utf8.po new file mode 100644 index 00000000..8b82721d --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/de_DE.utf8/LC_MESSAGES/de_DE.utf8.po @@ -0,0 +1,658 @@ +msgid "" +msgstr "" +"Project-Id-Version: Wallabag\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-03-27 13:41+0100\n" +"PO-Revision-Date: \n" +"Last-Translator: Kevin Meyer \n" +"Language-Team: \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.6.4\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: /Users/kevinmeyer/Dropbox/dev_web/wallabag-dev\n" + +msgid "config" +msgstr "Konfiguration" + +msgid "Saving articles" +msgstr "Artikel speichern" + +msgid "There are several ways to save an article:" +msgstr "Es gibt viele Methoden um Artikel zu speichern:" + +msgid "read the documentation" +msgstr "Die Dokumentation lesen" + +msgid "download the extension" +msgstr "installiere die Erweiterung" + +msgid "via F-Droid" +msgstr "via F-Droid" + +msgid " or " +msgstr " oder " + +msgid "via Google Play" +msgstr "via Google Play" + +msgid "download the application" +msgstr "lade die App" + +msgid "By filling this field" +msgstr "Durch Ausfüllen dieses Feldes" + +msgid "bag it!" +msgstr "bag it!" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "Bookmarklet: Ziehe diesen Link in deine Lesezeichen-Leiste" + +msgid "Upgrading wallabag" +msgstr "wallabag aktualisieren" + +msgid "Installed version" +msgstr "Installierte Version" + +msgid "Latest stable version" +msgstr "Neuste stabile Version" + +msgid "A more recent stable version is available." +msgstr "Eine neuere stabile Version ist verfügbar." + +msgid "You are up to date." +msgstr "Du bist auf den neuesten Stand." + +msgid "Last check:" +msgstr "Zuletzt geprüft:" + +msgid "Latest dev version" +msgstr "Neuste Entwicklungsversion" + +msgid "A more recent development version is available." +msgstr "Eine neuere Entwicklungsversion ist verfügbar." + +msgid "You can clear cache to check the latest release." +msgstr "Leere den Cache um die neueste Version zu prüfen." + +msgid "Feeds" +msgstr "Feeds" + +msgid "" +"Your feed token is currently empty and must first be generated to enable " +"feeds. Click here to generate it." +msgstr "" +"Dein Feed Token ist noch nicht vorhanden und muss zunächst generiert werden, " +"um deine Feeds zu aktivieren. Klicke hier um ihn zu generieren." + +msgid "Unread feed" +msgstr "Ungelesen Feed" + +msgid "Favorites feed" +msgstr "Favoriten Feed" + +msgid "Archive feed" +msgstr "Archiv Feed" + +msgid "Your token:" +msgstr "Dein Token:" + +msgid "Your user id:" +msgstr "Deine User ID:" + +msgid "" +"You can regenerate your token: generate!" +"." +msgstr "" +"Hier kannst du dein Token erzeugen: Generieren!." + +msgid "Change your theme" +msgstr "Theme ändern" + +msgid "Theme:" +msgstr "Theme:" + +msgid "Update" +msgstr "Aktualisieren" + +msgid "Change your language" +msgstr "Sprache ändern" + +msgid "Language:" +msgstr "Sprache:" + +msgid "Change your password" +msgstr "Passwort ändern" + +msgid "New password:" +msgstr "Neues Passwort:" + +msgid "Password" +msgstr "Passwort" + +msgid "Repeat your new password:" +msgstr "Neues Passwort wiederholen:" + +msgid "Import" +msgstr "Import" + +msgid "" +"Importing from other services can be quite long, and webservers default " +"configuration often prevents long scripts execution time, so it must be done " +"in multiple parts." +msgstr "" +"Der Import von anderen Diensten kann sehr lange dauern. Deswegen bricht der " +"Webserver diesen in vielen Konfigurationen ab. Daher muss der Import in " +"mehrere Teile aufgeteilt werden." + +msgid "First, select the export file on your computer and upload it." +msgstr "Wähle eine Datei von deinem Computer aus und lade sie hoch." + +msgid "File:" +msgstr "Datei:" + +msgid "Upload" +msgstr "Hochladen" + +msgid "Then, click on the right link below." +msgstr "Klicke dann unten auf den entsprechenden Link." + +msgid "Import from Pocket" +msgstr "Import aus Pocket" + +#, php-format +msgid "(after uploaded %s file)" +msgstr "(nach Upload der Datei %s)" + +msgid "Import from Readability" +msgstr "Import aus Readability" + +msgid "Import from Instapaper" +msgstr "Import aus Instapaper" + +msgid "Import from wallabag" +msgstr "Import aus Readability" + +msgid "" +"3. Your feed token is currently empty and must first be generated to fetch " +"content. Click here to generate it." +msgstr "" +"3. Dein Feed Token ist noch nicht vorhanden und muss zunächst generiert " +"werden, um Inhalt abrufen zu können. Klicke hier um ihn zu generieren." + +msgid "Finally, you have to fetch content for imported items." +msgstr "Jetzt musst du den Inhalt der importierten Artikel abrufen." + +msgid "Click here" +msgstr "Klicke hier" + +msgid "to fetch content for 10 articles" +msgstr "um den Inhalt von 10 Artikeln abzurufen" + +msgid "" +"If you have console access to your server, you can also create a cron task:" +msgstr "" +"Wenn du Konsolenzugang zu deinem Server hast kannst du auch einen cron " +"erstellen:" + +msgid "Export your wallabag data" +msgstr "Exportieren deine wallabag Daten" + +msgid "to download your database." +msgstr "um deine Datenbank herunterzuladen" + +msgid "to export your wallabag data." +msgstr "um deine Daten aus wallabag zu exportieren." + +msgid "Cache" +msgstr "Cache" + +msgid "to delete cache." +msgstr "um den Cache zu löschen." + +msgid "Tags" +msgstr "Tags" + +msgid "by date asc" +msgstr "nach Datum aufsteigend" + +msgid "by date" +msgstr "nach Datum" + +msgid "by date desc" +msgstr "nach Datum absteigend" + +msgid "by title asc" +msgstr "nach Titel aufsteigend" + +msgid "by title" +msgstr "nach Titel" + +msgid "by title desc" +msgstr "nach Titel absteigend" + +#, fuzzy +msgid "toggle view mode" +msgstr "Favorit" + +msgid "home" +msgstr "Start" + +msgid "favorites" +msgstr "Favoriten" + +msgid "archive" +msgstr "Archiv" + +msgid "tags" +msgstr "Tags" + +msgid "save a link" +msgstr "Speichere einen Link" + +msgid "search" +msgstr "Suche" + +msgid "logout" +msgstr "Logout" + +msgid "return home" +msgstr "Zurück zum Start" + +#, fuzzy +msgid "Search" +msgstr "Archiv" + +msgid "powered by" +msgstr "bereitgestellt von" + +msgid "debug mode is on so cache is off." +msgstr "Debug Modus ist aktiviert, das Caching ist somit deaktiviert" + +msgid "your wallabag version:" +msgstr "Deine wallabag Version" + +msgid "storage:" +msgstr "Speicher:" + +msgid "Save a link" +msgstr "Speichere einen Link" + +msgid "save link!" +msgstr "Link speichern!" + +msgid "unread" +msgstr "ungelesen" + +msgid "Tag" +msgstr "Tag" + +msgid "No articles found." +msgstr "Keine Artikel gefunden." + +msgid "estimated reading time:" +msgstr "geschätzte Lesezeit:" + +msgid "estimated reading time :" +msgstr "geschätzte Lesezeit:" + +msgid "Toggle mark as read" +msgstr "Als gelesen markieren" + +msgid "toggle favorite" +msgstr "Favorit" + +msgid "delete" +msgstr "Löschen" + +msgid "original" +msgstr "Original" + +msgid "Mark all the entries as read" +msgstr "Markiere alle als gelesen" + +msgid "results" +msgstr "Ergebnisse" + +msgid "Uh, there is a problem with the cron." +msgstr "Oh, es gab ein Problem mit dem cron." + +msgid "Untitled" +msgstr "Ohne Titel" + +msgid "the link has been added successfully" +msgstr "Speichern des Links erfolgreich" + +msgid "error during insertion : the link wasn't added" +msgstr "Fehler beim Einfügen: Der Link wurde nicht hinzugefügt" + +msgid "the link has been deleted successfully" +msgstr "Löschen des Links erfolgreich" + +msgid "the link wasn't deleted" +msgstr "Der Link wurde nicht entfernt" + +msgid "Article not found!" +msgstr "Artikel nicht gefunden!" + +msgid "previous" +msgstr "vorherige" + +msgid "next" +msgstr "nächste" + +msgid "in demo mode, you can't update your password" +msgstr "im Demo-Modus kann das Passwort nicht geändert werden" + +msgid "your password has been updated" +msgstr "Dein Passwort wurde geändert" + +msgid "" +"the two fields have to be filled & the password must be the same in the two " +"fields" +msgstr "Beide Felder müssen mit selbem Inhalt ausgefüllt sein" + +msgid "still using the \"" +msgstr "nutze immernoch die \"" + +msgid "that theme does not seem to be installed" +msgstr "dieses Theme scheint nicht installiert zu sein" + +msgid "you have changed your theme preferences" +msgstr "Du hast deine Theme Einstellungen geändert" + +msgid "that language does not seem to be installed" +msgstr "Diese Sprache scheint nicht installiert zu sein" + +msgid "you have changed your language preferences" +msgstr "Du hast deine Spracheinstellungen geändert" + +msgid "login failed: you have to fill all fields" +msgstr "Anmeldung fehlgeschlagen: Alle Felder müssen ausgefüllt werden" + +msgid "welcome to your wallabag" +msgstr "Willkommen bei deiner wallabag" + +msgid "login failed: bad login or password" +msgstr "Anmeldung fehlgeschlagen: Falscher Benutzername oder Passwort" + +msgid "" +"import from instapaper completed. You have to execute the cron to fetch " +"content." +msgstr "" +"Import aus Instapaper vollständig. Führe den cronjob aus um den Inhalt " +"abzurufen." + +msgid "" +"import from pocket completed. You have to execute the cron to fetch content." +msgstr "" +"Import aus Pocket vollständig. Führe den cronjob aus um den Inhalt abzurufen." + +msgid "" +"import from Readability completed. You have to execute the cron to fetch " +"content." +msgstr "" +"Import aus Readability vollständig. Führe den cronjob aus um den Inhalt " +"abzurufen." + +msgid "" +"import from Poche completed. You have to execute the cron to fetch content." +msgstr "" +"Import aus Poche vollständig. Führe den cronjob aus um den Inhalt abzurufen." + +msgid "Unknown import provider." +msgstr "Unbekannter Import Anbieter." + +msgid "Could not find required \"" +msgstr "Nicht gefunden: \"" + +msgid "File uploaded. You can now execute import." +msgstr "Datei hochgeladen. Du kannst nun importieren." + +msgid "Error while importing file. Do you have access to upload it?" +msgstr "Fehler beim Importieren. Hast du das Recht zum Hochladen?" + +msgid "User with this id (" +msgstr "Nutzer mit dieser id (" + +msgid "Uh, there is a problem while generating feeds." +msgstr "Oh, es gab ein Problem beim Erstellen des Feeds." + +msgid "Cache deleted." +msgstr "Cache gelöscht" + +msgid "Oops, it seems you don't have PHP 5." +msgstr "Oops, es scheint als würde PHP 5 fehlen." + +msgid "wallabag, a read it later open source system" +msgstr "wallabag, ein Später-Lesen Open Source System" + +msgid "login failed: user doesn't exist" +msgstr "Anmeldung fehlgeschlagen: Benutzer existiert nicht" + +#~ msgid "You can enter multiple tags, separated by commas." +#~ msgstr "Du kannst mehrere Tags, durch Kommata getrennt, eingeben." + +#~ msgid "return to article" +#~ msgstr "zurück zum Artikel" + +#, fuzzy +#~ msgid "favoris" +#~ msgstr "Favoriten" + +#~ msgid "mark all the entries as read" +#~ msgstr "Markiere alle als gelesen" + +#~ msgid "Back to top" +#~ msgstr "Nach Oben" + +#~ msgid "Mark as read" +#~ msgstr "Als gelesen markieren" + +#~ msgid "Favorite" +#~ msgstr "Favoriten" + +#~ msgid "Toggle favorite" +#~ msgstr "Favorit" + +#~ msgid "Delete" +#~ msgstr "Löschen" + +#~ msgid "Tweet" +#~ msgstr "Twittern" + +#~ msgid "Email" +#~ msgstr "per E-Mail senden" + +#~ msgid "shaarli" +#~ msgstr "Shaarli" + +#~ msgid "flattr" +#~ msgstr "flattr" + +#~ msgid "Does this article appear wrong?" +#~ msgstr "Erscheint dieser Artikel falsch?" + +#~ msgid "Edit tags" +#~ msgstr "Tags bearbeiten" + +#~ msgid "Start typing for auto complete." +#~ msgstr "Beginne zu tippen für die Autovervollständigung." + +#~ msgid "Return home" +#~ msgstr "Zurück zum Start" + +#~ msgid "tags:" +#~ msgstr "Tags:" + +#~ msgid "login to your wallabag" +#~ msgstr "Bei wallabag anmelden" + +#~ msgid "you are in demo mode, some features may be disabled." +#~ msgstr "" +#~ "Du befindest dich im Demomodus, einige Funktionen könnten deaktiviert " +#~ "sein." + +#~ msgid "Login" +#~ msgstr "Benutzername" + +#~ msgid "Stay signed in" +#~ msgstr "Angemeldet bleiben" + +#~ msgid "(Do not check on public computers)" +#~ msgstr "(nicht auf einem öffentlichen Computer anhaken)" + +#~ msgid "plop" +#~ msgstr "plop" + +#~ msgid "Login to wallabag" +#~ msgstr "Bei wallabag anmelden" + +#~ msgid "Username" +#~ msgstr "Benutzername" + +#~ msgid "Sign in" +#~ msgstr "Einloggen" + +#~ msgid "Enter your search here" +#~ msgstr "Gib hier deine Suchanfrage ein" + +#~ msgid "installation" +#~ msgstr "Installieren" + +#~ msgid "install your wallabag" +#~ msgstr "Installiere deine wallabag" + +#~ msgid "" +#~ "wallabag is still not installed. Please fill the below form to install " +#~ "it. Don't hesitate to read the " +#~ "documentation on wallabag website." +#~ msgstr "" +#~ "wallabag ist noch nicht installiert. Bitte fülle die Felder unten aus, um " +#~ "die Installation durchzuführen. Zögere nicht, die Dokumentation auf der Website von wallabag zu lesen, " +#~ "falls du Probleme haben solltest." + +#~ msgid "Repeat your password" +#~ msgstr "Wiederhole dein Passwort" + +#~ msgid "Install" +#~ msgstr "Installieren" + +#~ msgid "No link available here!" +#~ msgstr "Kein Link verfügbar!" + +#~ msgid "toggle mark as read" +#~ msgstr "Als gelesen markieren" + +#~ msgid "" +#~ "You can check your " +#~ "configuration here." +#~ msgstr "" +#~ "Du kannst deine Konfiguration hier testen." + +#~ msgid "back to home" +#~ msgstr "züruck zur Hauptseite" + +#~ msgid "tweet" +#~ msgstr "Twittern" + +#~ msgid "email" +#~ msgstr "senden per E-Mail" + +#~ msgid "this article appears wrong?" +#~ msgstr "dieser Artikel erscheint falsch?" + +#~ msgid "Poching a link" +#~ msgstr "Poche einen Link" + +#~ msgid "by filling this field" +#~ msgstr "durch das ausfüllen dieses Feldes:" + +#~ msgid "bookmarklet: drag & drop this link to your bookmarks bar" +#~ msgstr "Bookmarklet: Ziehe diesen Link in deine Lesezeichen-Leiste" + +#~ msgid "your version" +#~ msgstr "Deine Version" + +#~ msgid "latest stable version" +#~ msgstr "Neuste stabile Version" + +#~ msgid "a more recent stable version is available." +#~ msgstr "Eine neuere stabile Version ist verfügbar." + +#~ msgid "you are up to date." +#~ msgstr "Du bist auf den neuesten Stand." + +#~ msgid "latest dev version" +#~ msgstr "Neuste Entwicklungsversion" + +#~ msgid "a more recent development version is available." +#~ msgstr "Eine neuere Entwicklungsversion ist verfügbar." + +#~ msgid "" +#~ "Please execute the import script locally, it can take a very long time." +#~ msgstr "" +#~ "Bitte führe das Import Script lokal aus, dies kann eine Weile dauern." + +#~ msgid "More infos in the official doc:" +#~ msgstr "Mehr Informationen in der offiziellen Dokumentation:" + +#~ msgid "import from Pocket" +#~ msgstr "Import aus Pocket" + +#~ msgid "(you must have a %s file on your server)" +#~ msgstr "(du brauchst eine %s Datei auf deinem Server)" + +#~ msgid "import from Readability" +#~ msgstr "Import aus Readability" + +#~ msgid "import from Instapaper" +#~ msgstr "Import aus Instapaper" + +#~ msgid "You can also create a cron task:" +#~ msgstr "Du kannst auch einen cronjob anlegen:" + +#~ msgid "" +#~ "Please execute the import script locally as it can take a very long time." +#~ msgstr "" +#~ "Bitte führe das Import Script lokal aus, da dies eine Weile dauern kann." + +#~ msgid "More info in the official documentation:" +#~ msgstr "Mehr Informationen in der offiziellen Dokumentation:" + +#~ msgid "import from instapaper completed" +#~ msgstr "Import aus Instapaper erfolgreich" + +#~ msgid "import from pocket completed" +#~ msgstr "Import aus Pocket erfolgreich" + +#~ msgid "import from Poche completed. " +#~ msgstr "Import aus Poche erfolgreich" + +#~ msgid "Incomplete inc/poche/define.inc.php file, please define \"" +#~ msgstr "Unvollständige inc/poche/define.inc.php Datei, bitte setze \"" + +#~ msgid "poche it!" +#~ msgstr "Poche es!" + +#~ msgid "Updating poche" +#~ msgstr "Poche aktualisieren" + +#~ msgid "create an issue" +#~ msgstr "ein Ticket erstellen" + +#~ msgid "or" +#~ msgstr "oder" + +#~ msgid "contact us by mail" +#~ msgstr "kontaktieren Sie uns per E-Mail" + +#~ msgid "your poche version:" +#~ msgstr "Deine Poche Version" diff --git a/src/Wallabag/Wallabag/Resources/translations/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo new file mode 100644 index 00000000..c9105ee6 Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/en_EN.utf8/LC_MESSAGES/en_EN.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/en_EN.utf8/LC_MESSAGES/en_EN.utf8.po b/src/Wallabag/Wallabag/Resources/translations/en_EN.utf8/LC_MESSAGES/en_EN.utf8.po new file mode 100644 index 00000000..81f87342 --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/en_EN.utf8/LC_MESSAGES/en_EN.utf8.po @@ -0,0 +1,770 @@ +msgid "" +msgstr "" +"Project-Id-Version: wallabag\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-07-26 15:17+0300\n" +"PO-Revision-Date: \n" +"Last-Translator: Thomas Citharel \n" +"Language-Team: \n" +"Language: en\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" +"X-Poedit-Basepath: .\n" + +msgid "wallabag, a read it later open source system" +msgstr "wallabag, a read it later open source system" + +msgid "login failed: user doesn't exist" +msgstr "Login failed: user doesn't exist" + +msgid "return home" +msgstr "Return Home" + +msgid "config" +msgstr "Config" + +msgid "Saving articles" +msgstr "Saving articles" + +msgid "There are several ways to save an article:" +msgstr "There are several ways to save an article:" + +msgid "read the documentation" +msgstr "Read the documentation" + +msgid "download the extension" +msgstr "Download the extension" + +msgid "Firefox Add-On" +msgstr "Firefox Add-On" + +msgid "Chrome Extension" +msgstr "Chrome Extension" + +msgid "via F-Droid" +msgstr "via F-Droid" + +msgid " or " +msgstr " or " + +msgid "via Google Play" +msgstr "via Google Play" + +msgid "download the application" +msgstr "Download the application" + +msgid "By filling this field" +msgstr "By filling this field" + +msgid "bag it!" +msgstr "bag it!" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "Bookmarklet: Drag & drop this link to your bookmarks bar" + +msgid "Upgrading wallabag" +msgstr "Upgrading wallabag" + +msgid "Installed version" +msgstr "Installed version" + +msgid "Latest stable version" +msgstr "Latest stable version" + +msgid "A more recent stable version is available." +msgstr "A more recent stable version is available." + +msgid "You are up to date." +msgstr "You are up to date." + +msgid "Latest dev version" +msgstr "Latest dev version" + +msgid "A more recent development version is available." +msgstr "A more recent development version is available." + +msgid "Feeds" +msgstr "Feeds" + +msgid "" +"Your feed token is currently empty and must first be generated to enable " +"feeds. Click here to generate it." +msgstr "" +"Your feed token is currently empty and must first be generated to enable " +"feeds. Click here to generate it." + +msgid "Unread feed" +msgstr "Unread feed" + +msgid "Favorites feed" +msgstr "Favorites feed" + +msgid "Archive feed" +msgstr "Archive feed" + +msgid "Your token:" +msgstr "Your token:" + +msgid "Your user id:" +msgstr "Your user ID:" + +msgid "" +"You can regenerate your token: generate!" +"." +msgstr "Regenerate Token" + +msgid "Change your theme" +msgstr "Change Your Theme" + +msgid "Theme:" +msgstr "Theme:" + +msgid "Update" +msgstr "Update" + +msgid "Change your language" +msgstr "Change Your Language" + +msgid "Language:" +msgstr "Language:" + +msgid "Change your password" +msgstr "Change Your Password" + +msgid "New password:" +msgstr "New password:" + +msgid "Password" +msgstr "Password" + +msgid "Repeat your new password:" +msgstr "Repeat your new password:" + +msgid "Import" +msgstr "Import" + +msgid "" +"You can import your Pocket, Readability, Instapaper, Wallabag or any data in " +"appropriate json or html format." +msgstr "" +"You can import your Pocket, Readability, Instapaper, wallabag or any fil in " +"appropriate JSON or HTML format." + +msgid "" +"Please select export file on your computer and press \"Import\" button " +"below. Wallabag will parse your file, insert all URLs and start fetching of " +"articles if required." +msgstr "" +"Please select export file on your computer and press “Import” " +"button below. wallabag will parse your file, insert all URLs and start " +"fetching of articles if required.Please execute the import script locally as " +"it can take a very long time." + +msgid "You can click here to fetch content for articles with no content." +msgstr "Fetch content for articles with no content" + +msgid "" +"Please execute the import script locally as it can take a very long time." +msgstr "" +"Please execute the import script locally as it can take a very long time." + +msgid "More info in the official documentation:" +msgstr "More info in the official documentation:" + +msgid "" +"(?)" +msgstr "" +"(?)" + +msgid "Import from Pocket" +msgstr "Import from Pocket" + +#, php-format +msgid "(you must have a %s file on your server)" +msgstr "(you must have a %s file on your server)" + +msgid "Import from Readability" +msgstr "Import from Readability" + +msgid "Import from Instapaper" +msgstr "Import from Instapaper" + +msgid "Import from wallabag" +msgstr "Import from wallabag" + +msgid "Export your wallabag data" +msgstr "Export your wallabag data" + +msgid "Click here" +msgstr "Click here" + +msgid "to download your database." +msgstr "to download your database." + +msgid "to export your wallabag data." +msgstr "to export your wallabag data." + +msgid "Export JSON" +msgstr "Export JSON" + +msgid "Cache" +msgstr "Cache" + +msgid "to delete cache." +msgstr "to delete cache." + +msgid "Delete Cache" +msgstr "Delete Cache" + +msgid "You can enter multiple tags, separated by commas." +msgstr "You can enter multiple tags, separated by commas." + +msgid "Add tags:" +msgstr "Add tags:" + +msgid "no tags" +msgstr "no tags" + +msgid "The tag has been applied successfully" +msgstr "The tag has been applied successfully" + +msgid "interview" +msgstr "interview" + +msgid "editorial" +msgstr "editorial" + +msgid "video" +msgstr "video" + +msgid "return to article" +msgstr "Return to article" + +msgid "plop" +msgstr "plop" + +msgid "" +"You can check your configuration " +"here." +msgstr "" +"You can check your configuration " +"here." + +msgid "favoris" +msgstr "Favorites" + +msgid "archive" +msgstr "Archive" + +msgid "unread" +msgstr "Unread" + +msgid "by date asc" +msgstr "by date asc" + +msgid "by date" +msgstr "by date" + +msgid "by date desc" +msgstr "by date desc" + +msgid "by title asc" +msgstr "by title asc" + +msgid "by title" +msgstr "by title" + +msgid "by title desc" +msgstr "by title desc" + +msgid "Tag" +msgstr "Tag" + +msgid "No articles found." +msgstr "No articles found." + +msgid "Toggle mark as read" +msgstr "Toggle mark as read" + +msgid "toggle favorite" +msgstr "Toggle favorite" + +msgid "delete" +msgstr "Delete" + +msgid "original" +msgstr "Original" + +msgid "estimated reading time:" +msgstr "Estimated reading time:" + +msgid "mark all the entries as read" +msgstr "Mark all the entries as read" + +msgid "results" +msgstr "Results" + +msgid "installation" +msgstr "Installation" + +msgid "install your wallabag" +msgstr "Install your wallabag" + +msgid "" +"wallabag is still not installed. Please fill the below form to install it. " +"Don't hesitate to read the documentation " +"on wallabag website." +msgstr "" +"wallabag is still not installed. Please fill the below form to install it. " +"Don't hesitate to read the documentation " +"on wallabag website." + +msgid "Login" +msgstr "Login" + +msgid "Repeat your password" +msgstr "Repeat your password" + +msgid "Install" +msgstr "Install" + +msgid "login to your wallabag" +msgstr "Login to your wallabag" + +msgid "Login to wallabag" +msgstr "Login to wallabag" + +msgid "you are in demo mode, some features may be disabled." +msgstr "You are in demo mode; some features may be disabled." + +msgid "Username" +msgstr "Username" + +msgid "Stay signed in" +msgstr "Stay signed in" + +msgid "(Do not check on public computers)" +msgstr "(Do not check on public computers)" + +msgid "Sign in" +msgstr "Sign in" + +msgid "favorites" +msgstr "Favorites" + +msgid "estimated reading time :" +msgstr "Estimated reading time:" + +msgid "Mark all the entries as read" +msgstr "Mark all the entries as read" + +msgid "Return home" +msgstr "Return home" + +msgid "Back to top" +msgstr "Back to top" + +msgid "Mark as read" +msgstr "Mark as read" + +msgid "Favorite" +msgstr "Favorite" + +msgid "Toggle favorite" +msgstr "Toggle favorite" + +msgid "Delete" +msgstr "Delete" + +msgid "Tweet" +msgstr "Tweet" + +msgid "Email" +msgstr "Email" + +msgid "shaarli" +msgstr "shaarli" + +msgid "flattr" +msgstr "flattr" + +msgid "Does this article appear wrong?" +msgstr "Does this article appear wrong?" + +msgid "tags:" +msgstr "tags:" + +msgid "Edit tags" +msgstr "Edit Tags" + +msgid "save link!" +msgstr "Save Link" + +msgid "home" +msgstr "Home" + +msgid "tags" +msgstr "Tags" + +msgid "logout" +msgstr "Logout" + +msgid "powered by" +msgstr "Powered by" + +msgid "debug mode is on so cache is off." +msgstr "Debug mode is on, so cache is off." + +msgid "your wallabag version:" +msgstr "Your wallabag version:" + +msgid "storage:" +msgstr "Storage:" + +msgid "save a link" +msgstr "Save a Link" + +msgid "back to home" +msgstr "Back to Home" + +msgid "toggle mark as read" +msgstr "Toggle mark as read" + +msgid "tweet" +msgstr "Tweet" + +msgid "email" +msgstr "Email" + +msgid "this article appears wrong?" +msgstr "This article appears wrong?" + +msgid "No link available here!" +msgstr "No link available here" + +msgid "Poching a link" +msgstr "bagging a link" + +msgid "by filling this field" +msgstr "by filling this field" + +msgid "bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "Bookmarklet: Drag & drop this link to your bookmarks bar" + +msgid "Drag & drop this link to your bookmarks bar:" +msgstr "Drag & drop this link to your bookmarks bar:" + +msgid "your version" +msgstr "your version" + +msgid "latest stable version" +msgstr "latest stable version" + +msgid "a more recent stable version is available." +msgstr "A more recent stable version is available." + +msgid "you are up to date." +msgstr "You are up to date." + +msgid "latest dev version" +msgstr "latest dev version" + +msgid "a more recent development version is available." +msgstr "A more recent development version is available." + +msgid "You can clear cache to check the latest release." +msgstr "" +"You can clear the cache to check for the latest " +"release." + +msgid "Please execute the import script locally, it can take a very long time." +msgstr "" +"Please execute the import script locally, it can take a very long time." + +msgid "More infos in the official doc:" +msgstr "More information in the official doc:" + +msgid "import from Pocket" +msgstr "Import from Pocket" + +msgid "import from Readability" +msgstr "Import from Readability" + +msgid "import from Instapaper" +msgstr "Import from Instapaper" + +msgid "Tags" +msgstr "Tags" + +msgid "Untitled" +msgstr "Untitled" + +msgid "the link has been added successfully" +msgstr "The link has been added successfully." + +msgid "error during insertion : the link wasn't added" +msgstr "Error during insertion: the link wasn't added." + +msgid "the link has been deleted successfully" +msgstr "The link has been deleted successfully." + +msgid "the link wasn't deleted" +msgstr "The link wasn't deleted." + +msgid "Article not found!" +msgstr "Article not found." + +msgid "previous" +msgstr "Previous" + +msgid "next" +msgstr "Next" + +msgid "in demo mode, you can't update your password" +msgstr "In demo mode, you can't update your password." + +msgid "your password has been updated" +msgstr "Your password has been updated." + +msgid "" +"the two fields have to be filled & the password must be the same in the two " +"fields" +msgstr "" +"les deux champs doivent être remplis et le mot de passe doit être le même " +"pour les deux champs" + +msgid "still using the \"" +msgstr "Still using the \"" + +msgid "that theme does not seem to be installed" +msgstr "That theme does not seem to be installed." + +msgid "you have changed your theme preferences" +msgstr "You have changed your theme preferences." + +msgid "that language does not seem to be installed" +msgstr "That language does not seem to be installed." + +msgid "you have changed your language preferences" +msgstr "You have changed your language preferences." + +msgid "login failed: you have to fill all fields" +msgstr "Login failed: you have to fill all fields." + +msgid "welcome to your wallabag" +msgstr "Welcome to your wallabag." + +msgid "login failed: bad login or password" +msgstr "Login failed: bad login or password." + +msgid "import from instapaper completed" +msgstr "Import from Instapaper completed." + +msgid "import from pocket completed" +msgstr "Import from Pocket completed." + +msgid "import from Readability completed. " +msgstr "Import from Readability completed." + +msgid "import from Poche completed. " +msgstr "Import from Poche completed. " + +msgid "Unknown import provider." +msgstr "Unknown import provider." + +msgid "Incomplete inc/poche/define.inc.php file, please define \"" +msgstr "Incomplete inc/poche/define.inc.php file, please define \"" + +msgid "Could not find required \"" +msgstr "Could not find required \"" + +msgid "Uh, there is a problem while generating feeds." +msgstr "There is a problem generating feeds." + +msgid "Cache deleted." +msgstr "Cache deleted." + +msgid "Oops, it seems you don't have PHP 5." +msgstr "Oops, it seems you don't have PHP 5." + +msgid "Add user" +msgstr "Add User" + +msgid "Add a new user :" +msgstr "Add a new user:" + +msgid "Login for new user" +msgstr "Login for new user:" + +msgid "Password for new user" +msgstr "Password for new user:" + +msgid "Email for new user (not required)" +msgstr "Email for new user (not required):" + +msgid "Send" +msgstr "Send" + +msgid "Delete account" +msgstr "Delete Account" + +msgid "You can delete your account by entering your password and validating." +msgstr "You can delete your account by entering your password and validating." + +msgid "Be careful, data will be erased forever (that is a very long time)." +msgstr "Be careful, data will be erased forever (that is a very long time)." + +msgid "Type here your password" +msgstr "Enter your password" + +msgid "You are the only user, you cannot delete your own account." +msgstr "You are the only user, you cannot delete your own account." + +msgid "" +"To completely remove wallabag, delete the wallabag folder on your web server " +"(and eventual databases)." +msgstr "" +"To completely remove wallabag, delete the wallabag folder on your web server " +"(and eventual databases)." + +msgid "Enter your search here" +msgstr "Enter your search here" + +msgid "Tag these results as" +msgstr "Tag these results as" + +# ebook +msgid "Fancy an E-Book ?" +msgstr "Fancy an E-Book?" + +msgid "Click to get all your articles in one ebook :" +msgstr "Click to get all your articles in one ebook :" + +msgid "Generate ePub file" +msgstr "Generate ePub file" + +msgid "Generate Mobi file" +msgstr "Generate Mobi file" + +msgid "Generate PDF file" +msgstr "Generate PDF file" + +msgid "" +"This can take a while and can even fail if you have too many " +"articles, depending on your server configuration." +msgstr "" +"This can take a while and can even fail if you have too many " +"articles, depending on your server configuration." + +msgid "Download the articles from this tag in an ePub file" +msgstr "Download the articles from this tag in an ePub file" + +msgid "Download the articles from this tag in an Mobi file" +msgstr "Download the articles from this tag in an Mobi file" + +msgid "Download the articles from this tag in an PDF file" +msgstr "Download the articles from this tag in an PDF file" + +msgid "Download the articles from this search in an ePub" +msgstr "Download the articles from this search in an ePub" + +msgid "Download the articles from this search in a Mobi file" +msgstr "Download the articles from this search in a Mobi file" + +msgid "Download the articles from this search in a PDF file" +msgstr "Download the articles from this search in a PDF file" + +msgid "Download the articles from this category in an ePub" +msgstr "Download the articles from this category in an ePub" + +msgid "Download the articles from this category in a Mobi file" +msgstr "Download the articles from this category in a Mobi file" + +msgid "Download the articles from this category in a PDF file" +msgstr "Download the articles from this category in a PDF file" + +msgid "Download as ePub3" +msgstr "Download as ePub3" + +msgid "Download as Mobi" +msgstr "Download as Mobi" + +msgid "Download as PDF" +msgstr "Download as PDF" + +msgid "All my articles on %s" +msgstr "All my articles on %s" + +msgid "Allarticles" +msgstr "Allarticles" + +msgid "Articles tagged %s" +msgstr "Articles tagged %s" + +msgid "Tag %s" +msgstr "Tag %s" + +msgid "Articles in category %s" +msgstr "All articles in category %s" + +msgid "Category %s" +msgstr "Category %s" + +msgid "Articles for search %s" +msgstr "All articles for search %s" + +msgid "Search %s" +msgstr "Search %s" + +msgid "wallabag articles book" +msgstr "wallabag articles book" + +msgid "Some articles saved on my wallabag" +msgstr "Some articles saved on my wallabag" + +msgid "Produced by wallabag with PHPePub" +msgstr "Produced by wallabag with PHPePub" + +msgid "" +"Please open an issue if you have trouble with the display of this E-Book on your device." +msgstr "" +"Please open an issue if you have trouble with the display of this E-Book on your device." + +msgid "Produced by wallabag with PHPMobi" +msgstr "Produced by wallabag with PHPMobi" + +msgid "Mail function is disabled. You can't send emails from your server" +msgstr "Mail function is disabled. You can't send emails from your server" + +msgid "You didn't set your kindle's email adress !" +msgstr "You didn't set your kindle's email adress !" + +msgid "The email has been sent to your kindle !" +msgstr "The email has been sent to your kindle !" + +msgid "Produced by wallabag with mPDF" +msgstr "Produced by wallabag with mPDF" + +#~ msgid "poche it!" +#~ msgstr "poche it!" + +#~ msgid "Updating poche" +#~ msgstr "Updating poche" + +#~ msgid "create an issue" +#~ msgstr "create an issue" + +#~ msgid "or" +#~ msgstr "or" + +#~ msgid "contact us by mail" +#~ msgstr "contact us by mail" + +#~ msgid "your poche version:" +#~ msgstr "your poche version:" diff --git a/src/Wallabag/Wallabag/Resources/translations/en_US.utf8/LC_MESSAGES/en_US.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/en_US.utf8/LC_MESSAGES/en_US.utf8.mo new file mode 100644 index 00000000..77dee070 Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/en_US.utf8/LC_MESSAGES/en_US.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/en_US.utf8/LC_MESSAGES/en_US.utf8.po b/src/Wallabag/Wallabag/Resources/translations/en_US.utf8/LC_MESSAGES/en_US.utf8.po new file mode 100644 index 00000000..579d1aca --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/en_US.utf8/LC_MESSAGES/en_US.utf8.po @@ -0,0 +1,682 @@ +msgid "" +msgstr "" +"Project-Id-Version: wallabag\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-25 15:17+0300\n" +"PO-Revision-Date: \n" +"Last-Translator: Thomas Citharel \n" +"Language-Team: \n" +"Language: en_US\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" +"X-Poedit-Basepath: .\n" + +msgid "wallabag, a read it later open source system" +msgstr "wallabag, a read it later open source system" + +msgid "login failed: user doesn't exist" +msgstr "Login failed: user doesn't exist" + +msgid "return home" +msgstr "Return Home" + +msgid "config" +msgstr "Config" + +msgid "Saving articles" +msgstr "Saving articles" + +msgid "There are several ways to save an article:" +msgstr "There are several ways to save an article:" + +msgid "read the documentation" +msgstr "Read the documentation" + +msgid "download the extension" +msgstr "Download the extension" + +msgid "Firefox Add-On" +msgstr "Firefox Add-On" + +msgid "Chrome Extension" +msgstr "Chrome Extension" + +msgid "via F-Droid" +msgstr "via F-Droid" + +msgid " or " +msgstr " or " + +msgid "via Google Play" +msgstr "via Google Play" + +msgid "download the application" +msgstr "Download the application" + +msgid "By filling this field" +msgstr "By filling this field" + +msgid "bag it!" +msgstr "bag it!" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "Bookmarklet: Drag & drop this link to your bookmarks bar" + +msgid "Upgrading wallabag" +msgstr "Upgrading wallabag" + +msgid "Installed version" +msgstr "Installed version" + +msgid "Latest stable version" +msgstr "Latest stable version" + +msgid "A more recent stable version is available." +msgstr "A more recent stable version is available." + +msgid "You are up to date." +msgstr "You are up to date." + +msgid "Latest dev version" +msgstr "Latest dev version" + +msgid "A more recent development version is available." +msgstr "A more recent development version is available." + +msgid "You can clear cache to check the latest release." +msgstr "" +"You can clear the cache to check for the latest " +"release." + +msgid "Feeds" +msgstr "Feeds" + +msgid "" +"Your feed token is currently empty and must first be generated to enable " +"feeds. Click here to generate it." +msgstr "" +"Your feed token is currently empty and must first be generated to enable " +"feeds. Click here to generate it." + +msgid "Unread feed" +msgstr "Unread feed" + +msgid "Favorites feed" +msgstr "Favorites feed" + +msgid "Archive feed" +msgstr "Archive feed" + +msgid "Your token:" +msgstr "Your token:" + +msgid "Your user id:" +msgstr "Your user ID:" + +msgid "" +"You can regenerate your token: generate!" +"." +msgstr "Regenerate Token" + +msgid "Change your theme" +msgstr "Change Your Theme" + +msgid "Theme:" +msgstr "Theme:" + +msgid "Update" +msgstr "Update" + +msgid "Change your language" +msgstr "Change Your Language" + +msgid "Language:" +msgstr "Language:" + +msgid "Change your password" +msgstr "Change Your Password" + +msgid "New password:" +msgstr "New password:" + +msgid "Password" +msgstr "Password" + +msgid "Repeat your new password:" +msgstr "Repeat your new password:" + +msgid "Import" +msgstr "Import" + +msgid "" +"You can import your Pocket, Readability, Instapaper, Wallabag or any data in " +"appropriate json or html format." +msgstr "" +"You can import your Pocket, Readability, Instapaper, wallabag or any file in " +"appropriate JSON or HTML format." + +msgid "" +"Please execute the import script locally as it can take a very long time." +msgstr "" +"Please execute the import script locally as it can take a very long time." + +msgid "" +"Please select export file on your computer and press \"Import\" button " +"below. Wallabag will parse your file, insert all URLs and start fetching of " +"articles if required." +msgstr "" +"Please select export file on your computer and press “Import” " +"button below. wallabag will parse your file, insert all URLs and start " +"fetching of articles if required." + +msgid "You can click here to fetch content for articles with no content." +msgstr "Fetch content for articles with no content" + +msgid "More info in the official documentation:" +msgstr "More info in the official documentation:" + +msgid "" +"(?)" +msgstr "" +"(?)" + +msgid "Import from Pocket" +msgstr "Import from Pocket" + +#, php-format +msgid "(you must have a %s file on your server)" +msgstr "(you must have a %s file on your server)" + +msgid "Import from Readability" +msgstr "Import from Readability" + +msgid "Import from Instapaper" +msgstr "Import from Instapaper" + +msgid "Import from wallabag" +msgstr "Import from wallabag" + +msgid "Export your wallabag data" +msgstr "Export your wallabag data" + +msgid "Click here" +msgstr "Click here" + +msgid "to download your database." +msgstr "to download your database." + +msgid "to export your wallabag data." +msgstr "to export your wallabag data." + +msgid "Export JSON" +msgstr "Export JSON" + +msgid "Cache" +msgstr "Cache" + +msgid "to delete cache." +msgstr "to delete cache." + +msgid "Delete Cache" +msgstr "Delete Cache" + +msgid "You can enter multiple tags, separated by commas." +msgstr "You can enter multiple tags, separated by commas." + +msgid "Add tags:" +msgstr "Add tags:" + +msgid "no tags" +msgstr "no tags" + +msgid "The tag has been applied successfully" +msgstr "The tag has been applied successfully" + +msgid "interview" +msgstr "interview" + +msgid "editorial" +msgstr "editorial" + +msgid "video" +msgstr "video" + +msgid "return to article" +msgstr "Return to article" + +msgid "plop" +msgstr "plop" + +msgid "" +"You can check your configuration " +"here." +msgstr "" +"You can check your configuration " +"here." + +msgid "favoris" +msgstr "Favorites" + +msgid "archive" +msgstr "Archive" + +msgid "unread" +msgstr "Unread" + +msgid "by date asc" +msgstr "by date asc" + +msgid "by date" +msgstr "by date" + +msgid "by date desc" +msgstr "by date desc" + +msgid "by title asc" +msgstr "by title asc" + +msgid "by title" +msgstr "by title" + +msgid "by title desc" +msgstr "by title desc" + +msgid "Tag" +msgstr "Tag" + +msgid "No articles found." +msgstr "No articles found." + +msgid "Toggle mark as read" +msgstr "Toggle mark as read" + +msgid "toggle favorite" +msgstr "Toggle favorite" + +msgid "delete" +msgstr "Delete" + +msgid "original" +msgstr "Original" + +msgid "estimated reading time:" +msgstr "Estimated reading time:" + +msgid "mark all the entries as read" +msgstr "Mark all the entries as read" + +msgid "results" +msgstr "Results" + +msgid "installation" +msgstr "Installation" + +msgid "install your wallabag" +msgstr "Install your wallabag" + +msgid "" +"wallabag is still not installed. Please fill the below form to install it. " +"Don't hesitate to read the documentation " +"on wallabag website." +msgstr "" +"wallabag is still not installed. Please fill the below form to install it. " +"Don't hesitate to read the documentation " +"on wallabag website." + +msgid "Login" +msgstr "Login" + +msgid "Repeat your password" +msgstr "Repeat your password" + +msgid "Install" +msgstr "Install" + +msgid "login to your wallabag" +msgstr "Login to your wallabag" + +msgid "Login to wallabag" +msgstr "Login to wallabag" + +msgid "you are in demo mode, some features may be disabled." +msgstr "You are in demo mode; some features may be disabled." + +msgid "Username" +msgstr "Username" + +msgid "Stay signed in" +msgstr "Stay signed in" + +msgid "(Do not check on public computers)" +msgstr "(Do not check on public computers)" + +msgid "Sign in" +msgstr "Sign in" + +msgid "favorites" +msgstr "Favorites" + +msgid "estimated reading time :" +msgstr "Estimated reading time:" + +msgid "Mark all the entries as read" +msgstr "Mark all the entries as read" + +msgid "Return home" +msgstr "Return home" + +msgid "Back to top" +msgstr "Back to top" + +msgid "Mark as read" +msgstr "Mark as read" + +msgid "Favorite" +msgstr "Favorite" + +msgid "Toggle favorite" +msgstr "Toggle favorite" + +msgid "Delete" +msgstr "Delete" + +msgid "Tweet" +msgstr "Tweet" + +msgid "Email" +msgstr "Email" + +msgid "shaarli" +msgstr "shaarli" + +msgid "flattr" +msgstr "flattr" + +msgid "Does this article appear wrong?" +msgstr "Does this article appear wrong?" + +msgid "tags:" +msgstr "tags:" + +msgid "Edit tags" +msgstr "Edit Tags" + +msgid "save link!" +msgstr "Save Link" + +msgid "home" +msgstr "Home" + +msgid "tags" +msgstr "Tags" + +msgid "logout" +msgstr "Logout" + +msgid "powered by" +msgstr "Powered by" + +msgid "debug mode is on so cache is off." +msgstr "Debug mode is on, so cache is off." + +msgid "your wallabag version:" +msgstr "Your wallabag version:" + +msgid "storage:" +msgstr "Storage:" + +msgid "save a link" +msgstr "Save a Link" + +msgid "back to home" +msgstr "Back to Home" + +msgid "toggle mark as read" +msgstr "Toggle mark as read" + +msgid "tweet" +msgstr "Tweet" + +msgid "email" +msgstr "Email" + +msgid "this article appears wrong?" +msgstr "This article appears wrong?" + +msgid "No link available here!" +msgstr "No link available here" + +msgid "Poching a link" +msgstr "bagging a link" + +msgid "by filling this field" +msgstr "by filling this field" + +msgid "bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "Bookmarklet: Drag & drop this link to your bookmarks bar" + +msgid "Drag & drop this link to your bookmarks bar:" +msgstr "Drag & drop this link to your bookmarks bar:" + +msgid "your version" +msgstr "your version" + +msgid "latest stable version" +msgstr "latest stable version" + +msgid "a more recent stable version is available." +msgstr "A more recent stable version is available." + +msgid "you are up to date." +msgstr "You are up to date." + +msgid "latest dev version" +msgstr "latest dev version" + +msgid "a more recent development version is available." +msgstr "A more recent development version is available." + +msgid "Please execute the import script locally, it can take a very long time." +msgstr "" +"Please execute the import script locally, it can take a very long time." + +msgid "More infos in the official doc:" +msgstr "More information in the official doc:" + +msgid "import from Pocket" +msgstr "Import from Pocket" + +msgid "import from Readability" +msgstr "Import from Readability" + +msgid "import from Instapaper" +msgstr "Import from Instapaper" + +msgid "Tags" +msgstr "Tags" + +msgid "Untitled" +msgstr "Untitled" + +msgid "the link has been added successfully" +msgstr "The link has been added successfully." + +msgid "error during insertion : the link wasn't added" +msgstr "Error during insertion: the link wasn't added." + +msgid "the link has been deleted successfully" +msgstr "The link has been deleted successfully." + +msgid "the link wasn't deleted" +msgstr "The link wasn't deleted." + +msgid "Article not found!" +msgstr "Article not found." + +msgid "previous" +msgstr "Previous" + +msgid "next" +msgstr "Next" + +msgid "in demo mode, you can't update your password" +msgstr "In demo mode, you can't update your password." + +msgid "your password has been updated" +msgstr "Your password has been updated." + +msgid "" +"the two fields have to be filled & the password must be the same in the two " +"fields" +msgstr "" +"The two fields must be filled, and the password must be the same in both " +"fields" + +msgid "still using the \"" +msgstr "Still using the \"" + +msgid "that theme does not seem to be installed" +msgstr "That theme does not seem to be installed." + +msgid "you have changed your theme preferences" +msgstr "You have changed your theme preferences." + +msgid "that language does not seem to be installed" +msgstr "That language does not seem to be installed." + +msgid "you have changed your language preferences" +msgstr "You have changed your language preferences." + +msgid "login failed: you have to fill all fields" +msgstr "Login failed: you have to fill all fields." + +msgid "welcome to your wallabag" +msgstr "Welcome to your wallabag." + +msgid "login failed: bad login or password" +msgstr "Login failed: bad login or password." + +msgid "import from instapaper completed" +msgstr "Import from Instapaper completed." + +msgid "import from pocket completed" +msgstr "Import from Pocket completed." + +msgid "import from Readability completed. " +msgstr "Import from Readability completed." + +msgid "import from Poche completed. " +msgstr "Import from Poche completed. " + +msgid "Unknown import provider." +msgstr "Unknown import provider." + +msgid "Incomplete inc/poche/define.inc.php file, please define \"" +msgstr "Incomplete inc/poche/define.inc.php file, please define \"" + +msgid "Could not find required \"" +msgstr "Could not find required \"" + +msgid "Uh, there is a problem while generating feeds." +msgstr "There is a problem generating feeds." + +msgid "Cache deleted." +msgstr "Cache deleted." + +msgid "Oops, it seems you don't have PHP 5." +msgstr "Oops, it seems you don't have PHP 5." + +msgid "Add user" +msgstr "Add User" + +msgid "Add a new user :" +msgstr "Add a new user:" + +msgid "Login for new user" +msgstr "Login for new user:" + +msgid "Password for new user" +msgstr "Password for new user:" + +msgid "Email for new user (not required)" +msgstr "Email for new user (not required):" + +msgid "Send" +msgstr "Send" + +msgid "Delete account" +msgstr "Delete Account" + +msgid "You can delete your account by entering your password and validating." +msgstr "You can delete your account by entering your password and validating." + +msgid "Be careful, data will be erased forever (that is a very long time)." +msgstr "Be careful, data will be erased forever (that is a very long time)." + +msgid "Type here your password" +msgstr "Enter your password" + +msgid "You are the only user, you cannot delete your own account." +msgstr "You cannot delete your account because you are the only user." + +msgid "" +"To completely remove wallabag, delete the wallabag folder on your web server " +"(and eventual databases)." +msgstr "" +"To completely remove wallabag, delete the wallabag folder and database(s) " +"from your web server." + +msgid "Enter your search here" +msgstr "Enter your search here" + +msgid "Tag these results as" +msgstr "Tag these results as" + +# ebook +msgid "Fancy an E-Book ?" +msgstr "Fancy an E-Book?" + +msgid "" +"Click on this " +"link to get all your articles in one ebook (ePub 3 format)." +msgstr "" +"Click on this " +"link to get all your articles in one ebook (EPUB 3 format)." + +msgid "" +"This can take a while and can even fail if you have too many " +"articles, depending on your server configuration." +msgstr "" +"This can take a while and can even fail if you have too many " +"articles, depending on your server configuration." + +msgid "Download the articles from this tag in an epub" +msgstr "Download the articles from this tag in an EPUB" + +msgid "Download the articles from this search in an epub" +msgstr "Download the articles from this search in an EPUB" + +msgid "Download the articles from this category in an epub" +msgstr "Download the articles from this category in an EPUB" + +#~ msgid "poche it!" +#~ msgstr "poche it!" + +#~ msgid "Updating poche" +#~ msgstr "Updating poche" + +#~ msgid "create an issue" +#~ msgstr "create an issue" + +#~ msgid "or" +#~ msgstr "or" + +#~ msgid "contact us by mail" +#~ msgstr "contact us by mail" + +#~ msgid "your poche version:" +#~ msgstr "your poche version:" diff --git a/src/Wallabag/Wallabag/Resources/translations/es_ES.utf8/LC_MESSAGES/es_ES.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/es_ES.utf8/LC_MESSAGES/es_ES.utf8.mo new file mode 100644 index 00000000..f4309896 Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/es_ES.utf8/LC_MESSAGES/es_ES.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/es_ES.utf8/LC_MESSAGES/es_ES.utf8.po b/src/Wallabag/Wallabag/Resources/translations/es_ES.utf8/LC_MESSAGES/es_ES.utf8.po new file mode 100644 index 00000000..c08decfe --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/es_ES.utf8/LC_MESSAGES/es_ES.utf8.po @@ -0,0 +1,563 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-25 15:16+0300\n" +"PO-Revision-Date: \n" +"Last-Translator: Maryana \n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" +"X-Poedit-Language: Spanish\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: /home/mariroz/_DEV/web/wallabag/wallabag-master-testing\n" + +msgid "wallabag, a read it later open source system" +msgstr "" + +msgid "login failed: user doesn't exist" +msgstr "" + +msgid "return home" +msgstr "" + +msgid "config" +msgstr "configuración" + +msgid "Saving articles" +msgstr "" + +msgid "There are several ways to save an article:" +msgstr "" + +msgid "read the documentation" +msgstr "leer la documentación" + +msgid "download the extension" +msgstr "" + +msgid "via F-Droid" +msgstr "" + +msgid " or " +msgstr "" + +msgid "via Google Play" +msgstr "" + +msgid "download the application" +msgstr "" + +#, fuzzy +msgid "By filling this field" +msgstr "rellenando este campo" + +msgid "bag it!" +msgstr "" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "" + +msgid "Upgrading wallabag" +msgstr "" + +#, fuzzy +msgid "Installed version" +msgstr "ultima versión estable" + +#, fuzzy +msgid "Latest stable version" +msgstr "ultima versión estable" + +#, fuzzy +msgid "A more recent stable version is available." +msgstr "una versión estable más reciente está disponible." + +#, fuzzy +msgid "You are up to date." +msgstr "estás actualizado." + +#, fuzzy +msgid "Latest dev version" +msgstr "ultima versión de desarollo" + +#, fuzzy +msgid "A more recent development version is available." +msgstr "una versión de desarollo más reciente está disponible." + +msgid "Feeds" +msgstr "" + +msgid "Your feed token is currently empty and must first be generated to enable feeds. Click here to generate it." +msgstr "" + +msgid "Unread feed" +msgstr "" + +#, fuzzy +msgid "Favorites feed" +msgstr "preferidos" + +#, fuzzy +msgid "Archive feed" +msgstr "archivos" + +msgid "Your token:" +msgstr "" + +msgid "Your user id:" +msgstr "" + +msgid "You can regenerate your token: generate!." +msgstr "" + +#, fuzzy +msgid "Change your theme" +msgstr "Modificar tu contraseña" + +msgid "Theme:" +msgstr "" + +msgid "Update" +msgstr "Actualizar" + +#, fuzzy +msgid "Change your language" +msgstr "Modificar tu contraseña" + +msgid "Language:" +msgstr "" + +msgid "Change your password" +msgstr "Modificar tu contraseña" + +msgid "New password:" +msgstr "Nueva contraseña :" + +msgid "Password" +msgstr "Contraseña" + +msgid "Repeat your new password:" +msgstr "Repetir la nueva contraseña :" + +msgid "Import" +msgstr "Importar" + +#, fuzzy +msgid "Please execute the import script locally as it can take a very long time." +msgstr "Por favor, ejecute la importación en local, esto puede demorar un tiempo." + +#, fuzzy +msgid "More info in the official documentation:" +msgstr "Más información en la documentación oficial :" + +#, fuzzy +msgid "Import from Pocket" +msgstr "importación desde Pocket" + +#, php-format +msgid "(you must have a %s file on your server)" +msgstr "" + +#, fuzzy +msgid "Import from Readability" +msgstr "importación desde Readability" + +#, fuzzy +msgid "Import from Instapaper" +msgstr "importación desde Instapaper" + +#, fuzzy +msgid "Import from wallabag" +msgstr "importación desde Readability" + +#, fuzzy +msgid "Export your wallabag data" +msgstr "Exportar sus datos de poche" + +msgid "Click here" +msgstr "Haga clic aquí" + +msgid "to download your database." +msgstr "" + +#, fuzzy +msgid "to export your wallabag data." +msgstr "para exportar sus datos de poche." + +msgid "Cache" +msgstr "" + +msgid "to delete cache." +msgstr "" + +msgid "You can enter multiple tags, separated by commas." +msgstr "" + +msgid "return to article" +msgstr "" + +msgid "plop" +msgstr "plop" + +msgid "You can check your configuration here." +msgstr "" + +msgid "favoris" +msgstr "preferidos" + +msgid "archive" +msgstr "archivos" + +msgid "unread" +msgstr "sin leer" + +msgid "by date asc" +msgstr "por fecha ascendiente" + +msgid "by date" +msgstr "por fecha" + +msgid "by date desc" +msgstr "por fecha descendiente" + +msgid "by title asc" +msgstr "por titulo ascendiente" + +msgid "by title" +msgstr "por título" + +msgid "by title desc" +msgstr "por título descendiente" + +msgid "Tag" +msgstr "" + +msgid "No articles found." +msgstr "" + +#, fuzzy +msgid "Toggle mark as read" +msgstr "marcar como leído" + +msgid "toggle favorite" +msgstr "preferido" + +msgid "delete" +msgstr "eliminar" + +msgid "original" +msgstr "original" + +msgid "estimated reading time:" +msgstr "" + +msgid "mark all the entries as read" +msgstr "" + +msgid "results" +msgstr "resultados" + +msgid "installation" +msgstr "instalación" + +#, fuzzy +msgid "install your wallabag" +msgstr "instala tu Poche" + +#, fuzzy +msgid "wallabag is still not installed. Please fill the below form to install it. Don't hesitate to read the documentation on wallabag website." +msgstr "Poche todavia no està instalado. Por favor, completa los campos siguientes para instalarlo. No dudes de leer la documentación en el sitio de Poche." + +msgid "Login" +msgstr "Nombre de usuario" + +msgid "Repeat your password" +msgstr "Repita su contraseña" + +msgid "Install" +msgstr "Instalar" + +#, fuzzy +msgid "login to your wallabag" +msgstr "conectarse a tu Poche" + +msgid "Login to wallabag" +msgstr "" + +msgid "you are in demo mode, some features may be disabled." +msgstr "este es el modo de demostración, algunas funcionalidades pueden estar desactivadas." + +msgid "Username" +msgstr "" + +msgid "Stay signed in" +msgstr "Seguir conectado" + +msgid "(Do not check on public computers)" +msgstr "(no marcar en un ordenador público)" + +msgid "Sign in" +msgstr "Iniciar sesión" + +msgid "favorites" +msgstr "preferidos" + +msgid "estimated reading time :" +msgstr "" + +msgid "Mark all the entries as read" +msgstr "" + +msgid "Return home" +msgstr "" + +#, fuzzy +msgid "Back to top" +msgstr "volver arriba" + +#, fuzzy +msgid "Mark as read" +msgstr "marcar como leído" + +#, fuzzy +msgid "Favorite" +msgstr "preferidos" + +#, fuzzy +msgid "Toggle favorite" +msgstr "preferido" + +#, fuzzy +msgid "Delete" +msgstr "eliminar" + +#, fuzzy +msgid "Tweet" +msgstr "tweetear" + +#, fuzzy +msgid "Email" +msgstr "enviar por mail" + +msgid "shaarli" +msgstr "shaarli" + +msgid "flattr" +msgstr "flattr" + +#, fuzzy +msgid "Does this article appear wrong?" +msgstr "este articulo no se ve bien?" + +msgid "tags:" +msgstr "" + +msgid "Edit tags" +msgstr "" + +msgid "save link!" +msgstr "" + +msgid "home" +msgstr "inicio" + +msgid "tags" +msgstr "" + +msgid "logout" +msgstr "cerrar sesión" + +msgid "powered by" +msgstr "hecho con" + +msgid "debug mode is on so cache is off." +msgstr "el modo de depuración está activado, así que la cache está desactivada." + +#, fuzzy +msgid "your wallabag version:" +msgstr "su versión" + +msgid "storage:" +msgstr "almacenamiento:" + +msgid "save a link" +msgstr "" + +msgid "back to home" +msgstr "volver a la página de inicio" + +msgid "toggle mark as read" +msgstr "marcar como leído" + +msgid "tweet" +msgstr "tweetear" + +msgid "email" +msgstr "enviar por mail" + +msgid "this article appears wrong?" +msgstr "este articulo no se ve bien?" + +msgid "No link available here!" +msgstr "¡No hay ningún enlace disponible por aquí!" + +msgid "Poching a link" +msgstr "Pochear un enlace" + +msgid "by filling this field" +msgstr "rellenando este campo" + +msgid "bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "" + +msgid "your version" +msgstr "su versión" + +msgid "latest stable version" +msgstr "ultima versión estable" + +msgid "a more recent stable version is available." +msgstr "una versión estable más reciente está disponible." + +msgid "you are up to date." +msgstr "estás actualizado." + +msgid "latest dev version" +msgstr "ultima versión de desarollo" + +msgid "a more recent development version is available." +msgstr "una versión de desarollo más reciente está disponible." + +msgid "Please execute the import script locally, it can take a very long time." +msgstr "Por favor, ejecute la importación en local, esto puede demorar un tiempo." + +#, fuzzy +msgid "More infos in the official doc:" +msgstr "Más información en la documentación oficial :" + +msgid "import from Pocket" +msgstr "importación desde Pocket" + +msgid "import from Readability" +msgstr "importación desde Readability" + +msgid "import from Instapaper" +msgstr "importación desde Instapaper" + +msgid "Tags" +msgstr "" + +#, fuzzy +msgid "Untitled" +msgstr "por título" + +msgid "the link has been added successfully" +msgstr "" + +msgid "error during insertion : the link wasn't added" +msgstr "" + +msgid "the link has been deleted successfully" +msgstr "" + +msgid "the link wasn't deleted" +msgstr "" + +msgid "Article not found!" +msgstr "" + +msgid "previous" +msgstr "" + +msgid "next" +msgstr "" + +msgid "in demo mode, you can't update your password" +msgstr "" + +msgid "your password has been updated" +msgstr "" + +msgid "the two fields have to be filled & the password must be the same in the two fields" +msgstr "" + +msgid "still using the \"" +msgstr "" + +msgid "that theme does not seem to be installed" +msgstr "" + +msgid "you have changed your theme preferences" +msgstr "" + +msgid "that language does not seem to be installed" +msgstr "" + +msgid "you have changed your language preferences" +msgstr "" + +msgid "login failed: you have to fill all fields" +msgstr "" + +msgid "welcome to your wallabag" +msgstr "" + +msgid "login failed: bad login or password" +msgstr "" + +#, fuzzy +msgid "import from instapaper completed" +msgstr "importación desde Instapaper" + +#, fuzzy +msgid "import from pocket completed" +msgstr "importación desde Pocket" + +#, fuzzy +msgid "import from Readability completed. " +msgstr "importación desde Readability" + +#, fuzzy +msgid "import from Poche completed. " +msgstr "importación desde Pocket" + +msgid "Unknown import provider." +msgstr "" + +msgid "Incomplete inc/poche/define.inc.php file, please define \"" +msgstr "" + +msgid "Could not find required \"" +msgstr "" + +msgid "Uh, there is a problem while generating feeds." +msgstr "" + +#, fuzzy +msgid "Cache deleted." +msgstr "eliminar" + +msgid "Oops, it seems you don't have PHP 5." +msgstr "" + +#~ msgid "poche it!" +#~ msgstr "pochéalo!" + +#~ msgid "Updating poche" +#~ msgstr "Actualizar" + +#~ msgid "create an issue" +#~ msgstr "crear un ticket" + +#~ msgid "or" +#~ msgstr "o" + +#~ msgid "contact us by mail" +#~ msgstr "contactarnos por mail" + +#~ msgid "your poche version:" +#~ msgstr "tu versión de Poche:" diff --git a/src/Wallabag/Wallabag/Resources/translations/fa_IR.utf8/LC_MESSAGES/fa_IR.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/fa_IR.utf8/LC_MESSAGES/fa_IR.utf8.mo new file mode 100644 index 00000000..be6ebc57 Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/fa_IR.utf8/LC_MESSAGES/fa_IR.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/fa_IR.utf8/LC_MESSAGES/fa_IR.utf8.po b/src/Wallabag/Wallabag/Resources/translations/fa_IR.utf8/LC_MESSAGES/fa_IR.utf8.po new file mode 100644 index 00000000..f24814d5 --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/fa_IR.utf8/LC_MESSAGES/fa_IR.utf8.po @@ -0,0 +1,563 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-25 15:15+0300\n" +"PO-Revision-Date: \n" +"Last-Translator: Maryana \n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" +"X-Poedit-Language: Persian\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: /home/mariroz/_DEV/web/wallabag/wallabag-master-testing\n" + +msgid "wallabag, a read it later open source system" +msgstr "" + +msgid "login failed: user doesn't exist" +msgstr "" + +msgid "return home" +msgstr "" + +msgid "config" +msgstr "تنظیمات" + +msgid "Saving articles" +msgstr "" + +msgid "There are several ways to save an article:" +msgstr "" + +msgid "read the documentation" +msgstr "راهنما را بخوانید" + +msgid "download the extension" +msgstr "" + +msgid "via F-Droid" +msgstr "" + +msgid " or " +msgstr "" + +msgid "via Google Play" +msgstr "" + +msgid "download the application" +msgstr "" + +#, fuzzy +msgid "By filling this field" +msgstr "با پرکردن این بخش" + +msgid "bag it!" +msgstr "" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "" + +msgid "Upgrading wallabag" +msgstr "" + +#, fuzzy +msgid "Installed version" +msgstr "آخرین نسخهٔ پایدار" + +#, fuzzy +msgid "Latest stable version" +msgstr "آخرین نسخهٔ پایدار" + +#, fuzzy +msgid "A more recent stable version is available." +msgstr "نسخهٔ پایدار تازه‌ای منتشر شده است." + +#, fuzzy +msgid "You are up to date." +msgstr "شما به‌روز هستید." + +#, fuzzy +msgid "Latest dev version" +msgstr "آخرین نسخهٔ آزمایشی" + +#, fuzzy +msgid "A more recent development version is available." +msgstr "نسخهٔ آزمایشی تازه‌ای منتشر شده است." + +msgid "Feeds" +msgstr "" + +msgid "Your feed token is currently empty and must first be generated to enable feeds. Click here to generate it." +msgstr "" + +msgid "Unread feed" +msgstr "" + +#, fuzzy +msgid "Favorites feed" +msgstr "بهترین‌ها" + +#, fuzzy +msgid "Archive feed" +msgstr "بایگانی" + +msgid "Your token:" +msgstr "" + +msgid "Your user id:" +msgstr "" + +msgid "You can regenerate your token: generate!." +msgstr "" + +#, fuzzy +msgid "Change your theme" +msgstr "گذرواژهٔ خود را تغییر دهید" + +msgid "Theme:" +msgstr "" + +msgid "Update" +msgstr "به‌روزرسانی" + +#, fuzzy +msgid "Change your language" +msgstr "گذرواژهٔ خود را تغییر دهید" + +msgid "Language:" +msgstr "" + +msgid "Change your password" +msgstr "گذرواژهٔ خود را تغییر دهید" + +msgid "New password:" +msgstr "گذرواژهٔ تازه:" + +msgid "Password" +msgstr "گذرواژه" + +msgid "Repeat your new password:" +msgstr "گذرواژهٔ تازه را دوباره وارد کنید" + +msgid "Import" +msgstr "درون‌ریزی" + +#, fuzzy +msgid "Please execute the import script locally as it can take a very long time." +msgstr "لطفاً برنامهٔ درون‌ریزی را به‌طور محلی اجرا کنید، شاید خیلی طول بکشد." + +#, fuzzy +msgid "More info in the official documentation:" +msgstr "اطلاعات بیشتر در راهنمای رسمی:" + +#, fuzzy +msgid "Import from Pocket" +msgstr "درون‌ریزی از Pocket" + +#, php-format +msgid "(you must have a %s file on your server)" +msgstr "" + +#, fuzzy +msgid "Import from Readability" +msgstr "درون‌ریزی از Readability" + +#, fuzzy +msgid "Import from Instapaper" +msgstr "درون‌ریزی از Instapaper" + +#, fuzzy +msgid "Import from wallabag" +msgstr "درون‌ریزی از Readability" + +#, fuzzy +msgid "Export your wallabag data" +msgstr "داده‌های poche خود را برون‌بری کنید" + +msgid "Click here" +msgstr "اینجا را کلیک کنید" + +msgid "to download your database." +msgstr "" + +#, fuzzy +msgid "to export your wallabag data." +msgstr "برای برون‌بری داده‌های poche شما" + +msgid "Cache" +msgstr "" + +msgid "to delete cache." +msgstr "" + +msgid "You can enter multiple tags, separated by commas." +msgstr "" + +msgid "return to article" +msgstr "" + +msgid "plop" +msgstr "plop" + +msgid "You can check your configuration here." +msgstr "" + +msgid "favoris" +msgstr "بهترین‌ها" + +msgid "archive" +msgstr "بایگانی" + +msgid "unread" +msgstr "خوانده‌نشده" + +msgid "by date asc" +msgstr "قدیمی‌ترها بالا" + +msgid "by date" +msgstr "با تاریخ" + +msgid "by date desc" +msgstr "تازه‌ترها بالا" + +msgid "by title asc" +msgstr "با عنوان (الفبایی)" + +msgid "by title" +msgstr "با عنوان" + +msgid "by title desc" +msgstr "با عنوان (الفبایی معکوس)" + +msgid "Tag" +msgstr "" + +msgid "No articles found." +msgstr "" + +#, fuzzy +msgid "Toggle mark as read" +msgstr "خوانده‌شده/خوانده‌نشده" + +msgid "toggle favorite" +msgstr "جزء بهترین‌ها هست/نیست" + +msgid "delete" +msgstr "پاک‌کردن" + +msgid "original" +msgstr "اصلی" + +msgid "estimated reading time:" +msgstr "" + +msgid "mark all the entries as read" +msgstr "" + +msgid "results" +msgstr "نتایج" + +msgid "installation" +msgstr "نصب" + +#, fuzzy +msgid "install your wallabag" +msgstr "poche خود را نصب کنید" + +#, fuzzy +msgid "wallabag is still not installed. Please fill the below form to install it. Don't hesitate to read the documentation on wallabag website." +msgstr "poche هنوز نصب نیست. برای نصب لطفاً فرم زیر را پر کنید. خواندن راهنما در وبگاه poche را از یاد نبرید." + +msgid "Login" +msgstr "ورود" + +msgid "Repeat your password" +msgstr "گذرواژه را دوباره وارد کنید" + +msgid "Install" +msgstr "نصب" + +#, fuzzy +msgid "login to your wallabag" +msgstr "به poche خود وارد شوید" + +msgid "Login to wallabag" +msgstr "" + +msgid "you are in demo mode, some features may be disabled." +msgstr "این تنها نسخهٔ نمایشی است، برخی از ویژگی‌ها کار نمی‌کنند." + +msgid "Username" +msgstr "" + +msgid "Stay signed in" +msgstr "مرا به خاطر بسپار" + +msgid "(Do not check on public computers)" +msgstr "(روی رایانه‌های عمومی این کار را نکنید)" + +msgid "Sign in" +msgstr "ورود" + +msgid "favorites" +msgstr "بهترین‌ها" + +msgid "estimated reading time :" +msgstr "" + +msgid "Mark all the entries as read" +msgstr "" + +msgid "Return home" +msgstr "" + +#, fuzzy +msgid "Back to top" +msgstr "بازگشت به بالای صفحه" + +#, fuzzy +msgid "Mark as read" +msgstr "خوانده‌شده/خوانده‌نشده" + +#, fuzzy +msgid "Favorite" +msgstr "بهترین‌ها" + +#, fuzzy +msgid "Toggle favorite" +msgstr "جزء بهترین‌ها هست/نیست" + +#, fuzzy +msgid "Delete" +msgstr "پاک‌کردن" + +#, fuzzy +msgid "Tweet" +msgstr "توییت" + +#, fuzzy +msgid "Email" +msgstr "ایمیل" + +msgid "shaarli" +msgstr "shaarli" + +msgid "flattr" +msgstr "flattr" + +#, fuzzy +msgid "Does this article appear wrong?" +msgstr "این مطلب اشتباه نمایش داده شده؟" + +msgid "tags:" +msgstr "" + +msgid "Edit tags" +msgstr "" + +msgid "save link!" +msgstr "" + +msgid "home" +msgstr "خانه" + +msgid "tags" +msgstr "" + +msgid "logout" +msgstr "بیرون رفتن" + +msgid "powered by" +msgstr "نیروگرفته از" + +msgid "debug mode is on so cache is off." +msgstr "حالت عیب‌یابی فعال است، پس کاشه خاموش است." + +#, fuzzy +msgid "your wallabag version:" +msgstr "نسخهٔ شما" + +msgid "storage:" +msgstr "ذخیره‌سازی:" + +msgid "save a link" +msgstr "" + +msgid "back to home" +msgstr "بازگشت به خانه" + +msgid "toggle mark as read" +msgstr "خوانده‌شده/خوانده‌نشده" + +msgid "tweet" +msgstr "توییت" + +msgid "email" +msgstr "ایمیل" + +msgid "this article appears wrong?" +msgstr "این مطلب اشتباه نمایش داده شده؟" + +msgid "No link available here!" +msgstr "اینجا پیوندی موجود نیست!" + +msgid "Poching a link" +msgstr "پیوندی را poche کنید" + +msgid "by filling this field" +msgstr "با پرکردن این بخش" + +msgid "bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "" + +msgid "your version" +msgstr "نسخهٔ شما" + +msgid "latest stable version" +msgstr "آخرین نسخهٔ پایدار" + +msgid "a more recent stable version is available." +msgstr "نسخهٔ پایدار تازه‌ای منتشر شده است." + +msgid "you are up to date." +msgstr "شما به‌روز هستید." + +msgid "latest dev version" +msgstr "آخرین نسخهٔ آزمایشی" + +msgid "a more recent development version is available." +msgstr "نسخهٔ آزمایشی تازه‌ای منتشر شده است." + +msgid "Please execute the import script locally, it can take a very long time." +msgstr "لطفاً برنامهٔ درون‌ریزی را به‌طور محلی اجرا کنید، شاید خیلی طول بکشد." + +#, fuzzy +msgid "More infos in the official doc:" +msgstr "اطلاعات بیشتر در راهنمای رسمی:" + +msgid "import from Pocket" +msgstr "درون‌ریزی از Pocket" + +msgid "import from Readability" +msgstr "درون‌ریزی از Readability" + +msgid "import from Instapaper" +msgstr "درون‌ریزی از Instapaper" + +msgid "Tags" +msgstr "" + +#, fuzzy +msgid "Untitled" +msgstr "با عنوان" + +msgid "the link has been added successfully" +msgstr "" + +msgid "error during insertion : the link wasn't added" +msgstr "" + +msgid "the link has been deleted successfully" +msgstr "" + +msgid "the link wasn't deleted" +msgstr "" + +msgid "Article not found!" +msgstr "" + +msgid "previous" +msgstr "" + +msgid "next" +msgstr "" + +msgid "in demo mode, you can't update your password" +msgstr "" + +msgid "your password has been updated" +msgstr "" + +msgid "the two fields have to be filled & the password must be the same in the two fields" +msgstr "" + +msgid "still using the \"" +msgstr "" + +msgid "that theme does not seem to be installed" +msgstr "" + +msgid "you have changed your theme preferences" +msgstr "" + +msgid "that language does not seem to be installed" +msgstr "" + +msgid "you have changed your language preferences" +msgstr "" + +msgid "login failed: you have to fill all fields" +msgstr "" + +msgid "welcome to your wallabag" +msgstr "" + +msgid "login failed: bad login or password" +msgstr "" + +#, fuzzy +msgid "import from instapaper completed" +msgstr "درون‌ریزی از Instapaper" + +#, fuzzy +msgid "import from pocket completed" +msgstr "درون‌ریزی از Pocket" + +#, fuzzy +msgid "import from Readability completed. " +msgstr "درون‌ریزی از Readability" + +#, fuzzy +msgid "import from Poche completed. " +msgstr "درون‌ریزی از Pocket" + +msgid "Unknown import provider." +msgstr "" + +msgid "Incomplete inc/poche/define.inc.php file, please define \"" +msgstr "" + +msgid "Could not find required \"" +msgstr "" + +msgid "Uh, there is a problem while generating feeds." +msgstr "" + +#, fuzzy +msgid "Cache deleted." +msgstr "پاک‌کردن" + +msgid "Oops, it seems you don't have PHP 5." +msgstr "" + +#~ msgid "poche it!" +#~ msgstr "poche کنید!" + +#~ msgid "Updating poche" +#~ msgstr "به‌روزرسانی poche" + +#~ msgid "create an issue" +#~ msgstr "یک درخواست رفع‌مشکل بنویسید" + +#~ msgid "or" +#~ msgstr "یا" + +#~ msgid "contact us by mail" +#~ msgstr "به ما ایمیل بزنید" + +#~ msgid "your poche version:" +#~ msgstr "نسخهٔ poche شما:" diff --git a/src/Wallabag/Wallabag/Resources/translations/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.mo new file mode 100644 index 00000000..83f397a0 Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.po b/src/Wallabag/Wallabag/Resources/translations/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.po new file mode 100644 index 00000000..fef31208 --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/fr_FR.utf8/LC_MESSAGES/fr_FR.utf8.po @@ -0,0 +1,804 @@ +msgid "" +msgstr "" +"Project-Id-Version: wallabag 1.7.2\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-07-26 20:09+0100\n" +"PO-Revision-Date: \n" +"Last-Translator: Thomas Citharel \n" +"Language-Team: \n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: _;gettext;gettext_noop\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Generator: Poedit 1.5.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +msgid "wallabag, a read it later open source system" +msgstr "wallabag, un système open source de lecture différé" + +msgid "login failed: user doesn't exist" +msgstr "échec de l'identification : cet utilisateur n'existe pas" + +msgid "save link!" +msgstr "enregistrer le lien !" + +msgid "plop" +msgstr "plop" + +msgid "powered by" +msgstr "propulsé par" + +msgid "debug mode is on so cache is off." +msgstr "le mode de debug est actif, le cache est donc désactivé." + +msgid "your wallabag version:" +msgstr "votre version de wallabag :" + +msgid "storage:" +msgstr "stockage :" + +msgid "login to your wallabag" +msgstr "se connecter à votre wallabag" + +msgid "Login to wallabag" +msgstr "Se connecter à wallabag" + +msgid "you are in demo mode, some features may be disabled." +msgstr "" +"vous êtes en mode démo, certaines fonctionnalités peuvent être désactivées." + +msgid "Username" +msgstr "Nom d'utilisateur" + +msgid "Password" +msgstr "Mot de passe" + +msgid "Stay signed in" +msgstr "Rester connecté" + +msgid "(Do not check on public computers)" +msgstr "(Ne pas cocher sur un ordinateur public)" + +msgid "Sign in" +msgstr "Se connecter" + +msgid "back to home" +msgstr "retour à l'accueil" + +msgid "favorites" +msgstr "favoris" + +msgid "archive" +msgstr "archive" + +msgid "unread" +msgstr "non lus" + +msgid "Tag" +msgstr "Tag" + +msgid "No articles found." +msgstr "Aucun article trouvé." + +msgid "estimated reading time:" +msgstr "temps de lecture estimé :" + +msgid "estimated reading time :" +msgstr "temps de lecture estimé :" + +msgid "Toggle mark as read" +msgstr "Marquer comme lu / non lu" + +msgid "toggle favorite" +msgstr "marquer / enlever comme favori" + +msgid "delete" +msgstr "supprimer" + +msgid "original" +msgstr "original" + +msgid "Mark all the entries as read" +msgstr "Marquer tous les articles comme lus" + +msgid "results" +msgstr "résultats" + +msgid " found for « " +msgstr "trouvé pour « " + +msgid "Only one result found for " +msgstr "Seulement un résultat trouvé pour " + +msgid "config" +msgstr "configuration" + +msgid "Saving articles" +msgstr "Sauvegarde des articles" + +msgid "There are several ways to save an article:" +msgstr "Il y a plusieurs façons d'enregistrer un article :" + +msgid "read the documentation" +msgstr "lisez la documentation" + +msgid "download the extension" +msgstr "téléchargez l'extension" + +msgid "via F-Droid" +msgstr "via F-Droid" + +msgid " or " +msgstr " ou " + +msgid "via Google Play" +msgstr "via Google PlayStore" + +msgid "download the application" +msgstr "téléchargez l'application" + +msgid "By filling this field" +msgstr "En remplissant ce champ" + +msgid "bag it!" +msgstr "bag it !" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "Bookmarklet : glissez-déposez ce lien dans votre barre de favoris" + +msgid "Upgrading wallabag" +msgstr "Mise à jour de wallabag" + +msgid "Installed version" +msgstr "Version installée" + +msgid "Latest stable version" +msgstr "Dernière version stable" + +msgid "A more recent stable version is available." +msgstr "Une version stable plus récente est disponible." + +msgid "You are up to date." +msgstr "Vous êtes à jour." + +msgid "Last check:" +msgstr "Dernière vérification: " + +msgid "Latest dev version" +msgstr "Dernière version de développement" + +msgid "A more recent development version is available." +msgstr "Une version de développement plus récente est disponible." + +msgid "You can clear cache to check the latest release." +msgstr "" +"Vous pouvez vider le cache pour vérifier que vous avez la dernière version." + +msgid "Feeds" +msgstr "Flux" + +msgid "" +"Your feed token is currently empty and must first be generated to enable " +"feeds. Click here to generate it." +msgstr "" +"Votre jeton de flux est actuellement vide et doit d'abord être généré pour " +"activer les flux. Cliquez ici pour " +"le générer." + +msgid "Unread feed" +msgstr "Flux des non lus" + +msgid "Favorites feed" +msgstr "Flux des favoris" + +msgid "Archive feed" +msgstr "Flux des archives" + +msgid "Your token:" +msgstr "Votre jeton :" + +msgid "Your user id:" +msgstr "Votre ID utilisateur :" + +msgid "" +"You can regenerate your token: generate!" +"." +msgstr "" +"Vous pouvez regénérer votre jeton : génération !." + +msgid "Change your theme" +msgstr "Changer votre thème" + +msgid "Theme:" +msgstr "Thème :" + +msgid "Update" +msgstr "Mettre à jour" + +msgid "Change your language" +msgstr "Changer votre langue" + +msgid "Language:" +msgstr "Langue :" + +msgid "Change your password" +msgstr "Modifier votre mot de passe" + +msgid "New password:" +msgstr "Nouveau mot de passe :" + +msgid "Repeat your new password:" +msgstr "Répétez votre nouveau mot de passe :" + +msgid "Import" +msgstr "Importer" + +msgid "" +"You can import your Pocket, Readability, Instapaper, Wallabag or any data in " +"appropriate json or html format." +msgstr "" +"Vous pouvez importer depuis Pocket, Readability, Instapaper, wallabag, ou " +"n'importe quel fichier au format JSON ou HTML approprié." + +msgid "" +"Please select export file on your computer and press \"Import\" button below." +"
Wallabag will parse your file, insert all URLs and start fetching of " +"articles if required.
Fetching process is controlled by two constants in " +"your config file: IMPORT_LIMIT (how many articles are fetched at once) and " +"IMPORT_DELAY (delay between fetch of next batch of articles)." +msgstr "" +"Sélectionnez le fichier à importer sur votre disque dur, et pressez la " +"bouton « Importer » ci-dessous.
wallabag analysera votre fichier, " +"ajoutera toutes les URL trouvées et commencera à télécharger les contenus si " +"nécessaire.
Le processus de téléchargement est contrôlé par deux " +"constantes dans votre fichier de configuration:IMPORT_LIMIT (nombre d'éléments téléchargés à la fois) et IMPORT_DELAY " +"(le délai d'attente entre deux séquences de téléchargement)." + +msgid "File:" +msgstr "Fichier : " + +msgid "You can click here to fetch content for articles with no content." +msgstr "" +"Vous pouvez cliquer ici pour télécharger le contenu des articles vides." + +msgid "Export your wallabag data" +msgstr "Exporter vos données de wallabag" + +msgid "Click here" +msgstr "Cliquez ici" + +msgid "to download your database." +msgstr "pour télécharger votre base de données." + +msgid "to export your wallabag data." +msgstr "pour exporter vos données de wallabag." + +msgid "Cache" +msgstr "Cache" + +msgid "to delete cache." +msgstr "pour effacer le cache." + +msgid "Add user" +msgstr "Ajouter un utilisateur" + +msgid "Add a new user :" +msgstr "Ajouter un nouvel utilisateur : " + +msgid "Login for new user" +msgstr "Identifiant du nouvel utilisateur" + +msgid "Login" +msgstr "Nom d'utilisateur" + +msgid "Password for new user" +msgstr "Mot de passe du nouvel utilisateur" + +msgid "Email for new user (not required)" +msgstr "E-mail pour le nouvel utilisateur (facultatif)" + +msgid "Send" +msgstr "Envoyer" + +msgid "Delete account" +msgstr "Supprimer le compte" + +msgid "You can delete your account by entering your password and validating." +msgstr "" +"Vous pouvez supprimer votre compte en entrant votre mot de passe et en " +"validant." + +msgid "Be careful, data will be erased forever (that is a very long time)." +msgstr "Attention, les données seront perdues pour toujours." + +msgid "Type here your password" +msgstr "Entrez votre mot de passe ici" + +msgid "You are the only user, you cannot delete your own account." +msgstr "" +"Vous êtes l'unique utilisateur, vous ne pouvez pas supprimer votre compte." + +msgid "" +"To completely remove wallabag, delete the wallabag folder on your web server " +"(and eventual databases)." +msgstr "" +"Pour désinstaller complètement wallabag, supprimez le répertoire " +"wallabag de votre serveur Web (ainsi que les bases de données " +"éventuelles)." + +msgid "Save a link" +msgstr "Ajouter un lien" + +msgid "Return home" +msgstr "Retour accueil" + +msgid "Back to top" +msgstr "Haut de page" + +msgid "Mark as read" +msgstr "Marquer comme lu" + +msgid "Favorite" +msgstr "Favoris" + +msgid "Toggle favorite" +msgstr "Marquer / enlever comme favori" + +msgid "Delete" +msgstr "Effacer" + +msgid "Tweet" +msgstr "Tweet" + +msgid "Email" +msgstr "E-mail" + +msgid "shaarli" +msgstr "Shaarli" + +msgid "flattr" +msgstr "Flattr" + +msgid "Print" +msgstr "Imprimer" + +msgid "Does this article appear wrong?" +msgstr "Cet article s'affiche mal ?" + +msgid "tags:" +msgstr "tags :" + +msgid "Add tags:" +msgstr "Ajouter des tags :" + +msgid "no tags" +msgstr "pas de tags" + +msgid "The tag has been applied successfully" +msgstr "Le tag a été appliqué avec succès" + +msgid "interview" +msgstr "interview" + +msgid "editorial" +msgstr "éditorial" + +msgid "video" +msgstr "vidéo" + +msgid "Edit tags" +msgstr "Modifier les tags" + +msgid "favoris" +msgstr "favoris" + +msgid "mark all the entries as read" +msgstr "marquer tous les articles comme lus" + +msgid "toggle view mode" +msgstr "changer de mode de visualisation" + +msgid "return home" +msgstr "retour à l'accueil" + +msgid "Poching a link" +msgstr "Enregistrer un lien" + +msgid "by filling this field" +msgstr "en remplissant ce champ" + +msgid "bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "bookmarklet : glissez-déposez ce lien dans votre barre de favoris" + +msgid "your version" +msgstr "votre version" + +msgid "latest stable version" +msgstr "dernière version stable" + +msgid "a more recent stable version is available." +msgstr "une version stable plus récente est disponible." + +msgid "you are up to date." +msgstr "vous êtes à jour." + +msgid "latest dev version" +msgstr "dernière version de développement" + +msgid "a more recent development version is available." +msgstr "une version de développement plus récente est disponible." + +msgid "Please execute the import script locally, it can take a very long time." +msgstr "" +"Merci d'exécuter le script d'importation en local car cela peut prendre du " +"temps." + +msgid "More infos in the official doc:" +msgstr "Plus d'infos dans la documentation officielle :" + +msgid "import from Pocket" +msgstr "importer depuis Pocket" + +#, php-format +msgid "(you must have a %s file on your server)" +msgstr "(le fichier %s doit être présent sur le serveur)" + +msgid "import from Readability" +msgstr "importer depuis Readability" + +msgid "import from Instapaper" +msgstr "importer depuis Instapaper" + +msgid "Start typing for auto complete." +msgstr "Commencez à taper pour activer l'auto-complétion." + +msgid "You can enter multiple tags, separated by commas." +msgstr "Vous pouvez entrer plusieurs tags, séparés par des virgules." + +msgid "return to article" +msgstr "retourner à l'article" + +msgid "by date asc" +msgstr "par date asc" + +msgid "by date" +msgstr "par date" + +msgid "by date desc" +msgstr "par date desc" + +msgid "by title asc" +msgstr "par titre asc" + +msgid "by title" +msgstr "par titre" + +msgid "by title desc" +msgstr "par titre desc" + +msgid "home" +msgstr "accueil" + +msgid "tags" +msgstr "tags" + +msgid "save a link" +msgstr "sauver un lien" + +msgid "search" +msgstr "rechercher" + +msgid "logout" +msgstr "déconnexion" + +msgid "installation" +msgstr "installation" + +msgid "install your wallabag" +msgstr "installez votre wallabag" + +msgid "" +"wallabag is still not installed. Please fill the below form to install it. " +"Don't hesitate to read the documentation " +"on wallabag website." +msgstr "" +"wallabag n'est pas encore installé. Merci de remplir le formulaire suivant " +"pour l'installer. N'hésitez pas à lire la " +"documentation sur le site de wallabag." + +msgid "Repeat your password" +msgstr "Répétez votre mot de passe" + +msgid "Install" +msgstr "Installer" + +msgid "" +"You can check your configuration " +"here." +msgstr "" +"Vous pouvez vérifier votre configuration ici." + +msgid "Tags" +msgstr "Tags" + +msgid "No link available here!" +msgstr "Aucun lien n'est disponible ici !" + +msgid "toggle mark as read" +msgstr "marquer comme lu / non lu" + +msgid "tweet" +msgstr "tweet" + +msgid "email" +msgstr "e-mail" + +msgid "this article appears wrong?" +msgstr "cet article s'affiche mal ?" + +msgid "Search" +msgstr "Rechercher" + +msgid "Download required for " +msgstr "Téléchargement requis pour " + +msgid "records" +msgstr " articles" + +msgid "Downloading next " +msgstr "Téléchargement des " + +msgid "articles, please wait" +msgstr " articles suivants, veuillez patienter..." + +msgid "Enter your search here" +msgstr "Entrez votre recherche ici" + +#, php-format +msgid "" +"The new user %s has been installed. Do you want to logout ?" +msgstr "" +"Le nouvel utilisateur « %s » a été ajouté. Voulez-vous vous déconnecter ?" + +#, php-format +msgid "Error : An user with the name %s already exists !" +msgstr "Erreur : Un utilisateur avec le nom « %s » existe déjà !" + +#, php-format +msgid "User %s has been successfully deleted !" +msgstr "L'utilisateur « %s » a été supprimé avec succès !" + +msgid "Error : The password is wrong !" +msgstr "Erreur : le mot de passe est incorrect !" + +msgid "Error : You are the only user, you cannot delete your account !" +msgstr "" +"Erreur : Vous êtes l'unique utilisateur, vous ne pouvez pas supprimer votre " +"compte !" + +msgid "Untitled" +msgstr "Sans titre" + +msgid "the link has been added successfully" +msgstr "le lien a été ajouté avec succès" + +msgid "error during insertion : the link wasn't added" +msgstr "erreur pendant l'insertion : le lien n'a pas été ajouté" + +msgid "the link has been deleted successfully" +msgstr "le lien a été effacé avec succès" + +msgid "the link wasn't deleted" +msgstr "le lien n'a pas été effacé" + +msgid "Article not found!" +msgstr "Article non trouvé !" + +msgid "previous" +msgstr "précédent" + +msgid "next" +msgstr "suivant" + +msgid "in demo mode, you can't update your password" +msgstr "en mode démo, vous ne pouvez pas mettre à jour votre mot de passe" + +msgid "your password has been updated" +msgstr "votre mot de passe a été mis à jour" + +msgid "" +"the two fields have to be filled & the password must be the same in the two " +"fields" +msgstr "" +"les deux champs doivent être remplis & le mot de passe doit être le même " +"dans les deux" + +msgid "still using the \"" +msgstr "vous utilisez toujours \"" + +msgid "that theme does not seem to be installed" +msgstr "ce thème ne semble pas installé" + +msgid "you have changed your theme preferences" +msgstr "vous avez changé vos préférences de thème" + +msgid "that language does not seem to be installed" +msgstr "cette langue ne semble pas être installée" + +msgid "you have changed your language preferences" +msgstr "vous avez changé vos préférences de langue" + +msgid "login failed: you have to fill all fields" +msgstr "échec de l'identification : vous devez remplir tous les champs" + +msgid "welcome to your wallabag" +msgstr "bienvenue dans votre wallabag" + +msgid "login failed: bad login or password" +msgstr "échec de l'identification : mauvais identifiant ou mot de passe" + +msgid "Untitled - Import - " +msgstr "Sans titre - Importer - " + +msgid "click to finish import" +msgstr "cliquez pour terminer l'importation" + +msgid "Articles inserted: " +msgstr "Articles ajoutés : " + +msgid ". Please note, that some may be marked as \"read\"." +msgstr ". Notez que certains pourraient être marqués comme \"lus\"." + +msgid "Import finished." +msgstr "Importation terminée." + +msgid "Undefined" +msgstr "Non défini" + +msgid "User with this id (" +msgstr "Utilisateur avec cet identifiant (" + +msgid "Uh, there is a problem while generating feeds." +msgstr "Hum, il y a un problème lors de la génération des flux." + +msgid "Cache deleted." +msgstr "Cache effacé." + +msgid "Oops, it seems you don't have PHP 5." +msgstr "Oups, vous ne semblez pas avoir PHP 5." + +msgid "Tag these results as" +msgstr "Appliquer à ces résultats le tag" + +# ebook +msgid "Fancy an E-Book ?" +msgstr "Envie d'un E-Book ?" + +msgid "Click to get all your articles in one ebook :" +msgstr "Cliquez pour obtenir tous vos articles dans un E-Book :" + +msgid "Generate ePub file" +msgstr "Générer fichier ePub" + +msgid "Generate Mobi file" +msgstr "Générer fichier Mobi" + +msgid "Generate PDF file" +msgstr "Générer fichier PDF" + +msgid "" +"This can take a while and can even fail if you have too many " +"articles, depending on your server configuration." +msgstr "" +"Ceci peut prendre un moment et même échouer si vous avez trop " +"d'articles, selon la configuration matérielle de votre serveur." + +msgid "Download the articles from this tag in an epub" +msgstr "Télécharger les articles de ce tag dans un epub" + +msgid "Download the articles from this search in an epub" +msgstr "Télécharger les articles de cette recherche dans un epub" + +msgid "Download the articles from this category in an epub" +msgstr "Télécharger les articles de cette catégorie dans un epub" + +msgid "Download the articles from this tag in an ePub file" +msgstr "Télécharger les articles de ce tag dans un fichier ePub" + +msgid "Download the articles from this tag in an Mobi file" +msgstr "Télécharger les articles de ce tag dans un fichier Mobi" + +msgid "Download the articles from this tag in an PDF file" +msgstr "Télécharger les articles de ce tag dans un fichier PDF" + +msgid "Download the articles from this search in an ePub" +msgstr "Télécharger les articles de cette recherche dans un fichier ePub" + +msgid "Download the articles from this search in a Mobi file" +msgstr "Télécharger les articles de cette recherche dans un fichier Mobi" + +msgid "Download the articles from this search in a PDF file" +msgstr "Télécharger les articles de cette recherche dans un fichier PDF" + +msgid "Download the articles from this category in an ePub" +msgstr "Télécharger les articles de cette catégorie dans un fichier ePub" + +msgid "Download the articles from this category in a Mobi file" +msgstr "Télécharger les articles de cette catégorie dans un fichier Mobi" + +msgid "Download the articles from this category in a PDF file" +msgstr "Télécharger les articles de cette catégorie dans un fichier PDF" + +msgid "Download as ePub3" +msgstr "Télécharger en ePub3" + +msgid "Download as Mobi" +msgstr "Télécharger en Mobi" + +msgid "Download as PDF" +msgstr "Télécharger en PDF" + +msgid "All my articles on %s" +msgstr "Tous mes articles le %s" + +msgid "Allarticles" +msgstr "TousArticles" + +msgid "Articles tagged %s" +msgstr "Articles avec le tag %s" + +msgid "Tag %s" +msgstr "Tag %s" + +msgid "Articles in category %s" +msgstr "Articles de la catégorie %s" + +msgid "Category %s" +msgstr "Catégorie %s" + +msgid "Articles for search %s" +msgstr "Articles pour la recherche %s" + +msgid "Search %s" +msgstr "Recherche %s" + +msgid "wallabag articles book" +msgstr "Livre d'articles issus de wallabag" + +msgid "Some articles saved on my wallabag" +msgstr "Des articles sauvegardés sur wallabag" + +msgid "Produced by wallabag with PHPePub" +msgstr "Produit par wallabag avec PHPePub" + +msgid "" +"Please open an issue if you have trouble with the display of this E-Book on your device." +msgstr "" +"Merci d'ouvrir un " +"ticket si vous avez des problèmes d'affichage de cet E-Book sur votre " +"appareil." + +msgid "Produced by wallabag with PHPMobi" +msgstr "Produit par wallabag avec PHPMobi" + +msgid "Mail function is disabled. You can't send emails from your server" +msgstr "" +"La fonction mail est désactivée. Vous ne pouvez pas envoyer d'E-mails depuis " +"votre serveur" + +msgid "You didn't set your kindle's email adress !" +msgstr "Vous n'avez pas renseigné l'adresse E-mail de votre Kindle !" + +msgid "The email has been sent to your kindle !" +msgstr "L'E-mail a été envoyé à votre Kindle !" + +msgid "Produced by wallabag with mPDF" +msgstr "Produit par wallabag avec mPDF" diff --git a/src/Wallabag/Wallabag/Resources/translations/it_IT.utf8/LC_MESSAGES/it_IT.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/it_IT.utf8/LC_MESSAGES/it_IT.utf8.mo new file mode 100644 index 00000000..42e26ba0 Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/it_IT.utf8/LC_MESSAGES/it_IT.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/it_IT.utf8/LC_MESSAGES/it_IT.utf8.po b/src/Wallabag/Wallabag/Resources/translations/it_IT.utf8/LC_MESSAGES/it_IT.utf8.po new file mode 100644 index 00000000..41cc01e0 --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/it_IT.utf8/LC_MESSAGES/it_IT.utf8.po @@ -0,0 +1,568 @@ +# +# Translators: +# Damtux , 2013 +msgid "" +msgstr "" +"Project-Id-Version: poche\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-25 15:13+0300\n" +"PO-Revision-Date: 2014-02-25 15:13+0300\n" +"Last-Translator: Maryana \n" +"Language-Team: Italian (http://www.transifex.com/projects/p/poche/language/it/)\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 1.5.4\n" +"X-Poedit-Language: Italian\n" +"X-Poedit-Country: ITALY\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: /home/mariroz/_DEV/web/wallabag/wallabag-master-testing\n" + +msgid "wallabag, a read it later open source system" +msgstr "" + +msgid "login failed: user doesn't exist" +msgstr "" + +msgid "return home" +msgstr "" + +msgid "config" +msgstr "configurazione" + +msgid "Saving articles" +msgstr "" + +msgid "There are several ways to save an article:" +msgstr "" + +msgid "read the documentation" +msgstr "leggi la documentazione" + +msgid "download the extension" +msgstr "" + +msgid "via F-Droid" +msgstr "" + +msgid " or " +msgstr "" + +msgid "via Google Play" +msgstr "" + +msgid "download the application" +msgstr "" + +#, fuzzy +msgid "By filling this field" +msgstr "compilando questo campo" + +msgid "bag it!" +msgstr "" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "" + +msgid "Upgrading wallabag" +msgstr "" + +#, fuzzy +msgid "Installed version" +msgstr "ultima versione stabile" + +#, fuzzy +msgid "Latest stable version" +msgstr "ultima versione stabile" + +#, fuzzy +msgid "A more recent stable version is available." +msgstr "è disponibile una versione stabile più recente." + +#, fuzzy +msgid "You are up to date." +msgstr "sei aggiornato." + +#, fuzzy +msgid "Latest dev version" +msgstr "ultima versione di sviluppo" + +#, fuzzy +msgid "A more recent development version is available." +msgstr "è disponibile una versione di sviluppo più recente." + +msgid "Feeds" +msgstr "" + +msgid "Your feed token is currently empty and must first be generated to enable feeds. Click here to generate it." +msgstr "" + +msgid "Unread feed" +msgstr "" + +#, fuzzy +msgid "Favorites feed" +msgstr "preferiti" + +#, fuzzy +msgid "Archive feed" +msgstr "archivio" + +msgid "Your token:" +msgstr "" + +msgid "Your user id:" +msgstr "" + +msgid "You can regenerate your token: generate!." +msgstr "" + +#, fuzzy +msgid "Change your theme" +msgstr "Cambia la tua password" + +msgid "Theme:" +msgstr "" + +msgid "Update" +msgstr "Aggiorna" + +#, fuzzy +msgid "Change your language" +msgstr "Cambia la tua password" + +msgid "Language:" +msgstr "" + +msgid "Change your password" +msgstr "Cambia la tua password" + +msgid "New password:" +msgstr "Nuova password:" + +msgid "Password" +msgstr "Password" + +msgid "Repeat your new password:" +msgstr "Ripeti la nuova password:" + +msgid "Import" +msgstr "Importa" + +#, fuzzy +msgid "Please execute the import script locally as it can take a very long time." +msgstr "Si prega di eseguire lo script di importazione a livello locale, può richiedere un tempo molto lungo." + +#, fuzzy +msgid "More info in the official documentation:" +msgstr "Maggiori info nella documentazione ufficiale" + +#, fuzzy +msgid "Import from Pocket" +msgstr "Importa da Pocket" + +#, php-format +msgid "(you must have a %s file on your server)" +msgstr "" + +#, fuzzy +msgid "Import from Readability" +msgstr "Importa da Readability" + +#, fuzzy +msgid "Import from Instapaper" +msgstr "Importa da Instapaper" + +#, fuzzy +msgid "Import from wallabag" +msgstr "Importa da Readability" + +#, fuzzy +msgid "Export your wallabag data" +msgstr "Esporta i tuoi dati di poche" + +msgid "Click here" +msgstr "Fai clic qui" + +msgid "to download your database." +msgstr "" + +#, fuzzy +msgid "to export your wallabag data." +msgstr "per esportare i tuoi dati di poche." + +msgid "Cache" +msgstr "" + +msgid "to delete cache." +msgstr "" + +msgid "You can enter multiple tags, separated by commas." +msgstr "" + +msgid "return to article" +msgstr "" + +msgid "plop" +msgstr "plop" + +msgid "You can check your configuration here." +msgstr "" + +msgid "favoris" +msgstr "preferiti" + +msgid "archive" +msgstr "archivio" + +msgid "unread" +msgstr "non letti" + +msgid "by date asc" +msgstr "per data cresc" + +msgid "by date" +msgstr "per data" + +msgid "by date desc" +msgstr "per data decr" + +msgid "by title asc" +msgstr "per titolo cresc" + +msgid "by title" +msgstr "per titolo" + +msgid "by title desc" +msgstr "per titolo decr" + +msgid "Tag" +msgstr "" + +msgid "No articles found." +msgstr "" + +#, fuzzy +msgid "Toggle mark as read" +msgstr "segna come letto / non letto" + +msgid "toggle favorite" +msgstr "segna come preferito" + +msgid "delete" +msgstr "elimina" + +msgid "original" +msgstr "originale" + +msgid "estimated reading time:" +msgstr "" + +msgid "mark all the entries as read" +msgstr "" + +msgid "results" +msgstr "risultati" + +msgid "installation" +msgstr "installazione" + +#, fuzzy +msgid "install your wallabag" +msgstr "installa il tuo poche" + +#, fuzzy +msgid "wallabag is still not installed. Please fill the below form to install it. Don't hesitate to read the documentation on wallabag website." +msgstr "poche non è ancora installato. Si prega di riempire il modulo sottostante per completare l'installazione. Leggere la documentazione sul sito di poche." + +msgid "Login" +msgstr "Nome utente" + +msgid "Repeat your password" +msgstr "Ripeti la tua password" + +msgid "Install" +msgstr "Installa" + +#, fuzzy +msgid "login to your wallabag" +msgstr "accedi al tuo poche" + +msgid "Login to wallabag" +msgstr "" + +msgid "you are in demo mode, some features may be disabled." +msgstr "sei in modalità dimostrazione, alcune funzionalità potrebbero essere disattivate." + +msgid "Username" +msgstr "" + +msgid "Stay signed in" +msgstr "Resta connesso" + +msgid "(Do not check on public computers)" +msgstr "(non selezionare su computer pubblici)" + +msgid "Sign in" +msgstr "Accedi" + +msgid "favorites" +msgstr "preferiti" + +msgid "estimated reading time :" +msgstr "" + +msgid "Mark all the entries as read" +msgstr "" + +msgid "Return home" +msgstr "" + +#, fuzzy +msgid "Back to top" +msgstr "torna a inizio pagina" + +#, fuzzy +msgid "Mark as read" +msgstr "segna come letto / non letto" + +#, fuzzy +msgid "Favorite" +msgstr "preferiti" + +#, fuzzy +msgid "Toggle favorite" +msgstr "segna come preferito" + +#, fuzzy +msgid "Delete" +msgstr "elimina" + +#, fuzzy +msgid "Tweet" +msgstr "twitta" + +#, fuzzy +msgid "Email" +msgstr "email" + +msgid "shaarli" +msgstr "shaarli" + +msgid "flattr" +msgstr "flattr" + +#, fuzzy +msgid "Does this article appear wrong?" +msgstr "articolo non visualizzato correttamente?" + +msgid "tags:" +msgstr "" + +msgid "Edit tags" +msgstr "" + +msgid "save link!" +msgstr "" + +msgid "home" +msgstr "home" + +msgid "tags" +msgstr "" + +msgid "logout" +msgstr "esci" + +msgid "powered by" +msgstr "realizzato con" + +msgid "debug mode is on so cache is off." +msgstr "modalità di debug attiva, cache disattivata." + +#, fuzzy +msgid "your wallabag version:" +msgstr "la tua versione" + +msgid "storage:" +msgstr "memoria:" + +msgid "save a link" +msgstr "" + +msgid "back to home" +msgstr "torna alla home" + +msgid "toggle mark as read" +msgstr "segna come letto / non letto" + +msgid "tweet" +msgstr "twitta" + +msgid "email" +msgstr "email" + +msgid "this article appears wrong?" +msgstr "articolo non visualizzato correttamente?" + +msgid "No link available here!" +msgstr "Nessun link disponibile!" + +msgid "Poching a link" +msgstr "Pochare un link" + +msgid "by filling this field" +msgstr "compilando questo campo" + +msgid "bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "" + +msgid "your version" +msgstr "la tua versione" + +msgid "latest stable version" +msgstr "ultima versione stabile" + +msgid "a more recent stable version is available." +msgstr "è disponibile una versione stabile più recente." + +msgid "you are up to date." +msgstr "sei aggiornato." + +msgid "latest dev version" +msgstr "ultima versione di sviluppo" + +msgid "a more recent development version is available." +msgstr "è disponibile una versione di sviluppo più recente." + +msgid "Please execute the import script locally, it can take a very long time." +msgstr "Si prega di eseguire lo script di importazione a livello locale, può richiedere un tempo molto lungo." + +#, fuzzy +msgid "More infos in the official doc:" +msgstr "Maggiori info nella documentazione ufficiale" + +msgid "import from Pocket" +msgstr "Importa da Pocket" + +msgid "import from Readability" +msgstr "Importa da Readability" + +msgid "import from Instapaper" +msgstr "Importa da Instapaper" + +msgid "Tags" +msgstr "" + +#, fuzzy +msgid "Untitled" +msgstr "per titolo" + +msgid "the link has been added successfully" +msgstr "" + +msgid "error during insertion : the link wasn't added" +msgstr "" + +msgid "the link has been deleted successfully" +msgstr "" + +msgid "the link wasn't deleted" +msgstr "" + +msgid "Article not found!" +msgstr "" + +msgid "previous" +msgstr "" + +msgid "next" +msgstr "" + +msgid "in demo mode, you can't update your password" +msgstr "" + +msgid "your password has been updated" +msgstr "" + +msgid "the two fields have to be filled & the password must be the same in the two fields" +msgstr "" + +msgid "still using the \"" +msgstr "" + +msgid "that theme does not seem to be installed" +msgstr "" + +msgid "you have changed your theme preferences" +msgstr "" + +msgid "that language does not seem to be installed" +msgstr "" + +msgid "you have changed your language preferences" +msgstr "" + +msgid "login failed: you have to fill all fields" +msgstr "" + +msgid "welcome to your wallabag" +msgstr "" + +msgid "login failed: bad login or password" +msgstr "" + +#, fuzzy +msgid "import from instapaper completed" +msgstr "Importa da Instapaper" + +#, fuzzy +msgid "import from pocket completed" +msgstr "Importa da Pocket" + +#, fuzzy +msgid "import from Readability completed. " +msgstr "Importa da Readability" + +#, fuzzy +msgid "import from Poche completed. " +msgstr "Importa da Pocket" + +msgid "Unknown import provider." +msgstr "" + +msgid "Incomplete inc/poche/define.inc.php file, please define \"" +msgstr "" + +msgid "Could not find required \"" +msgstr "" + +msgid "Uh, there is a problem while generating feeds." +msgstr "" + +#, fuzzy +msgid "Cache deleted." +msgstr "elimina" + +msgid "Oops, it seems you don't have PHP 5." +msgstr "" + +#~ msgid "poche it!" +#~ msgstr "pochalo!" + +#~ msgid "Updating poche" +#~ msgstr "Aggiornamento poche" + +#~ msgid "create an issue" +#~ msgstr "crea una segnalazione" + +#~ msgid "or" +#~ msgstr "oppure" + +#~ msgid "contact us by mail" +#~ msgstr "contattaci via email" + +#~ msgid "your poche version:" +#~ msgstr "la tua versione di poche:" diff --git a/src/Wallabag/Wallabag/Resources/translations/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.mo new file mode 100644 index 00000000..297516c0 Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.po b/src/Wallabag/Wallabag/Resources/translations/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.po new file mode 100755 index 00000000..e39156e6 --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.po @@ -0,0 +1,553 @@ +msgid "" +msgstr "" +"Project-Id-Version: wallabag\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-25 15:17+0300\n" +"PO-Revision-Date: \n" +"Last-Translator: skibbipl \n" +"Language-Team: \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.6.6\n" +"X-Poedit-Basepath: .\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-SearchPath-0: /home/mariroz/_DEV/web/wallabag/wallabag-master-" +"testing\n" + +msgid "wallabag, a read it later open source system" +msgstr "wallabag, open source'owy system typu \"przeczytaj to później\"" + +msgid "login failed: user doesn't exist" +msgstr "logowanie się nie powiodło: użytkownik nie istnieje" + +msgid "return home" +msgstr "powrót do strony domowej" + +msgid "config" +msgstr "konfiguracja" + +msgid "Saving articles" +msgstr "Zapisywanie artykułów" + +msgid "There are several ways to save an article:" +msgstr "Istnieje kilka sposobów aby zapisać artykuł:" + +msgid "read the documentation" +msgstr "przeczytaj dokumentację" + +msgid "download the extension" +msgstr "pobierz rozszerzenie" + +msgid "via F-Droid" +msgstr "przez F-Droid" + +msgid " or " +msgstr "albo " + +msgid "via Google Play" +msgstr "przez Google Play" + +msgid "download the application" +msgstr "pobierz aplikację" + +msgid "By filling this field" +msgstr "Poprzez wypełnienie tego pola" + +msgid "bag it!" +msgstr "zapisz!" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "Skryptozakładka: przeciągnij i upuść ten link na twój pasek zakładek" + +msgid "Upgrading wallabag" +msgstr "Aktualizacja wallabag" + +msgid "Installed version" +msgstr "Zainstalowana wersja" + +msgid "Latest stable version" +msgstr "Najnowsza stabilna wersja" + +msgid "A more recent stable version is available." +msgstr "Nowsza stabilna wersja jest dostępna." + +msgid "You are up to date." +msgstr "Posiadasz najnowszą wersję." + +msgid "Latest dev version" +msgstr "Najnowsza wersja developerska" + +msgid "A more recent development version is available." +msgstr "Nowsza developerska wersja jest dostępna." + +msgid "Feeds" +msgstr "Kanały" + +msgid "" +"Your feed token is currently empty and must first be generated to enable " +"feeds. Click here to generate it." +msgstr "" +"Twój token kanału jest aktualnie pusty i musi zostać wygenerowany, aby " +"włączyć kanały. Kliknij tutaj, aby go " +"wygenerować." + +msgid "Unread feed" +msgstr "Nieprzeczytane kanały" + +msgid "Favorites feed" +msgstr "Ulubione kanały" + +msgid "Archive feed" +msgstr "Kanały archiwum" + +msgid "Your token:" +msgstr "Twój token:" + +msgid "Your user id:" +msgstr "Twój id użytkownika:" + +msgid "" +"You can regenerate your token: generate!" +"." +msgstr "" +"Możesz wygenewrować ponownie swój token: generuj!." + +msgid "Change your theme" +msgstr "Zmień swój motyw" + +msgid "Theme:" +msgstr "Motyw:" + +msgid "Update" +msgstr "Aktualizuj" + +msgid "Change your language" +msgstr "Zmień język" + +msgid "Language:" +msgstr "Język:" + +msgid "Change your password" +msgstr "Zmień swoje hasło" + +msgid "New password:" +msgstr "Nowe hasło:" + +msgid "Password" +msgstr "Hasło" + +msgid "Repeat your new password:" +msgstr "Powtórz twoje nowe hasło:" + +msgid "Import" +msgstr "Import" + +msgid "" +"Please execute the import script locally as it can take a very long time." +msgstr "" +"Proszę wykonaj skrypt importu lokalnie, ponieważ może to trwać bardzo długo." + +msgid "More info in the official documentation:" +msgstr "Więcej informacji znajdziesz w oficjalnej dokumentacji:" + +msgid "Import from Pocket" +msgstr "Importuj z Pocket" + +#, php-format +msgid "(you must have a %s file on your server)" +msgstr "(musisz mieć plik %s na swoim serwerze)" + +msgid "Import from Readability" +msgstr "Importuj z Readability" + +msgid "Import from Instapaper" +msgstr "Importuj z Instapaper" + +msgid "Import from wallabag" +msgstr "Importuj z wallabag" + +msgid "Export your wallabag data" +msgstr "Wyeksportuj swoje dane wallabag" + +msgid "Click here" +msgstr "Kliknij tu" + +msgid "to download your database." +msgstr "aby pobrać twoją bazę danych." + +msgid "to export your wallabag data." +msgstr "aby wyeksportować dane wallabag." + +msgid "Cache" +msgstr "Cache" + +msgid "to delete cache." +msgstr "aby wyczyścić cache." + +msgid "You can enter multiple tags, separated by commas." +msgstr "Możesz wprowadzić wiele tagów, oddzielonych przecinkami." + +msgid "return to article" +msgstr "powrót do artykułu" + +msgid "plop" +msgstr "plop" + +msgid "" +"You can check your configuration " +"here." +msgstr "" +"Możesz sprawdzić swoją " +"konfigurację tutaj." + +msgid "favoris" +msgstr "favoris" + +msgid "archive" +msgstr "archiwum" + +msgid "unread" +msgstr "nieprzeczytane" + +msgid "by date asc" +msgstr "po dacie rosnąco" + +msgid "by date" +msgstr "po dacie" + +msgid "by date desc" +msgstr "po dacie malejąco" + +msgid "by title asc" +msgstr "po tytule rosnąco" + +msgid "by title" +msgstr "po tytule" + +msgid "by title desc" +msgstr "po tytule malejąco" + +msgid "Tag" +msgstr "Otaguj" + +msgid "No articles found." +msgstr "Nie znaleziono artykułów." + +msgid "Toggle mark as read" +msgstr "Przełącz jako przeczytane" + +msgid "toggle favorite" +msgstr "przełącz ulubione" + +msgid "delete" +msgstr "usuń" + +msgid "original" +msgstr "oryginał" + +msgid "estimated reading time:" +msgstr "szacowany czas czytania:" + +msgid "mark all the entries as read" +msgstr "zaznacz wszystkie wpisy jako przeczytane" + +msgid "results" +msgstr "rezultaty" + +msgid "installation" +msgstr "instalacja" + +msgid "install your wallabag" +msgstr "zainstauj wallabag" + +msgid "" +"wallabag is still not installed. Please fill the below form to install it. " +"Don't hesitate to read the documentation " +"on wallabag website." +msgstr "" +"wallabag wciąż nie jest zainstalowany. Proszę wypełnij poniższy formularz " +"aby go zainstalować. Nie wahaj się przeczytać dokumentacji na stronie wallabag." + +msgid "Login" +msgstr "Login" + +msgid "Repeat your password" +msgstr "Powtórz swoje hasło" + +msgid "Install" +msgstr "Zainstauj" + +msgid "login to your wallabag" +msgstr "zaloguj się do twojego wallabag" + +msgid "Login to wallabag" +msgstr "Logowanie do wallabag" + +msgid "you are in demo mode, some features may be disabled." +msgstr "jesteś w trybie demo, niektóre funkcjonalności mogą być wyłączone." + +msgid "Username" +msgstr "Nazwa użytkownika" + +msgid "Stay signed in" +msgstr "Pozostań zalogowany" + +msgid "(Do not check on public computers)" +msgstr "(Nie zaznaczaj na komputerach z publicznym dostępem)" + +msgid "Sign in" +msgstr "Zaloguj się" + +msgid "favorites" +msgstr "ulubione" + +msgid "estimated reading time :" +msgstr "szacowany czas czytania :" + +msgid "Mark all the entries as read" +msgstr "Zaznacz wszystkie wpisy jako przeczytane" + +msgid "Return home" +msgstr "Powrót na stronę domową" + +msgid "Back to top" +msgstr "Powrót na górę" + +msgid "Mark as read" +msgstr "Oznacz jako przeczytane" + +msgid "Favorite" +msgstr "Ulubione" + +msgid "Toggle favorite" +msgstr "Przełącz ulubione" + +msgid "Delete" +msgstr "Usuń" + +msgid "Tweet" +msgstr "Tweet" + +msgid "Email" +msgstr "Email" + +msgid "shaarli" +msgstr "shaarli" + +msgid "flattr" +msgstr "flattr" + +msgid "Does this article appear wrong?" +msgstr "Czy ten artykuł jest wyświetlany niepoprawnie?" + +msgid "tags:" +msgstr "tagi:" + +msgid "Edit tags" +msgstr "Edytuj tagi" + +msgid "save link!" +msgstr "zapisz link!" + +msgid "home" +msgstr "strona domowa" + +msgid "tags" +msgstr "tagi" + +msgid "logout" +msgstr "wyloguj" + +msgid "powered by" +msgstr "w oparciu o" + +msgid "debug mode is on so cache is off." +msgstr "tryb debug jest włączony zatem cache jest wyłączony." + +msgid "your wallabag version:" +msgstr "wersja twojego wallabag:" + +msgid "storage:" +msgstr "storage:" + +msgid "save a link" +msgstr "zapisz link" + +msgid "back to home" +msgstr "powrót do strony domowej" + +msgid "toggle mark as read" +msgstr "przełącz jako przeczytane" + +msgid "tweet" +msgstr "tweet" + +msgid "email" +msgstr "email" + +msgid "this article appears wrong?" +msgstr "ten artykuł wygląda niepoprawnie?" + +msgid "No link available here!" +msgstr "No link available here!" + +#, fuzzy +msgid "Poching a link" +msgstr "Poching a link" + +msgid "by filling this field" +msgstr "przez wypełnienie tego pola" + +msgid "bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "skryptozakładka: przeciągnij i upuść ten link na twój pasek zakładek" + +msgid "your version" +msgstr "twoja wersja" + +msgid "latest stable version" +msgstr "najnowsza stabilna wersja" + +msgid "a more recent stable version is available." +msgstr "nowsza wersja stabilna jest dostępna." + +msgid "you are up to date." +msgstr "posiadasz najnowszą wersję." + +msgid "latest dev version" +msgstr "najnowsza wersja developerska" + +msgid "a more recent development version is available." +msgstr "nowsza wersja developerska jest dostępna." + +msgid "Please execute the import script locally, it can take a very long time." +msgstr "" +"Please execute the import script locally, it can take a very long time." + +msgid "More infos in the official doc:" +msgstr "More infos in the official doc:" + +msgid "import from Pocket" +msgstr "import from Pocket" + +msgid "import from Readability" +msgstr "import from Readability" + +msgid "import from Instapaper" +msgstr "import from Instapaper" + +msgid "Tags" +msgstr "Tagi" + +msgid "Untitled" +msgstr "Untitled" + +msgid "the link has been added successfully" +msgstr "link został dodany pomyślnie" + +msgid "error during insertion : the link wasn't added" +msgstr "błąd podczas dodawania : link nie został dodany" + +msgid "the link has been deleted successfully" +msgstr "link został usunięty pomyślnie" + +msgid "the link wasn't deleted" +msgstr "link nie został usunięty" + +msgid "Article not found!" +msgstr "Artykuł nie znaleziony!" + +msgid "previous" +msgstr "poprzedni" + +msgid "next" +msgstr "następny" + +msgid "in demo mode, you can't update your password" +msgstr "w trybie demo nie możesz zaktualizować swojego hasła" + +msgid "your password has been updated" +msgstr "twoje hasło zostało zaktualizowane" + +msgid "" +"the two fields have to be filled & the password must be the same in the two " +"fields" +msgstr "" +"oba pola muszą być wypełnione oraz hasło musi być takie same w obu polach" + +msgid "still using the \"" +msgstr "wciąż używam \"" + +msgid "that theme does not seem to be installed" +msgstr "ten motyw nie wygląda na zainstalowany" + +msgid "you have changed your theme preferences" +msgstr "zmieniłeś swoje preferencje motywu" + +msgid "that language does not seem to be installed" +msgstr "ten język nie wygląda na zainstalowany" + +msgid "you have changed your language preferences" +msgstr "zmieniłeś swoje preferencje językowe" + +msgid "login failed: you have to fill all fields" +msgstr "logowanie się nie powiodło: musisz wypełnić wszystkie pola" + +msgid "welcome to your wallabag" +msgstr "witaj w twoim wallabag" + +msgid "login failed: bad login or password" +msgstr "logowanie się nie powiodło: nieprawidłowy login lub hasło" + +msgid "import from instapaper completed" +msgstr "import z instapaper zakończony" + +msgid "import from pocket completed" +msgstr "import z pocket zakończony" + +msgid "import from Readability completed. " +msgstr "import z Readability zakończony. " + +msgid "import from Poche completed. " +msgstr "import z Poche zakończony. " + +msgid "Unknown import provider." +msgstr "Nieznany dostawca importu." + +msgid "Incomplete inc/poche/define.inc.php file, please define \"" +msgstr "Niekompletny plik inc/poche/define.inc.php, proszę zdefiniuj \"" + +msgid "Could not find required \"" +msgstr "Nie znaleziono wymaganego \"" + +msgid "Uh, there is a problem while generating feeds." +msgstr "Ah, wystąpił problem podczas generowania kanałów." + +msgid "Cache deleted." +msgstr "Cache usunięty." + +msgid "Oops, it seems you don't have PHP 5." +msgstr "Oops, wygląda na to że nie masz PHP 5." + +#~ msgid "poche it!" +#~ msgstr "poche it!" + +#~ msgid "Updating poche" +#~ msgstr "Updating poche" + +#~ msgid "create an issue" +#~ msgstr "create an issue" + +#~ msgid "or" +#~ msgstr "or" + +#~ msgid "contact us by mail" +#~ msgstr "contact us by mail" + +#~ msgid "your poche version:" +#~ msgstr "your poche version:" diff --git a/src/Wallabag/Wallabag/Resources/translations/pt_BR.utf8/LC_MESSAGES/pt_BR.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/pt_BR.utf8/LC_MESSAGES/pt_BR.utf8.mo new file mode 100644 index 00000000..c1ce317f Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/pt_BR.utf8/LC_MESSAGES/pt_BR.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/pt_BR.utf8/LC_MESSAGES/pt_BR.utf8.po b/src/Wallabag/Wallabag/Resources/translations/pt_BR.utf8/LC_MESSAGES/pt_BR.utf8.po new file mode 100644 index 00000000..e1453922 --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/pt_BR.utf8/LC_MESSAGES/pt_BR.utf8.po @@ -0,0 +1,549 @@ +msgid "" +msgstr "" +"Project-Id-Version: wallabag\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-25 15:17+0300\n" +"PO-Revision-Date: \n" +"Last-Translator: @iancamporez \n" +"Language-Team: @iancamporez \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.6.4\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: /home/ian/Projetos/wallabag/locale/en_EN.utf8/" +"LC_MESSAGES\n" + +msgid "wallabag, a read it later open source system" +msgstr "wallabag, um \"read it later\" de código aberto" + +msgid "login failed: user doesn't exist" +msgstr "falha ao entrar: o usuário não existe" + +msgid "return home" +msgstr "retornar à página inicial" + +msgid "config" +msgstr "configurar" + +msgid "Saving articles" +msgstr "Salvando artigos" + +msgid "There are several ways to save an article:" +msgstr "Existem várias maneiras de salvar um artigo:" + +msgid "read the documentation" +msgstr "ler a documentação" + +msgid "download the extension" +msgstr "baixar a extensão" + +msgid "via F-Droid" +msgstr "via F-Droid" + +msgid " or " +msgstr "ou " + +msgid "via Google Play" +msgstr "via Google Play" + +msgid "download the application" +msgstr "baixar o aplicativo" + +msgid "By filling this field" +msgstr "Preenchendo esse campo" + +msgid "bag it!" +msgstr "adicionar ao wallabag" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "Bookmarklet: arraste esse link para sua barra de favoritos" + +msgid "Upgrading wallabag" +msgstr "Atualizando o wallabag" + +msgid "Installed version" +msgstr "Versão instalada" + +msgid "Latest stable version" +msgstr "Última versão estável" + +msgid "A more recent stable version is available." +msgstr "Uma versão estável mais nova está disponível" + +msgid "You are up to date." +msgstr "Você está atualizado." + +msgid "Latest dev version" +msgstr "Última versão em desenvolvimento" + +msgid "A more recent development version is available." +msgstr "Uma versão em desenvolvimento mais recente está disponível" + +msgid "Feeds" +msgstr "Feeds" + +msgid "" +"Your feed token is currently empty and must first be generated to enable " +"feeds. Click here to generate it." +msgstr "" +"Seu token do feed e precisa ser gerado para ativar os feeds. Clique aqui para gerar um token." + +msgid "Unread feed" +msgstr "Feed de artigos não lidos" + +msgid "Favorites feed" +msgstr "Feed dos favoritos" + +msgid "Archive feed" +msgstr "Feed de arquivados" + +msgid "Your token:" +msgstr "Seu token:" + +msgid "Your user id:" +msgstr "Seu código de usuário:" + +msgid "" +"You can regenerate your token: generate!" +"." +msgstr "" +"Você pode regerar seu token: gerar!." + +msgid "Change your theme" +msgstr "Mudar seu tema" + +msgid "Theme:" +msgstr "Tema:" + +msgid "Update" +msgstr "Atualizar" + +msgid "Change your language" +msgstr "Alterar seu idioma" + +msgid "Language:" +msgstr "Idioma:" + +msgid "Change your password" +msgstr "Alterar sua senha" + +msgid "New password:" +msgstr "Nova senha:" + +msgid "Password" +msgstr "Senha" + +msgid "Repeat your new password:" +msgstr "Repetir sua nova senha:" + +msgid "Import" +msgstr "Importar" + +msgid "" +"Please execute the import script locally as it can take a very long time." +msgstr "" +"Por favor, execute o script de importação localmente, pois pode demorar " +"muito tempo." + +msgid "More info in the official documentation:" +msgstr "Mais informações na documentação oficial:" + +msgid "Import from Pocket" +msgstr "Importar do Pocket" + +#, php-format +msgid "(you must have a %s file on your server)" +msgstr "(você deve ter um arquivo %s no seu servidor)" + +msgid "Import from Readability" +msgstr "Importar do Readability" + +msgid "Import from Instapaper" +msgstr "Importar do Instapaper" + +msgid "Import from wallabag" +msgstr "Importar do wallabag" + +msgid "Export your wallabag data" +msgstr "Exportar seus dados do wallabag" + +msgid "Click here" +msgstr "Clique aqui" + +msgid "to download your database." +msgstr "para baixar seu banco de dados." + +msgid "to export your wallabag data." +msgstr "para exportar seus dados do wallabag." + +msgid "Cache" +msgstr "Cache" + +msgid "to delete cache." +msgstr "para apagar o cache." + +msgid "You can enter multiple tags, separated by commas." +msgstr "Você pode inserir várias tags, separadas por vírgulas." + +msgid "return to article" +msgstr "retornar ao artigo" + +msgid "plop" +msgstr "plop" + +msgid "" +"You can check your configuration " +"here." +msgstr "" +"Você pode checar suas " +"configurações aqui." + +msgid "favoris" +msgstr "favoritos" + +msgid "archive" +msgstr "arquivo" + +msgid "unread" +msgstr "não lidos" + +msgid "by date asc" +msgstr "por data (cresc.)" + +msgid "by date" +msgstr "por data" + +msgid "by date desc" +msgstr "por data (decr.)" + +msgid "by title asc" +msgstr "por título (cresc.)" + +msgid "by title" +msgstr "por título" + +msgid "by title desc" +msgstr "por título (decr.)" + +msgid "Tag" +msgstr "Tag" + +msgid "No articles found." +msgstr "Nenhum artigo encontrado." + +msgid "Toggle mark as read" +msgstr "Alterar \"marcar como lido\"" + +msgid "toggle favorite" +msgstr "alterar \"favorito\"" + +msgid "delete" +msgstr "deletar" + +msgid "original" +msgstr "original" + +msgid "estimated reading time:" +msgstr "tempo estimado de leitura:" + +msgid "mark all the entries as read" +msgstr "marcar todas as entradas como lidas" + +msgid "results" +msgstr "resultados" + +msgid "installation" +msgstr "instalação" + +msgid "install your wallabag" +msgstr "instalar seu wallabag" + +msgid "" +"wallabag is still not installed. Please fill the below form to install it. " +"Don't hesitate to read the documentation " +"on wallabag website." +msgstr "" +"O wallabag ainda não está instalado. Preencha o formulário abaixo para " +"instalá-lo. Não hesite em ler a " +"documentação no site do wallabag." + +msgid "Login" +msgstr "Login" + +msgid "Repeat your password" +msgstr "Repetir sua senha" + +msgid "Install" +msgstr "Instalar" + +msgid "login to your wallabag" +msgstr "entrar no seu wallabag" + +msgid "Login to wallabag" +msgstr "Entrar no wallabag" + +msgid "you are in demo mode, some features may be disabled." +msgstr "você está no modo demo, alguns recursos podem estar desativados." + +msgid "Username" +msgstr "Nome de usuário" + +msgid "Stay signed in" +msgstr "Continuar conectado" + +msgid "(Do not check on public computers)" +msgstr "(Não marque em computadores públicos)" + +msgid "Sign in" +msgstr "Entrar" + +msgid "favorites" +msgstr "favoritos" + +msgid "estimated reading time :" +msgstr "tempo estimado de leitura :" + +msgid "Mark all the entries as read" +msgstr "Marcar todas as entradas como lidas" + +msgid "Return home" +msgstr "Retornar à página inicial" + +msgid "Back to top" +msgstr "Voltar ao topo" + +msgid "Mark as read" +msgstr "Marcar como lido" + +msgid "Favorite" +msgstr "Favoritar" + +msgid "Toggle favorite" +msgstr "Alterar \"favorito\"" + +msgid "Delete" +msgstr "Deletar" + +msgid "Tweet" +msgstr "Tweetar" + +msgid "Email" +msgstr "Email" + +msgid "shaarli" +msgstr "shaarli" + +msgid "flattr" +msgstr "flattr" + +msgid "Does this article appear wrong?" +msgstr "Esse artigo está sendo exibido incorretamente?" + +msgid "tags:" +msgstr "tags:" + +msgid "Edit tags" +msgstr "Editar tags" + +msgid "save link!" +msgstr "salvar link!" + +msgid "home" +msgstr "início" + +msgid "tags" +msgstr "tags" + +msgid "logout" +msgstr "sair" + +msgid "powered by" +msgstr "powered by" + +msgid "debug mode is on so cache is off." +msgstr "o modo debug está ativo, então o cache foi desativado." + +msgid "your wallabag version:" +msgstr "sua versão do wallabag:" + +msgid "storage:" +msgstr "armazenamento:" + +msgid "save a link" +msgstr "salvar link" + +msgid "back to home" +msgstr "voltar à página inicial" + +msgid "toggle mark as read" +msgstr "alterar \"marcar como lido\"" + +msgid "tweet" +msgstr "tweetar" + +msgid "email" +msgstr "email" + +msgid "this article appears wrong?" +msgstr "esse artigo está sendo mostrado incorretamente?" + +msgid "No link available here!" +msgstr "Nenhum link disponível aqui!" + +msgid "Poching a link" +msgstr "Pocheando um link" + +msgid "by filling this field" +msgstr "preenchendo esse campo" + +msgid "bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "bookmarklet: arraste esse link para a sua barra de favoritos" + +msgid "your version" +msgstr "sua versão" + +msgid "latest stable version" +msgstr "última versão estável" + +msgid "a more recent stable version is available." +msgstr "uma versão estável mais nova está disponível" + +msgid "you are up to date." +msgstr "você está atualizado." + +msgid "latest dev version" +msgstr "última versão em desenvolvimento" + +msgid "a more recent development version is available." +msgstr "uma versão em desenvolvimento mais nova está disponível" + +msgid "Please execute the import script locally, it can take a very long time." +msgstr "" +"Por favor, execute o script de importação localmente, pois pode demorar " +"muito tempo." + +msgid "More infos in the official doc:" +msgstr "Mais informações na documentação oficial:" + +msgid "import from Pocket" +msgstr "importar do Pocket" + +msgid "import from Readability" +msgstr "importar do Readability" + +msgid "import from Instapaper" +msgstr "importar do Instapaper" + +msgid "Tags" +msgstr "Tags" + +msgid "Untitled" +msgstr "Sem título" + +msgid "the link has been added successfully" +msgstr "o link foi adicionado com sucesso" + +msgid "error during insertion : the link wasn't added" +msgstr "erro durante a inserção: o link não foi adicionado" + +msgid "the link has been deleted successfully" +msgstr "o link foi deletado com sucesso" + +msgid "the link wasn't deleted" +msgstr "o link não foi deletado" + +msgid "Article not found!" +msgstr "Artigo não encontrado!" + +msgid "previous" +msgstr "anterior" + +msgid "next" +msgstr "próximo" + +msgid "in demo mode, you can't update your password" +msgstr "você não pode alterar a senha no modo demo" + +msgid "your password has been updated" +msgstr "sua senha foi atualizada" + +msgid "" +"the two fields have to be filled & the password must be the same in the two " +"fields" +msgstr "" +"os dois campos devem estar preenchidos e as senhas devem ser iguais em ambos" + +msgid "still using the \"" +msgstr "ainda usando o \"" + +msgid "that theme does not seem to be installed" +msgstr "esse tema aparentemente não está instalado" + +msgid "you have changed your theme preferences" +msgstr "você alterou suas preferências de tema" + +msgid "that language does not seem to be installed" +msgstr "esse idioma aparentemente não está instalado" + +msgid "you have changed your language preferences" +msgstr "você alterou suas preferências de idioma" + +msgid "login failed: you have to fill all fields" +msgstr "falha ao entrar: você deve preencher todos os campos" + +msgid "welcome to your wallabag" +msgstr "bem-vindo ao seu wallabag" + +msgid "login failed: bad login or password" +msgstr "falha ao entrar: login ou senha incorretos" + +msgid "import from instapaper completed" +msgstr "importação do instapaper completa" + +msgid "import from pocket completed" +msgstr "importação do pocket completa" + +msgid "import from Readability completed. " +msgstr "importação do Readability completa. " + +msgid "import from Poche completed. " +msgstr "importação do Poche completa. " + +msgid "Unknown import provider." +msgstr "Serviço de importação desconhecido." + +msgid "Incomplete inc/poche/define.inc.php file, please define \"" +msgstr "Arquivo inc/poche/define.inc.php incompleto, por favor defina \"" + +msgid "Could not find required \"" +msgstr "Não foi possível encontrar o requerido \"" + +msgid "Uh, there is a problem while generating feeds." +msgstr "Uh, houve um problema ao gerar os feeds." + +msgid "Cache deleted." +msgstr "Cache deletado." + +msgid "Oops, it seems you don't have PHP 5." +msgstr "Oops, parece que você não tem o PHP 5." + +#~ msgid "poche it!" +#~ msgstr "poche it!" + +#~ msgid "Updating poche" +#~ msgstr "Updating poche" + +#~ msgid "create an issue" +#~ msgstr "create an issue" + +#~ msgid "or" +#~ msgstr "or" + +#~ msgid "contact us by mail" +#~ msgstr "contact us by mail" + +#~ msgid "your poche version:" +#~ msgstr "your poche version:" diff --git a/src/Wallabag/Wallabag/Resources/translations/ru_RU.utf8/LC_MESSAGES/ru_RU.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/ru_RU.utf8/LC_MESSAGES/ru_RU.utf8.mo new file mode 100755 index 00000000..5cbfad16 Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/ru_RU.utf8/LC_MESSAGES/ru_RU.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/ru_RU.utf8/LC_MESSAGES/ru_RU.utf8.po b/src/Wallabag/Wallabag/Resources/translations/ru_RU.utf8/LC_MESSAGES/ru_RU.utf8.po new file mode 100755 index 00000000..08f12b7c --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/ru_RU.utf8/LC_MESSAGES/ru_RU.utf8.po @@ -0,0 +1,561 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-25 15:09+0300\n" +"PO-Revision-Date: \n" +"Last-Translator: Maryana \n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.5.4\n" +"X-Poedit-Language: Russian\n" +"X-Poedit-Country: RUSSIA\n" +"X-Poedit-SourceCharset: utf-8\n" +"X-Poedit-SearchPath-0: /home/mariroz/_DEV/web/wallabag/wallabag-master-testing\n" + +msgid "wallabag, a read it later open source system" +msgstr "wallabag, сервис отложенного чтения с открытым исходным кодом" + +msgid "login failed: user doesn't exist" +msgstr "войти не удалось: пользователь не существует" + +msgid "return home" +msgstr "на главную" + +msgid "config" +msgstr "настройки" + +msgid "Saving articles" +msgstr "Сохранение статей" + +#, fuzzy +msgid "There are several ways to save an article:" +msgstr "Существует несколько способов сохранить ссылку:" + +msgid "read the documentation" +msgstr "читать инструкцию" + +msgid "download the extension" +msgstr "скачать расширение" + +msgid "via F-Droid" +msgstr "с F-Droid" + +msgid " or " +msgstr "или" + +msgid "via Google Play" +msgstr "с Google Play" + +msgid "download the application" +msgstr "скачать приложение" + +msgid "By filling this field" +msgstr "Заполнением этого поля" + +msgid "bag it!" +msgstr "прикарманить!" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "Закладка: перетащите и опустите ссылку на панель закладок" + +msgid "Upgrading wallabag" +msgstr "Обновление wallabag" + +msgid "Installed version" +msgstr "Установленная версия" + +msgid "Latest stable version" +msgstr "Последняя стабильная версия" + +msgid "A more recent stable version is available." +msgstr "Доступна новая стабильная версия." + +msgid "You are up to date." +msgstr "У вас всё самое новое." + +#, fuzzy +msgid "Latest dev version" +msgstr "последняя версия в разработке" + +#, fuzzy +msgid "A more recent development version is available." +msgstr "есть более свежая версия в разработке." + +msgid "Feeds" +msgstr "Ленты (feeds)" + +msgid "Your feed token is currently empty and must first be generated to enable feeds. Click here to generate it." +msgstr "Ваш маркер ленты (feed token) не определен, для того, чтобы активировать ленту, сначала создайте его. Нажмите здесь для его генерации." + +msgid "Unread feed" +msgstr "Лента непрочитанного" + +msgid "Favorites feed" +msgstr "Лента избранного" + +msgid "Archive feed" +msgstr "Лента архива" + +msgid "Your token:" +msgstr "Ваш маркер (token):" + +msgid "Your user id:" +msgstr "Ваш идентификатор пользователя (user id):" + +msgid "You can regenerate your token: generate!." +msgstr "Вы можете создать новый ​​маркер: сгенерировать!." + +msgid "Change your theme" +msgstr "Изменить тему" + +msgid "Theme:" +msgstr "Тема:" + +msgid "Update" +msgstr "Обновить" + +msgid "Change your language" +msgstr "Изменить язык" + +msgid "Language:" +msgstr "Язык:" + +msgid "Change your password" +msgstr "Смена пароля" + +msgid "New password:" +msgstr "Новый пароль:" + +msgid "Password" +msgstr "Пароль" + +msgid "Repeat your new password:" +msgstr "Ещё раз новый пароль:" + +msgid "Import" +msgstr "Импортировать" + +msgid "Please execute the import script locally as it can take a very long time." +msgstr "Пожалуйста, выполните сценарий импорта локально - это может занять слишком много времени." + +#, fuzzy +msgid "More info in the official documentation:" +msgstr "Больше сведений в официальной документации:" + +msgid "Import from Pocket" +msgstr "Импортировать из Pocket" + +#, php-format +msgid "(you must have a %s file on your server)" +msgstr "(файл %s должен присутствовать на вашем сервере)" + +msgid "Import from Readability" +msgstr "Импортировать из Readability" + +msgid "Import from Instapaper" +msgstr "Импортировать из Instapaper" + +msgid "Import from wallabag" +msgstr "Импортировать из wallabag" + +msgid "Export your wallabag data" +msgstr "Экспортировать данные wallabag" + +msgid "Click here" +msgstr "Кликните здесь" + +msgid "to download your database." +msgstr "чтобы скачать вашу базу данных" + +msgid "to export your wallabag data." +msgstr "чтобы экспортировать свои записи из wallabag." + +msgid "Cache" +msgstr "Кэш" + +msgid "to delete cache." +msgstr "чтобы сбросить кэш." + +msgid "You can enter multiple tags, separated by commas." +msgstr "Вы можете ввести несколько тегов, разделяя их запятой." + +msgid "return to article" +msgstr "вернуться к статье" + +msgid "plop" +msgstr "plop" + +msgid "You can check your configuration here." +msgstr "Вы можете проверить конфигурацию здесь." + +msgid "favoris" +msgstr "избранное" + +msgid "archive" +msgstr "архив" + +msgid "unread" +msgstr "непрочитанное" + +msgid "by date asc" +msgstr "по дате, сперва старые" + +msgid "by date" +msgstr "по дате" + +msgid "by date desc" +msgstr "по дате, сперва новые" + +msgid "by title asc" +msgstr "по заголовку (прямой)" + +msgid "by title" +msgstr "по заголовку" + +msgid "by title desc" +msgstr "по заголовку (обратный)" + +msgid "Tag" +msgstr "Тег" + +msgid "No articles found." +msgstr "Статей не найдено." + +msgid "Toggle mark as read" +msgstr "Изменить отметку 'прочитано'" + +msgid "toggle favorite" +msgstr "изменить метку избранного" + +msgid "delete" +msgstr "удалить" + +msgid "original" +msgstr "источник" + +msgid "estimated reading time:" +msgstr "ориентировочное время чтения:" + +msgid "mark all the entries as read" +msgstr "отметить все статьи как прочитанные " + +msgid "results" +msgstr "найдено" + +msgid "installation" +msgstr "установка" + +msgid "install your wallabag" +msgstr "установка wallabag" + +msgid "wallabag is still not installed. Please fill the below form to install it. Don't hesitate to read the documentation on wallabag website." +msgstr "wallabag всё ещё не установлен. Надо заполнить форму ниже, чтобы установить его. Неплохо также прочесть документацию на сайте wallabag." + +msgid "Login" +msgstr "Имя пользователя" + +msgid "Repeat your password" +msgstr "Повторите пароль" + +msgid "Install" +msgstr "Установить" + +msgid "login to your wallabag" +msgstr "войти в свой wallabag" + +msgid "Login to wallabag" +msgstr "Войдите в wallabag" + +msgid "you are in demo mode, some features may be disabled." +msgstr "демонстрационный режим - работают не все возможности." + +msgid "Username" +msgstr "Имя пользователя" + +msgid "Stay signed in" +msgstr "Запомнить меня" + +msgid "(Do not check on public computers)" +msgstr "(Не отмечайте на чужих компьютерах)" + +msgid "Sign in" +msgstr "Зарегистрироваться" + +msgid "favorites" +msgstr "избранное" + +#, fuzzy +msgid "estimated reading time :" +msgstr "ориентировочное время чтения:" + +msgid "Mark all the entries as read" +msgstr "Отметить все как прочитанное" + +msgid "Return home" +msgstr "На главную" + +msgid "Back to top" +msgstr "Наверх" + +msgid "Mark as read" +msgstr "Отметить как прочитанное" + +msgid "Favorite" +msgstr "Избранное" + +msgid "Toggle favorite" +msgstr "Изменить метку избранного" + +msgid "Delete" +msgstr "Удалить" + +msgid "Tweet" +msgstr "Твитнуть" + +msgid "Email" +msgstr "Отправить по почте" + +msgid "shaarli" +msgstr "shaarli" + +msgid "flattr" +msgstr "проспонсировать" + +msgid "Does this article appear wrong?" +msgstr "Статья выглядит криво?" + +msgid "tags:" +msgstr "теги:" + +msgid "Edit tags" +msgstr "Редактировать теги" + +msgid "save link!" +msgstr "сохранить ссылку!" + +msgid "home" +msgstr "главная" + +msgid "tags" +msgstr "теги" + +msgid "logout" +msgstr "выход" + +msgid "powered by" +msgstr "при поддержке" + +msgid "debug mode is on so cache is off." +msgstr "включён режим отладки - кеш выключен." + +msgid "your wallabag version:" +msgstr "Ваша версия wallabag:" + +msgid "storage:" +msgstr "хранилище:" + +msgid "save a link" +msgstr "сохранить ссылку" + +msgid "back to home" +msgstr "домой" + +msgid "toggle mark as read" +msgstr "изменить отметку 'прочитано'" + +msgid "tweet" +msgstr "твитнуть" + +msgid "email" +msgstr "email" + +#, fuzzy +msgid "this article appears wrong?" +msgstr "Статья выглядит криво?" + +msgid "No link available here!" +msgstr "Здесь нет ссылки!" + +#, fuzzy +msgid "Poching a link" +msgstr "Сохранение ссылок" + +#, fuzzy +msgid "by filling this field" +msgstr "Заполнением этого поля" + +#, fuzzy +msgid "bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "Закладка: перетащите и опустите ссылку на панель закладок" + +msgid "your version" +msgstr "Ваша версия" + +#, fuzzy +msgid "latest stable version" +msgstr "Последняя стабильная версия" + +#, fuzzy +msgid "a more recent stable version is available." +msgstr "Доступна новая стабильная версия." + +msgid "you are up to date." +msgstr "у вас всё самое новое." + +msgid "latest dev version" +msgstr "последняя версия в разработке" + +msgid "a more recent development version is available." +msgstr "есть более свежая версия в разработке." + +#, fuzzy +msgid "Please execute the import script locally, it can take a very long time." +msgstr "Пожалуйста, выполните сценарий импорта локально - это может занять слишком много времени." + +#, fuzzy +msgid "More infos in the official doc:" +msgstr "Больше сведений в официальной документации:" + +#, fuzzy +msgid "import from Pocket" +msgstr "Импортировать из Pocket" + +#, fuzzy +msgid "import from Readability" +msgstr "Импортировать из Readability" + +#, fuzzy +msgid "import from Instapaper" +msgstr "Импортировать из Instapaper" + +msgid "Tags" +msgstr "Теги" + +msgid "Untitled" +msgstr "Без названия" + +msgid "the link has been added successfully" +msgstr "ссылка успешно добавлена" + +msgid "error during insertion : the link wasn't added" +msgstr "ошибка во время вставки: ссылка не добавлена" + +msgid "the link has been deleted successfully" +msgstr "ссылка успешно удалена" + +msgid "the link wasn't deleted" +msgstr "ссылка не удалена" + +msgid "Article not found!" +msgstr "Статью не найдено." + +msgid "previous" +msgstr "предыдущая" + +msgid "next" +msgstr "следующая" + +msgid "in demo mode, you can't update your password" +msgstr "в демонстрационном режиме смена пароля не разрешена" + +msgid "your password has been updated" +msgstr "ваш пароль обновлен" + +msgid "the two fields have to be filled & the password must be the same in the two fields" +msgstr "необходимо заполнить оба поля и пароль в обоих должен совпадать" + +msgid "still using the \"" +msgstr "все еще используется \"" + +msgid "that theme does not seem to be installed" +msgstr "кажется, эта тема не установлена" + +msgid "you have changed your theme preferences" +msgstr "вы изменили свои настройки темы" + +msgid "that language does not seem to be installed" +msgstr "кажется, что этот язык не установлен" + +msgid "you have changed your language preferences" +msgstr "вы изменили свои настройки языка" + +msgid "login failed: you have to fill all fields" +msgstr "войти не удалось: вы должны заполнить все поля" + +msgid "welcome to your wallabag" +msgstr "добро пожаловать в wallabag" + +msgid "login failed: bad login or password" +msgstr "войти не удалось: неправильное имя пользователя или пароль" + +msgid "import from instapaper completed" +msgstr "импорт из instapaper завершен" + +msgid "import from pocket completed" +msgstr "импорт из pocket завершен" + +msgid "import from Readability completed. " +msgstr "импорт из Readability завершен" + +msgid "import from Poche completed. " +msgstr "импорт из Poche завершен." + +msgid "Unknown import provider." +msgstr "Неизвестный провайдер импорта." + +msgid "Incomplete inc/poche/define.inc.php file, please define \"" +msgstr "Незавершенный файл inc/poche/define.inc.php file, пожалуйста определите \"" + +msgid "Could not find required \"" +msgstr "Не удалось найти требуемый \"" + +msgid "Uh, there is a problem while generating feeds." +msgstr "Ох, возникла проблема при создании ленты." + +msgid "Cache deleted." +msgstr "Кэш очищен. " + +msgid "Oops, it seems you don't have PHP 5." +msgstr "Упс, кажется у вас не установлен PHP 5." + +#~ msgid "You can poche a link by several methods:" +#~ msgstr "Вы можете сохранить ссылку несколькими путями:" + +#~ msgid "poche it!" +#~ msgstr "прикарманить!" + +#~ msgid "Updating poche" +#~ msgstr "Обновления poche" + +#, fuzzy +#~ msgid "Export your poche datas" +#~ msgstr "Экспортировать данные poche" + +#, fuzzy +#~ msgid "to export your poche datas." +#~ msgstr "чтобы экспортировать свои записи из poche." + +#~ msgid "your poche version:" +#~ msgstr "ваша версия poche:" + +#~ msgid "Import from poche" +#~ msgstr "Импортировать из poche" + +#~ msgid "welcome to your poche" +#~ msgstr "добро пожаловать в ваш poche" + +#~ msgid "see you soon!" +#~ msgstr "увидимся!" + +#~ msgid "create an issue" +#~ msgstr "оповестить об ошибке" + +#~ msgid "or" +#~ msgstr "или" + +#~ msgid "contact us by mail" +#~ msgstr "связаться по почте" diff --git a/src/Wallabag/Wallabag/Resources/translations/sl_SI.utf8/LC_MESSAGES/sl_SI.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/sl_SI.utf8/LC_MESSAGES/sl_SI.utf8.mo new file mode 100644 index 00000000..5518fad1 Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/sl_SI.utf8/LC_MESSAGES/sl_SI.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/sl_SI.utf8/LC_MESSAGES/sl_SI.utf8.po b/src/Wallabag/Wallabag/Resources/translations/sl_SI.utf8/LC_MESSAGES/sl_SI.utf8.po new file mode 100644 index 00000000..8ad2eded --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/sl_SI.utf8/LC_MESSAGES/sl_SI.utf8.po @@ -0,0 +1,568 @@ +# +# Translators: +# bungabunga, 2014 +msgid "" +msgstr "" +"Project-Id-Version: wallabag\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-25 15:12+0300\n" +"PO-Revision-Date: 2014-02-25 15:12+0300\n" +"Last-Translator: Maryana \n" +"Language-Team: Slovenian (Slovenia) (http://www.transifex.com/projects/p/wallabag/language/sl_SI/)\n" +"Language: sl_SI\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"X-Generator: Poedit 1.5.4\n" +"X-Poedit-Language: Slovenian\n" +"X-Poedit-Country: SLOVENIA\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-SearchPath-0: /home/mariroz/_DEV/web/wallabag/wallabag-master-testing\n" + +msgid "wallabag, a read it later open source system" +msgstr "" + +msgid "login failed: user doesn't exist" +msgstr "" + +msgid "return home" +msgstr "" + +msgid "config" +msgstr "nastavitve" + +msgid "Saving articles" +msgstr "" + +msgid "There are several ways to save an article:" +msgstr "" + +msgid "read the documentation" +msgstr "preberite dokumentacijo" + +msgid "download the extension" +msgstr "" + +msgid "via F-Droid" +msgstr "" + +msgid " or " +msgstr "" + +msgid "via Google Play" +msgstr "" + +msgid "download the application" +msgstr "" + +#, fuzzy +msgid "By filling this field" +msgstr "z vnosom v to polje" + +msgid "bag it!" +msgstr "" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "" + +msgid "Upgrading wallabag" +msgstr "" + +#, fuzzy +msgid "Installed version" +msgstr "zadnja stabilna različica" + +#, fuzzy +msgid "Latest stable version" +msgstr "zadnja stabilna različica" + +#, fuzzy +msgid "A more recent stable version is available." +msgstr "na voljo je nova stabilna različica." + +#, fuzzy +msgid "You are up to date." +msgstr "imate najnovejšo različico." + +#, fuzzy +msgid "Latest dev version" +msgstr "zadnja razvojna različica" + +#, fuzzy +msgid "A more recent development version is available." +msgstr "na voljo je nova razvojna različica." + +msgid "Feeds" +msgstr "" + +msgid "Your feed token is currently empty and must first be generated to enable feeds. Click here to generate it." +msgstr "" + +msgid "Unread feed" +msgstr "" + +#, fuzzy +msgid "Favorites feed" +msgstr "priljubljeni" + +#, fuzzy +msgid "Archive feed" +msgstr "arhiv" + +msgid "Your token:" +msgstr "" + +msgid "Your user id:" +msgstr "" + +msgid "You can regenerate your token: generate!." +msgstr "" + +#, fuzzy +msgid "Change your theme" +msgstr "Zamenjava gesla" + +msgid "Theme:" +msgstr "" + +msgid "Update" +msgstr "Posodobi" + +#, fuzzy +msgid "Change your language" +msgstr "Zamenjava gesla" + +msgid "Language:" +msgstr "" + +msgid "Change your password" +msgstr "Zamenjava gesla" + +msgid "New password:" +msgstr "Novo geslo:" + +msgid "Password" +msgstr "Geslo" + +msgid "Repeat your new password:" +msgstr "Ponovite novo geslo:" + +msgid "Import" +msgstr "Uvozi" + +#, fuzzy +msgid "Please execute the import script locally as it can take a very long time." +msgstr "Prosimo poženite skripto za uvoz lokalno, saj lahko postopek traja precej časa." + +#, fuzzy +msgid "More info in the official documentation:" +msgstr "Več informacij v uradni dokumentaciji:" + +#, fuzzy +msgid "Import from Pocket" +msgstr "Uvoz iz aplikacije Pocket" + +#, php-format +msgid "(you must have a %s file on your server)" +msgstr "" + +#, fuzzy +msgid "Import from Readability" +msgstr "Uvoz iz aplikacije Readability" + +#, fuzzy +msgid "Import from Instapaper" +msgstr "Uvoz iz aplikacije Instapaper" + +#, fuzzy +msgid "Import from wallabag" +msgstr "Uvoz iz aplikacije Readability" + +#, fuzzy +msgid "Export your wallabag data" +msgstr "Izvoz vsebine" + +msgid "Click here" +msgstr "Kliknite tukaj" + +#, fuzzy +msgid "to download your database." +msgstr "za izvoz vsebine aplikacije Poche." + +#, fuzzy +msgid "to export your wallabag data." +msgstr "za izvoz vsebine aplikacije Poche." + +msgid "Cache" +msgstr "" + +msgid "to delete cache." +msgstr "" + +msgid "You can enter multiple tags, separated by commas." +msgstr "" + +msgid "return to article" +msgstr "" + +msgid "plop" +msgstr "štrbunk" + +msgid "You can check your configuration here." +msgstr "" + +msgid "favoris" +msgstr "priljubljeni" + +msgid "archive" +msgstr "arhiv" + +msgid "unread" +msgstr "neprebrano" + +msgid "by date asc" +msgstr "po datumu - naraščajoče" + +msgid "by date" +msgstr "po datumu" + +msgid "by date desc" +msgstr "po datumu - padajoče" + +msgid "by title asc" +msgstr "po naslovu - naraščajoče" + +msgid "by title" +msgstr "po naslovu" + +msgid "by title desc" +msgstr "po naslovu - padajoče" + +msgid "Tag" +msgstr "" + +msgid "No articles found." +msgstr "" + +#, fuzzy +msgid "Toggle mark as read" +msgstr "označi kot prebrano" + +msgid "toggle favorite" +msgstr "označi kot priljubljeno" + +msgid "delete" +msgstr "zavrzi" + +msgid "original" +msgstr "izvirnik" + +msgid "estimated reading time:" +msgstr "" + +msgid "mark all the entries as read" +msgstr "" + +msgid "results" +msgstr "rezultati" + +msgid "installation" +msgstr "Namestitev" + +#, fuzzy +msgid "install your wallabag" +msgstr "Namestitev aplikacije Poche" + +#, fuzzy +msgid "wallabag is still not installed. Please fill the below form to install it. Don't hesitate to read the documentation on wallabag website." +msgstr "Poche še vedno ni nameščen. Za namestitev izpolnite spodnji obrazec. Za več informacij preberite dokumentacijo na spletni strani." + +msgid "Login" +msgstr "Prijava" + +msgid "Repeat your password" +msgstr "Ponovite geslo" + +msgid "Install" +msgstr "Namesti" + +#, fuzzy +msgid "login to your wallabag" +msgstr "prijavite se v svoj Poche" + +msgid "Login to wallabag" +msgstr "" + +msgid "you are in demo mode, some features may be disabled." +msgstr "uporabljate vzorčno različico programa, zato so lahko nekatere funkcije izklopljene." + +msgid "Username" +msgstr "" + +msgid "Stay signed in" +msgstr "Ostani prijavljen" + +msgid "(Do not check on public computers)" +msgstr "(Ne označi na javnih napravah)" + +msgid "Sign in" +msgstr "Prijava" + +msgid "favorites" +msgstr "priljubljeni" + +msgid "estimated reading time :" +msgstr "" + +msgid "Mark all the entries as read" +msgstr "" + +msgid "Return home" +msgstr "" + +#, fuzzy +msgid "Back to top" +msgstr "nazaj na vrh" + +#, fuzzy +msgid "Mark as read" +msgstr "označi kot prebrano" + +#, fuzzy +msgid "Favorite" +msgstr "priljubljeni" + +#, fuzzy +msgid "Toggle favorite" +msgstr "označi kot priljubljeno" + +#, fuzzy +msgid "Delete" +msgstr "zavrzi" + +#, fuzzy +msgid "Tweet" +msgstr "tvitni" + +#, fuzzy +msgid "Email" +msgstr "pošlji po e-pošti" + +msgid "shaarli" +msgstr "shaarli" + +msgid "flattr" +msgstr "flattr" + +#, fuzzy +msgid "Does this article appear wrong?" +msgstr "napaka?" + +msgid "tags:" +msgstr "" + +msgid "Edit tags" +msgstr "" + +msgid "save link!" +msgstr "" + +msgid "home" +msgstr "domov" + +msgid "tags" +msgstr "" + +msgid "logout" +msgstr "odjava" + +msgid "powered by" +msgstr "stran poganja" + +msgid "debug mode is on so cache is off." +msgstr "vklopljen je način odpravljanja napak, zato je predpomnilnik izključen." + +#, fuzzy +msgid "your wallabag version:" +msgstr "vaša različica" + +msgid "storage:" +msgstr "pomnilnik:" + +msgid "save a link" +msgstr "" + +msgid "back to home" +msgstr "Nazaj domov" + +msgid "toggle mark as read" +msgstr "označi kot prebrano" + +msgid "tweet" +msgstr "tvitni" + +msgid "email" +msgstr "pošlji po e-pošti" + +msgid "this article appears wrong?" +msgstr "napaka?" + +msgid "No link available here!" +msgstr "Povezava ni na voljo!" + +msgid "Poching a link" +msgstr "Shrani povezavo" + +msgid "by filling this field" +msgstr "z vnosom v to polje" + +msgid "bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "" + +msgid "your version" +msgstr "vaša različica" + +msgid "latest stable version" +msgstr "zadnja stabilna različica" + +msgid "a more recent stable version is available." +msgstr "na voljo je nova stabilna različica." + +msgid "you are up to date." +msgstr "imate najnovejšo različico." + +msgid "latest dev version" +msgstr "zadnja razvojna različica" + +msgid "a more recent development version is available." +msgstr "na voljo je nova razvojna različica." + +msgid "Please execute the import script locally, it can take a very long time." +msgstr "Prosimo poženite skripto za uvoz lokalno, saj lahko postopek traja precej časa." + +msgid "More infos in the official doc:" +msgstr "Več informacij v uradni dokumentaciji:" + +msgid "import from Pocket" +msgstr "Uvoz iz aplikacije Pocket" + +msgid "import from Readability" +msgstr "Uvoz iz aplikacije Readability" + +msgid "import from Instapaper" +msgstr "Uvoz iz aplikacije Instapaper" + +msgid "Tags" +msgstr "" + +#, fuzzy +msgid "Untitled" +msgstr "po naslovu" + +msgid "the link has been added successfully" +msgstr "" + +msgid "error during insertion : the link wasn't added" +msgstr "" + +msgid "the link has been deleted successfully" +msgstr "" + +msgid "the link wasn't deleted" +msgstr "" + +msgid "Article not found!" +msgstr "" + +msgid "previous" +msgstr "" + +msgid "next" +msgstr "" + +msgid "in demo mode, you can't update your password" +msgstr "" + +msgid "your password has been updated" +msgstr "" + +msgid "the two fields have to be filled & the password must be the same in the two fields" +msgstr "" + +msgid "still using the \"" +msgstr "" + +msgid "that theme does not seem to be installed" +msgstr "" + +msgid "you have changed your theme preferences" +msgstr "" + +msgid "that language does not seem to be installed" +msgstr "" + +msgid "you have changed your language preferences" +msgstr "" + +msgid "login failed: you have to fill all fields" +msgstr "" + +msgid "welcome to your wallabag" +msgstr "" + +msgid "login failed: bad login or password" +msgstr "" + +#, fuzzy +msgid "import from instapaper completed" +msgstr "Uvoz iz aplikacije Instapaper" + +#, fuzzy +msgid "import from pocket completed" +msgstr "Uvoz iz aplikacije Pocket" + +#, fuzzy +msgid "import from Readability completed. " +msgstr "Uvoz iz aplikacije Readability" + +#, fuzzy +msgid "import from Poche completed. " +msgstr "Uvoz iz aplikacije Pocket" + +msgid "Unknown import provider." +msgstr "" + +msgid "Incomplete inc/poche/define.inc.php file, please define \"" +msgstr "" + +msgid "Could not find required \"" +msgstr "" + +msgid "Uh, there is a problem while generating feeds." +msgstr "" + +#, fuzzy +msgid "Cache deleted." +msgstr "zavrzi" + +msgid "Oops, it seems you don't have PHP 5." +msgstr "" + +#~ msgid "poche it!" +#~ msgstr "shrani!" + +#~ msgid "Updating poche" +#~ msgstr "Posodabljam Poche" + +#~ msgid "create an issue" +#~ msgstr "prijavi napako" + +#~ msgid "or" +#~ msgstr "ali" + +#~ msgid "contact us by mail" +#~ msgstr "pošlji e-pošto razvijalcem" + +#~ msgid "your poche version:" +#~ msgstr "vaša verzija Poche:" diff --git a/src/Wallabag/Wallabag/Resources/translations/tools/fillCache.php b/src/Wallabag/Wallabag/Resources/translations/tools/fillCache.php new file mode 100755 index 00000000..bdd9cc58 --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/tools/fillCache.php @@ -0,0 +1,59 @@ +isDir() and $tplDir!='.' and $tplDir!='..') { + echo "\n$tplDir\n"; + + $loader = new Twig_Loader_Filesystem($tplDirRoot.$tplDir); + + // force auto-reload to always have the latest version of the template + $twig = new Twig_Environment($loader, array( + 'cache' => $tmpDir, + 'auto_reload' => true + )); + + $twig->addExtension(new Twig_Extensions_Extension_I18n()); + + $filter = new Twig_SimpleFilter('getDomain', 'Tools::getDomain'); + $twig->addFilter($filter); + + $filter = new Twig_SimpleFilter('getReadingTime', 'Tools::getReadingTime'); + $twig->addFilter($filter); + + $filter = new Twig_SimpleFilter('getPrettyFilename', function($string) { return str_replace($siteRoot, '', $string); }); + $twig->addFilter($filter); + +// // iterate over all your templates + foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator($tplDirRoot.$tplDir), RecursiveIteratorIterator::LEAVES_ONLY) as $file) { + // force compilation + if ($file->isFile() and pathinfo($file, PATHINFO_EXTENSION)=='twig') { + echo "\t$file\n"; + $twig->loadTemplate(str_replace($tplDirRoot.$tplDir.'/', '', $file)); + } + } + + } + + } + diff --git a/src/Wallabag/Wallabag/Resources/translations/uk_UA.utf8/LC_MESSAGES/uk_UA.utf8.mo b/src/Wallabag/Wallabag/Resources/translations/uk_UA.utf8/LC_MESSAGES/uk_UA.utf8.mo new file mode 100755 index 00000000..4884abf5 Binary files /dev/null and b/src/Wallabag/Wallabag/Resources/translations/uk_UA.utf8/LC_MESSAGES/uk_UA.utf8.mo differ diff --git a/src/Wallabag/Wallabag/Resources/translations/uk_UA.utf8/LC_MESSAGES/uk_UA.utf8.po b/src/Wallabag/Wallabag/Resources/translations/uk_UA.utf8/LC_MESSAGES/uk_UA.utf8.po new file mode 100755 index 00000000..08797705 --- /dev/null +++ b/src/Wallabag/Wallabag/Resources/translations/uk_UA.utf8/LC_MESSAGES/uk_UA.utf8.po @@ -0,0 +1,534 @@ +msgid "" +msgstr "" +"Project-Id-Version: wballabag\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-02-25 15:06+0300\n" +"PO-Revision-Date: 2014-02-25 15:08+0300\n" +"Last-Translator: Maryana \n" +"Language-Team: \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-KeywordsList: _;gettext;gettext_noop\n" +"X-Poedit-Basepath: .\n" +"X-Poedit-Language: Ukrainian\n" +"X-Poedit-Country: UKRAINE\n" +"X-Poedit-SourceCharset: utf-8\n" +"X-Poedit-SearchPath-0: /home/mariroz/_DEV/web/wallabag/wallabag-master-testing\n" + +msgid "wallabag, a read it later open source system" +msgstr "wallabag, сервіс відкладеного читання з відкритим кодом" + +msgid "login failed: user doesn't exist" +msgstr "увійти не вдалося: користувач не існує" + +msgid "return home" +msgstr "повернутися на головну" + +msgid "config" +msgstr "налаштування" + +msgid "Saving articles" +msgstr "Зберігання посилань" + +msgid "There are several ways to save an article:" +msgstr "Є кілька способів зберегти статтю:" + +msgid "read the documentation" +msgstr "читати документацію" + +msgid "download the extension" +msgstr "завантажити розширення" + +msgid "via F-Droid" +msgstr "через F-Droid" + +msgid " or " +msgstr "або" + +msgid "via Google Play" +msgstr "через Google Play" + +msgid "download the application" +msgstr "завантажити додаток" + +msgid "By filling this field" +msgstr "Заповнивши це поле" + +msgid "bag it!" +msgstr "зберегти!" + +msgid "Bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "З допомогою закладки: перетягніть і відпустіть посилання на панель закладок" + +msgid "Upgrading wallabag" +msgstr "Оновлення wallabag" + +msgid "Installed version" +msgstr "Встановлено ​​версію" + +msgid "Latest stable version" +msgstr "Остання стабільна версія" + +msgid "A more recent stable version is available." +msgstr "Є новіша стабільна версія." + +msgid "You are up to date." +msgstr "У вас остання версія." + +msgid "Latest dev version" +msgstr "Остання версія в розробці" + +msgid "A more recent development version is available." +msgstr "Доступна новіша версія в розробці." + +msgid "Feeds" +msgstr "Завантаження (feeds)" + +msgid "Your feed token is currently empty and must first be generated to enable feeds. Click here to generate it." +msgstr "Ваш маркер завантажень (feed token) не визначено, ви повинні спочатку згенерувати його для того, щоб активувати завантаження. Натисніть тут для його генерації." + +msgid "Unread feed" +msgstr "Завантаження непрочитаного" + +msgid "Favorites feed" +msgstr "Завантаження вибраного" + +msgid "Archive feed" +msgstr "Завантаження архіву" + +msgid "Your token:" +msgstr "Ваш маркер (token): " + +msgid "Your user id:" +msgstr "Ваш ідентифікатор користувача (user id):" + +msgid "You can regenerate your token: generate!." +msgstr "Ви можете перестворити ваш маркер: натисніть згенерувати!." + +msgid "Change your theme" +msgstr "Змінити тему" + +msgid "Theme:" +msgstr "Тема:" + +msgid "Update" +msgstr "Оновити" + +msgid "Change your language" +msgstr "Змінити мову" + +msgid "Language:" +msgstr "Мова:" + +msgid "Change your password" +msgstr "Зміна паролю" + +msgid "New password:" +msgstr "Новий пароль:" + +msgid "Password" +msgstr "Пароль" + +msgid "Repeat your new password:" +msgstr "Новий пароль ще раз:" + +msgid "Import" +msgstr "Імпортування" + +msgid "Please execute the import script locally as it can take a very long time." +msgstr "Будь ласка, виконайте сценарій імпорту локально, оскільки це може тривати досить довго." + +msgid "More info in the official documentation:" +msgstr "Більше інформації в офіційній документації:" + +msgid "Import from Pocket" +msgstr "Імпорт з Pocket-а" + +#, php-format +msgid "(you must have a %s file on your server)" +msgstr "(файл %s повинен бути присутнім на вашому сервері)" + +msgid "Import from Readability" +msgstr "Імпорт з Readability" + +msgid "Import from Instapaper" +msgstr "Імпорт з Instapaper" + +msgid "Import from wallabag" +msgstr "Імпорт з wallabag" + +msgid "Export your wallabag data" +msgstr "Експортувати ваші дані з wallabag" + +msgid "Click here" +msgstr "Клікніть тут" + +msgid "to download your database." +msgstr "щоб завантажити вашу базу даних." + +msgid "to export your wallabag data." +msgstr "щоб експортувати ваші дані wallabag." + +msgid "Cache" +msgstr "Кеш" + +msgid "to delete cache." +msgstr "щоб очистити кеш." + +msgid "You can enter multiple tags, separated by commas." +msgstr "Ви можете ввести декілька тегів, розділених комами." + +msgid "return to article" +msgstr "повернутися до статті" + +msgid "plop" +msgstr "plop" + +msgid "You can check your configuration here." +msgstr "Ви можете перевірити вашу конфігурацію тут." + +msgid "favoris" +msgstr "вибране" + +msgid "archive" +msgstr "архів" + +msgid "unread" +msgstr "непрочитане" + +msgid "by date asc" +msgstr "за датою по зростанню" + +msgid "by date" +msgstr "за датою" + +msgid "by date desc" +msgstr "за датою по спаданню" + +msgid "by title asc" +msgstr "за назвою по зростанню" + +msgid "by title" +msgstr "за назвою" + +msgid "by title desc" +msgstr "за назвою по спаданню" + +msgid "Tag" +msgstr "Тег" + +msgid "No articles found." +msgstr "Статей не знайдено." + +msgid "Toggle mark as read" +msgstr "змінити мітку прочитаного" + +msgid "toggle favorite" +msgstr "змінити мітку вибраного" + +msgid "delete" +msgstr "видалити" + +msgid "original" +msgstr "оригінал" + +msgid "estimated reading time:" +msgstr "приблизний час читання:" + +msgid "mark all the entries as read" +msgstr "відмітити всі статті як прочитані" + +msgid "results" +msgstr "результат(ів)" + +msgid "installation" +msgstr "інсталяція" + +msgid "install your wallabag" +msgstr "встановити wallabag" + +msgid "wallabag is still not installed. Please fill the below form to install it. Don't hesitate to read the documentation on wallabag website." +msgstr "wallabag ще не встановлено. Будь ласка, заповніть форму нижче, щоб його встановити. Ви можете звертутися до документації на сайті wallabag." + +msgid "Login" +msgstr "Логін" + +msgid "Repeat your password" +msgstr "Пароль ще раз" + +msgid "Install" +msgstr "Встановити" + +msgid "login to your wallabag" +msgstr "увійти до wallabag" + +msgid "Login to wallabag" +msgstr "Увійти до wallabag" + +msgid "you are in demo mode, some features may be disabled." +msgstr "ви в демонстраційному режимі, деякі функції можуть бути відключені." + +msgid "Username" +msgstr "Ім’я користувача" + +msgid "Stay signed in" +msgstr "Запам'ятати мене" + +msgid "(Do not check on public computers)" +msgstr "(Не відмічайте на загальнодоступних комп'ютерах)" + +msgid "Sign in" +msgstr "Увійти" + +msgid "favorites" +msgstr "вибране" + +msgid "estimated reading time :" +msgstr "приблизний час читання:" + +msgid "Mark all the entries as read" +msgstr "Відмітити все як прочитане" + +msgid "Return home" +msgstr "Повернутися на головну" + +msgid "Back to top" +msgstr "Догори" + +msgid "Mark as read" +msgstr "Відмітити як прочитано/не прочитано" + +msgid "Favorite" +msgstr "Вибране" + +msgid "Toggle favorite" +msgstr "Відмітити як вибране/не вибране" + +msgid "Delete" +msgstr "Видалити" + +msgid "Tweet" +msgstr "Твітнути" + +msgid "Email" +msgstr "Надіслати по e-mail" + +msgid "shaarli" +msgstr "shaarli" + +msgid "flattr" +msgstr "flattr" + +msgid "Does this article appear wrong?" +msgstr "Ця стаття виглядає не так, як треба?" + +msgid "tags:" +msgstr "теги:" + +msgid "Edit tags" +msgstr "Редагувати теги" + +msgid "save link!" +msgstr "зберегти лінк!" + +msgid "home" +msgstr "головна" + +msgid "tags" +msgstr "теги" + +msgid "logout" +msgstr "вихід" + +msgid "powered by" +msgstr "за підтримки" + +msgid "debug mode is on so cache is off." +msgstr "режим відладки включено, отже кеш виключено." + +msgid "your wallabag version:" +msgstr "версія вашого wallabag:" + +msgid "storage:" +msgstr "сховище:" + +msgid "save a link" +msgstr "зберегти лінк" + +msgid "back to home" +msgstr "назад на головну" + +msgid "toggle mark as read" +msgstr "змінити мітку на прочитано" + +msgid "tweet" +msgstr "твітнути" + +msgid "email" +msgstr "email" + +msgid "this article appears wrong?" +msgstr "ця стаття виглядає не так, як треба?" + +msgid "No link available here!" +msgstr "Немає доступних посилань!" + +msgid "Poching a link" +msgstr "Зберігання посилання" + +msgid "by filling this field" +msgstr "заповнивши це поле" + +msgid "bookmarklet: drag & drop this link to your bookmarks bar" +msgstr "з допомогою закладки: перетягніть і відпустіть посилання на панель закладок" + +msgid "your version" +msgstr "ваша версія:" + +msgid "latest stable version" +msgstr "остання стабільна версія" + +msgid "a more recent stable version is available." +msgstr "є новіша стабільна версія." + +msgid "you are up to date." +msgstr "у вас остання версія." + +msgid "latest dev version" +msgstr "остання версія в розробці" + +msgid "a more recent development version is available." +msgstr "доступна новіша версія в розробці." + +msgid "Please execute the import script locally, it can take a very long time." +msgstr "Будь ласка, виконайте сценарій імпорту локально, оскільки це може тривати досить довго." + +msgid "More infos in the official doc:" +msgstr "Більше інформації в офіційній документації:" + +msgid "import from Pocket" +msgstr "імпорт з Pocket-а" + +msgid "import from Readability" +msgstr "імпорт з Readability" + +msgid "import from Instapaper" +msgstr "імпорт з Instapaper" + +msgid "Tags" +msgstr "Теги" + +msgid "Untitled" +msgstr "Без назви" + +msgid "the link has been added successfully" +msgstr "посилання успішно додано" + +msgid "error during insertion : the link wasn't added" +msgstr "помилка при вставці: посилання не додано" + +msgid "the link has been deleted successfully" +msgstr "посилання успішно видалено" + +msgid "the link wasn't deleted" +msgstr "посилання не було видалено" + +msgid "Article not found!" +msgstr "Статтю не знайдено!" + +msgid "previous" +msgstr "попередня" + +msgid "next" +msgstr "наступна" + +msgid "in demo mode, you can't update your password" +msgstr "в демонстраційному режимі ви не можете змінювати свій пароль" + +msgid "your password has been updated" +msgstr "ваш пароль змінено" + +msgid "the two fields have to be filled & the password must be the same in the two fields" +msgstr "обидва поля повинні бути заповнені і пароль повинен співпадати в обох" + +msgid "still using the \"" +msgstr "досі використовується \"" + +msgid "that theme does not seem to be installed" +msgstr "виглядає, що цю тему не було встановлено" + +msgid "you have changed your theme preferences" +msgstr "ви змінили налаштування своєї теми" + +msgid "that language does not seem to be installed" +msgstr "виглядає, що цю мову не було встановлено" + +msgid "you have changed your language preferences" +msgstr "ви змінили свої налаштування мови" + +msgid "login failed: you have to fill all fields" +msgstr "увійти не вдалося: ви повинні заповнити всі поля" + +msgid "welcome to your wallabag" +msgstr "ласкаво просимо до вашого wallabag" + +msgid "login failed: bad login or password" +msgstr "увійти не вдалося: не вірний логін або пароль" + +msgid "import from instapaper completed" +msgstr "імпорт з instapaper-а завершено" + +msgid "import from pocket completed" +msgstr "імпорт з pocket-а завершено" + +msgid "import from Readability completed. " +msgstr "імпорт з Readability завершено" + +msgid "import from Poche completed. " +msgstr "імпорт з Poche завершено." + +msgid "Unknown import provider." +msgstr "Невідомий провайдер імпорту." + +msgid "Incomplete inc/poche/define.inc.php file, please define \"" +msgstr "Неповний файл inc/poche/define.inc.php, будь ласка, визначте \"" + +msgid "Could not find required \"" +msgstr "Не вдалося знайти потрібний \"" + +msgid "Uh, there is a problem while generating feeds." +msgstr "Ох, є проблема при створенні завантажень (feeds)." + +msgid "Cache deleted." +msgstr "Кеш очищено." + +msgid "Oops, it seems you don't have PHP 5." +msgstr "Упс, здається, у вас немає PHP 5." + +#~ msgid "You can poche a link by several methods:" +#~ msgstr "Ви можете зберегти посилання кількома способами:" + +#~ msgid "poche it!" +#~ msgstr "зберегти!" + +#~ msgid "Updating poche" +#~ msgstr "Оновлення poche" + +#, fuzzy +#~ msgid "Export your poche datas" +#~ msgstr "Експортувати ваші дані з poche" + +#, fuzzy +#~ msgid "to export your poche datas." +#~ msgstr "щоб експортувати ваші дані poche." + +#~ msgid "Import from poche" +#~ msgstr "Імпорт з poche" + +#~ msgid "welcome to your poche" +#~ msgstr "ласкаво просимо до вашого poche" + +#~ msgid "see you soon!" +#~ msgstr "бувайте, ще побачимось!" diff --git a/src/Wallabag/Wallabag/Routing.php b/src/Wallabag/Wallabag/Routing.php new file mode 100755 index 00000000..85b6af1e --- /dev/null +++ b/src/Wallabag/Wallabag/Routing.php @@ -0,0 +1,163 @@ + + * @copyright 2013 + * @license http://opensource.org/licenses/MIT see COPYING file + */ + +namespace Wallabag\Wallabag; + +class Routing +{ + protected $wallabag; + protected $referer; + protected $view; + protected $action; + protected $id; + protected $url; + protected $file; + protected $defaultVars = array(); + protected $vars = array(); + + public function __construct(Wallabag $wallabag) + { + $this->wallabag = $wallabag; + $this->_init(); + } + + private function _init() + { + # Parse GET & REFERER vars + $this->referer = empty($_SERVER['HTTP_REFERER']) ? '' : $_SERVER['HTTP_REFERER']; + $this->view = Tools::checkVar('view', 'home'); + $this->action = Tools::checkVar('action'); + $this->id = Tools::checkVar('id'); + $_SESSION['sort'] = Tools::checkVar('sort', 'id'); + $this->url = new Url((isset ($_GET['url'])) ? $_GET['url'] : ''); + } + + public function run() + { + # vars to _always_ send to templates + $this->defaultVars = array( + 'referer' => $this->referer, + 'view' => $this->view, + 'poche_url' => Tools::getPocheUrl(), + 'title' => _('wallabag, a read it later open source system'), + 'token' => \Session::getToken(), + 'theme' => $this->wallabag->tpl->getTheme() + ); + + $this->_launchAction(); + $this->_defineTplInformation(); + + # because messages can be added in $poche->action(), we have to add this entry now (we can add it before) + $this->vars = array_merge($this->vars, array('messages' => $this->wallabag->messages->display('all', FALSE))); + + $this->_render($this->file, $this->vars); + } + + private function _defineTplInformation() + { + $tplFile = array(); + $tplVars = array(); + + if (\Session::isLogged()) { + $this->wallabag->action($this->action, $this->url, $this->id); + $tplFile = Tools::getTplFile($this->view); + $tplVars = array_merge($this->vars, $this->wallabag->displayView($this->view, $this->id)); + } elseif(isset($_SERVER['PHP_AUTH_USER'])) { + if($this->wallabag->store->userExists($_SERVER['PHP_AUTH_USER'])) { + $this->wallabag->login($this->referer); + } else { + $this->wallabag->messages->add('e', _('login failed: user doesn\'t exist')); + Tools::logm('user doesn\'t exist'); + $tplFile = Tools::getTplFile('login'); + $tplVars['http_auth'] = 1; + } + } elseif(isset($_SERVER['REMOTE_USER'])) { + if($this->wallabag->store->userExists($_SERVER['REMOTE_USER'])) { + $this->wallabag->login($this->referer); + } else { + $this->wallabag->messages->add('e', _('login failed: user doesn\'t exist')); + Tools::logm('user doesn\'t exist'); + $tplFile = Tools::getTplFile('login'); + $tplVars['http_auth'] = 1; + } + } else { + $tplFile = Tools::getTplFile('login'); + $tplVars['http_auth'] = 0; + \Session::logout(); + } + + $this->file = $tplFile; + $this->vars = array_merge($this->defaultVars, $tplVars); + } + + private function _launchAction() + { + if (isset($_GET['login'])) { + // hello to you + $this->wallabag->login($this->referer); + } elseif (isset($_GET['feed']) && isset($_GET['user_id'])) { + $tag_id = (isset($_GET['tag_id']) ? intval($_GET['tag_id']) : 0); + $limit = (isset($_GET['limit']) ? intval($_GET['limit']) : 0); + $this->wallabag->generateFeeds($_GET['token'], filter_var($_GET['user_id'],FILTER_SANITIZE_NUMBER_INT), $tag_id, $_GET['type'], $limit); + } + + //allowed ONLY to logged in user + if (\Session::isLogged() === true) + { + if (isset($_GET['logout'])) { + // see you soon ! + $this->wallabag->logout(); + } elseif (isset($_GET['config'])) { + // update password + $this->wallabag->updatePassword($_POST['password'], $_POST['password_repeat']); + } elseif (isset($_GET['newuser'])) { + $this->wallabag->createNewUser($_POST['newusername'], $_POST['password4newuser']); + } elseif (isset($_GET['deluser'])) { + $this->wallabag->deleteUser($_POST['password4deletinguser']); + } elseif (isset($_GET['epub'])) { + $epub = new WallabagEpub($this->wallabag, $_GET['method'], $_GET['value']); + $epub->prepareData(); + $epub->produceEpub(); + } elseif (isset($_GET['mobi'])) { + $mobi = new WallabagMobi($this->wallabag, $_GET['method'], $_GET['value']); + $mobi->prepareData(); + $mobi->produceMobi(); + } elseif (isset($_GET['pdf'])) { + $pdf = new WallabagPDF($this->wallabag, $_GET['method'], $_GET['value']); + $pdf->prepareData(); + $pdf->producePDF(); + } elseif (isset($_GET['import'])) { + $import = $this->wallabag->import(); + $tplVars = array_merge($this->vars, $import); + } elseif (isset($_GET['empty-cache'])) { + Tools::emptyCache(); + } elseif (isset($_GET['export'])) { + $this->wallabag->export(); + } elseif (isset($_GET['updatetheme'])) { + $this->wallabag->tpl->updateTheme($_POST['theme']); + } elseif (isset($_GET['updatelanguage'])) { + $this->wallabag->language->updateLanguage($_POST['language']); + } elseif (isset($_GET['uploadfile'])) { + $this->wallabag->uploadFile(); + } elseif (isset($_GET['feed']) && isset($_GET['action']) && $_GET['action'] == 'generate') { + $this->wallabag->updateToken(); + } + elseif (isset($_GET['plainurl']) && !empty($_GET['plainurl'])) { + $plainUrl = new Url(base64_encode($_GET['plainurl'])); + $this->wallabag->action('add', $plainUrl); + } + } + } + + public function _render($file, $vars) + { + echo $this->wallabag->tpl->render($file, $vars); + } +} diff --git a/src/Wallabag/Wallabag/Template.php b/src/Wallabag/Wallabag/Template.php new file mode 100644 index 00000000..e8a6daa3 --- /dev/null +++ b/src/Wallabag/Wallabag/Template.php @@ -0,0 +1,237 @@ + + * @copyright 2013 + * @license http://opensource.org/licenses/MIT see COPYING file + */ + +namespace Wallabag\Wallabag; + +class Template extends Twig_Environment +{ + protected $wallabag; + + private $canRenderTemplates = TRUE; + private $currentTheme = ''; + + public function __construct(Wallabag $wallabag) + { + $this->wallabag = $wallabag; + + // Set up theme + $pocheUser = Session::getParam('poche_user'); + + $themeDirectory = (is_null($pocheUser) ? DEFAULT_THEME : $pocheUser->getConfigValue('theme')); + + if ($themeDirectory === false || !is_dir(THEME . '/' . $themeDirectory)) { + $themeDirectory = DEFAULT_THEME; + } + + $this->currentTheme = $themeDirectory; + + if ($this->_themeIsInstalled() === array()) { + $this->_init(); + } + } + + /** + * Returns true if selected theme is installed + * + * @return bool + */ + private function _themeIsInstalled() + { + $errors = array(); + + // Twig is an absolute requirement for wallabag to function. + // Abort immediately if the Composer installer hasn't been run yet + if (!$this->canRenderTemplates) { + $errors[] = 'Twig does not seem to be installed. Please initialize the Composer installation to automatically fetch dependencies. You can also download vendor.zip and extract it in your wallabag folder.'; + } + + // Check if the selected theme and its requirements are present + $theme = $this->getTheme(); + if ($theme != '' && !is_dir(THEME . '/' . $theme)) { + $errors[] = 'The currently selected theme (' . $theme . ') does not seem to be properly installed (Missing directory: ' . THEME . '/' . $theme . ')'; + $this->canRenderTemplates = FALSE; + } + + $themeInfo = $this->getThemeInfo($theme); + if (isset($themeInfo['requirements']) && is_array($themeInfo['requirements'])) { + foreach ($themeInfo['requirements'] as $requiredTheme) { + if (! is_dir(THEME . '/' . $requiredTheme)) { + $errors[] = 'The required "' . $requiredTheme . '" theme is missing for the current theme (' . $theme . ')'; + $this->canRenderTemplates = FALSE; + } + } + } + + $currentErrors = (is_null(Session::getParam('errors'))? array() : Session::getParam('errors')); + Session::setParam('errors', array_merge($errors, $currentErrors)); + + return $errors; + } + + /** + * Initialization for templates + */ + private function _init() + { + $loaderChain = new Twig_Loader_Chain(); + $theme = $this->getTheme(); + + // add the current theme as first to the loader chain + // so Twig will look there first for overridden template files + try { + $loaderChain->addLoader(new Twig_Loader_Filesystem(THEME . '/' . $theme)); + } catch (Twig_Error_Loader $e) { + # @todo isInstalled() should catch this, inject Twig later + die('The currently selected theme (' . $theme . ') does not seem to be properly installed (' . THEME . '/' . $theme .' is missing)'); + } + + // add all required themes to the loader chain + $themeInfo = $this->getThemeInfo($theme); + if (isset($themeInfo['requirements']) && is_array($themeInfo['requirements'])) { + foreach ($themeInfo['requirements'] as $requiredTheme) { + try { + $loaderChain->addLoader(new Twig_Loader_Filesystem(THEME . '/' . $requiredTheme)); + } catch (Twig_Error_Loader $e) { + # @todo isInstalled() should catch this, inject Twig later + die('The required "' . $requiredTheme . '" theme is missing for the current theme (' . $theme . ')'); + } + } + } + + if (DEBUG_POCHE) { + $twigParams = array(); + } else { + $twigParams = array('cache' => CACHE); + } + + parent::__construct($loaderChain, $twigParams); + + //$tpl = new Twig_Environment($loaderChain, $twigParams); + $this->addExtension(new Twig_Extensions_Extension_I18n()); + + # filter to display domain name of an url + $filter = new Twig_SimpleFilter('getDomain', 'Tools::getDomain'); + $this->addFilter($filter); + + # filter for reading time + $filter = new Twig_SimpleFilter('getReadingTime', 'Tools::getReadingTime'); + $this->addFilter($filter); + } + + /** + * Returns current theme + * + * @return string + */ + public function getTheme() + { + return $this->currentTheme; + } + + /** + * Provides theme information by parsing theme.ini file if present in the theme's root directory. + * In all cases, the following data will be returned: + * - name: theme's name, or key if the theme is unnamed, + * - current: boolean informing if the theme is the current user theme. + * + * @param string $theme Theme key (directory name) + * @return array|boolean Theme information, or false if the theme doesn't exist. + */ + public function getThemeInfo($theme) + { + if (!is_dir(THEME . '/' . $theme)) { + return false; + } + + $themeIniFile = THEME . '/' . $theme . '/theme.ini'; + $themeInfo = array(); + + if (is_file($themeIniFile) && is_readable($themeIniFile)) { + $themeInfo = parse_ini_file($themeIniFile); + } + + if ($themeInfo === false) { + $themeInfo = array(); + } + + if (!isset($themeInfo['name'])) { + $themeInfo['name'] = $theme; + } + + $themeInfo['current'] = ($theme === $this->getTheme()); + + return $themeInfo; + } + + /** + * Returns an array with installed themes + * + * @return array + */ + public function getInstalledThemes() + { + $handle = opendir(THEME); + $themes = array(); + + while (($theme = readdir($handle)) !== false) { + # Themes are stored in a directory, so all directory names are themes + # @todo move theme installation data to database + if (!is_dir(THEME . '/' . $theme) || in_array($theme, array('.', '..', '_global'))) { + continue; + } + + $themes[$theme] = $this->getThemeInfo($theme); + } + + ksort($themes); + + return $themes; + } + + /** + * Update theme for the current user + * + * @param $newTheme + */ + public function updateTheme($newTheme) + { + # we are not going to change it to the current theme... + if ($newTheme == $this->getTheme()) { + $this->wallabag->messages->add('w', _('still using the "' . $this->getTheme() . '" theme!')); + Tools::redirect('?view=config'); + } + + $themes = $this->getInstalledThemes(); + $actualTheme = false; + + foreach (array_keys($themes) as $theme) { + if ($theme == $newTheme) { + $actualTheme = true; + break; + } + } + + if (!$actualTheme) { + $this->wallabag->messages->add('e', _('that theme does not seem to be installed')); + Tools::redirect('?view=config'); + } + + $this->wallabag->store->updateUserConfig($this->wallabag->user->getId(), 'theme', $newTheme); + $this->wallabag->messages->add('s', _('you have changed your theme preferences')); + + $currentConfig = $_SESSION['poche_user']->config; + $currentConfig['theme'] = $newTheme; + + $_SESSION['poche_user']->setConfig($currentConfig); + + Tools::emptyCache(); + Tools::redirect('?view=config'); + } +} diff --git a/src/Wallabag/Wallabag/Tools.php b/src/Wallabag/Wallabag/Tools.php new file mode 100755 index 00000000..19d98614 --- /dev/null +++ b/src/Wallabag/Wallabag/Tools.php @@ -0,0 +1,422 @@ + + * @copyright 2013 + * @license http://opensource.org/licenses/MIT see COPYING file + */ + +namespace Wallabag\Wallabag; + +final class Tools +{ + /** + * Initialize PHP environment + */ + public static function initPhp() + { + define('START_TIME', microtime(true)); + + function stripslashesDeep($value) { + return is_array($value) + ? array_map('stripslashesDeep', $value) + : stripslashes($value); + } + + if (get_magic_quotes_gpc()) { + $_POST = array_map('stripslashesDeep', $_POST); + $_GET = array_map('stripslashesDeep', $_GET); + $_COOKIE = array_map('stripslashesDeep', $_COOKIE); + } + + ob_start(); + register_shutdown_function('ob_end_flush'); + } + + /** + * Get wallabag instance URL + * + * @return string + */ + public static function getPocheUrl() + { + $https = (!empty($_SERVER['HTTPS']) + && (strtolower($_SERVER['HTTPS']) == 'on')) + || (isset($_SERVER["SERVER_PORT"]) + && $_SERVER["SERVER_PORT"] == '443') // HTTPS detection. + || (isset($_SERVER["SERVER_PORT"]) //Custom HTTPS port detection + && $_SERVER["SERVER_PORT"] == SSL_PORT) + || (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) + && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'); + + $serverport = (!isset($_SERVER["SERVER_PORT"]) + || $_SERVER["SERVER_PORT"] == '80' + || $_SERVER["SERVER_PORT"] == HTTP_PORT + || ($https && $_SERVER["SERVER_PORT"] == '443') + || ($https && $_SERVER["SERVER_PORT"]==SSL_PORT) //Custom HTTPS port detection + ? '' : ':' . $_SERVER["SERVER_PORT"]); + + if (isset($_SERVER["HTTP_X_FORWARDED_PORT"])) { + $serverport = ':' . $_SERVER["HTTP_X_FORWARDED_PORT"]; + } + + $scriptname = str_replace('/index.php', '/', $_SERVER["SCRIPT_NAME"]); + + if (!isset($_SERVER["HTTP_HOST"])) { + return $scriptname; + } + + $host = (isset($_SERVER['HTTP_X_FORWARDED_HOST']) ? $_SERVER['HTTP_X_FORWARDED_HOST'] : (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME'])); + + if (strpos($host, ':') !== false) { + $serverport = ''; + } + + return 'http' . ($https ? 's' : '') . '://' + . $host . $serverport . $scriptname; + } + + /** + * Redirects to a URL + * + * @param string $url + */ + public static function redirect($url = '') + { + if ($url === '') { + $url = (empty($_SERVER['HTTP_REFERER'])?'?':$_SERVER['HTTP_REFERER']); + if (isset($_POST['returnurl'])) { + $url = $_POST['returnurl']; + } + } + + # prevent loop + if (empty($url) || parse_url($url, PHP_URL_QUERY) === $_SERVER['QUERY_STRING']) { + $url = Tools::getPocheUrl(); + } + + if (substr($url, 0, 1) !== '?') { + $ref = Tools::getPocheUrl(); + if (substr($url, 0, strlen($ref)) !== $ref) { + $url = $ref; + } + } + + self::logm('redirect to ' . $url); + header('Location: '.$url); + exit(); + } + + /** + * Returns name of the template file to display + * + * @param $view + * @return string + */ + public static function getTplFile($view) + { + $views = array( + 'install', 'import', 'export', 'config', 'tags', + 'edit-tags', 'view', 'login', 'error', 'about' + ); + + return (in_array($view, $views) ? $view . '.twig' : 'home.twig'); + } + + /** + * Download a file (typically, for downloading pictures on web server) + * + * @param $url + * @return bool|mixed|string + */ + public static function getFile($url) + { + $timeout = 15; + $useragent = "Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0"; + + if (in_array ('curl', get_loaded_extensions())) { + # Fetch feed from URL + $curl = curl_init(); + curl_setopt($curl, CURLOPT_URL, $url); + curl_setopt($curl, CURLOPT_TIMEOUT, $timeout); + if (!ini_get('open_basedir') && !ini_get('safe_mode')) { + curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); + } + curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); + curl_setopt($curl, CURLOPT_HEADER, false); + + # for ssl, do not verified certificate + curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE); + curl_setopt($curl, CURLOPT_AUTOREFERER, TRUE ); + + # FeedBurner requires a proper USER-AGENT... + curl_setopt($curl, CURL_HTTP_VERSION_1_1, true); + curl_setopt($curl, CURLOPT_ENCODING, "gzip, deflate"); + curl_setopt($curl, CURLOPT_USERAGENT, $useragent); + + $data = curl_exec($curl); + $httpcode = curl_getinfo($curl, CURLINFO_HTTP_CODE); + $httpcodeOK = isset($httpcode) and ($httpcode == 200 or $httpcode == 301); + curl_close($curl); + } else { + # create http context and add timeout and user-agent + $context = stream_context_create( + array( + 'http' => array( + 'timeout' => $timeout, + 'header' => "User-Agent: " . $useragent, + 'follow_location' => true + ), + 'ssl' => array( + 'verify_peer' => false, + 'allow_self_signed' => true + ) + ) + ); + + # only download page lesser than 4MB + $data = @file_get_contents($url, false, $context, -1, 4000000); + + if (isset($http_response_header) and isset($http_response_header[0])) { + $httpcodeOK = isset($http_response_header) and isset($http_response_header[0]) and ((strpos($http_response_header[0], '200 OK') !== FALSE) or (strpos($http_response_header[0], '301 Moved Permanently') !== FALSE)); + } + } + + # if response is not empty and response is OK + if (isset($data) and isset($httpcodeOK) and $httpcodeOK) { + + # take charset of page and get it + preg_match('##Usi', $data, $meta); + + # if meta tag is found + if (!empty($meta[0])) { + preg_match('#charset="?(.*)"#si', $meta[0], $encoding); + # if charset is found set it otherwise, set it to utf-8 + $html_charset = (!empty($encoding[1])) ? strtolower($encoding[1]) : 'utf-8'; + if (empty($encoding[1])) $encoding[1] = 'utf-8'; + } else { + $html_charset = 'utf-8'; + $encoding[1] = ''; + } + + # replace charset of url to charset of page + $data = str_replace('charset=' . $encoding[1], 'charset=' . $html_charset, $data); + + return $data; + } + else { + return FALSE; + } + } + + /** + * Headers for JSON export + * + * @param $data + */ + public static function renderJson($data) + { + header('Cache-Control: no-cache, must-revalidate'); + header('Expires: Sat, 26 Jul 1997 05:00:00 GMT'); + header('Content-type: application/json; charset=UTF-8'); + echo json_encode($data); + exit(); + } + + /** + * Create new line in log file + * + * @param $message + */ + public static function logm($message) + { + if (DEBUG_POCHE && php_sapi_name() != 'cli') { + $t = strval(date('Y/m/d_H:i:s')) . ' - ' . $_SERVER["REMOTE_ADDR"] . ' - ' . strval($message) . "\n"; + file_put_contents(CACHE . '/log.txt', $t, FILE_APPEND); + error_log('DEBUG POCHE : ' . $message); + } + } + + /** + * Encode a URL by using a salt + * + * @param $string + * @return string + */ + public static function encodeString($string) + { + return sha1($string . SALT); + } + + /** + * Cleans a variable + * + * @param $var + * @param string $default + * @return string + */ + public static function checkVar($var, $default = '') + { + return ((isset($_REQUEST["$var"])) ? htmlentities($_REQUEST["$var"]) : $default); + } + + /** + * Returns the domain name for a URL + * + * @param $url + * @return string + */ + public static function getDomain($url) + { + return parse_url($url, PHP_URL_HOST); + } + + /** + * For a given text, we calculate reading time for an article + * + * @param $text + * @return float + */ + public static function getReadingTime($text) + { + return floor(str_word_count(strip_tags($text)) / 200); + } + + /** + * Returns the correct header for a status code + * + * @param $status_code + */ + private static function _status($status_code) + { + if (strpos(php_sapi_name(), 'apache') !== false) { + + header('HTTP/1.0 '.$status_code); + } + else { + + header('Status: '.$status_code); + } + } + + /** + * Get the content for a given URL (by a call to FullTextFeed) + * + * @param Url $url + * @return mixed + */ + public static function getPageContent(Url $url) + { + // Saving and clearing context + $REAL = array(); + foreach( $GLOBALS as $key => $value ) { + if( $key != 'GLOBALS' && $key != '_SESSION' && $key != 'HTTP_SESSION_VARS' ) { + $GLOBALS[$key] = array(); + $REAL[$key] = $value; + } + } + // Saving and clearing session + if (isset($_SESSION)) { + $REAL_SESSION = array(); + foreach( $_SESSION as $key => $value ) { + $REAL_SESSION[$key] = $value; + unset($_SESSION[$key]); + } + } + + // Running code in different context + $scope = function() { + extract( func_get_arg(1) ); + $_GET = $_REQUEST = array( + "url" => $url->getUrl(), + "max" => 5, + "links" => "preserve", + "exc" => "", + "format" => "json", + "submit" => "Create Feed" + ); + ob_start(); + require func_get_arg(0); + $json = ob_get_contents(); + ob_end_clean(); + return $json; + }; + + // Silence $scope function to avoid + // issues with FTRSS when error_reporting is to high + // FTRSS generates PHP warnings which break output + $json = @$scope("vendor/wallabag/Fivefilters_Libraries/makefulltextfeed.php", array("url" => $url)); + + // Clearing and restoring context + foreach ($GLOBALS as $key => $value) { + if($key != "GLOBALS" && $key != "_SESSION" ) { + unset($GLOBALS[$key]); + } + } + foreach ($REAL as $key => $value) { + $GLOBALS[$key] = $value; + } + + // Clearing and restoring session + if (isset($REAL_SESSION)) { + foreach($_SESSION as $key => $value) { + unset($_SESSION[$key]); + } + + foreach($REAL_SESSION as $key => $value) { + $_SESSION[$key] = $value; + } + } + + return json_decode($json, true); + } + + /** + * Returns whether we handle an AJAX (XMLHttpRequest) request. + * + * @return boolean whether we handle an AJAX (XMLHttpRequest) request. + */ + public static function isAjaxRequest() + { + return isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER['HTTP_X_REQUESTED_WITH']==='XMLHttpRequest'; + } + + /* + * Empty cache folder + */ + public static function emptyCache() + { + $files = new RecursiveIteratorIterator( + new RecursiveDirectoryIterator(CACHE, RecursiveDirectoryIterator::SKIP_DOTS), + RecursiveIteratorIterator::CHILD_FIRST + ); + + foreach ($files as $fileInfo) { + $todo = ($fileInfo->isDir() ? 'rmdir' : 'unlink'); + $todo($fileInfo->getRealPath()); + } + + Tools::logm('empty cache'); + Tools::redirect(); + } + + public static function generateToken() + { + if (ini_get('open_basedir') === '') { + if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { + // alternative to /dev/urandom for Windows + $token = substr(base64_encode(uniqid(mt_rand(), true)), 0, 20); + } else { + $token = substr(base64_encode(file_get_contents('/dev/urandom', false, null, 0, 20)), 0, 15); + } + } + else { + $token = substr(base64_encode(uniqid(mt_rand(), true)), 0, 20); + } + + return str_replace('+', '', $token); + } + +} diff --git a/src/Wallabag/Wallabag/Url.php b/src/Wallabag/Wallabag/Url.php new file mode 100644 index 00000000..b18fe3d4 --- /dev/null +++ b/src/Wallabag/Wallabag/Url.php @@ -0,0 +1,33 @@ + + * @copyright 2013 + * @license http://opensource.org/licenses/MIT see COPYING file + */ + +namespace Wallabag\Wallabag; + +class Url +{ + public $url; + + function __construct($url) + { + $this->url = base64_decode($url); + } + + public function getUrl() { + return $this->url; + } + + public function setUrl($url) { + $this->url = $url; + } + + public function isCorrect() { + return filter_var($this->url, FILTER_VALIDATE_URL) !== FALSE; + } +} \ No newline at end of file diff --git a/src/Wallabag/Wallabag/User.php b/src/Wallabag/Wallabag/User.php new file mode 100644 index 00000000..4a10c2ed --- /dev/null +++ b/src/Wallabag/Wallabag/User.php @@ -0,0 +1,59 @@ + + * @copyright 2013 + * @license http://opensource.org/licenses/MIT see COPYING file + */ + +namespace Wallabag\Wallabag; + +class User +{ + public $id; + public $username; + public $name; + public $password; + public $email; + public $config; + + function __construct($user = array()) + { + if ($user != array()) { + $this->id = $user['id']; + $this->username = $user['username']; + $this->name = $user['name']; + $this->password = $user['password']; + $this->email = $user['email']; + $this->config = $user['config']; + } + } + + public function getId() + { + return $this->id; + } + + public function getUsername() + { + return $this->username; + } + + public function setConfig($config) + { + $this->config = $config; + } + + /** + * Returns configuration entry for a user + * + * @param $name + * @return bool + */ + public function getConfigValue($name) + { + return (isset($this->config[$name])) ? $this->config[$name] : FALSE; + } +} \ No newline at end of file diff --git a/src/Wallabag/Wallabag/Wallabag.php b/src/Wallabag/Wallabag/Wallabag.php new file mode 100755 index 00000000..c172a95d --- /dev/null +++ b/src/Wallabag/Wallabag/Wallabag.php @@ -0,0 +1,861 @@ + + * @copyright 2013 + * @license http://opensource.org/licenses/MIT see COPYING file + */ + +namespace Wallabag\Wallabag; + +class Wallabag +{ + /** + * @var User + */ + public $user; + /** + * @var Database + */ + public $store; + /** + * @var Template + */ + public $tpl; + /** + * @var Language + */ + public $language; + /** + * @var Routing + */ + public $routing; + /** + * @var Messages + */ + public $messages; + /** + * @var Paginator + */ + public $pagination; + + public function __construct() + { + $this->init(); + } + + private function init() + { + Tools::initPhp(); + + $pocheUser = Session::getParam('poche_user'); + + if ($pocheUser && $pocheUser != array()) { + $this->user = $pocheUser; + } else { + // fake user, just for install & login screens + $this->user = new User(); + $this->user->setConfig($this->getDefaultConfig()); + } + + $this->pagination = new Paginator($this->user->getConfigValue('pager'), 'p'); + $this->language = new Language($this); + $this->tpl = new Template($this); + $this->store = new Database(); + $this->messages = new Messages(); + $this->routing = new Routing($this); + } + + public function run() + { + $this->routing->run(); + } + + /** + * Creates a new user + */ + public function createNewUser($username, $password, $email = "") + { + if (!empty($username) && !empty($password)){ + $newUsername = filter_var($username, FILTER_SANITIZE_STRING); + $email = filter_var($email, FILTER_SANITIZE_STRING); + if (!$this->store->userExists($newUsername)){ + if ($this->store->install($newUsername, Tools::encodeString($password . $newUsername), $email)) { + Tools::logm('The new user ' . $newUsername . ' has been installed'); + $this->messages->add('s', sprintf(_('The new user %s has been installed. Do you want to logout ?'), $newUsername)); + Tools::redirect(); + } + else { + Tools::logm('error during adding new user'); + Tools::redirect(); + } + } + else { + $this->messages->add('e', sprintf(_('Error : An user with the name %s already exists !'), $newUsername)); + Tools::logm('An user with the name ' . $newUsername . ' already exists !'); + Tools::redirect(); + } + } + } + + /** + * Delete an existing user + */ + public function deleteUser($password) + { + if ($this->store->listUsers() > 1) { + if (Tools::encodeString($password . $this->user->getUsername()) == $this->store->getUserPassword($this->user->getId())) { + $username = $this->user->getUsername(); + $this->store->deleteUserConfig($this->user->getId()); + Tools::logm('The configuration for user '. $username .' has been deleted !'); + $this->store->deleteTagsEntriesAndEntries($this->user->getId()); + Tools::logm('The entries for user '. $username .' has been deleted !'); + $this->store->deleteUser($this->user->getId()); + Tools::logm('User '. $username .' has been completely deleted !'); + Session::logout(); + Tools::logm('logout'); + Tools::redirect(); + $this->messages->add('s', sprintf(_('User %s has been successfully deleted !'), $username)); + } + else { + Tools::logm('Bad password !'); + $this->messages->add('e', _('Error : The password is wrong !')); + } + } + else { + Tools::logm('Only user !'); + $this->messages->add('e', _('Error : You are the only user, you cannot delete your account !')); + } + } + + public function getDefaultConfig() + { + return array( + 'pager' => PAGINATION, + 'language' => LANG, + 'theme' => DEFAULT_THEME + ); + } + + /** + * Call action (mark as fav, archive, delete, etc.) + */ + public function action($action, Url $url, $id = 0, $import = FALSE, $autoclose = FALSE, $tags = null) + { + switch ($action) + { + case 'add': + $content = Tools::getPageContent($url); + $title = ($content['rss']['channel']['item']['title'] != '') ? $content['rss']['channel']['item']['title'] : _('Untitled'); + $body = $content['rss']['channel']['item']['description']; + + // clean content from prevent xss attack + $purifier = $this->_getPurifier(); + $title = $purifier->purify($title); + $body = $purifier->purify($body); + + //search for possible duplicate + $duplicate = NULL; + $duplicate = $this->store->retrieveOneByURL($url->getUrl(), $this->user->getId()); + + $last_id = $this->store->add($url->getUrl(), $title, $body, $this->user->getId()); + if ( $last_id ) { + Tools::logm('add link ' . $url->getUrl()); + if (DOWNLOAD_PICTURES) { + $content = Picture::filterPicture($body, $url->getUrl(), $last_id); + Tools::logm('updating content article'); + $this->store->updateContent($last_id, $content, $this->user->getId()); + } + + if ($duplicate != NULL) { + // duplicate exists, so, older entry needs to be deleted (as new entry should go to the top of list), BUT favorite mark and tags should be preserved + Tools::logm('link ' . $url->getUrl() . ' is a duplicate'); + // 1) - preserve tags and favorite, then drop old entry + $this->store->reassignTags($duplicate['id'], $last_id); + if ($duplicate['is_fav']) { + $this->store->favoriteById($last_id, $this->user->getId()); + } + if ($this->store->deleteById($duplicate['id'], $this->user->getId())) { + Tools::logm('previous link ' . $url->getUrl() .' entry deleted'); + } + } + + // if there are tags, add them to the new article + if (isset($_GET['tags'])) { + $_POST['value'] = $_GET['tags']; + $_POST['entry_id'] = $last_id; + $this->action('add_tag', $url); + } + + $this->messages->add('s', _('the link has been added successfully')); + } + else { + $this->messages->add('e', _('error during insertion : the link wasn\'t added')); + Tools::logm('error during insertion : the link wasn\'t added ' . $url->getUrl()); + } + + if ($autoclose == TRUE) { + Tools::redirect('?view=home'); + } else { + Tools::redirect('?view=home&closewin=true'); + } + break; + case 'delete': + if (isset($_GET['search'])) { + //when we want to apply a delete to a search + $tags = array($_GET['search']); + $allentry_ids = $this->store->search($tags[0], $this->user->getId()); + $entry_ids = array(); + foreach ($allentry_ids as $eachentry) { + $entry_ids[] = $eachentry[0]; + } + } else { // delete a single article + $entry_ids = array($id); + } + foreach($entry_ids as $id) { + $msg = 'delete link #' . $id; + if ($this->store->deleteById($id, $this->user->getId())) { + if (DOWNLOAD_PICTURES) { + Picture::removeDirectory(ABS_PATH . $id); + } + $this->messages->add('s', _('the link has been deleted successfully')); + } + else { + $this->messages->add('e', _('the link wasn\'t deleted')); + $msg = 'error : can\'t delete link #' . $id; + } + Tools::logm($msg); + } + Tools::redirect('?'); + break; + case 'toggle_fav' : + $this->store->favoriteById($id, $this->user->getId()); + Tools::logm('mark as favorite link #' . $id); + if ( Tools::isAjaxRequest() ) { + echo 1; + exit; + } + else { + Tools::redirect(); + } + break; + case 'toggle_archive' : + if (isset($_GET['tag_id'])) { + //when we want to archive a whole tag + $tag_id = $_GET['tag_id']; + $allentry_ids = $this->store->retrieveEntriesByTag($tag_id, $this->user->getId()); + $entry_ids = array(); + foreach ($allentry_ids as $eachentry) { + $entry_ids[] = $eachentry[0]; + } + } else { //archive a single article + $entry_ids = array($id); + } + foreach($entry_ids as $id) { + $this->store->archiveById($id, $this->user->getId()); + Tools::logm('archive link #' . $id); + } + if ( Tools::isAjaxRequest() ) { + echo 1; + exit; + } + else { + Tools::redirect(); + } + break; + case 'archive_all' : + $this->store->archiveAll($this->user->getId()); + Tools::logm('archive all links'); + Tools::redirect(); + break; + case 'add_tag' : + if (isset($_GET['search'])) { + //when we want to apply a tag to a search + $tags = array($_GET['search']); + $allentry_ids = $this->store->search($tags[0], $this->user->getId()); + $entry_ids = array(); + foreach ($allentry_ids as $eachentry) { + $entry_ids[] = $eachentry[0]; + } + } else { //add a tag to a single article + $tags = explode(',', $_POST['value']); + $entry_ids = array($_POST['entry_id']); + } + foreach($entry_ids as $entry_id) { + $entry = $this->store->retrieveOneById($entry_id, $this->user->getId()); + if (!$entry) { + $this->messages->add('e', _('Article not found!')); + Tools::logm('error : article not found'); + Tools::redirect(); + } + //get all already set tags to preven duplicates + $already_set_tags = array(); + $entry_tags = $this->store->retrieveTagsByEntry($entry_id); + foreach ($entry_tags as $tag) { + $already_set_tags[] = $tag['value']; + } + foreach($tags as $key => $tag_value) { + $value = trim($tag_value); + if ($value && !in_array($value, $already_set_tags)) { + $tag = $this->store->retrieveTagByValue($value); + if (is_null($tag)) { + # we create the tag + $tag = $this->store->createTag($value); + $sequence = ''; + if (STORAGE == 'postgres') { + $sequence = 'tags_id_seq'; + } + $tag_id = $this->store->getLastId($sequence); + } + else { + $tag_id = $tag['id']; + } + + # we assign the tag to the article + $this->store->setTagToEntry($tag_id, $entry_id); + } + } + } + $this->messages->add('s', _('The tag has been applied successfully')); + Tools::logm('The tag has been applied successfully'); + Tools::redirect(); + break; + case 'remove_tag' : + $tag_id = $_GET['tag_id']; + $entry = $this->store->retrieveOneById($id, $this->user->getId()); + if (!$entry) { + $this->messages->add('e', _('Article not found!')); + Tools::logm('error : article not found'); + Tools::redirect(); + } + $this->store->removeTagForEntry($id, $tag_id); + Tools::logm('tag entry deleted'); + if ($this->store->cleanUnusedTag($tag_id)) { + Tools::logm('tag deleted'); + } + $this->messages->add('s', _('The tag has been successfully deleted')); + Tools::redirect(); + break; + default: + break; + } + } + + function displayView($view, $id = 0) + { + $tpl_vars = array(); + + switch ($view) + { + case 'about': + break; + case 'config': + $dev_infos = $this->_getPocheVersion('dev'); + $dev = trim($dev_infos[0]); + $check_time_dev = date('d-M-Y H:i', $dev_infos[1]); + $prod_infos = $this->_getPocheVersion('prod'); + $prod = trim($prod_infos[0]); + $check_time_prod = date('d-M-Y H:i', $prod_infos[1]); + $compare_dev = version_compare(POCHE, $dev); + $compare_prod = version_compare(POCHE, $prod); + $themes = $this->tpl->getInstalledThemes(); + $languages = $this->language->getInstalledLanguages(); + $token = $this->user->getConfigValue('token'); + $http_auth = (isset($_SERVER['PHP_AUTH_USER']) || isset($_SERVER['REMOTE_USER'])) ? true : false; + $only_user = ($this->store->listUsers() > 1) ? false : true; + $tpl_vars = array( + 'themes' => $themes, + 'languages' => $languages, + 'dev' => $dev, + 'prod' => $prod, + 'check_time_dev' => $check_time_dev, + 'check_time_prod' => $check_time_prod, + 'compare_dev' => $compare_dev, + 'compare_prod' => $compare_prod, + 'token' => $token, + 'user_id' => $this->user->getId(), + 'http_auth' => $http_auth, + 'only_user' => $only_user + ); + Tools::logm('config view'); + break; + case 'edit-tags': + # tags + $entry = $this->store->retrieveOneById($id, $this->user->getId()); + if (!$entry) { + $this->messages->add('e', _('Article not found!')); + Tools::logm('error : article not found'); + Tools::redirect(); + } + $tags = $this->store->retrieveTagsByEntry($id); + $tpl_vars = array( + 'entry_id' => $id, + 'tags' => $tags, + 'entry' => $entry, + ); + break; + case 'tags': + $token = $this->user->getConfigValue('token'); + //if term is set - search tags for this term + $term = Tools::checkVar('term'); + $tags = $this->store->retrieveAllTags($this->user->getId(), $term); + if (Tools::isAjaxRequest()) { + $result = array(); + foreach ($tags as $tag) { + $result[] = $tag['value']; + } + echo json_encode($result); + exit; + } + $tpl_vars = array( + 'token' => $token, + 'user_id' => $this->user->getId(), + 'tags' => $tags, + ); + break; + case 'search': + if (isset($_GET['search'])) { + $search = filter_var($_GET['search'], FILTER_SANITIZE_STRING); + $tpl_vars['entries'] = $this->store->search($search, $this->user->getId()); + $count = count($tpl_vars['entries']); + $this->pagination->set_total($count); + $page_links = str_replace(array('previous', 'next'), array(_('previous'), _('next')), + $this->pagination->page_links('?view=' . $view . '?search=' . $search . '&sort=' . $_SESSION['sort'] . '&' )); + $tpl_vars['page_links'] = $page_links; + $tpl_vars['nb_results'] = $count; + $tpl_vars['searchterm'] = $search; + } + break; + case 'view': + $entry = $this->store->retrieveOneById($id, $this->user->getId()); + if ($entry != NULL) { + Tools::logm('view link #' . $id); + $content = $entry['content']; + if (function_exists('tidy_parse_string')) { + $tidy = tidy_parse_string($content, array('indent'=>true, 'show-body-only' => true), 'UTF8'); + $tidy->cleanRepair(); + $content = $tidy->value; + } + + # flattr checking + $flattr = NULL; + if (FLATTR) { + $flattr = new FlattrItem(); + $flattr->checkItem($entry['url'], $entry['id']); + } + + # tags + $tags = $this->store->retrieveTagsByEntry($entry['id']); + + $tpl_vars = array( + 'entry' => $entry, + 'content' => $content, + 'flattr' => $flattr, + 'tags' => $tags + ); + } + else { + Tools::logm('error in view call : entry is null'); + } + break; + default: # home, favorites, archive and tag views + $tpl_vars = array( + 'entries' => '', + 'page_links' => '', + 'nb_results' => '', + 'listmode' => (isset($_COOKIE['listmode']) ? true : false), + ); + + //if id is given - we retrieve entries by tag: id is tag id + if ($id) { + $tpl_vars['tag'] = $this->store->retrieveTag($id, $this->user->getId()); + $tpl_vars['id'] = intval($id); + } + + $count = $this->store->getEntriesByViewCount($view, $this->user->getId(), $id); + + if ($count > 0) { + $this->pagination->set_total($count); + $page_links = str_replace(array('previous', 'next'), array(_('previous'), _('next')), + $this->pagination->page_links('?view=' . $view . '&sort=' . $_SESSION['sort'] . (($id)?'&id='.$id:'') . '&' )); + $tpl_vars['entries'] = $this->store->getEntriesByView($view, $this->user->getId(), $this->pagination->get_limit(), $id); + $tpl_vars['page_links'] = $page_links; + $tpl_vars['nb_results'] = $count; + } + Tools::logm('display ' . $view . ' view'); + break; + } + + return $tpl_vars; + } + + /** + * update the password of the current user. + * if MODE_DEMO is TRUE, the password can't be updated. + * @todo add the return value + * @todo set the new password in function header like this updatePassword($newPassword) + * @return boolean + */ + public function updatePassword($password, $confirmPassword) + { + if (MODE_DEMO) { + $this->messages->add('i', _('in demo mode, you can\'t update your password')); + Tools::logm('in demo mode, you can\'t do this'); + Tools::redirect('?view=config'); + } + else { + if (isset($password) && isset($confirmPassword)) { + if ($password == $confirmPassword && !empty($password)) { + $this->messages->add('s', _('your password has been updated')); + $this->store->updatePassword($this->user->getId(), Tools::encodeString($password . $this->user->getUsername())); + Session::logout(); + Tools::logm('password updated'); + Tools::redirect(); + } + else { + $this->messages->add('e', _('the two fields have to be filled & the password must be the same in the two fields')); + Tools::redirect('?view=config'); + } + } + } + } + + /** + * Get credentials from differents sources + * It redirects the user to the $referer link + * + * @return array + */ + private function credentials() + { + if (isset($_SERVER['PHP_AUTH_USER'])) { + return array($_SERVER['PHP_AUTH_USER'], 'php_auth', true); + } + if (!empty($_POST['login']) && !empty($_POST['password'])) { + return array($_POST['login'], $_POST['password'], false); + } + if (isset($_SERVER['REMOTE_USER'])) { + return array($_SERVER['REMOTE_USER'], 'http_auth', true); + } + + return array(false, false, false); + } + + /** + * checks if login & password are correct and save the user in session. + * it redirects the user to the $referer link + * @param string $referer the url to redirect after login + * @todo add the return value + * @return boolean + */ + public function login($referer) + { + list($login,$password,$isauthenticated)=$this->credentials(); + if($login === false || $password === false) { + $this->messages->add('e', _('login failed: you have to fill all fields')); + Tools::logm('login failed'); + Tools::redirect(); + } + if (!empty($login) && !empty($password)) { + $user = $this->store->login($login, Tools::encodeString($password . $login), $isauthenticated); + if ($user != array()) { + # Save login into Session + $longlastingsession = isset($_POST['longlastingsession']); + $passwordTest = ($isauthenticated) ? $user['password'] : Tools::encodeString($password . $login); + Session::login($user['username'], $user['password'], $login, $passwordTest, $longlastingsession, array('poche_user' => new User($user))); + + # reload l10n + $language = $user['config']['language']; + @putenv('LC_ALL=' . $language); + setlocale(LC_ALL, $language); + bindtextdomain($language, LOCALE); + textdomain($language); + + $this->messages->add('s', _('welcome to your wallabag')); + Tools::logm('login successful'); + Tools::redirect($referer); + } + $this->messages->add('e', _('login failed: bad login or password')); + // log login failure in web server log to allow fail2ban usage + error_log('user '.$login.' authentication failure'); + Tools::logm('login failed'); + Tools::redirect(); + } + } + + /** + * log out the poche user. It cleans the session. + * @todo add the return value + * @return boolean + */ + public function logout() + { + $this->user = array(); + Session::logout(); + Tools::logm('logout'); + Tools::redirect(); + } + + /** + * import datas into your wallabag + * @return boolean + */ + + public function import() { + + if ( isset($_FILES['file']) && $_FILES['file']['tmp_name'] ) { + Tools::logm('Import stated: parsing file'); + + // assume, that file is in json format + $str_data = file_get_contents($_FILES['file']['tmp_name']); + $data = json_decode($str_data, true); + + if ( $data === null ) { + //not json - assume html + $html = new simple_html_dom(); + $html->load_file($_FILES['file']['tmp_name']); + $data = array(); + $read = 0; + foreach (array('ol','ul') as $list) { + foreach ($html->find($list) as $ul) { + foreach ($ul->find('li') as $li) { + $tmpEntry = array(); + $a = $li->find('a'); + $tmpEntry['url'] = $a[0]->href; + $tmpEntry['tags'] = $a[0]->tags; + $tmpEntry['is_read'] = $read; + if ($tmpEntry['url']) { + $data[] = $tmpEntry; + } + } + # the second
    is for read links + $read = ((sizeof($data) && $read)?0:1); + } + } + } + + // for readability structure + + foreach($data as $record) { + if (is_array($record)) { + $data[] = $record; + foreach($record as $record2) { + if (is_array($record2)) { + $data[] = $record2; + } + } + } + } + + $urlsInserted = array(); //urls of articles inserted + foreach($data as $record) { + $url = trim(isset($record['article__url']) ? $record['article__url'] : (isset($record['url']) ? $record['url'] : '')); + if ($url and !in_array($url, $urlsInserted)) { + $title = (isset($record['title']) ? $record['title'] : _('Untitled - Import - ') . ' ' . _('click to finish import') . ''); + $body = (isset($record['content']) ? $record['content'] : ''); + $isRead = (isset($record['is_read']) ? intval($record['is_read']) : (isset($record['archive']) ? intval($record['archive']) : 0)); + $isFavorite = (isset($record['is_fav']) ? intval($record['is_fav']) : (isset($record['favorite']) ? intval($record['favorite']) : 0)); + + // insert new record + + $id = $this->store->add($url, $title, $body, $this->user->getId() , $isFavorite, $isRead); + if ($id) { + $urlsInserted[] = $url; //add + if (isset($record['tags']) && trim($record['tags'])) { + + // @TODO: set tags + + } + } + } + } + + $i = sizeof($urlsInserted); + if ($i > 0) { + $this->messages->add('s', _('Articles inserted: ') . $i . _('. Please note, that some may be marked as "read".')); + } + + Tools::logm('Import of articles finished: '.$i.' articles added (w/o content if not provided).'); + } + else { + $this->messages->add('s', _('Did you forget to select a file?')); + } + // file parsing finished here + // now download article contents if any + // check if we need to download any content + + $recordsDownloadRequired = $this->store->retrieveUnfetchedEntriesCount($this->user->getId()); + + if ($recordsDownloadRequired == 0) { + + // nothing to download + + $this->messages->add('s', _('Import finished.')); + Tools::logm('Import finished completely'); + Tools::redirect(); + } + else { + + // if just inserted - don't download anything, download will start in next reload + + if (!isset($_FILES['file'])) { + + // download next batch + + Tools::logm('Fetching next batch of articles...'); + $items = $this->store->retrieveUnfetchedEntries($this->user->getId() , IMPORT_LIMIT); + $purifier = $this->_getPurifier(); + foreach($items as $item) { + $url = new Url(base64_encode($item['url'])); + Tools::logm('Fetching article ' . $item['id']); + $content = Tools::getPageContent($url); + $title = (($content['rss']['channel']['item']['title'] != '') ? $content['rss']['channel']['item']['title'] : _('Untitled')); + $body = (($content['rss']['channel']['item']['description'] != '') ? $content['rss']['channel']['item']['description'] : _('Undefined')); + + // clean content to prevent xss attack + + $title = $purifier->purify($title); + $body = $purifier->purify($body); + $this->store->updateContentAndTitle($item['id'], $title, $body, $this->user->getId()); + Tools::logm('Article ' . $item['id'] . ' updated.'); + } + } + } + + return array( + 'includeImport' => true, + 'import' => array( + 'recordsDownloadRequired' => $recordsDownloadRequired, + 'recordsUnderDownload' => IMPORT_LIMIT, + 'delay' => IMPORT_DELAY * 1000 + ) + ); + } + + /** + * export poche entries in json + * @return json all poche entries + */ + public function export() + { + $filename = "wallabag-export-".$this->user->getId()."-".date("Y-m-d").".json"; + header('Content-Disposition: attachment; filename='.$filename); + + $entries = $this->store->retrieveAll($this->user->getId()); + echo $this->tpl->render('export.twig', array( + 'export' => Tools::renderJson($entries), + )); + Tools::logm('export view'); + } + + /** + * Checks online the latest version of poche and cache it + * @param string $which 'prod' or 'dev' + * @return string latest $which version + */ + private function _getPocheVersion($which = 'prod') { + $cache_file = CACHE . '/' . $which; + $check_time = time(); + + # checks if the cached version file exists + if (file_exists($cache_file) && (filemtime($cache_file) > (time() - 86400 ))) { + $version = file_get_contents($cache_file); + $check_time = filemtime($cache_file); + } else { + $version = file_get_contents('http://static.wallabag.org/versions/' . $which); + file_put_contents($cache_file, $version, LOCK_EX); + } + return array($version, $check_time); + } + + /** + * Update token for current user + */ + public function updateToken() + { + $token = Tools::generateToken(); + $this->store->updateUserConfig($this->user->getId(), 'token', $token); + $currentConfig = $_SESSION['poche_user']->config; + $currentConfig['token'] = $token; + $_SESSION['poche_user']->setConfig($currentConfig); + Tools::redirect(); + } + + /** + * Generate RSS feeds for current user + * + * @param $token + * @param $user_id + * @param $tag_id if $type is 'tag', the id of the tag to generate feed for + * @param string $type the type of feed to generate + * @param int $limit the maximum number of items (0 means all) + */ + public function generateFeeds($token, $user_id, $tag_id, $type = 'home', $limit = 0) + { + $allowed_types = array('home', 'fav', 'archive', 'tag'); + $config = $this->store->getConfigUser($user_id); + + if ($config == null) { + die(sprintf(_('User with this id (%d) does not exist.'), $user_id)); + } + + if (!in_array($type, $allowed_types) || !isset($config['token']) || $token != $config['token']) { + die(_('Uh, there is a problem while generating feed. Wrong token used?')); + } + + $feed = new FeedWriter(RSS2); + $feed->setTitle('wallabag — ' . $type . ' feed'); + $feed->setLink(Tools::getPocheUrl()); + $feed->setChannelElement('pubDate', date(DATE_RSS , time())); + $feed->setChannelElement('generator', 'wallabag'); + $feed->setDescription('wallabag ' . $type . ' elements'); + + if ($type == 'tag') { + $entries = $this->store->retrieveEntriesByTag($tag_id, $user_id); + } + else { + $entries = $this->store->getEntriesByView($type, $user_id); + } + + // if $limit is set to zero, use all entries + if (0 == $limit) { + $limit = count($entries); + } + if (count($entries) > 0) { + for ($i = 0; $i < min(count($entries), $limit); $i++) { + $entry = $entries[$i]; + $newItem = $feed->createNewItem(); + $newItem->setTitle($entry['title']); + $newItem->setSource(Tools::getPocheUrl() . '?view=view&id=' . $entry['id']); + $newItem->setLink($entry['url']); + $newItem->setDate(time()); + $newItem->setDescription($entry['content']); + $feed->addItem($newItem); + } + } + + $feed->genarateFeed(); + exit; + } + + + + /** + * Returns new purifier object with actual config + */ + private function _getPurifier() + { + $config = HTMLPurifier_Config::createDefault(); + $config->set('Cache.SerializerPath', CACHE); + $config->set('HTML.SafeIframe', true); + + //allow YouTube, Vimeo and dailymotion videos + $config->set('URI.SafeIframeRegexp', '%^(https?:)?//(www\.youtube(?:-nocookie)?\.com/embed/|player\.vimeo\.com/video/|www\.dailymotion\.com/embed/video/)%'); + + return new HTMLPurifier($config); + } + + +} -- cgit v1.2.3