include languages files
This commit is contained in:
parent
0a1a97893f
commit
1dc3f067dc
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,12 +1,15 @@
|
||||
.DS_Store
|
||||
dbgenerator.php
|
||||
bl-content/*
|
||||
bl-content-migrator
|
||||
bl-plugins/timemachine
|
||||
bl-plugins/timemachine-x
|
||||
bl-plugins/discovery
|
||||
bl-plugins/updater
|
||||
bl-plugins/medium-editor
|
||||
bl-plugins/quill
|
||||
bl-plugins/yandex-metrica/
|
||||
bl-plugins/domain-migrator/
|
||||
bl-kernel/bludit.pro.php
|
||||
bl-themes/docs
|
||||
bl-themes/docsx
|
||||
|
@ -72,15 +72,15 @@ class Text {
|
||||
|
||||
public static function addSlashes($string, $begin=true, $end=true)
|
||||
{
|
||||
if($begin) {
|
||||
$string = '/' . ltrim($string, '/');
|
||||
if ($begin) {
|
||||
$string = '/'.ltrim($string, '/');
|
||||
}
|
||||
|
||||
if($end) {
|
||||
$string = rtrim($string, '/') . '/';
|
||||
if ($end) {
|
||||
$string = rtrim($string, '/').'/';
|
||||
}
|
||||
|
||||
if($string=='//') {
|
||||
if ($string=='//') {
|
||||
return '/';
|
||||
}
|
||||
|
||||
|
@ -2,6 +2,6 @@
|
||||
"plugin-data":
|
||||
{
|
||||
"name": "Canonical",
|
||||
"description": ""
|
||||
"description": "Using canonical URLs can help to inform search engines which URLs have identical content."
|
||||
}
|
||||
}
|
7
bl-plugins/canonical/languages/es.json
Normal file
7
bl-plugins/canonical/languages/es.json
Normal 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."
|
||||
}
|
||||
}
|
7
bl-plugins/robots/languages/es.json
Normal file
7
bl-plugins/robots/languages/es.json
Normal 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."
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user