From 4837ee36211647fe3ad6137d8d34ec32a2edfa3a Mon Sep 17 00:00:00 2001 From: Kristian Kankainen Date: Tue, 13 May 2014 17:02:59 +0300 Subject: [PATCH 1/6] added estonian translation --- public/lang/et.ini | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 public/lang/et.ini diff --git a/public/lang/et.ini b/public/lang/et.ini new file mode 100755 index 0000000000..7772fd2721 --- /dev/null +++ b/public/lang/et.ini @@ -0,0 +1,39 @@ +lang_markread=Märgi loetuks +lang_newest=Uuemad +lang_unread=Mitteloetud +lang_starred=Tärniga +lang_tags=Sildid +lang_alltags=Kõik sildid +lang_timestamp={0,date} {0,time} +lang_hours={0,plural,one {1 tund},other {# tundi}} tagasi +lang_minutes={0,plural,one {1 minut},other {# minutit}} tagasi +lang_seconds={0,plural,one {1 sekund},other {# sekundit}} tagasi +lang_star=tärniga +lang_unstar=tärnita +lang_mark=märgi loetuks +lang_unmark=märgi mitteloetuks +lang_load_img=pildid +lang_open_window=ava +lang_searchbutton=otsi +lang_sources=Tellimused +lang_source_add=Lisa tellimus +lang_source_opml=või impordi opml-fail või Google Reader +lang_source_export=ekspordi tellimused +lang_source_edit=toimeta +lang_source_delete=kustuta +lang_source_warn=Kas tõesti kustutada tellimus? +lang_source_new=uus salvestamata tellimus +lang_source_title=Nimi +lang_source_tags=Sildid +lang_source_comma=komaga eraldatud +lang_source_select=Tellimuse allika liik +lang_source_type=Liik +lang_source_save=Salvesta +lang_source_cancel=loobu +lang_source_saved=salvestatud +lang_no_entries=Ühtki sündmust ei leitud +lang_more=rohkem +lang_login=logi sisse +lang_login_username=Kasutajanimi +lang_login_password=Parool +lang_no_title=Nimeta From 07b840a3ccd9ae44ef8aa9bd49a97b26eb99e1f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ho=C3=A0ng=20=C4=90=E1=BB=A9c=20Hi=E1=BA=BFu?= Date: Fri, 16 May 2014 13:36:29 +0700 Subject: [PATCH 2/6] allow and elements --- helpers/ContentLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/ContentLoader.php b/helpers/ContentLoader.php index d85d67e61b..ef8f4c75a4 100644 --- a/helpers/ContentLoader.php +++ b/helpers/ContentLoader.php @@ -198,7 +198,7 @@ protected function sanitizeContent($content) { "keep_bad" => 0, "comment" => 1, "cdata" => 1, - "elements" => 'div,p,ul,li,a,img,dl,dt,dd,h1,h2,h3,h4,h5,h6,ol,br,table,tr,td,blockquote,pre,ins,del,th,thead,tbody,b,i,strong,em,tt' + "elements" => 'div,p,ul,li,a,img,dl,dt,dd,h1,h2,h3,h4,h5,h6,ol,br,table,tr,td,blockquote,pre,ins,del,th,thead,tbody,b,i,strong,em,tt,sub,sup' ) ); } From bd53e825ce8aa3412a8f33453636330b93f788f1 Mon Sep 17 00:00:00 2001 From: Kristian Kankainen Date: Fri, 16 May 2014 13:18:21 +0300 Subject: [PATCH 3/6] updated estonian translation --- public/lang/et.ini | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/lang/et.ini b/public/lang/et.ini index 7772fd2721..b300514840 100755 --- a/public/lang/et.ini +++ b/public/lang/et.ini @@ -1,13 +1,13 @@ lang_markread=Märgi loetuks -lang_newest=Uuemad +lang_newest=Uued lang_unread=Mitteloetud lang_starred=Tärniga lang_tags=Sildid lang_alltags=Kõik sildid -lang_timestamp={0,date} {0,time} -lang_hours={0,plural,one {1 tund},other {# tundi}} tagasi -lang_minutes={0,plural,one {1 minut},other {# minutit}} tagasi -lang_seconds={0,plural,one {1 sekund},other {# sekundit}} tagasi +lang_timestamp=lisatud {0,date} kell {0,time} +lang_hours=lisatud {0,plural,one {1 tund},other {# tundi}} tagasi +lang_minutes=lisatud {0,plural,one {1 minut},other {# minutit}} tagasi +lang_seconds=lisatud {0,plural,one {1 sekund},other {# sekundit}} tagasi lang_star=tärniga lang_unstar=tärnita lang_mark=märgi loetuks From b8630b92a944a8c59de24ff935affb2dde2139ed Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Thu, 29 May 2014 20:01:55 -0400 Subject: [PATCH 4/6] Prevent text in entry jumping when marking read status --- public/css/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/public/css/style.css b/public/css/style.css index e5cf3ebd0f..f53d745b9e 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -396,6 +396,7 @@ input { .entry.selected.unread, .entry.unread { + margin-left: 3px; border-left:3px solid #5f9490; } From 35a7d5a96c2456f8bd1270f433fa991c0f137628 Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Thu, 29 May 2014 20:02:46 -0400 Subject: [PATCH 5/6] Add more padding to the sides of text in entry --- public/css/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/public/css/style.css b/public/css/style.css index f53d745b9e..191c06dbaa 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -455,6 +455,7 @@ input { margin-top:20px; line-height: 1.7em; overflow: hidden; + padding: 0 1em; } .entry-content a { From eacd689548e40811d8df0c05ee269116d2168d19 Mon Sep 17 00:00:00 2001 From: yDelouis Date: Mon, 16 Jun 2014 20:22:47 +0200 Subject: [PATCH 6/6] If authentication is not enabled, /login should return true --- helpers/Authentication.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helpers/Authentication.php b/helpers/Authentication.php index a934bca7ce..125372e13f 100644 --- a/helpers/Authentication.php +++ b/helpers/Authentication.php @@ -105,9 +105,11 @@ public function login($username, $password) { $this->loggedin = true; $_SESSION['loggedin'] = true; return true; + } else { + return false; } } - return false; + return true; }