Merge pull request #1 from bludit/master

Pull request
This commit is contained in:
Edi 2017-10-19 21:24:39 +02:00 committed by GitHub
commit 5719189990
36 changed files with 399 additions and 190 deletions

View File

@ -2,9 +2,9 @@
// Bludit version
define('BLUDIT_VERSION', '2.0');
define('BLUDIT_CODENAME', '');
define('BLUDIT_RELEASE_DATE', '2017-10-04');
define('BLUDIT_BUILD', '20171004');
define('BLUDIT_CODENAME', 'Morty');
define('BLUDIT_RELEASE_DATE', '2017-10-16');
define('BLUDIT_BUILD', '20171016');
// Debug mode
// Change to FALSE, for prevent warning or errors on browser

View File

@ -101,8 +101,10 @@ if ($Site->homepage() && $Url->whereAmI()==='home') {
}
}
// The filter blog alway show all the content
// Change the where am i to use
if ($Url->whereAmI()==='blog') {
$Url->setWhereAmI('home');
//$Url->setWhereAmI('home');
}
// Build specific page
@ -118,7 +120,7 @@ elseif ($Url->whereAmI()==='category') {
buildPagesByCategory();
}
// Build pages for the homepage
elseif ($Url->whereAmI()==='home') {
elseif ( ($Url->whereAmI()==='home') || ($Url->whereAmI()==='blog') ) {
buildPagesForHome();
}

View File

@ -70,7 +70,7 @@ function buildThemes()
// ============================================================================
// Load the language file
$languageFilename = THEME_DIR.'languages'.DS.$Site->locale().'.json';
$languageFilename = THEME_DIR.'languages'.DS.$Site->language().'.json';
if( !Sanitize::pathFile($languageFilename) ) {
$languageFilename = THEME_DIR.'languages'.DS.DEFAULT_LANGUAGE_FILE;
}

View File

@ -202,20 +202,15 @@ class dbSite extends dbJSON
return $protocol.$domain;
}
// Parse the domain from the field URL.
// Parse the domain from the field url (Settings->Advanced)
$parse = parse_url($this->url());
$domain = trim($parse['host'], '/');
$domain = rtrim($parse['host'], '/');
$port = !empty($parse['port']) ? ':'.$parse['port'] : '';
$scheme = !empty($parse['scheme']) ? $parse['scheme'].'://' : 'http://';
return $parse['scheme'].'://'.$domain;
return $scheme.$domain.$port;
}
/* DEPRECATED
// Returns the relative home link
public function homeLink()
{
return HTML_PATH_ROOT;
}
*/
// Returns the timezone.
public function timezone()
{
@ -246,17 +241,6 @@ class dbSite extends dbJSON
return $this->getField('locale');
}
/* DEPRECATED
// Returns the current language in short format
public function shortLanguage()
{
$locale = $this->locale();
$explode = explode('_', $locale);
$short = array_shift($explode);
return $short;
}
*/
// Returns the current homepage, FALSE if not defined homepage
public function homepage()
{

View File

@ -73,7 +73,7 @@ class Url
$this->activeFilter = $filterURI;
if (empty($this->slug) && ($filterName=='blog')) {
$this->setWhereAmI('home');
$this->setWhereAmI('blog');
} elseif (!empty($this->slug) && ($filterName=='blog')) {
$this->setNotFound();
return false;

222
bl-languages/fr_FR.json Normal file → Executable file
View File

@ -3,94 +3,94 @@
"native": "Français (France)",
"english-name": "French",
"locale": "fr, fr_FR",
"last-update": "2017-09-10",
"last-update": "2017-10-17",
"author": "Frédéric K.",
"email": "stradfred@gmail.com",
"website": "http:\/\/flatboard.co.nf"
"website": "http:\/\/flatboard.free.fr"
},
"dashboard": "Tableau de bord",
"manage-users": "Gestion des utilisateurs",
"manage-categories": "Manage categories",
"manage-categories": "Gestion des catégories",
"general-settings": "Paramètres généraux",
"advanced-settings": "Paramètres avancés",
"thanks-for-support-bludit": "Thanks for support Bludit",
"upgrade-to-bludit-pro": "Upgrade to Bludit PRO",
"thanks-for-support-bludit": "Merci de supporter Bludit",
"upgrade-to-bludit-pro": "Mettre à niveau vers Bludit PRO",
"language": "Langue",
"plugin": "Plugin",
"plugins": "Plugins",
"developers": "Developers",
"developers": "Développeurs",
"themes": "Thèmes",
"about": "À Propos",
"url": "URL",
"welcome": "Welcome",
"welcome": "Bienvenue",
"logout": "Quitter la session",
"website": "Site",
"publish": "Publier",
"manage": "Gestion de contenu",
"publish": "Publication",
"manage": "Gestionnaire",
"content": "Contenu",
"category": "Category",
"categories": "Categories",
"category": "Catégorie",
"categories": "Catégories",
"users": "Utilisateurs",
"settings": "Paramètres",
"general": "Général",
"advanced": "Avancé",
"new-content": "New content",
"manage-content": "Manage content",
"add-new-content": "Add new content",
"new-category": "New category",
"new-content": "Nouveau contenu",
"manage-content": "Gestionaire de contenu",
"add-new-content": "Ajouter un nouveau contenu",
"new-category": "Nouvelle catégorie",
"you-do-not-have-sufficient-permissions": "Vous ne disposez pas des autorisations suffisantes pour accéder à cette page, veuillez contacter ladministrateur.",
"add-a-new-user": "Ajouter un nouvel utilisateur",
"url-associated-with-the-content": "URL associated with the content.",
"url-associated-with-the-content": "URL associée au contenu.",
"language-and-timezone": "Langue et fuseau horaire",
"change-your-language-and-region-settings": "Modifiez vos paramètres linguistiques et régionaux.",
"notifications": "Notifications",
"plugin-activated": "Plugin activated",
"plugin-deactivated": "Plugin deactivated",
"new-theme-configured": "New theme configured",
"changes-on-settings": "Changes on settings",
"plugin-configured": "Plugin configured",
"plugin-activated": "Plugin activé",
"plugin-deactivated": "Plugin desactivé",
"new-theme-configured": "Nouveau thème configuré",
"changes-on-settings": "Enregistrement des paramètres effectué avec succès",
"plugin-configured": "Plugin configuré",
"welcome-to-bludit": "Bienvenue sur Bludit",
"statistics": "Statistics",
"statistics": "Statistiques",
"drafts": "En attente de publication",
"title": "Titre",
"save": "Sauvegarder",
"save-as-draft": "Save as draft",
"save-as-draft": "Enregistrer en tant que brouillon",
"cancel": "Annuler",
"description": "Description",
"this-field-can-help-describe-the-content": "Ce champ peut aider à décrire le contenu en quelques mots. Pas plus de 150 caractères.",
"images": "Images",
"error": "Erreur",
"supported-image-file-types": "Extensions des images prises en charge",
"cover-image": "Image de couverture",
"cover-image": "Image daccroche",
"drag-and-drop-or-click-here": "Glissez et déposez ou cliquez ici",
"there-are-no-images": "Il ny a aucune image",
"upload-and-more-images": "Upload and more images",
"upload-and-more-images": "Gestion des médias",
"click-on-the-image-for-options": "Cliquez sur limage pour plus doptions.",
"click-here-to-cancel": "Cliquez ici pour annuler.",
"insert-image": "Insérer limage sélectionnée",
"set-as-cover-image": "Définir comme image de couverture",
"set-as-cover-image": "Définir comme image daccroche",
"delete-image": "Supprimer limage",
"tags": "Tags",
"tags": "Mots clés",
"add": "Ajouter",
"status": "Statut",
"published": "Publié",
"draft": "Brouillon",
"empty-title": "Titre non défini",
"empty": "empty",
"empty": "vide",
"date": "Date",
"external-cover-image": "External cover image",
"external-cover-image": "Image daccroche externe",
"parent": "Parent",
"full-image-url": "Full image URL.",
"this-field-is-used-when-you-order-the-content-by-position": "This field is used when you order the content by position.",
"full-image-url": "URL complète de limage.",
"this-field-is-used-when-you-order-the-content-by-position": "Ce champ est utilisé lorsque vous gérez le contenu par position.",
"position": "Position",
"friendly-url": "Réécriture dURL",
"image-description": "Description de limage",
"add-a-new-category": "Add a new category",
"add-a-new-category": "Ajouter une nouvelle catégorie",
"name": "Nom",
"username": "Nom dutilisateur",
"first-name": "Prénom",
"last-name": "Nom",
"to-schedule-the-content-select-the-date-and-time": "To schedule the content select the date and time, the status has to be set to \"Published\".",
"to-schedule-the-content-select-the-date-and-time": "Pour planifier votre contenu, sélectionnez la date et lheure, le statut doit être défini sur \"Publié\".",
"email": "E-mail",
"role": "Rôle",
"registered": "Inscrit",
@ -105,7 +105,7 @@
"you-can-add-a-small-text-on-the-bottom": "Vous pouvez ajouter un court texte sur le pied de chaque page. par exemple: les droits d'auteurs, propriétaire, dates, etc.",
"social-networks-links": "Liens vers les réseaux sociaux",
"site-url": "URL du site",
"email-account-settings": "Paramètres de compte de messagerie",
"email-account-settings": "Paramètres du compte de messagerie",
"sender-email": "Email de lexpéditeur",
"emails-will-be-sent-from-this-address": "Les e-mails seront envoyés à cette adresse.",
"url-filters": "Filtres des URL",
@ -115,44 +115,44 @@
"locale": "Localisation",
"date-and-time-formats": "Format de la date et de lheure",
"date-format": "Format de la Date",
"current-format": "Current format",
"current-format": "Format actuel",
"version": "Version",
"author": "Auteur",
"activate": "Activer",
"deactivate": "Désactiver",
"edit-category": "Edit category",
"edit-category": "Modifier la catégorie",
"delete": "Supprimer",
"password": "Mot de passe",
"confirm-password": "Confirmation du mot de passe",
"editor": "Rédacteur",
"administrator": "Administrateur",
"edit-user": "Modifier lutilisateur",
"edit-content": "Edit content",
"edit-content": "Modifier le contenu",
"profile": "Profil",
"change-password": "Modifier le mot de passe",
"enabled": "Activé",
"disable-the-user": "Disable the user",
"disable-the-user": "Désactiver lutilisateur",
"profile-picture": "Image de profil",
"edit-or-delete-your-categories": "Edit or delete your categories",
"create-a-new-category-to-organize-your-content": "Create a new category to organize your content",
"edit-or-delete-your-categories": "Modifier ou supprimer vos catégories",
"create-a-new-category-to-organize-your-content": "Créer une nouvelle catégorie pour organiser votre contenu",
"confirm-delete-this-action-cannot-be-undone": "Confirmer la suppression, cette action nest pas réversible.",
"do-you-want-to-disable-the-user": "Do you want to disable the user ?",
"do-you-want-to-disable-the-user": "Voulez-vous désactiver lutilisateur ?",
"new-password": "Nouveau mot de passe",
"you-can-change-this-field-when-save-the-current-changes": "You can change this field when save the current changes.",
"items-per-page": "Items per page",
"invite-a-friend-to-collaborate-on-your-site": "Invite a friend to collaborate on your site",
"number-of-items-to-show-per-page": "Number of items to show per page.",
"website-or-blog": "Website or Blog",
"order-content-by": "Order content By",
"edit-or-delete-content-from-your-site": "Edit or delete content from your site",
"order-the-content-by-date-to-build-a-blog": "Order the content by date to build a Blog or order the content by position to build a Website.",
"page-not-found-content": "Hey! look like the page doesn't exist.",
"page-not-found": "Page not found",
"predefined-pages": "Predefined pages",
"returning-page-when-the-page-doesnt-exist": "Returning page when the page doesn't exist, leave it blank if you want to returns a default message.",
"returning-page-for-the-main-page": "Returning page for the main page, leave it blank if you want to show all the pages on the main page.",
"full-url-of-your-site": "Full URL of your site. Complete with the protocol HTTP or HTTPS (only if you have enabled SSL on your server).",
"with-the-locales-you-can-set-the-regional-user-interface": "With the locales, you can set the regional user interface, such as the dates in your language. The locales need to be installed on your system.",
"you-can-change-this-field-when-save-the-current-changes": "Vous pouvez modifier ce champ lorsque vous enregistrez les modifications en cours.",
"items-per-page": "Articles par page",
"invite-a-friend-to-collaborate-on-your-site": "Inviter un ami à collaborer sur votre site",
"number-of-items-to-show-per-page": "Nombre déléments à afficher par page.",
"website-or-blog": "Site ou Blog",
"order-content-by": "Organiser le contenu par",
"edit-or-delete-content-from-your-site": "Gestionnaire de contenu",
"order-the-content-by-date-to-build-a-blog": "Trier le contenu par date pour créer un blog ou par position pour créer un site.",
"page-not-found-content": "Hé! il semblerai que la page nexiste pas.",
"page-not-found": "Page non trouvée.",
"predefined-pages": "Pages prédéfinies",
"returning-page-when-the-page-doesnt-exist": "Retour sur la page précédente lorsque la page nexiste pas, laissez-la vide si vous souhaitez afficher un message par défaut.",
"returning-page-for-the-main-page": "Retour sur la page principale, laissez-la vide si vous voulez afficher toutes les pages sur la page principale.",
"full-url-of-your-site": "Adresse URL complète de votre site. Avec le protocole HTTP ou HTTPS (uniquement si vous avez activé le protocole SSL sur votre serveur).",
"with-the-locales-you-can-set-the-regional-user-interface": "Avec les paramètres régionaux, vous pouvez définir linterface utilisateur régionale, telle que les dates dans votre langue. Les paramètres régionaux doivent être installés sur votre système.",
"bludit-installer": "Installation de Bludit",
"choose-your-language": "Sélectionnez votre langue",
"next": "Suivant",
@ -162,75 +162,75 @@
"login": "Sidentifier",
"back-to-login-form": "Retour à la page de connexion",
"get-login-access-code": "Obtenir le code daccès de connexion",
"email-access-code": "Email access code",
"email-access-code": "Code daccès à la messagerie",
"whats-next": "pour la prochaine étape",
"username-or-password-incorrect": "Nom dutilisateur ou mot de passe incorrect.",
"follow-bludit-on": "Suivez Bludit sur",
"visit-the-forum-for-support": "Visit the [forum](https:\/\/forum.bludit.org) for support",
"visit-the-forum-for-support": "Visitez le [forum](https:\/\/forum.bludit.org) de support",
"manage-your-bludit-from-the-admin-panel": "Gérez votre Bludit depuis [linterface dadministration]({{ADMIN_AREA_LINK}})",
"chat-with-developers-and-users-on-gitter": "Chattez avec les développeurs et les utilisateurs sur [Gitter](https:\/\/gitter.im\/bludit\/support)",
"this-is-a-brief-description-of-yourself-our-your-site": "Ceci est une brève description de vous-même ou de votre site, pour modifier ce texte aller dans le panneau dadministration, paramètres -> plugins et configurer le plugin « à propos ».",
"read-the-documentation-for-more-information": "Lisez la [documentation](https:\/\/docs.bludit.com) pour plus dinformation",
"new-version-available": "New version available",
"new-category-created": "New category created",
"category-deleted": "Category deleted",
"category-edited": "Category edited",
"new-user-created": "New user created",
"user-edited": "User edited",
"new-version-available": "Nouvelle version disponible",
"new-category-created": "Nouvelle catégorie créée",
"category-deleted": "Catégorie supprimée",
"category-edited": "Catégorie éditée",
"new-user-created": "Nouvel utilisateur ajouté",
"user-edited": "Utilisateur édité",
"user-deleted": "Utilisateur supprimé.",
"recommended-for-recovery-password-and-notifications": "Recommended for recovery password and notifications.",
"authentication-token": "Authentication Token",
"token": "Token",
"current-status": "Current status",
"recommended-for-recovery-password-and-notifications": "Recommandé pour le mot de passe de récupération et les notifications.",
"authentication-token": "Jeton d'authentification",
"token": "Jeton",
"current-status": "Statut actuel",
"upload-image": "Envoyer une image",
"the-changes-have-been-saved": "Les modifications ont été sauvegardées.",
"label": "Label",
"links": "Links",
"this-title-is-almost-always-used-in-the-sidebar-of-the-site": "This title is almost always used in the sidebar of the site.",
"label": "Étiquette",
"links": "Liens",
"this-title-is-almost-always-used-in-the-sidebar-of-the-site": "Ce titre est presque toujours utilisé dans la barre latérale du site.",
"password-must-be-at-least-6-characters-long": "Le mot de passe doit contenir au moins 6 caractères",
"ip-address-has-been-blocked": "Votre adresse IP a été bloquée.",
"try-again-in-a-few-minutes": "Essayez de nouveau dans quelques minutes.",
"content-published-from-scheduler": "Content published from scheduler",
"installer-page-about-content": "The about page is an important and powerful for potential clients and partners. For those who wonder who is behind the website, your About page is the first source of information.",
"content-published-from-scheduler": "Contenu publié à partir du planificateur",
"installer-page-about-content": "La page à propos est importante et puissante pour les clients et partenaires potentiels. Pour ceux qui se demandent qui est derrière le site, votre page “À propos” est la première source dinformation.",
"blog": "Blog",
"complete-all-fields": "Complete all fields",
"static": "Static",
"about-your-site-or-yourself": "About your site or yourself",
"homepage": "Homepage",
"disabled": "Disabled",
"to-enable-the-user-you-must-set-a-new-password": "To enable the user you must set a new password.",
"delete-the-user-and-associate-his-content-to-admin-user": "Delete the user and associate his content to admin user",
"delete-the-user-and-all-his-content": "Delete the user and all his content",
"user-disabled": "User disabled",
"user-password-changed": "User password changed",
"the-password-and-confirmation-password-do-not-match": "The password and confirmation password do not match",
"scheduled-content": "Scheduled content",
"there-are-no-scheduled-content": "There are no scheduled content.",
"new-content-created": "New content created",
"content-edited": "Content edited",
"content-deleted": "Contente deleted",
"undefined": "Undefined",
"create-new-content-for-your-site": "Create new content for your site",
"there-are-no-draft-content": "There are no draft content.",
"order-items-by": "Order items by",
"all-content": "All content",
"dynamic": "Dynamic",
"complete-all-fields": "Remplissez tous les champs",
"static": "Statique",
"about-your-site-or-yourself": "À propos de votre site ou de vous-même",
"homepage": "Page daccueil",
"disabled": "Désactivé",
"to-enable-the-user-you-must-set-a-new-password": "Pour activer lutilisateur, vous devez définir un nouveau mot de passe.",
"delete-the-user-and-associate-his-content-to-admin-user": "Supprimer lutilisateur et associer son contenu à ladministrateur.",
"delete-the-user-and-all-his-content": "Supprimer lutilisateur et tout son contenu.",
"user-disabled": "Utilisateur désactivé",
"user-password-changed": "Mot de passe utilisateur modifié.",
"the-password-and-confirmation-password-do-not-match": "Le mot de passe et la confirmation du mot de passe, ne correspondent pas.",
"scheduled-content": "Contenu planifié",
"there-are-no-scheduled-content": "Il ny a pas de contenu planifié actuellement.",
"new-content-created": "Nouveau contenu créé",
"content-edited": "Contenu édité",
"content-deleted": "Contenu supprimé",
"undefined": "Indéfini",
"create-new-content-for-your-site": "Créer un nouveau contenu pour votre site.",
"there-are-no-draft-content": "Il ny a pas de contenu enregistré en tant que brouillon.",
"order-items-by": "Trier les articles par",
"all-content": "Tout le contenu",
"dynamic": "Dynamique",
"type": "Type",
"draft-content": "Draft content",
"post": "Post",
"default": "Default",
"latest-content": "Latest content",
"default-message": "Default message",
"no-parent": "No parent",
"have-you-seen-my-ball": "Have you seen my ball?",
"pagebreak": "Page break",
"draft-content": "Contenu brouillon",
"post": "Article",
"default": "Défaut",
"latest-content": "Dernier contenu",
"default-message": "Message par défaut",
"no-parent": "Aucun parent",
"have-you-seen-my-ball": "Avez-vous vu ma balle ?",
"pagebreak": "Saut de page",
"pages": "Pages",
"this-plugin-may-not-be-supported-by-this-version-of-bludit": "This plugin may not be supported by this version of Bludit",
"previous": "Previous",
"previous-page": "Previous page",
"next-page": "Next page",
"scheduled": "Scheduled",
"this-token-is-similar-to-a-password-it-should-not-be-shared": "This token is similar to a password, it should not be shared.",
"congratulations-you-have-successfully-installed-your-bludit": "Congratulations you have successfully installed your **Bludit**",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "This theme may not be supported by this version of Bludit"
"this-plugin-may-not-be-supported-by-this-version-of-bludit": "Ce plugin peut ne pas être supporté par cette version de Bludit",
"previous": "Précédent",
"previous-page": "Page précédente",
"next-page": "Page suivante",
"scheduled": "Prévu",
"this-token-is-similar-to-a-password-it-should-not-be-shared": "Ce jeton est similaire à un mot de passe, il ne doit pas être partagé.",
"congratulations-you-have-successfully-installed-your-bludit": "Félicitations, vous avez réussi à installer votre site sous **Bludit**",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "Ce thème peut ne pas être pris en charge par cette version de Bludit."
}

