From a5b7bacfb68af6495d94a931b4ac5e7cf806b213 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Tue, 23 Oct 2018 20:15:10 +0200 Subject: [PATCH] languages updated, search plugin fix where Am I variable --- bl-kernel/boot/init.php | 2 +- bl-kernel/boot/variables.php | 2 +- bl-languages/ar_MA.json | 3 ++- bl-languages/bg_BG.json | 3 ++- bl-languages/cs_CZ.json | 3 ++- bl-languages/de_CH.json | 3 ++- bl-languages/de_DE.json | 3 ++- bl-languages/en.json | 3 ++- bl-languages/es.json | 3 ++- bl-languages/fa_IR.json | 3 ++- bl-languages/fi_FI.json | 3 ++- bl-languages/fr_FR.json | 3 ++- bl-languages/gr.json | 3 ++- bl-languages/he_IL.json | 3 ++- bl-languages/hu_HU.json | 3 ++- bl-languages/it_IT.json | 3 ++- bl-languages/ja_JP.json | 3 ++- bl-languages/ms_MY.json | 3 ++- bl-languages/nl_NL.json | 3 ++- bl-languages/pl_PL.json | 3 ++- bl-languages/pt_BR.json | 3 ++- bl-languages/pt_PT.json | 3 ++- bl-languages/ro_RO.json | 3 ++- bl-languages/ru_RU.json | 3 ++- bl-languages/tr_TR.json | 3 ++- bl-languages/uk_UA.json | 3 ++- bl-languages/vi_VN.json | 3 ++- bl-languages/zh_CN.json | 3 ++- bl-languages/zh_TW.json | 3 ++- bl-plugins/search/plugin.php | 4 +++- 30 files changed, 59 insertions(+), 30 deletions(-) diff --git a/bl-kernel/boot/init.php b/bl-kernel/boot/init.php index 02cc7fbf..12c98763 100644 --- a/bl-kernel/boot/init.php +++ b/bl-kernel/boot/init.php @@ -179,7 +179,7 @@ define('HTML_PATH_UPLOADS_THUMBNAILS', HTML_PATH_UPLOADS.'thumbnails/'); define('HTML_PATH_PLUGINS', HTML_PATH_ROOT.'bl-plugins/'); // --- Objects with dependency --- -$language = $language = new Language( $site->language() ); +$language = new Language( $site->language() ); $url->checkFilters( $site->uriFilters() ); // --- CONSTANTS with dependency --- diff --git a/bl-kernel/boot/variables.php b/bl-kernel/boot/variables.php index c31f0b2f..916efaa7 100644 --- a/bl-kernel/boot/variables.php +++ b/bl-kernel/boot/variables.php @@ -96,7 +96,7 @@ define('SESSION_COOKIE_LIFE_TIME', 0); $GLOBALS['ALERT_DISSAPEAR_IN'] = 3; // Seconds // Number of images to show in the media manager per page -$GLOBALS['MEDIA_MANAGER_NUMBER_OF_FILES'] = 2; +$GLOBALS['MEDIA_MANAGER_NUMBER_OF_FILES'] = 5; // Sort the image by date $GLOBALS['MEDIA_MANAGER_SORT_BY_DATE'] = true; diff --git a/bl-languages/ar_MA.json b/bl-languages/ar_MA.json index 8402f7a2..8ec35723 100644 --- a/bl-languages/ar_MA.json +++ b/bl-languages/ar_MA.json @@ -363,5 +363,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/bg_BG.json b/bl-languages/bg_BG.json index e4ba72d4..d89f29a5 100644 --- a/bl-languages/bg_BG.json +++ b/bl-languages/bg_BG.json @@ -363,5 +363,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/cs_CZ.json b/bl-languages/cs_CZ.json index 89d82c08..bc33f11b 100644 --- a/bl-languages/cs_CZ.json +++ b/bl-languages/cs_CZ.json @@ -364,5 +364,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/de_CH.json b/bl-languages/de_CH.json index 6a754460..79123c4b 100644 --- a/bl-languages/de_CH.json +++ b/bl-languages/de_CH.json @@ -364,5 +364,6 @@ "hello": "Hallo", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/de_DE.json b/bl-languages/de_DE.json index 6b14f299..045b674f 100644 --- a/bl-languages/de_DE.json +++ b/bl-languages/de_DE.json @@ -364,5 +364,6 @@ "hello": "Hallo", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/en.json b/bl-languages/en.json index 66b5f959..6d078dab 100644 --- a/bl-languages/en.json +++ b/bl-languages/en.json @@ -364,5 +364,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/es.json b/bl-languages/es.json index 2a4937a1..9097ff27 100644 --- a/bl-languages/es.json +++ b/bl-languages/es.json @@ -363,5 +363,6 @@ "hello": "Hola", "there-are-no-images-for-the-page": "No hay imágenes para la página.", "select-cover-image": "Seleccionar imagen de portada", - "this-plugin-depends-on-the-following-plugins": "Este plugin depende de los siguientes plugins." + "this-plugin-depends-on-the-following-plugins": "Este plugin depende de los siguientes plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/fa_IR.json b/bl-languages/fa_IR.json index 8ff05bed..495c651e 100644 --- a/bl-languages/fa_IR.json +++ b/bl-languages/fa_IR.json @@ -363,5 +363,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/fi_FI.json b/bl-languages/fi_FI.json index fc42bc72..5194f1be 100644 --- a/bl-languages/fi_FI.json +++ b/bl-languages/fi_FI.json @@ -363,5 +363,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/fr_FR.json b/bl-languages/fr_FR.json index 56cf4009..5a54d90e 100644 --- a/bl-languages/fr_FR.json +++ b/bl-languages/fr_FR.json @@ -364,5 +364,6 @@ "hello": "Salut", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/gr.json b/bl-languages/gr.json index 4ae1297e..0c8fd445 100644 --- a/bl-languages/gr.json +++ b/bl-languages/gr.json @@ -364,5 +364,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/he_IL.json b/bl-languages/he_IL.json index 2338a11f..d1e2562d 100644 --- a/bl-languages/he_IL.json +++ b/bl-languages/he_IL.json @@ -364,5 +364,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/hu_HU.json b/bl-languages/hu_HU.json index 82dfadec..aaad1c55 100644 --- a/bl-languages/hu_HU.json +++ b/bl-languages/hu_HU.json @@ -363,5 +363,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/it_IT.json b/bl-languages/it_IT.json index 8ac4e260..fd3b5e62 100644 --- a/bl-languages/it_IT.json +++ b/bl-languages/it_IT.json @@ -363,5 +363,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/ja_JP.json b/bl-languages/ja_JP.json index d1e4765c..95966466 100644 --- a/bl-languages/ja_JP.json +++ b/bl-languages/ja_JP.json @@ -364,5 +364,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/ms_MY.json b/bl-languages/ms_MY.json index 7edb4410..91a42568 100644 --- a/bl-languages/ms_MY.json +++ b/bl-languages/ms_MY.json @@ -363,5 +363,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/nl_NL.json b/bl-languages/nl_NL.json index ae645f4d..eb8b0937 100644 --- a/bl-languages/nl_NL.json +++ b/bl-languages/nl_NL.json @@ -363,5 +363,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/pl_PL.json b/bl-languages/pl_PL.json index 3f7eb7f1..37dce9c5 100644 --- a/bl-languages/pl_PL.json +++ b/bl-languages/pl_PL.json @@ -364,5 +364,6 @@ "hello": "Cześć", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/pt_BR.json b/bl-languages/pt_BR.json index 21176ff2..f38cb3d0 100644 --- a/bl-languages/pt_BR.json +++ b/bl-languages/pt_BR.json @@ -364,5 +364,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/pt_PT.json b/bl-languages/pt_PT.json index 56773482..449b8f0c 100644 --- a/bl-languages/pt_PT.json +++ b/bl-languages/pt_PT.json @@ -364,5 +364,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/ro_RO.json b/bl-languages/ro_RO.json index 7fe7855d..5ef9a8f7 100644 --- a/bl-languages/ro_RO.json +++ b/bl-languages/ro_RO.json @@ -360,5 +360,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/ru_RU.json b/bl-languages/ru_RU.json index 6ffdf3cf..e6608a0c 100644 --- a/bl-languages/ru_RU.json +++ b/bl-languages/ru_RU.json @@ -364,5 +364,6 @@ "hello": "Привет", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/tr_TR.json b/bl-languages/tr_TR.json index d55bc122..28617364 100644 --- a/bl-languages/tr_TR.json +++ b/bl-languages/tr_TR.json @@ -365,5 +365,6 @@ "hello": "Merhaba", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/uk_UA.json b/bl-languages/uk_UA.json index e91d01c9..b4a0a3b6 100644 --- a/bl-languages/uk_UA.json +++ b/bl-languages/uk_UA.json @@ -364,5 +364,6 @@ "hello": "Вітаю", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/vi_VN.json b/bl-languages/vi_VN.json index 38a08f0c..18eb6888 100644 --- a/bl-languages/vi_VN.json +++ b/bl-languages/vi_VN.json @@ -363,5 +363,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/zh_CN.json b/bl-languages/zh_CN.json index 4b4ff87e..af829597 100644 --- a/bl-languages/zh_CN.json +++ b/bl-languages/zh_CN.json @@ -363,5 +363,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-languages/zh_TW.json b/bl-languages/zh_TW.json index 7b5bc3f2..444b6b71 100644 --- a/bl-languages/zh_TW.json +++ b/bl-languages/zh_TW.json @@ -363,5 +363,6 @@ "hello": "Hello", "there-are-no-images-for-the-page": "There are no images for the page.", "select-cover-image": "Select cover image", - "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins." + "this-plugin-depends-on-the-following-plugins": "This plugin depends on the following plugins.", + "no-pages-found": "No pages found" } \ No newline at end of file diff --git a/bl-plugins/search/plugin.php b/bl-plugins/search/plugin.php index 78543228..e3c57c20 100644 --- a/bl-plugins/search/plugin.php +++ b/bl-plugins/search/plugin.php @@ -35,7 +35,7 @@ class pluginSearch extends Plugin { public function siteSidebar() { global $L; - + $html = '