include languages files

This commit is contained in:
Diego Najar 2019-01-25 16:26:55 +01:00
parent 0a1a97893f
commit 1dc3f067dc
5 changed files with 23 additions and 6 deletions

3
.gitignore vendored
View File

@ -1,12 +1,15 @@
.DS_Store .DS_Store
dbgenerator.php dbgenerator.php
bl-content/* bl-content/*
bl-content-migrator
bl-plugins/timemachine bl-plugins/timemachine
bl-plugins/timemachine-x bl-plugins/timemachine-x
bl-plugins/discovery bl-plugins/discovery
bl-plugins/updater bl-plugins/updater
bl-plugins/medium-editor bl-plugins/medium-editor
bl-plugins/quill bl-plugins/quill
bl-plugins/yandex-metrica/
bl-plugins/domain-migrator/
bl-kernel/bludit.pro.php bl-kernel/bludit.pro.php
bl-themes/docs bl-themes/docs
bl-themes/docsx bl-themes/docsx

View File

@ -72,15 +72,15 @@ class Text {
public static function addSlashes($string, $begin=true, $end=true) public static function addSlashes($string, $begin=true, $end=true)
{ {
if($begin) { if ($begin) {
$string = '/' . ltrim($string, '/'); $string = '/'.ltrim($string, '/');
} }
if($end) { if ($end) {
$string = rtrim($string, '/') . '/'; $string = rtrim($string, '/').'/';
} }
if($string=='//') { if ($string=='//') {
return '/'; return '/';
} }

View File

@ -2,6 +2,6 @@
"plugin-data": "plugin-data":
{ {
"name": "Canonical", "name": "Canonical",
"description": "" "description": "Using canonical URLs can help to inform search engines which URLs have identical content."
} }
} }

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Canonical",
"description": "El uso de URL canónicas ayuda a los motores de búsqueda qué URLs tienen contenido idéntico."
}
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Robots",
"description": "Puedes usar una metaetiqueta HTML especial para decirle a los robots que no indexen el contenido de una página."
}
}