View File

@ -2,7 +2,7 @@
"language-data": {
"native": "Русский (Россия)",
"english-name": "Russian",
"last-update": "2017-09-10",
"last-update": "2017-10-17",
"author": "Сергей Ворон",
"email": "sergey@voron.pw",
"website": "http:\/\/voron.pw"
@ -39,7 +39,7 @@
"new-category": "Новая категория",
"you-do-not-have-sufficient-permissions": "У вас недостаточно прав для доступа к этой странице, обратитесь к администратору.",
"add-a-new-user": "Добавить пользователя",
"url-associated-with-the-content": "URL associated with the content.",
"url-associated-with-the-content": "Связанный с контентом URL",
"language-and-timezone": "Язык и часовой пояс",
"change-your-language-and-region-settings": "Изменить настройки языка и региона",
"notifications": "Оповещения",
@ -75,7 +75,7 @@
"published": "Опубликовано",
"draft": "Черновик",
"empty-title": "Пустой заголовок",
"empty": "empty",
"empty": "пусто",
"date": "Дата",
"external-cover-image": "Внешняя обложка",
"parent": "Родитель",
@ -89,7 +89,7 @@
"username": "Логин",
"first-name": "Имя",
"last-name": "Фамилия",
"to-schedule-the-content-select-the-date-and-time": "To schedule the content select the date and time, the status has to be set to \"Published\".",
"to-schedule-the-content-select-the-date-and-time": "Укажите дату и время когда этот контент будет \"Опубликован\".",
"email": "Email",
"role": "Роль",
"registered": "Зарегистрирован",
@ -141,10 +141,10 @@
"items-per-page": "Элементов на странице",
"invite-a-friend-to-collaborate-on-your-site": "Пригласить друга для совместной работы на сайте",
"number-of-items-to-show-per-page": "Количество элементов, отображаемых на странице.",
"website-or-blog": "Вебсайт или Блог",
"website-or-blog": "«Веб-сайт» или «Блог»",
"order-content-by": "Сортировать по контенту",
"edit-or-delete-content-from-your-site": "Редактировать или удалить контент на Вашем сайте",
"order-the-content-by-date-to-build-a-blog": "Order the content by date to build a Blog or order the content by position to build a Website.",
"order-the-content-by-date-to-build-a-blog": "Расположите контент по дате для режима «Блог» или по содержимому для режима «Веб-сайт».",
"page-not-found-content": "Привет! Похоже, что страница не существует",
"page-not-found": "Страница не найдена",
"predefined-pages": "Предопределенные страницы",
@ -155,7 +155,7 @@
"bludit-installer": "Установка Bludit",
"choose-your-language": "Выберете ваш язык",
"next": "Далее",
"complete-the-form-choose-a-password-for-the-username-admin": "Выберете пароль для пользователя « admin »",
"complete-the-form-choose-a-password-for-the-username-admin": "Выберете пароль для пользователя «admin»",
"show-password": "Показать пароль",
"install": "Установить",
"login": "Вход",
@ -189,7 +189,7 @@
"password-must-be-at-least-6-characters-long": "Пароль должен содержать как минимум 6 символов",
"ip-address-has-been-blocked": "IP адрес заблокирован.",
"try-again-in-a-few-minutes": "Попробуйте еще раз через несколько минут.",
"content-published-from-scheduler": "Content published from scheduler",
"content-published-from-scheduler": "Запланированный контент опубликован",
"installer-page-about-content": "Страница \"О нас\" важна и значительна для потенциальных клиентов и партнеров. Для тех, кому интересен Ваш сайт, страница \"О нас\" - это первоисточник информации.",
"blog": "Блог",
"complete-all-fields": "Заполните все поля",
@ -198,38 +198,38 @@
"homepage": "Домашняя страница",
"disabled": "Отключен",
"to-enable-the-user-you-must-set-a-new-password": "Для активации пользователя Вы должны задать новый пароль.",
"delete-the-user-and-associate-his-content-to-admin-user": "Delete the user and associate his content to admin user",
"delete-the-user-and-all-his-content": "Delete the user and all his content",
"delete-the-user-and-associate-his-content-to-admin-user": "Удалить пользователя и связанную с ним учётную запись администратора",
"delete-the-user-and-all-his-content": "Удалить пользователя и все его контент",
"user-disabled": "Пользователь отключен",
"user-password-changed": "Пароль пользователя изменен",
"the-password-and-confirmation-password-do-not-match": "The password and confirmation password do not match",
"scheduled-content": "Scheduled content",
"there-are-no-scheduled-content": "There are no scheduled content.",
"new-content-created": "New content created",
"content-edited": "Content edited",
"content-deleted": "Contente deleted",
"undefined": "Undefined",
"create-new-content-for-your-site": "Create new content for your site",
"there-are-no-draft-content": "There are no draft content.",
"order-items-by": "Order items by",
"all-content": "All content",
"dynamic": "Dynamic",
"type": "Type",
"draft-content": "Draft content",
"post": "Post",
"default": "Default",
"latest-content": "Latest content",
"default-message": "Default message",
"no-parent": "No parent",
"have-you-seen-my-ball": "Have you seen my ball?",
"pagebreak": "Page break",
"the-password-and-confirmation-password-do-not-match": "Пароль и его подтверждения не одинаковы",
"scheduled-content": "Запланированный контент",
"there-are-no-scheduled-content": "Нет запланированного контента",
"new-content-created": "Создана новый контент",
"content-edited": "Контент отредактирован",
"content-deleted": "Контент удалён",
"undefined": "Неопределено",
"create-new-content-for-your-site": "Создать новый контент для сайта",
"there-are-no-draft-content": "Черновик пуст",
"order-items-by": "Упорядочить по",
"all-content": "Всё содержимое",
"dynamic": "Динамически",
"type": "Тип",
"draft-content": "Содержимое черновика",
"post": "Опубликовать",
"default": "По умолчанию",
"latest-content": "Последний контент",
"default-message": "Сообщение по умолчанию",
"no-parent": "Нет родителя",
"have-you-seen-my-ball": "Ты мой мячик видел?",
"pagebreak": "Разрыв страницы",
"pages": "Страницы",
"this-plugin-may-not-be-supported-by-this-version-of-bludit": "This plugin may not be supported by this version of Bludit",
"previous": "Previous",
"previous-page": "Previous page",
"next-page": "Next page",
"scheduled": "Scheduled",
"this-token-is-similar-to-a-password-it-should-not-be-shared": "This token is similar to a password, it should not be shared.",
"congratulations-you-have-successfully-installed-your-bludit": "Congratulations you have successfully installed your **Bludit**",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "This theme may not be supported by this version of Bludit"
"this-plugin-may-not-be-supported-by-this-version-of-bludit": "Данный плагин может не поддерживаться текущей версией Bludit",
"previous": "Предыдущий",
"previous-page": "Предыдущая страница",
"next-page": "Следующая страница",
"scheduled": "Запланировано",
"this-token-is-similar-to-a-password-it-should-not-be-shared": "Этот токен похож на пароль, он не должен демонстрироваться.",
"congratulations-you-have-successfully-installed-your-bludit": "Поздравляем! Вы успешно установили **Bludit**",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "Эта тема может не поддерживаться текущей версией Bludit"
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "À Propos",
"description": "Afficher une courte description sur votre site ou sur vous-même."
}
}

