From cc1ec61b857cc793abab719c164496e8290291c1 Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Wed, 9 Jul 2014 16:50:52 +0300 Subject: [PATCH 01/24] fix of issue #619 and other similar, error in JSLikeHTMLElement: node no longer exists. --- .../libraries/readability/Readability.php | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) mode change 100644 => 100755 inc/3rdparty/libraries/readability/Readability.php diff --git a/inc/3rdparty/libraries/readability/Readability.php b/inc/3rdparty/libraries/readability/Readability.php old mode 100644 new mode 100755 index d0f09d74c..9e77dc55d --- a/inc/3rdparty/libraries/readability/Readability.php +++ b/inc/3rdparty/libraries/readability/Readability.php @@ -679,6 +679,7 @@ class Readability } else { $topCandidate->innerHTML = $page->documentElement->innerHTML; $page->documentElement->innerHTML = ''; + $this->reinitBody(); $page->documentElement->appendChild($topCandidate); } } else { @@ -794,8 +795,7 @@ class Readability { // TODO: find out why element disappears sometimes, e.g. for this URL http://www.businessinsider.com/6-hedge-fund-etfs-for-average-investors-2011-7 // in the meantime, we check and create an empty element if it's not there. - if (!isset($this->body->childNodes)) $this->body = $this->dom->createElement('body'); - $this->body->innerHTML = $this->bodyCache; + $this->reinitBody(); if ($this->flagIsActive(self::FLAG_STRIP_UNLIKELYS)) { $this->removeFlag(self::FLAG_STRIP_UNLIKELYS); @@ -1134,5 +1134,18 @@ class Readability public function removeFlag($flag) { $this->flags = $this->flags & ~$flag; } + + /** + * Will recreate previously deleted body property + * + * @return void + */ + protected function reinitBody() { + if (!isset($this->body->childNodes)) { + $this->body = $this->dom->createElement('body'); + } + $this->body->innerHTML = $this->bodyCache; + } + } ?> \ No newline at end of file From c1aad6d5746ddb079e3b60d432212021c42c963b Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Wed, 9 Jul 2014 16:56:52 +0300 Subject: [PATCH 02/24] fix of issue #619 and other similar, error in JSLikeHTMLElement: node no longer exists. --- inc/3rdparty/libraries/readability/Readability.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/3rdparty/libraries/readability/Readability.php b/inc/3rdparty/libraries/readability/Readability.php index 9e77dc55d..4fa3ba63d 100755 --- a/inc/3rdparty/libraries/readability/Readability.php +++ b/inc/3rdparty/libraries/readability/Readability.php @@ -1142,9 +1142,9 @@ class Readability */ protected function reinitBody() { if (!isset($this->body->childNodes)) { - $this->body = $this->dom->createElement('body'); + $this->body = $this->dom->createElement('body'); + $this->body->innerHTML = $this->bodyCache; } - $this->body->innerHTML = $this->bodyCache; } } From d59536deea443f4bdac2c5cf1bfeea690810a817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Si=C3=B4n=20Le=20Roux?= Date: Thu, 10 Jul 2014 18:30:44 +0200 Subject: [PATCH 03/24] Add support for *.about.com Includes next_page_link for multi-page articles and strips pesky in-line 'next' links from the article body. Also includes an Xpath for author but I can't see where this is used in the wallabag UI. The 'tidy' option is turned off because it messed up bulleted lists. Tested with psychology.about.com and food.about.com. --- inc/3rdparty/site_config/standard/.about.com.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 inc/3rdparty/site_config/standard/.about.com.txt diff --git a/inc/3rdparty/site_config/standard/.about.com.txt b/inc/3rdparty/site_config/standard/.about.com.txt new file mode 100644 index 000000000..e1ebaee3f --- /dev/null +++ b/inc/3rdparty/site_config/standard/.about.com.txt @@ -0,0 +1,14 @@ +body: //div[@id='articlebody'] +title: //h1 +author: //p[@id='by']//a + +next_page_link: //span[@class='next']/a +# Not the same as below! + +prune: yes +tidy: no + +# Annoying 'next' links plainly inside the article body +strip: //*[text()[contains(.,'Next: ')]] + +test_url: http://psychology.about.com/od/theoriesofpersonality/ss/defensemech.htm From 5594d7d05469bcff2a046a99d49990bd63a6fd4f Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Mon, 21 Jul 2014 19:34:59 +0300 Subject: [PATCH 04/24] issue #750 - config for dn.pt site added --- inc/3rdparty/site_config/standard/dn.pt.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 inc/3rdparty/site_config/standard/dn.pt.txt diff --git a/inc/3rdparty/site_config/standard/dn.pt.txt b/inc/3rdparty/site_config/standard/dn.pt.txt new file mode 100755 index 000000000..051b8cb98 --- /dev/null +++ b/inc/3rdparty/site_config/standard/dn.pt.txt @@ -0,0 +1,9 @@ +single_page_link: concat('http://www.dn.pt/Common/print.aspx?content_id=', //input[@type='hidden' and @name='link-comments']/@value) +# + +title: //h1 +author: //div[@class="Author"] + +strip: //div[@class="Patrocinio"] + +test_url: http://www.dn.pt/inicio/opiniao/interior.aspx?content_id=3972244&seccao=Alberto%20Gon%E7alves&tag=Opini%E3o%20-%20Em%20Foco&page=1 \ No newline at end of file From cec19bd866f32028b8a286f8504f601df9842834 Mon Sep 17 00:00:00 2001 From: skibbipl Date: Mon, 21 Jul 2014 20:58:58 +0200 Subject: [PATCH 05/24] Updated polish translation --- locale/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.mo | Bin 10557 -> 12632 bytes locale/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.po | 579 ++++++++++++-------- 2 files changed, 352 insertions(+), 227 deletions(-) diff --git a/locale/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.mo b/locale/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.mo index 3e8b132fa4544fe173fab16f8e3a2380204a4e23..297516c002b885a90f733cbe104910659d3fafa9 100755 GIT binary patch literal 12632 zcmb`NdypJQea9R87B&V00ZcG01wD*)dnfsUy|yGIOR{B4_MwMgJWTKI+}_;o&a7u< zwcd>biDIER4gs5|P#}QG9}rS`D36L`Qcn4f!c|nlqey_Hpz^4M6jdZn2vt-<$miQL zv$rexWJob}y`Pz$o__rL_xts)Tl(fDXTRTYJx2Oj(pBde^DVe{6+c{`zsQ)g;nQ#p z{7bk2J_D!Wr7tw*b?_E=A?(3R;1T!&_6^3eUMX=cVw) zJWoS)VLN;!+zZczbMQ5=122H@f~xO>P~|=X&xd~kRsWO4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>YwzD~@SX!Vu?0VZh@Z#>2v@gFJ5k;`U$A7fZdh)r(?9eXE@ zS8l-e%6r2+ojvo{ipHyh`h_h{&0az~EdF!mTdn^sR42QN4B@2O_k@X W#0M%ws5f7m-qr1Si1g#>n*RrX^6XOp diff --git a/locale/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.po b/locale/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.po index 0e7cbcf83..e39156e61 100755 --- a/locale/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.po +++ b/locale/pl_PL.utf8/LC_MESSAGES/pl_PL.utf8.po @@ -1,183 +1,73 @@ msgid "" msgstr "" -"Project-Id-Version: wballabag\n" +"Project-Id-Version: wallabag\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2014-02-07 17:38+0300\n" -"PO-Revision-Date: 2014-02-07 17:43+0300\n" -"Last-Translator: Maryana \n" +"POT-Creation-Date: 2014-02-25 15:17+0300\n" +"PO-Revision-Date: \n" +"Last-Translator: skibbipl \n" "Language-Team: \n" -"Language: \n" +"Language: pl\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-Generator: Poedit 1.6.6\n" "X-Poedit-Basepath: .\n" -"X-Poedit-Language: Polish\n" -"X-Poedit-Country: POLAND\n" -"X-Poedit-SourceCharset: utf-8\n" -"X-Poedit-SearchPath-0: /home/mariroz/_DEV/web/wallabag/wallabag\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 "poche, a read it later open source system" -msgstr "poche, serwis odrocznego czytania open source" +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 nie udało się: użytkownik nie istnieje" - -msgid "Return home" -msgstr "Wrocic do głównej" - -msgid "Back to top" -msgstr "Wrócić na górę" - -msgid "original" -msgstr "oryginal" - -msgid "Mark as read" -msgstr "Zaznacz jako przeczytane" - -msgid "Toggle mark as read" -msgstr "Przełącz jako przeczytane" - -msgid "Favorite" -msgstr "Ulubiony" - -msgid "Toggle favorite" -msgstr "Zaznacz jako ulubione" - -msgid "Delete" -msgstr "Usuń" - -msgid "Tweet" -msgstr "Tweet" - -msgid "Email" -msgstr "Wyslij email" - -msgid "shaarli" -msgstr "shaarli" - -msgid "flattr" -msgstr "flattr" - -msgid "Does this article appear wrong?" -msgstr "Czy ten artykuł wygląda nieprawidłowo?" - -msgid "tags:" -msgstr "tegi:" - -msgid "Edit tags" -msgstr "Redagowac tegi" +msgstr "logowanie się nie powiodło: użytkownik nie istnieje" msgid "return home" -msgstr "wrócić do głównej" - -msgid "powered by" -msgstr "zasilany przez" - -msgid "debug mode is on so cache is off." -msgstr "tryb debugowania jest włączony, więc cash jest wyłączony." - -msgid "your poche version:" -msgstr "twoja wersja poche:" - -msgid "storage:" -msgstr "magazyn:" - -msgid "favoris" -msgstr "ulubione" - -msgid "archive" -msgstr "archiwum" - -msgid "unread" -msgstr "nieprzeczytane" - -msgid "by date asc" -msgstr "według daty rosnąco" - -msgid "by date" -msgstr "wg daty" - -msgid "by date desc" -msgstr "według daty spadająco" - -msgid "by title asc" -msgstr "według tytułu rosnąco" - -msgid "by title" -msgstr "wg tytułu" - -msgid "by title desc" -msgstr "według tytułu malejąco" - -msgid "No articles found." -msgstr "Nie znaleziono artykułów." - -msgid "toggle favorite" -msgstr "przełączyc ulubione" - -msgid "delete" -msgstr "usunąć" - -msgid "estimated reading time:" -msgstr "szacowany czas odczytu:" - -msgid "results" -msgstr "wyniki" - -msgid "home" -msgstr "główna" - -msgid "favorites" -msgstr "ulubione" - -msgid "tags" -msgstr "tagi" +msgstr "powrót do strony domowej" msgid "config" -msgstr "ustawienia" +msgstr "konfiguracja" -msgid "logout" -msgstr "wyloguj" +msgid "Saving articles" +msgstr "Zapisywanie artykułów" -msgid "Poching links" -msgstr "Zapisywanie linków" - -msgid "There are several ways to poche a link:" -msgstr "Istnieje kilka sposobów aby zapisać link:" +msgid "There are several ways to save an article:" +msgstr "Istnieje kilka sposobów aby zapisać artykuł:" msgid "read the documentation" -msgstr "zapoznać się z dokumentacją" +msgstr "przeczytaj dokumentację" msgid "download the extension" -msgstr "pobrać rozszerzenie" +msgstr "pobierz rozszerzenie" msgid "via F-Droid" msgstr "przez F-Droid" msgid " or " -msgstr "albo" +msgstr "albo " msgid "via Google Play" msgstr "przez Google Play" msgid "download the application" -msgstr "pobrać aplikację" +msgstr "pobierz aplikację" msgid "By filling this field" msgstr "Poprzez wypełnienie tego pola" -msgid "poche it!" -msgstr "zapisać!" +msgid "bag it!" +msgstr "zapisz!" msgid "Bookmarklet: drag & drop this link to your bookmarks bar" -msgstr "Bookmarklet: przeciągnij i upucs ten link na pasek zakladek" +msgstr "Skryptozakładka: przeciągnij i upuść ten link na twój pasek zakładek" -msgid "Updating poche" -msgstr "Aktualizacja poche" +msgid "Upgrading wallabag" +msgstr "Aktualizacja wallabag" msgid "Installed version" -msgstr "Zainstalowana wersja " +msgstr "Zainstalowana wersja" msgid "Latest stable version" msgstr "Najnowsza stabilna wersja" @@ -186,58 +76,64 @@ msgid "A more recent stable version is available." msgstr "Nowsza stabilna wersja jest dostępna." msgid "You are up to date." -msgstr "Masz wszystko najnowsze." +msgstr "Posiadasz najnowszą wersję." -msgid "latest dev version" -msgstr "najnowsza wersja dev" +msgid "Latest dev version" +msgstr "Najnowsza wersja developerska" -msgid "a more recent development version is available." -msgstr "Nowsza wersja rozwojowa jest dostępna." - -msgid "you are up to date." -msgstr "masz wszystko najnowsze." +msgid "A more recent development version is available." +msgstr "Nowsza developerska wersja jest dostępna." msgid "Feeds" -msgstr "Kanały (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 znak kanału jest pusty i musi najpierw zostac wygenerowany. Kliknij tu dla jego generacji." +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 "Kanał nieprzeczytanego" +msgstr "Nieprzeczytane kanały" msgid "Favorites feed" -msgstr "Kanał ulubionego" +msgstr "Ulubione kanały" msgid "Archive feed" -msgstr "Kanał archiwum" +msgstr "Kanały archiwum" msgid "Your token:" -msgstr "Twój znak (token): " +msgstr "Twój token:" msgid "Your user id:" -msgstr "Twój id użytkownika (user id):" +msgstr "Twój id użytkownika:" -msgid "You can regenerate your token: generate!." -msgstr "Mozna zgenerowac nowy znak: kliknij zgenerowac!." +msgid "" +"You can regenerate your token: generate!" +"." +msgstr "" +"Możesz wygenewrować ponownie swój token: generuj!." msgid "Change your theme" -msgstr "Zmienic motyw" +msgstr "Zmień swój motyw" msgid "Theme:" msgstr "Motyw:" msgid "Update" -msgstr "Aktualizacja" +msgstr "Aktualizuj" msgid "Change your language" -msgstr "Zmienić język" +msgstr "Zmień język" msgid "Language:" msgstr "Język:" msgid "Change your password" -msgstr "Zmień hasło" +msgstr "Zmień swoje hasło" msgid "New password:" msgstr "Nowe hasło:" @@ -246,164 +142,373 @@ msgid "Password" msgstr "Hasło" msgid "Repeat your new password:" -msgstr "Powtórz hasło jeszcze raz:" +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ę wykonać skrypt import lokalnie, gdyż moze to trwać bardzo długo." +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 docs:" -msgstr "Więcej informacji w oficjalnej dokumentacji:" +msgid "More info in the official documentation:" +msgstr "Więcej informacji znajdziesz w oficjalnej dokumentacji:" msgid "Import from Pocket" -msgstr "Іmport z Pocket'a" +msgstr "Importuj z Pocket" #, php-format msgid "(you must have a %s file on your server)" -msgstr "(musisz mieć plik %s na serwerze)" +msgstr "(musisz mieć plik %s na swoim serwerze)" msgid "Import from Readability" -msgstr "Import z Readability" +msgstr "Importuj z Readability" msgid "Import from Instapaper" -msgstr "Import z Instapaper" +msgstr "Importuj z Instapaper" -msgid "Import from poche" -msgstr "Import z poche" +msgid "Import from wallabag" +msgstr "Importuj z wallabag" -msgid "Export your poche data" -msgstr "Eksportowac dane poche" +msgid "Export your wallabag data" +msgstr "Wyeksportuj swoje dane wallabag" msgid "Click here" msgstr "Kliknij tu" msgid "to download your database." -msgstr "aby pobrac bazę danych." +msgstr "aby pobrać twoją bazę danych." -msgid "to export your poche data." -msgstr "aby eksportować dane poche." +msgid "to export your wallabag data." +msgstr "aby wyeksportować dane wallabag." -msgid "Tag" -msgstr "Teg" +msgid "Cache" +msgstr "Cache" -msgid "No link available here!" -msgstr "Brak dostępnych linków!" - -msgid "toggle mark as read" -msgstr "przełączyć znak jako przeczytane" +msgid "to delete cache." +msgstr "aby wyczyścić cache." msgid "You can enter multiple tags, separated by commas." -msgstr "Mozna wprowadzić wiele tagów rozdzielajac je przecinkami." +msgstr "Możesz wprowadzić wiele tagów, oddzielonych przecinkami." msgid "return to article" -msgstr "wrócić do artykułu" +msgstr "powrót do artykułu" msgid "plop" msgstr "plop" -msgid "You can check your configuration here." -msgstr "Można sprawdzić swoją konfigurację tu." +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 "zainstalować 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 nie jest jeszcze zainstalowany. Proszę wypełnić poniższy formularz, aby go zainstalowac. Nie wahaj się zapoznac się z dokumentacja na stronie 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 hasło" +msgstr "Powtórz swoje hasło" msgid "Install" -msgstr "Instalowac" +msgstr "Zainstauj" msgid "login to your wallabag" -msgstr "zalogować się do swojego wallabag" +msgstr "zaloguj się do twojego wallabag" msgid "Login to wallabag" -msgstr "Zalogować się do wallabag" +msgstr "Logowanie do wallabag" msgid "you are in demo mode, some features may be disabled." -msgstr "jesteś w trybie demo, niektóre funkcje mogą być niedostępne." +msgstr "jesteś w trybie demo, niektóre funkcjonalności mogą być wyłączone." msgid "Username" -msgstr "Imię użytkownika" +msgstr "Nazwa użytkownika" msgid "Stay signed in" msgstr "Pozostań zalogowany" msgid "(Do not check on public computers)" -msgstr "(Nie sprawdzaj na publicznych komputerach" +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 "Bez nazwy" +msgstr "Untitled" msgid "the link has been added successfully" -msgstr "link pozostał pomyślnie dodany" +msgstr "link został dodany pomyślnie" msgid "error during insertion : the link wasn't added" -msgstr "błąd podczas wprowadzania: link nie zostal dodany" +msgstr "błąd podczas dodawania : link nie został dodany" msgid "the link has been deleted successfully" -msgstr "link zostal pomyślnie usunięty" +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 "poprzednia" +msgstr "poprzedni" msgid "next" -msgstr "następna" +msgstr "następny" msgid "in demo mode, you can't update your password" -msgstr "w trybie demo, nie można zmieniać hasła" +msgstr "w trybie demo nie możesz zaktualizować swojego hasła" msgid "your password has been updated" -msgstr "twoje hasło zmienione" +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 i hasła muszę być takie same w obu polach" +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 "nadal w użyciu \"" +msgstr "wciąż używam \"" msgid "that theme does not seem to be installed" -msgstr "wydaje się że motyw nie był zainstalowany" +msgstr "ten motyw nie wygląda na zainstalowany" msgid "you have changed your theme preferences" -msgstr "ustawienia motywu zostałe zmienione" +msgstr "zmieniłeś swoje preferencje motywu" msgid "that language does not seem to be installed" -msgstr "wydaje się że język nie był zainstalowany" +msgstr "ten język nie wygląda na zainstalowany" msgid "you have changed your language preferences" -msgstr "ustawienia języka zostałe zmienione" +msgstr "zmieniłeś swoje preferencje językowe" msgid "login failed: you have to fill all fields" -msgstr "logowanie nie powiodlo się: musisz wypełnić wszystkie pola" +msgstr "logowanie się nie powiodło: musisz wypełnić wszystkie pola" -msgid "welcome to your poche" -msgstr "witamy w poche" +msgid "welcome to your wallabag" +msgstr "witaj w twoim wallabag" msgid "login failed: bad login or password" -msgstr "logowanie nie powiodlo się: zly login lub hasło" - -msgid "see you soon!" -msgstr "do zobaczenia wkrótce!" +msgstr "logowanie się nie powiodło: nieprawidłowy login lub hasło" msgid "import from instapaper completed" -msgstr "import з instapaper'a zakończony" +msgstr "import z instapaper zakończony" msgid "import from pocket completed" -msgstr "import z pocket'a zakończony" +msgstr "import z pocket zakończony" msgid "import from Readability completed. " msgstr "import z Readability zakończony. " @@ -415,14 +520,34 @@ 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ę definiować \"" +msgstr "Niekompletny plik inc/poche/define.inc.php, proszę zdefiniuj \"" msgid "Could not find required \"" -msgstr "Nie znaleziono potrzebnego \"" +msgstr "Nie znaleziono wymaganego \"" msgid "Uh, there is a problem while generating feeds." -msgstr "Uh, jest problem podczas generowania kanałów (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 ze u was niema 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:" From 9c67b1b829290e5e78cb7da90acf285d6cd5c48f Mon Sep 17 00:00:00 2001 From: Marc Wilhelm Date: Tue, 22 Jul 2014 11:52:18 +0200 Subject: [PATCH 06/24] Split up check_setup.php into two files. The new file check_essentials.php takes care of stuff like the PHP version and is executed before the config files are included which are needed by check_setup. This patch addresses issue #773 --- check_essentials.php | 14 ++++++++++++++ check_setup.php | 15 +-------------- index.php | 3 ++- 3 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 check_essentials.php diff --git a/check_essentials.php b/check_essentials.php new file mode 100644 index 000000000..a47cd5a8d --- /dev/null +++ b/check_essentials.php @@ -0,0 +1,14 @@ + "short_open_tag = On"'); + } +} \ No newline at end of file diff --git a/check_setup.php b/check_setup.php index 2b84a7440..7e378b153 100644 --- a/check_setup.php +++ b/check_setup.php @@ -1,25 +1,12 @@ "short_open_tag = On"'); - } -} - // Check if /cache is writeable if (! is_writable('cache')) { die('The directory "cache" must be writeable by your web server user'); } // Check if /db is writeable -if (! is_writable('db')) { +if (! is_writable('db') && STORAGE === 'sqlite') { die('The directory "db" must be writeable by your web server user'); } diff --git a/index.php b/index.php index 481841ece..cce10b502 100755 --- a/index.php +++ b/index.php @@ -9,8 +9,9 @@ */ define ('POCHE', '1.7.1'); -require 'check_setup.php'; +require 'check_essentials.php'; require_once 'inc/poche/global.inc.php'; +require 'check_setup.php'; # Set error reporting level if (defined('ERROR_REPORTING')) { From b738bea9ca03c7c05e8c159b9c2f48fb40e58ccd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 22 Jul 2014 16:37:13 +0200 Subject: [PATCH 07/24] Fix #776 --- themes/baggy/config.twig | 2 +- themes/default/config.twig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig index 46735f074..e45c3218f 100755 --- a/themes/baggy/config.twig +++ b/themes/baggy/config.twig @@ -111,7 +111,7 @@
- +
diff --git a/themes/default/config.twig b/themes/default/config.twig index 160f6046a..8f047ae6a 100755 --- a/themes/default/config.twig +++ b/themes/default/config.twig @@ -110,7 +110,7 @@
- +
From 9cf6bac1a502d1418834f4f7619d40eb65378c60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 22 Jul 2014 18:01:27 +0200 Subject: [PATCH 08/24] fix to display the login successful message with the translation --- inc/poche/Poche.class.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 09a9f5ff8..2b0c3bf8d 100755 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php @@ -877,6 +877,14 @@ class Poche $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); From 3e87066506bbbc5e0819c4f8bc7ec5b763b76303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 22 Jul 2014 18:12:03 +0200 Subject: [PATCH 09/24] fix display of 'Done' message when we add a link from 'save a link' item --- themes/baggy/_pocheit-form.twig | 2 +- themes/baggy/css/main.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/baggy/_pocheit-form.twig b/themes/baggy/_pocheit-form.twig index 505ec368e..57a928c0b 100755 --- a/themes/baggy/_pocheit-form.twig +++ b/themes/baggy/_pocheit-form.twig @@ -4,7 +4,7 @@ {% trans "Save a link" %} + -
diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css index 6d320cd2d..711c152be 100755 --- a/themes/baggy/css/main.css +++ b/themes/baggy/css/main.css @@ -630,7 +630,7 @@ a.add-to-wallabag-link-after:after { #add-link-result { font-weight: bold; - margin-top: 10px; + font-size: 0.9em; } /* ========================================================================== From cca9284b6a8111f5dd07bca3f8d4f266ceee3c1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Tue, 22 Jul 2014 18:14:41 +0200 Subject: [PATCH 10/24] change default pagination, set it to 12, to have a nice baggy display --- inc/poche/config.inc.default.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/poche/config.inc.default.php b/inc/poche/config.inc.default.php index 95f727c68..d01580970 100755 --- a/inc/poche/config.inc.default.php +++ b/inc/poche/config.inc.default.php @@ -59,7 +59,7 @@ @define ('LOCALE', ROOT . '/locale'); @define ('CACHE', ROOT . '/cache'); -@define ('PAGINATION', '10'); +@define ('PAGINATION', '12'); //limit for download of articles during import @define ('IMPORT_LIMIT', 5); From 9f8541ef2a9dc670ca75fb452c0930e1afa4a8f6 Mon Sep 17 00:00:00 2001 From: Maryana Rozhankivska Date: Tue, 22 Jul 2014 20:17:15 +0300 Subject: [PATCH 11/24] highlight.js library added to highlight programming code examples in article view --- themes/baggy/css/main.css | 8 + themes/baggy/view.twig | 1 + themes/default/_highlight.twig | 4 + themes/default/css/style.css | 6 + themes/default/highlightjs/highlight.pack.js | 1 + themes/default/highlightjs/styles/default.css | 152 ++++++++++++++++++ themes/default/highlightjs/styles/github.css | 127 +++++++++++++++ .../default/highlightjs/styles/googlecode.css | 148 +++++++++++++++++ themes/default/view.twig | 1 + 9 files changed, 448 insertions(+) create mode 100755 themes/default/_highlight.twig create mode 100644 themes/default/highlightjs/highlight.pack.js create mode 100644 themes/default/highlightjs/styles/default.css create mode 100644 themes/default/highlightjs/styles/github.css create mode 100644 themes/default/highlightjs/styles/googlecode.css diff --git a/themes/baggy/css/main.css b/themes/baggy/css/main.css index 6d320cd2d..f82387449 100755 --- a/themes/baggy/css/main.css +++ b/themes/baggy/css/main.css @@ -923,6 +923,13 @@ blockquote { text-decoration: underline; } +pre code { + font-family: "Courier New", Courier, monospace; + border: 1px solid #ccc; + font-size: 0.96em; +} + + /* ========================================================================== 6 = Media Queries ========================================================================== */ @@ -1055,3 +1062,4 @@ blockquote { left: 0; } } + diff --git a/themes/baggy/view.twig b/themes/baggy/view.twig index af97407d0..703ce5be1 100755 --- a/themes/baggy/view.twig +++ b/themes/baggy/view.twig @@ -4,6 +4,7 @@ {% endblock %} {% block title %}{{ entry.title|raw }} ({{ entry.url | e | getDomain }}){% endblock %} {% block content %} + {% include '_highlight.twig' %}