From 5bb0a46548d334d8fde3d006ba1d2ef2cf12690f Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Sun, 16 Sep 2018 19:26:23 +0200 Subject: [PATCH 01/17] robots plugin improves --- bl-kernel/admin/controllers/dashboard.php | 18 ++-- bl-kernel/pages.class.php | 110 ---------------------- bl-plugins/remote-content/plugin.php | 4 +- bl-plugins/robots/plugin.php | 34 ++++++- install.php | 3 +- 5 files changed, 46 insertions(+), 123 deletions(-) diff --git a/bl-kernel/admin/controllers/dashboard.php b/bl-kernel/admin/controllers/dashboard.php index 1ed04523..b924561d 100644 --- a/bl-kernel/admin/controllers/dashboard.php +++ b/bl-kernel/admin/controllers/dashboard.php @@ -9,14 +9,16 @@ function updateBludit() { if( ($site->currentBuild() < BLUDIT_BUILD) || isset($_GET['update']) ) { Log::set('UPDATE SYSTEM - Starting.'); - @mkdir(PATH_WORKSPACES, DIR_PERMISSIONS, true); - - $plugins = array('pluginRSS', 'pluginSitemap', 'pluginTimeMachineX', 'pluginBackup'); - foreach ($plugins as $plugin) { - if (pluginActivated($plugin)) { - Log::set('UPDATE SYSTEM - Re-enable plugin: '.$plugin); - deactivatePlugin($plugin); - activatePlugin($plugin); + // Updates only for version less than Bludit v3.0 rc-3 + if ($site->currentBuild()<'20180910') { + @mkdir(PATH_WORKSPACES, DIR_PERMISSIONS, true); + $plugins = array('simple-stats', 'pluginRSS', 'pluginSitemap', 'pluginTimeMachineX', 'pluginBackup'); + foreach ($plugins as $plugin) { + if (pluginActivated($plugin)) { + Log::set('UPDATE SYSTEM - Re-enable plugin: '.$plugin); + deactivatePlugin($plugin); + activatePlugin($plugin); + } } } diff --git a/bl-kernel/pages.class.php b/bl-kernel/pages.class.php index 17b9d1f5..7c0f0af3 100644 --- a/bl-kernel/pages.class.php +++ b/bl-kernel/pages.class.php @@ -687,116 +687,6 @@ class Pages extends dbJSON { return $newKey; } - public function rescanClimode() - { - Log::set('CLI MODE'.LOG_SEP.'Starting re-scan on pages directory.'); - $pageList = array(); - - // Search for pages - $directories = Filesystem::listDirectories(PATH_PAGES, $regex='*', $sortByDate=false); - foreach($directories as $directory) { - if( Sanitize::pathFile($directory.DS.FILENAME) ) { - $pageKey = basename($directory); - $pageList[$pageKey] = true; - - // Search for children pages - $subDirectories = Filesystem::listDirectories(PATH_PAGES.$pageKey.DS, $regex='*', $sortByDate=false); - foreach($subDirectories as $subDirectory) { - if( Sanitize::pathFile($subDirectory.DS.FILENAME) ) { - $subPageKey = basename($subDirectory); - $subPageKey = $pageKey.'/'.$subPageKey; - $pageList[$subPageKey] = true; - } - } - } - } - - Log::set('CLI MODE'.LOG_SEP.'Updating pages...'); - $keys = array_keys($pageList); - foreach($keys as $pageKey) { - // Checksum - $checksum = md5_file(PATH_PAGES.$pageKey.DS.FILENAME); - - // New page - if( !isset($this->db[$pageKey]) ) { - $this->verifyFieldsClimode($pageKey, true); - } - // Update page - elseif($this->db[$pageKey]['md5file']!=$checksum) { - $this->verifyFieldsClimode($pageKey, false); - } - } - - Log::set('CLI MODE'.LOG_SEP.'Removing pages...'); - foreach( array_diff_key($this->db, $pageList) as $pageKey=>$data ) { - Log::set('CLI MODE'.LOG_SEP.'Removing page from database, key: '.$pageKey); - unset( $this->db[$pageKey] ); - } - $this->save(); - } - - private function verifyFieldsClimode($key, $insert=true) - { - $page = new Page($key); - $db = $page->getDB(); - - // Content from file - $db['content'] = $db['contentRaw']; - - // Parent - $db['parent'] = ''; - $db['slug'] = $key; - $explodeKey = explode('/', $key); - if(isset($explodeKey[1])) { - $db['parent'] = $explodeKey[0]; - $db['slug'] = $explodeKey[1]; - } - - // Date - if( !isset($db['date']) ) { - $db['date'] = Date::current(DB_DATE_FORMAT); - } - - // Status - if( !isset($db['type']) ) { - $db['type'] = CLI_STATUS; - } - - // Owner username - if( !isset($db['username']) ) { - $db['username'] = CLI_USERNAME; - } - - // New page or update page - if($insert) { - Log::set('CLI MODE'.LOG_SEP.'New page found, key:'.$key); - return $this->add($db, $climode=true); - } else { - Log::set('CLI MODE'.LOG_SEP.'Different checksum, updating page, key:'.$key); - return $this->edit($db, $climode=true); - } - } - - private function stylingFieldsForFile($field, $value) - { - // Support for Markdown files, good approach for Github - if (FILENAME==='index.md') { - if ($field==='title') { - return '#Title: '.$value; - } elseif ($field==='content') { - return '---'.PHP_EOL.$value; - } else { - return ''; - } - } - - // Legacy style of Bludit with index.txt - if ($field==='content') { - return 'Content:'.PHP_EOL.$value; - } - return Text::firstCharUp($field).': '.$value; - } - // Returns an Array, array('tagSlug'=>'tagName') // (string) $tags, tag list separated by comma. public function generateTags($tags) diff --git a/bl-plugins/remote-content/plugin.php b/bl-plugins/remote-content/plugin.php index f5f5cabd..5f07d647 100644 --- a/bl-plugins/remote-content/plugin.php +++ b/bl-plugins/remote-content/plugin.php @@ -10,7 +10,7 @@ class pluginRemoteContent extends Plugin { // Key and value for the database of the plugin $this->dbFields = array( 'webhook'=>$randomWebhook, - 'source'=>'https://github.com/bludit/remote-content-example/archive/master.zip' + 'source'=>'' ); } @@ -48,7 +48,7 @@ class pluginRemoteContent extends Plugin { $webhook = $this->getValue('webhook'); if ($this->webhook($webhook)) { // Download files - //$this->downloadFiles(); + $this->downloadFiles(); // Delete the current content $this->deleteContent(); diff --git a/bl-plugins/robots/plugin.php b/bl-plugins/robots/plugin.php index 3dec28ea..180c5d96 100644 --- a/bl-plugins/robots/plugin.php +++ b/bl-plugins/robots/plugin.php @@ -2,14 +2,34 @@ class pluginRobots extends Plugin { + public function init() + { + $this->dbFields = array( + 'robotstxt'=>'User-agent: *'.PHP_EOL.'Allow: /' + ); + } + + public function form() + { + $html = ''; + + $html .= '
'; + $html .= ''; + $html .= ''; + $html .= '
'; + + return $html; + } + public function siteHead() { global $WHERE_AM_I; - global $page; $html = PHP_EOL.''.PHP_EOL; - if ($WHERE_AM_I=='page') { + global $page; $robots = array(); if ($page->noindex()) { @@ -33,4 +53,14 @@ class pluginRobots extends Plugin { return $html; } + public function beforeAll() + { + $webhook = 'robots.txt'; + if ($this->webhook($webhook)) { + header('Content-type: text/plain'); + echo $this->getValue('robotstxt'); + exit(0); + } + } + } \ No newline at end of file diff --git a/install.php b/install.php index 0e248198..06d4f494 100644 --- a/install.php +++ b/install.php @@ -521,7 +521,8 @@ function install($adminPassword, $timezone) PATH_PLUGINS_DATABASES.'robots'.DS.'db.php', $dataHead.json_encode( array( - 'position'=>1 + 'position'=>1, + 'robotstxt'=>'User-agent: *'.PHP_EOL.'Allow: /' ), JSON_PRETTY_PRINT), LOCK_EX From 1c1838ad3c53827fed29d6e41f875ffaba0baaf3 Mon Sep 17 00:00:00 2001 From: Ali Demirtas Date: Sun, 16 Sep 2018 20:41:42 +0300 Subject: [PATCH 02/17] Update tr_TR.json Translation updated. --- bl-plugins/backup/languages/tr_TR.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bl-plugins/backup/languages/tr_TR.json b/bl-plugins/backup/languages/tr_TR.json index 0024bbce..ff8c3b4a 100644 --- a/bl-plugins/backup/languages/tr_TR.json +++ b/bl-plugins/backup/languages/tr_TR.json @@ -2,11 +2,11 @@ "plugin-data": { "name": "Yedekleme", - "description": "Yedek almak için en kolay yol." + "description": "Yedek oluşturmak için en kolay yol." }, - "create-backup": "Yedek Al", + "create-backup": "Yedek oluştur", "download": "İndir", - "restore-backup": "Geri Yükle", - "delete-backup": "Delete Backup", - "there-are-no-backups-for-the-moment": "There are no backups for the moment" -} \ No newline at end of file + "restore-backup": "Geri yükle", + "delete-backup": "Yedeklemeyi sil", + "there-are-no-backups-for-the-moment": "Şu an için yedek yok" +} From 389a40044330ef30dab6d209b7f71a20e2cfefe1 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Sun, 16 Sep 2018 19:45:56 +0200 Subject: [PATCH 03/17] missing phrases --- bl-languages/ar_MA.json | 5 ++++- bl-languages/bg_BG.json | 5 ++++- bl-languages/cs_CZ.json | 5 ++++- bl-languages/de_CH.json | 7 +++++-- bl-languages/de_DE.json | 7 +++++-- bl-languages/en.json | 5 ++++- bl-languages/es.json | 19 +++++++++++-------- bl-languages/fa_IR.json | 5 ++++- bl-languages/fi_FI.json | 5 ++++- bl-languages/fr_FR.json | 5 ++++- bl-languages/gr.json | 5 ++++- bl-languages/he_IL.json | 5 ++++- bl-languages/hu_HU.json | 5 ++++- bl-languages/it_IT.json | 5 ++++- bl-languages/ja_JP.json | 5 ++++- bl-languages/ms_MY.json | 5 ++++- bl-languages/nl_NL.json | 5 ++++- bl-languages/pl_PL.json | 5 ++++- bl-languages/pt_BR.json | 5 ++++- bl-languages/pt_PT.json | 5 ++++- bl-languages/ro_RO.json | 5 ++++- bl-languages/ru_RU.json | 7 +++++-- bl-languages/tr_TR.json | 5 ++++- bl-languages/uk_UA.json | 7 +++++-- bl-languages/vi_VN.json | 5 ++++- bl-languages/zh_CN.json | 5 ++++- bl-languages/zh_TW.json | 5 ++++- 27 files changed, 119 insertions(+), 38 deletions(-) diff --git a/bl-languages/ar_MA.json b/bl-languages/ar_MA.json index b0c9ac49..d1503cc0 100644 --- a/bl-languages/ar_MA.json +++ b/bl-languages/ar_MA.json @@ -352,5 +352,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/bg_BG.json b/bl-languages/bg_BG.json index e79f4138..7a1ce6bc 100644 --- a/bl-languages/bg_BG.json +++ b/bl-languages/bg_BG.json @@ -352,5 +352,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/cs_CZ.json b/bl-languages/cs_CZ.json index 1bc17a6f..df1feb7d 100644 --- a/bl-languages/cs_CZ.json +++ b/bl-languages/cs_CZ.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/de_CH.json b/bl-languages/de_CH.json index be9050b3..b6daab06 100644 --- a/bl-languages/de_CH.json +++ b/bl-languages/de_CH.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "Der Inhalt ist als Entwurf gespeichert. Um ihn zu veröffentlichen, klicke Veröffentlichen<\/b>, wenn du ihn du weiter daran arbeiten möchtest, klicke Als Entwurf speichern<\/b>.", "site": "Website", "first": "First", - "last": "Last" -} + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." +} \ No newline at end of file diff --git a/bl-languages/de_DE.json b/bl-languages/de_DE.json index 581f887c..a2aa50dc 100644 --- a/bl-languages/de_DE.json +++ b/bl-languages/de_DE.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "Der Inhalt ist als Entwurf gespeichert. Um ihn zu veröffentlichen, klicke Veröffentlichen<\/b>, wenn du ihn du weiter daran arbeiten möchtest, klicke Als Entwurf speichern<\/b>.", "site": "Website", "first": "First", - "last": "Last" -} + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." +} \ No newline at end of file diff --git a/bl-languages/en.json b/bl-languages/en.json index d7d3c11c..4938c77f 100644 --- a/bl-languages/en.json +++ b/bl-languages/en.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/es.json b/bl-languages/es.json index 371dbbe4..9e1007d4 100644 --- a/bl-languages/es.json +++ b/bl-languages/es.json @@ -281,10 +281,10 @@ "minute": "minuto", "example-page-1-slug": "crea-tu-propio-contenido", "example-page-1-title": "Crea tu propio contenido", - "example-page-1-content": "Comience a escribir su propio contenido o edite el actual para adaptarlo a sus necesidades. Para crear, editar o eliminar contenido debe iniciar sesión en el panel de administración<\/a> con el nombre de usuario admin y la contraseña que configuró en el proceso de instalación.", + "example-page-1-content": "Comience a escribir su propio contenido o edite el actual para adaptarlo a sus necesidades. Para crear, editar o eliminar contenido debe iniciar sesión en el panel de administración<\/a> con el nombre de usuario admin<\/code> y la contraseña que configuró en el proceso de instalación.", "example-page-2-slug": "set-up-your-new-site", "example-page-2-title": "Configure su nuevo sitio", - "example-page-2-content": "Actualice la configuración de su sitio desde el panel de administración<\/a>, puede cambiar el título, la descripción y las redes sociales desde Configuracion > General.", + "example-page-2-content": "Actualice la configuración de su sitio desde el panel de administración<\/a>, puede cambiar el título, la descripción y las redes sociales desde Configuracion > General<\/a>.", "example-page-3-slug": "follow-bludit", "example-page-3-title": "Sigue Bludit", "example-page-3-content": "Seguinos en las redes sociales Facebook<\/a>, Twitter<\/a> y Google Plus<\/a> para estar informado de las ultimas noticias, nuevos plugins, nuevos temas, y las ultimas versiones. También podes seguir nuestro Blog<\/a>.", @@ -347,10 +347,13 @@ "access-denied": "Acceso denegado", "choose-images-to-upload": "Elige imágenes para subir", "insert": "Insertar", - "upload": "Upload", - "autosave": "Autosave", - "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", - "site": "Site", - "first": "First", - "last": "Last" + "upload": "Subir", + "autosave": "Autoguardado", + "the-content-is-saved-as-a-draft-to-publish-it": "El contenido se guarda como borrador. Para publicarlo haz clic en el botón Publicar<> o si sigues trabajando en él haz clic en Guardar como borrador<\/b>", + "site": "Sitio", + "first": "Primero", + "last": "Último", + "there-are-no-pages-at-this-moment": "No hay páginas en este momento.", + "there-are-no-static-pages-at-this-moment": "No hay páginas estáticas en este momento.", + "there-are-no-draft-pages-at-this-moment": "No hay páginas borrador en este momento." } \ No newline at end of file diff --git a/bl-languages/fa_IR.json b/bl-languages/fa_IR.json index 7a2515ef..f63f2793 100644 --- a/bl-languages/fa_IR.json +++ b/bl-languages/fa_IR.json @@ -352,5 +352,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/fi_FI.json b/bl-languages/fi_FI.json index f9722bce..2f78e63f 100644 --- a/bl-languages/fi_FI.json +++ b/bl-languages/fi_FI.json @@ -352,5 +352,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/fr_FR.json b/bl-languages/fr_FR.json index 252c3af2..4262c4fe 100755 --- a/bl-languages/fr_FR.json +++ b/bl-languages/fr_FR.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/gr.json b/bl-languages/gr.json index bc437068..0259ddc5 100644 --- a/bl-languages/gr.json +++ b/bl-languages/gr.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/he_IL.json b/bl-languages/he_IL.json index b6074da2..6a42d16b 100644 --- a/bl-languages/he_IL.json +++ b/bl-languages/he_IL.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/hu_HU.json b/bl-languages/hu_HU.json index b23a6b93..f59ffa59 100644 --- a/bl-languages/hu_HU.json +++ b/bl-languages/hu_HU.json @@ -352,5 +352,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/it_IT.json b/bl-languages/it_IT.json index 9054fb54..0653aa9f 100644 --- a/bl-languages/it_IT.json +++ b/bl-languages/it_IT.json @@ -352,5 +352,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/ja_JP.json b/bl-languages/ja_JP.json index 686c142c..00817ac5 100644 --- a/bl-languages/ja_JP.json +++ b/bl-languages/ja_JP.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/ms_MY.json b/bl-languages/ms_MY.json index 186a97cf..25872fb1 100644 --- a/bl-languages/ms_MY.json +++ b/bl-languages/ms_MY.json @@ -352,5 +352,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/nl_NL.json b/bl-languages/nl_NL.json index 7eb40189..78414d61 100644 --- a/bl-languages/nl_NL.json +++ b/bl-languages/nl_NL.json @@ -352,5 +352,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/pl_PL.json b/bl-languages/pl_PL.json index 0e725c16..94cd3bd9 100644 --- a/bl-languages/pl_PL.json +++ b/bl-languages/pl_PL.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/pt_BR.json b/bl-languages/pt_BR.json index 6be6dfb1..cc64b6e6 100644 --- a/bl-languages/pt_BR.json +++ b/bl-languages/pt_BR.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/pt_PT.json b/bl-languages/pt_PT.json index bd5699f8..c8eef6e2 100644 --- a/bl-languages/pt_PT.json +++ b/bl-languages/pt_PT.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/ro_RO.json b/bl-languages/ro_RO.json index 532a6ed6..0b2a379b 100644 --- a/bl-languages/ro_RO.json +++ b/bl-languages/ro_RO.json @@ -349,5 +349,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/ru_RU.json b/bl-languages/ru_RU.json index 8daa283e..2f8e126d 100644 --- a/bl-languages/ru_RU.json +++ b/bl-languages/ru_RU.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "Содержимое сохранено как черновик. Для публикации нажимте на кнопку Опубликовать<\/b> или вы можете продолжить редактирование нажав на Сохранить как черновик<\/b>.", "site": "Сайт", "first": "Первый", - "last": "Последний" -} + "last": "Последний", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." +} \ No newline at end of file diff --git a/bl-languages/tr_TR.json b/bl-languages/tr_TR.json index 92f0bed9..078373cf 100644 --- a/bl-languages/tr_TR.json +++ b/bl-languages/tr_TR.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/uk_UA.json b/bl-languages/uk_UA.json index b02be4fc..c22c2577 100644 --- a/bl-languages/uk_UA.json +++ b/bl-languages/uk_UA.json @@ -353,5 +353,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "Контент збережено як чернетку. Для публікації натисніть на кнопку Опублікувати<\/b> або якщо ви все ще працюєте над ним, натисніть на Зберегти як чернетку<\/b>.", "site": "Сайт", "first": "Перший", - "last": "Останній" -} + "last": "Останній", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." +} \ No newline at end of file diff --git a/bl-languages/vi_VN.json b/bl-languages/vi_VN.json index 8b5b2ff8..c76fdaa1 100644 --- a/bl-languages/vi_VN.json +++ b/bl-languages/vi_VN.json @@ -352,5 +352,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/zh_CN.json b/bl-languages/zh_CN.json index 39c39cde..5fb36e5f 100644 --- a/bl-languages/zh_CN.json +++ b/bl-languages/zh_CN.json @@ -352,5 +352,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file diff --git a/bl-languages/zh_TW.json b/bl-languages/zh_TW.json index f4af9884..b75b5aa1 100644 --- a/bl-languages/zh_TW.json +++ b/bl-languages/zh_TW.json @@ -352,5 +352,8 @@ "the-content-is-saved-as-a-draft-to-publish-it": "The content is saved as a draft. To publish it click on the button Publish<\/b> or if you still working on it click on Save as draft<\/b>.", "site": "Site", "first": "First", - "last": "Last" + "last": "Last", + "there-are-no-pages-at-this-moment": "There are no pages at this moment.", + "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", + "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." } \ No newline at end of file From a1d6135caedce10212d217511e01f07a244ee4b2 Mon Sep 17 00:00:00 2001 From: Ali Demirtas Date: Sun, 16 Sep 2018 21:12:04 +0300 Subject: [PATCH 04/17] Create tr_TR.json Turkish translation file created. --- bl-themes/alternative/languages/tr_TR.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 bl-themes/alternative/languages/tr_TR.json diff --git a/bl-themes/alternative/languages/tr_TR.json b/bl-themes/alternative/languages/tr_TR.json new file mode 100644 index 00000000..8a1e2d71 --- /dev/null +++ b/bl-themes/alternative/languages/tr_TR.json @@ -0,0 +1,7 @@ +{ + "theme-data": + { + "name": "Alternative", + "description": "Web siteleri veya bloglar için basit ve zarif bir tema. Sosyal medya ve sabit sayfalarla kenar çubuğu." + } +} From 7ef2b3cd69f6da7343778c988666f07d7a80b2b0 Mon Sep 17 00:00:00 2001 From: Edi Date: Sun, 16 Sep 2018 20:13:08 +0200 Subject: [PATCH 05/17] Update de_DE.json --- bl-plugins/backup/languages/de_DE.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/backup/languages/de_DE.json b/bl-plugins/backup/languages/de_DE.json index 35a012ea..cec63c16 100644 --- a/bl-plugins/backup/languages/de_DE.json +++ b/bl-plugins/backup/languages/de_DE.json @@ -8,5 +8,5 @@ "download": "Backup herunterladen", "restore-backup": "Backup wiederherstellen", "delete-backup": "Backup löschen", - "there-are-no-backups-for-the-moment": "Derzeit gibt es keine Backups." + "there-are-no-backups-for-the-moment": "Es gibt keine Backups." } From 02c6372f0014ff2b48ed23fa2271466976c2a655 Mon Sep 17 00:00:00 2001 From: Edi Date: Sun, 16 Sep 2018 20:14:00 +0200 Subject: [PATCH 06/17] Update de_CH.json --- bl-plugins/backup/languages/de_CH.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/backup/languages/de_CH.json b/bl-plugins/backup/languages/de_CH.json index ca687859..cec63c16 100644 --- a/bl-plugins/backup/languages/de_CH.json +++ b/bl-plugins/backup/languages/de_CH.json @@ -8,5 +8,5 @@ "download": "Backup herunterladen", "restore-backup": "Backup wiederherstellen", "delete-backup": "Backup löschen", - "there-are-no-backups-for-the-moment": "Derzeit bibt es keine Backups." + "there-are-no-backups-for-the-moment": "Es gibt keine Backups." } From 7c156153e251133a550af672bee1bd74279099cd Mon Sep 17 00:00:00 2001 From: Ali Demirtas Date: Sun, 16 Sep 2018 21:15:43 +0300 Subject: [PATCH 07/17] Create tr_TR.json Turkish translation file created. --- bl-themes/blogx/languages/tr_TR.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 bl-themes/blogx/languages/tr_TR.json diff --git a/bl-themes/blogx/languages/tr_TR.json b/bl-themes/blogx/languages/tr_TR.json new file mode 100644 index 00000000..860e3a8d --- /dev/null +++ b/bl-themes/blogx/languages/tr_TR.json @@ -0,0 +1,7 @@ +{ + "theme-data": + { + "name": "Blog X", + "description": "Blog yazarları için tema, sağ kenar çubuğu ile birlikte. Okuma süresi, kenar çubuğunda sosyal simgeler ve sabit sayfalar." + } +} From 834b5d5c412093eef12d3cc80697b5421b32717e Mon Sep 17 00:00:00 2001 From: Edi Date: Sun, 16 Sep 2018 20:34:57 +0200 Subject: [PATCH 08/17] Update de_CH.json --- bl-plugins/backup/languages/de_CH.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/backup/languages/de_CH.json b/bl-plugins/backup/languages/de_CH.json index cec63c16..850588ba 100644 --- a/bl-plugins/backup/languages/de_CH.json +++ b/bl-plugins/backup/languages/de_CH.json @@ -2,7 +2,7 @@ "plugin-data": { "name": "Backup", - "description": "Einfach Backups erstellen und wiederherstellen." + "description": "Einfach Backups erstellen und wieder einspielen." }, "create-backup": "Backup erstellen", "download": "Backup herunterladen", From 90c3fd6217990dfab0611f755a43d287b17a23fa Mon Sep 17 00:00:00 2001 From: Edi Date: Sun, 16 Sep 2018 20:35:27 +0200 Subject: [PATCH 09/17] Update de_DE.json --- bl-plugins/backup/languages/de_DE.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/backup/languages/de_DE.json b/bl-plugins/backup/languages/de_DE.json index cec63c16..850588ba 100644 --- a/bl-plugins/backup/languages/de_DE.json +++ b/bl-plugins/backup/languages/de_DE.json @@ -2,7 +2,7 @@ "plugin-data": { "name": "Backup", - "description": "Einfach Backups erstellen und wiederherstellen." + "description": "Einfach Backups erstellen und wieder einspielen." }, "create-backup": "Backup erstellen", "download": "Backup herunterladen", From f3d460ee26404af69c60f7115d623b564b7a918c Mon Sep 17 00:00:00 2001 From: Edi Date: Sun, 16 Sep 2018 20:36:53 +0200 Subject: [PATCH 10/17] Update de_CH.json --- bl-plugins/static-pages/languages/de_CH.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bl-plugins/static-pages/languages/de_CH.json b/bl-plugins/static-pages/languages/de_CH.json index 71aa7057..49e7896a 100644 --- a/bl-plugins/static-pages/languages/de_CH.json +++ b/bl-plugins/static-pages/languages/de_CH.json @@ -1,8 +1,8 @@ { "plugin-data": { - "name": "Static Pages", + "name": "Statische Seiten", "description": "Menü der statischen Seiten." }, "home-link": "Hauptseite", "show-the-home-link-on-the-sidebar": "Hauptseite im Menü zeigen." -} \ No newline at end of file +} From 67cdd7e62e75c1a7123f0d4bf76e68de30b90832 Mon Sep 17 00:00:00 2001 From: Edi Date: Sun, 16 Sep 2018 20:37:16 +0200 Subject: [PATCH 11/17] Update de_DE.json --- bl-plugins/static-pages/languages/de_DE.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bl-plugins/static-pages/languages/de_DE.json b/bl-plugins/static-pages/languages/de_DE.json index 71aa7057..49e7896a 100644 --- a/bl-plugins/static-pages/languages/de_DE.json +++ b/bl-plugins/static-pages/languages/de_DE.json @@ -1,8 +1,8 @@ { "plugin-data": { - "name": "Static Pages", + "name": "Statische Seiten", "description": "Menü der statischen Seiten." }, "home-link": "Hauptseite", "show-the-home-link-on-the-sidebar": "Hauptseite im Menü zeigen." -} \ No newline at end of file +} From bb076844e9ae2a714891fb3253add08f1acf845e Mon Sep 17 00:00:00 2001 From: Edi Date: Sun, 16 Sep 2018 23:46:52 +0200 Subject: [PATCH 12/17] Update de_CH.json --- bl-languages/de_CH.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bl-languages/de_CH.json b/bl-languages/de_CH.json index b6daab06..193981c7 100644 --- a/bl-languages/de_CH.json +++ b/bl-languages/de_CH.json @@ -354,7 +354,7 @@ "site": "Website", "first": "First", "last": "Last", - "there-are-no-pages-at-this-moment": "There are no pages at this moment.", - "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", - "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." -} \ No newline at end of file + "there-are-no-pages-at-this-moment": "Es gibt keine Seiten.", + "there-are-no-static-pages-at-this-moment": "Es gibt keine statischen Inhalte.", + "there-are-no-draft-pages-at-this-moment": "Es gibt keine Entwürfe." +} From c250a54024f056f495ca4ddbb944e0ddbdf82871 Mon Sep 17 00:00:00 2001 From: Edi Date: Sun, 16 Sep 2018 23:47:36 +0200 Subject: [PATCH 13/17] Update de_DE.json --- bl-languages/de_DE.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bl-languages/de_DE.json b/bl-languages/de_DE.json index a2aa50dc..1a1a1627 100644 --- a/bl-languages/de_DE.json +++ b/bl-languages/de_DE.json @@ -354,7 +354,7 @@ "site": "Website", "first": "First", "last": "Last", - "there-are-no-pages-at-this-moment": "There are no pages at this moment.", - "there-are-no-static-pages-at-this-moment": "There are no static pages at this moment.", - "there-are-no-draft-pages-at-this-moment": "There are no draft pages at this moment." -} \ No newline at end of file + "there-are-no-pages-at-this-moment": "Es gibt keine Seiten.", + "there-are-no-static-pages-at-this-moment": "Es gibt keine statischen Inhalte.", + "there-are-no-draft-pages-at-this-moment": "Es gibt keine Entwürfe." +} From fbad845899648d1d372289c4234a695ffca9fc53 Mon Sep 17 00:00:00 2001 From: Edi Date: Mon, 17 Sep 2018 20:51:09 +0200 Subject: [PATCH 14/17] Update de_CH.json --- bl-plugins/html-code/languages/de_CH.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/html-code/languages/de_CH.json b/bl-plugins/html-code/languages/de_CH.json index f9273e0e..d2b77142 100644 --- a/bl-plugins/html-code/languages/de_CH.json +++ b/bl-plugins/html-code/languages/de_CH.json @@ -1,7 +1,7 @@ { "plugin-data": { - "name": "HTML Code", + "name": "HTML-Code", "description": "HTML-, JavaScript- oder CSS-Code in den Header-Bereich des Themes oder über oder unter den Inhaltsbereich des Themes einfügen." }, "insert-code-in-the-theme-inside-the-tag-head": "Code in den Bereich <head> </head> des Themes einfügen.", From 19679f4d74b60fac4a921158ecf5f361091b4362 Mon Sep 17 00:00:00 2001 From: Edi Date: Mon, 17 Sep 2018 20:51:36 +0200 Subject: [PATCH 15/17] Update de_DE.json --- bl-plugins/html-code/languages/de_DE.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/html-code/languages/de_DE.json b/bl-plugins/html-code/languages/de_DE.json index f9273e0e..d2b77142 100644 --- a/bl-plugins/html-code/languages/de_DE.json +++ b/bl-plugins/html-code/languages/de_DE.json @@ -1,7 +1,7 @@ { "plugin-data": { - "name": "HTML Code", + "name": "HTML-Code", "description": "HTML-, JavaScript- oder CSS-Code in den Header-Bereich des Themes oder über oder unter den Inhaltsbereich des Themes einfügen." }, "insert-code-in-the-theme-inside-the-tag-head": "Code in den Bereich <head> </head> des Themes einfügen.", From 34d5cf313c4040421cc7b04b3ce362d0b5e18a09 Mon Sep 17 00:00:00 2001 From: Edi Date: Mon, 17 Sep 2018 21:02:08 +0200 Subject: [PATCH 16/17] Create de_CH.json --- bl-plugins/robots/languages/de_CH.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 bl-plugins/robots/languages/de_CH.json diff --git a/bl-plugins/robots/languages/de_CH.json b/bl-plugins/robots/languages/de_CH.json new file mode 100644 index 00000000..7f5d9509 --- /dev/null +++ b/bl-plugins/robots/languages/de_CH.json @@ -0,0 +1,7 @@ +{ + "plugin-data": + { + "name": "Robots", + "description": "Plugin für die Verwendung von Robots-Meta-Tags zur Suchmaschinenoptimierung (SEO) unter "Einstellungen" bei der Erstellung oder Bearbeitung von Seiten. + } +} From 5e1c72949c07384c84c801ddcd8b007780739ca2 Mon Sep 17 00:00:00 2001 From: Edi Date: Mon, 17 Sep 2018 21:02:33 +0200 Subject: [PATCH 17/17] Create de_DE.json --- bl-plugins/robots/languages/de_DE.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 bl-plugins/robots/languages/de_DE.json diff --git a/bl-plugins/robots/languages/de_DE.json b/bl-plugins/robots/languages/de_DE.json new file mode 100644 index 00000000..7f5d9509 --- /dev/null +++ b/bl-plugins/robots/languages/de_DE.json @@ -0,0 +1,7 @@ +{ + "plugin-data": + { + "name": "Robots", + "description": "Plugin für die Verwendung von Robots-Meta-Tags zur Suchmaschinenoptimierung (SEO) unter "Einstellungen" bei der Erstellung oder Bearbeitung von Seiten. + } +}