View File

@ -5,6 +5,6 @@
"version": "2.0",
"releaseDate": "2017-06-15",
"license": "MIT",
"compatible": "1.0",
"compatible": "2.0",
"notes": ""
}

View File

@ -0,0 +1,11 @@
{
"plugin-data":
{
"name": "API",
"description": "Interface pour interagir avec Bludit en utilisant le protocole HTTP. <br>En savoir plus sur ce plugin, en lisant <a href=\"https://docs.bludit.com/en/api/introduction\">lintroduction sur lAPI</a>."
},
"api-token": "Jeton de lAPI",
"amount-of-pages": "Nombre de pages",
"this-is-the-maximum-of-pages-to-return-when-you-call-to": "Cest le nombre maximal de pages à renvoyer lorsque vous appelez lapi par pages.",
"this-token-is-for-read-only-and-is-regenerated-every-time-you-install-the-plugin": "Ce jeton est en lecture seule et est régénéré à chaque fois que vous installez le plugin."
}

View File

@ -0,0 +1,11 @@
{
"plugin-data":
{
"name": "API",
"description": "Интерфейс для взаимодействия с Bludit по HTTP-протоколу. <br> Узнать больше про этот плагин <a href=\"https://docs.bludit.com/en/api/introduction\">API Introduction</a>."
},
"api-token": "API Tтокен",
"amount-of-pages": "Количество страниц",
"this-is-the-maximum-of-pages-to-return-when-you-call-to": "Максимальное количество возвращаемых страниц при обращении к /api/pages",
"this-token-is-for-read-only-and-is-regenerated-every-time-you-install-the-plugin": "Данные токен используется только для чтения, он обновляется при каждой переустановке плагина"
}

