From 06a80db3cc29a3f120286edcb1951597ac3e5d83 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 27 Dec 2017 21:00:00 +0100 Subject: [PATCH] minor fixes --- bl-kernel/admin/views/new-content.php | 3 +-- bl-languages/ru_RU.json | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bl-kernel/admin/views/new-content.php b/bl-kernel/admin/views/new-content.php index 06a6c341..7ed7096e 100644 --- a/bl-kernel/admin/views/new-content.php +++ b/bl-kernel/admin/views/new-content.php @@ -141,8 +141,7 @@ echo '
'; // Parent input $options = array(' '=>'- '.$L->g('No parent').' -'); $parentsList = $dbPages->getParents(); - $parentsKey = array_keys($parentsList); - foreach($parentsKey as $pageKey) { + foreach ($parentsList as $pageKey) { $parent = buildPage($pageKey); $options[$pageKey] = $parent->title(); } diff --git a/bl-languages/ru_RU.json b/bl-languages/ru_RU.json index 72af5b7a..1f842d95 100644 --- a/bl-languages/ru_RU.json +++ b/bl-languages/ru_RU.json @@ -12,7 +12,7 @@ } }, "dates": { - "Mon": Пн.", + "Mon": "Пн.", "Tue": "Вт.", "Wed": "Ср.", "Thu": "Чт.", @@ -25,7 +25,7 @@ "Thursday": "Четверг", "Friday": "Пятница", "Saturday": "Суббота", - "Sunday": "Воскресенье, + "Sunday": "Воскресенье", "Jan": "Янв", "Feb": "Фев", "Mar": "Март",