From 27c9168d24f4b0c11c0d605b22af1c9e94d638d9 Mon Sep 17 00:00:00 2001 From: Sanjay Singh <30376256+SanjaySRocks@users.noreply.github.com> Date: Wed, 1 Sep 2021 16:44:22 +0530 Subject: [PATCH 1/2] added english default changed some russian text to default english --- app/modules/module_sidebar_social/description.json | 2 +- app/templates/default/description.json | 2 +- app/templates/default/interface/navbar.php | 4 ++-- app/templates/default_dark/description.json | 2 +- app/templates/default_dark/interface/sidebar.php | 2 +- app/templates/default_navbar/description.json | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/modules/module_sidebar_social/description.json b/app/modules/module_sidebar_social/description.json index fdf4bdf9..34b82d9b 100644 --- a/app/modules/module_sidebar_social/description.json +++ b/app/modules/module_sidebar_social/description.json @@ -29,7 +29,7 @@ "icon_group": "zmdi", "icon_category": "", "icon": "vk", - "name": "Группа Вконтакте", + "name": "VK community", "sidebar_directory": "_Sidebar_social" }, "2": { diff --git a/app/templates/default/description.json b/app/templates/default/description.json index 834a8ffd..5899eb20 100644 --- a/app/templates/default/description.json +++ b/app/templates/default/description.json @@ -1,5 +1,5 @@ { - "name": "Стандартный шаблон LR WEB", + "name": "Standard Template LR WEB", "version": "1.0", "author": "Flames" } \ No newline at end of file diff --git a/app/templates/default/interface/navbar.php b/app/templates/default/interface/navbar.php index 525f40f6..0e755f15 100644 --- a/app/templates/default/interface/navbar.php +++ b/app/templates/default/interface/navbar.php @@ -34,10 +34,10 @@
diff --git a/app/templates/default_dark/description.json b/app/templates/default_dark/description.json index a8be67a9..add3b98c 100644 --- a/app/templates/default_dark/description.json +++ b/app/templates/default_dark/description.json @@ -1,5 +1,5 @@ { - "name": "Переделанный шаблон LR WEB", + "name": "Redesigned template LR WEB", "version": "1.0", "author": "Flames && designed PEPSIMAX ♕#6171" } \ No newline at end of file diff --git a/app/templates/default_dark/interface/sidebar.php b/app/templates/default_dark/interface/sidebar.php index 43566aa0..93bfee5a 100644 --- a/app/templates/default_dark/interface/sidebar.php +++ b/app/templates/default_dark/interface/sidebar.php @@ -35,7 +35,7 @@ arr_general['steam_only_authorization'] == 0 ):?> - Или + Or get_translate_phrase('_Log_in')?> diff --git a/app/templates/default_navbar/description.json b/app/templates/default_navbar/description.json index e246fecb..54a99493 100644 --- a/app/templates/default_navbar/description.json +++ b/app/templates/default_navbar/description.json @@ -1,5 +1,5 @@ { - "name": "Стандартный шаблон LR WEB с навбаром", + "name": "Standard Template LR WEB with navbar", "version": "1.0", "author": "Flames" } \ No newline at end of file From 2542ea1350f8891d6c920ee2a8902ddf996e9be8 Mon Sep 17 00:00:00 2001 From: Sanjay Singh <30376256+SanjaySRocks@users.noreply.github.com> Date: Wed, 1 Sep 2021 16:59:36 +0530 Subject: [PATCH 2/2] errors language changed to default english --- app/page/custom/install/index.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/page/custom/install/index.php b/app/page/custom/install/index.php index 2600b281..93c40895 100644 --- a/app/page/custom/install/index.php +++ b/app/page/custom/install/index.php @@ -19,31 +19,31 @@ (!empty($_GET['code']) && !empty($_GET['description'])) && exit(require PAGE_CUSTOM . '/error/index.php'); // Проверка на PDO -class_exists('PDO') || get_iframe('001','Для работы нужна поддержка PDO'); +class_exists('PDO') || get_iframe('001','Need support to work PDO'); // Проверка на BCMath -extension_loaded('bcmath') == 0 && get_iframe('001','Расширение для PHP не было найдено :: BCMath'); +extension_loaded('bcmath') == 0 && get_iframe('001','PHP extension not found :: BCMath'); // Проверка на cURL -extension_loaded('curl') == 0 && get_iframe('001','Расширение для PHP не было найдено :: cURL'); +extension_loaded('curl') == 0 && get_iframe('001','PHP extension not found :: cURL'); // Проверка на json -extension_loaded('json') == 0 && get_iframe('001','Расширение для PHP не было найдено :: json'); +extension_loaded('json') == 0 && get_iframe('001','PHP extension not found :: json'); // Проверка на Zip -extension_loaded('zip') == 0 && get_iframe('001','Расширение для PHP не было найдено :: Zip'); +extension_loaded('zip') == 0 && get_iframe('001','PHP extension not found :: Zip'); // Проверка на GMP -extension_loaded('gmp') == 0 && get_iframe('001','Расширение для PHP не было найдено :: GMP'); +extension_loaded('gmp') == 0 && get_iframe('001','PHP extension not found :: GMP'); // Проверка прав доступа каталога кэша ( 0777 ) -substr( sprintf( '%o', fileperms( SESSIONS ) ), -4) !== '0777' && get_iframe( '002','Не установлены права доступа 777 на директорию :: /storage/cache/sessions/' ); +substr( sprintf( '%o', fileperms( SESSIONS ) ), -4) !== '0777' && get_iframe( '002','777 permissions not set on the directory :: /storage/cache/sessions/' ); // Создание папки - avatars ! file_exists( CACHE . 'img/avatars/' ) && mkdir( CACHE . 'img/avatars/', 0777, true ); // Проверка прав доступа на кэш аватарок ( 0777 ) -substr( sprintf( '%o', fileperms( CACHE . 'img/avatars/' ) ), -4) !== '0777' && get_iframe( '002','Не установлены права доступа 777 на директорию :: /storage/cache/img/avatars/' ); +substr( sprintf( '%o', fileperms( CACHE . 'img/avatars/' ) ), -4) !== '0777' && get_iframe( '002','777 permissions not set on the directory :: /storage/cache/img/avatars/' ); // Создание папки - css ! file_exists( ASSETS_CSS ) && mkdir( ASSETS_CSS, 0777, true ); @@ -52,7 +52,7 @@ class_exists('PDO') || get_iframe('001','Для работы нужна подд ! file_exists( ASSETS_CSS . 'generation/' ) && mkdir( ASSETS_CSS . 'generation/', 0777, true ); // Проверка прав доступа на ассеты - CSS ( 0777 ) -substr( sprintf( '%o', fileperms( ASSETS_CSS ) ), -4) !== '0777' && get_iframe( '002','Не установлены права доступа 777 на директорию :: /storage/assets/css/' ); +substr( sprintf( '%o', fileperms( ASSETS_CSS ) ), -4) !== '0777' && get_iframe( '002','777 permissions not set on the directory :: /storage/assets/css/' ); // Создание папки - js ! file_exists( ASSETS_JS ) && mkdir( ASSETS_JS, 0777, true ); @@ -61,7 +61,7 @@ class_exists('PDO') || get_iframe('001','Для работы нужна подд ! file_exists( ASSETS_JS . 'generation/' ) && mkdir( ASSETS_JS . 'generation/', 0777, true ); // Проверка прав доступа на ассеты - JS ( 0777 ) -substr( sprintf( '%o', fileperms( ASSETS_JS ) ), -4) !== '0777' && get_iframe( '002','Не установлены права доступа 777 на директорию :: /storage/assets/js/' ); +substr( sprintf( '%o', fileperms( ASSETS_JS ) ), -4) !== '0777' && get_iframe( '002','777 permissions not set on the directory :: /storage/assets/js/' ); // Проверка на существование файла с настройками if ( ! file_exists( SESSIONS . '/options.php' ) ):