View File

@ -0,0 +1,8 @@
{
"plugin-data":
{
"name": "Catégories",
"description": "Affiche toutes les catégories sur la barre latérale."
},
"hide-categories-without-content": "Masquer les catégories sans contenu."
}

View File

@ -0,0 +1,14 @@
{
"plugin-data":
{
"name": "Outils Google",
"description": "Ce plugin génère le code nécessaire pour les outils Google suivants : Google Analytics, Google Tag Manager and Google Site Verification HTML Tag."
},
"google-webmasters-tools": "Outils pour les webmasters",
"google-analytics-tracking-id": "ID de suivi Google Analytics",
"google-tag-manager": "Gestionnaire de balises Google",
"complete-this-field-with-the-google-site-verification": "Remplissez ce champ avec la vérification Google pour vérifier le propriétaire du site.",
"complete-this-field-with-the-tracking-id": "Remplissez ce champ avec lID de suivi pour générer le code Javascript Google Analytics.",
"complete-this-field-with-the-tracking-id-google-tag": "Remplissez ce champ avec lID de suivi pour générer le code Javascript Google Tag Manager."
}

View File

@ -0,0 +1,10 @@
{
"plugin-data":
{
"name": "Dernier contenu",
"description": "Liste des derniers contenus, vous pouvez définir le nombre déléments. <br> Lordre du contenu est tiré des paramètres avancés de Bludit."
},
"home-link": "Lien vers la page dacceuil.",
"show-the-home-link-on-the-sidebar": "Afficher le lien vers la page dacceuil sur la barre latérale.",
"amount-of-items": "Quantité dobjets"
}

View File

@ -0,0 +1,10 @@
{
"plugin-data":
{
"name": "Последний контент",
"description": "Список последнего содержимого, вы можете задать количество позиций.<br>Порядок отображения содержимого задаётся в расширенных настройках Bludit."
},
"home-link": "Ссылка на главную страницу",
"show-the-home-link-on-the-sidebar": "Показывать ссылку на главную страницу на боковой панели",
"amount-of-items": "Количество позиций"
}

View File

@ -0,0 +1,8 @@
{
"plugin-data":
{
"name": "Liens",
"description": "Affiche une liste de liens dans la barre latérale, vous pouvez modifier ces liens dans les paramètres."
},
"add-a-new-link": "Ajouter un nouveau lien"
}

View File

@ -0,0 +1,8 @@
{
"plugin-data":
{
"name": "Ссылки",
"description": "Показывает список ссылок на боковой панели, вы можете их изменить в настройках."
},
"add-a-new-link": "Добавить новую ссылку"
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Menu",
"description": "Affiche un menu dans la barre latérale et le contenu est organisé par catégories."
}
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Меню",
"description": "Показывает меню и контент по категориям на боковой панели."
}
}

View File

@ -0,0 +1,9 @@
{
"plugin-data":
{
"name": "Flux RSS",
"description": "Ce plugin génère un flux RSS de votre site.<br/>Le flux est accessible a l'URL de ce genre : https://example.com/rss.xml"
},
"amount-of-items-to-show-on-the-feed": "Nombre d'éléments à afficher sur le flux.",
"rss-url": "URL RSS"
}

View File

@ -0,0 +1,9 @@
{
"plugin-data":
{
"name": "RSS трансляция",
"description": "Этот плагин создаёт RSS канал для вашего сайта<br>Трансляция доступна по URL https://example.com/rss.xml"
},
"amount-of-items-to-show-on-the-feed": "Количество позиций в трансляции.",
"rss-url": "RSS URL"
}

View File

@ -0,0 +1,12 @@
{
"plugin-data":
{
"name": "SimpleMDE",
"description": "Éditeur Markdown avec une interface décriture épurée, pour créer le langage de balisage sémantique."
},
"toolbar": "Barre doutils",
"tab-size": "Taille de longlet",
"autosave": "Sauvegarde automatique",
"spell-checker": "Correcteur orthographique",
"content-here-supports-markdown-and-html-code": "Le contenu prend en charge le language Markdown et le code HTML."
}

View File

@ -0,0 +1,8 @@
{
"plugin-data":
{
"name": "Plan du site",
"description": "Ce plugin génère un fichier sitemap.xml, qui fournit la liste des pages de votre site, ce qui aide les moteurs de recherche à organiser et filtrer le contenu de votre site."
},
"sitemap-url": "URL de votre sitemap."
}

View File

@ -0,0 +1,9 @@
{
"plugin-data":
{
"name": "Pages statiques",
"description": "Affiche les pages statiques sur la barre latérale, ce plugin est utile lorsque vous souhaitez créer un blog avec des pages."
},
"home-link": "Lien vers la page dacceuil.",
"show-the-home-link-on-the-sidebar": "Afficher le lien vers la page dacceuil sur la barre latérale."
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Liste des mots-clés",
"description": "Affiche tous les mots-clés sur la barre latérale."
}
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Список тэгов",
"description": "Отображает тэги на боковой панели."
}
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Список тэгов",
"description": "Отображает список тэгов на боковой панели."
}
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "TinyMCE",
"description": "TinyMCE est un éditeur HTML WYSIWYG (What You See Is What You Get) développé en Javascript. Recommandé pour les utilisateurs qui ne sont pas alaise avec le format Markdown."
}
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "TinyMCE",
"description": "HTML редактор для форматирования содержимого. Рекомендован для пользователей которые не хотят работать с кодом разметки."
}
}

View File

@ -0,0 +1,8 @@
{
"plugin-data":
{
"name": "Cartes Twitter",
"description": "Les Cartes Twitter sont des protocoles qui vous permettent dattacher des photos, des vidéos et autres médias interactifs à vos tweets, cela vas vous aider à générer du trafic vers votre site."
},
"default-image": "Image par défaut."
}

View File

@ -0,0 +1,8 @@
{
"plugin-data":
{
"name": "Twitter Cards",
"description": "C Twitter Cards вы можете добавить фото, видео и медиа к твиттам и помочь привлечь трафик для вашего сайта."
},
"default-image": "изображение по умолчанию"
}

View File

@ -85,10 +85,10 @@ class pluginTwitterCards extends Plugin {
// Get the image from the content
$src = $this->getImage($content);
if ($src!==false) {
$og['image'] = $src;
$data['image'] = $src;
} else {
if (Text::isNotEmpty($this->getValue('defaultImage'))) {
$og['image'] = $this->getValue('defaultImage');
$data['image'] = $this->getValue('defaultImage');
}
}
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Version",
"description": "Affiche la version actuelle en bas à droite du panneau dadministration, et vérifie périodiquement les nouvelles versions de Bludit."
}
}

View File

@ -0,0 +1,7 @@
{
"plugin-data":
{
"name": "Версия",
"description": "Показывает текущую версию в правой нижней части административной панели; периодически проверяет новые выпуски Bludit."
}
}

View File

@ -43,7 +43,7 @@
}
if(Paginator::showNext()) {
echo '<a class="btn btn-secondary float-left" href="'.Paginator::nextPageUrl().'">'.$Language->get('Next page').' &rarr;</a>';
echo '<a class="btn btn-secondary float-right" href="'.Paginator::nextPageUrl().'">'.$Language->get('Next page').' &rarr;</a>';
}
?>
</div>

View File

@ -26,18 +26,28 @@
<strong><?php echo $Site->title() ?></strong> <?php echo $Site->slogan() ?>
</a>
<ul class="icons">
<li><a href="<?php echo $Site->twitter() ?>" class="icon fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="<?php echo $Site->facebook() ?>" class="icon fa-facebook"><span class="label">Facebook</span></a></li>
<li><a href="<?php echo $Site->instagram() ?>" class="icon fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="<?php echo $Site->github() ?>" class="icon fa-github"><span class="label">GitHub</span></a></li>
<?php
if ($Site->twitter()) {
echo '<li><a href="'.$Site->twitter().'" class="icon fa-twitter"><span class="label">Twitter</span></a></li>';
}
if ($Site->facebook()) {
echo '<li><a href="'.$Site->facebook().'" class="icon fa-facebook"><span class="label">Facebook</span></a></li>';
}
if ($Site->instagram()) {
echo '<li><a href="'.$Site->instagram().'" class="icon fa-instagram"><span class="label">Instagram</span></a></li>';
}
if ($Site->github()) {
echo '<li><a href="'.$Site->github().'" class="icon fa-github"><span class="label">Github</span></a></li>';
}
if ($Site->codepen()) {
echo '<li><a href="'.$Site->codepen().'" class="icon fa-codepen"><span class="label">Codepen</span></a></li>';
}
// Check if the plugin RSS is enabled
if( pluginEnabled('RSS') ) {
if (pluginEnabled('RSS')) {
echo '<li><a href="'.$Site->rss().'" class="icon fa-rss"><span class="label">RSS</span></a></li>';
}
// Check if the plugin Sitemap is enabled
if( pluginEnabled('sitemap') ) {
if (pluginEnabled('sitemap')) {
echo '<li><a href="'.$Site->sitemap().'" class="icon fa-sitemap"><span class="label">Sitemap</span></a></li>';
}
?>