added models localizations

This commit is contained in:
Amanmyrat 2022-12-08 10:58:29 +05:00
parent f9347378ea
commit a4ffe46e12
33 changed files with 856 additions and 26 deletions

View File

@ -29,7 +29,7 @@ class CategoryCrudController extends CrudController
{
CRUD::setModel(\App\Models\Category::class);
CRUD::setRoute(config('backpack.base.route_prefix') . '/category');
CRUD::setEntityNameStrings('category', 'categories');
CRUD::setEntityNameStrings(trans('backpack::model.category'), trans('backpack::model.categories'));
}
/**

View File

@ -29,7 +29,7 @@ class ContactCrudController extends CrudController
{
CRUD::setModel(\App\Models\Contact::class);
CRUD::setRoute(config('backpack.base.route_prefix') . '/contact');
CRUD::setEntityNameStrings('contact', 'contacts');
CRUD::setEntityNameStrings(trans('backpack::model.contact'), trans('backpack::model.contacts'));
}
/**

View File

@ -24,7 +24,7 @@ class DocumentCrudController extends CrudController
{
$this->crud->setModel('App\Models\Document');
$this->crud->setRoute(config('backpack.base.route_prefix') . '/document');
$this->crud->setEntityNameStrings('document', 'documents');
$this->crud->setEntityNameStrings(trans('backpack::model.document'), trans('backpack::model.documents'));
}
protected function setupListOperation()

View File

@ -3,7 +3,6 @@
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\App;
class LocalizationController extends Controller

View File

@ -29,7 +29,7 @@ class MultimediaCategoryCrudController extends CrudController
{
CRUD::setModel(\App\Models\MultimediaCategory::class);
CRUD::setRoute(config('backpack.base.route_prefix') . '/multimedia-category');
CRUD::setEntityNameStrings('category', 'categories');
CRUD::setEntityNameStrings(trans('backpack::model.category'), trans('backpack::model.categories'));
}
/**

View File

@ -28,7 +28,7 @@ class MultimediaCrudController extends CrudController
{
CRUD::setModel(\App\Models\Multimedia::class);
CRUD::setRoute(config('backpack.base.route_prefix') . '/multimedia');
CRUD::setEntityNameStrings('multimedia', 'multimedia');
CRUD::setEntityNameStrings(trans('backpack::model.multimedia'), trans('backpack::model.multimedia'));
}
/**

View File

@ -28,7 +28,7 @@ class NewsCrudController extends CrudController
{
CRUD::setModel(\App\Models\News::class);
CRUD::setRoute(config('backpack.base.route_prefix') . '/news');
CRUD::setEntityNameStrings('news', 'news');
CRUD::setEntityNameStrings(trans('backpack::model.news'), trans('backpack::model.news'));
}
/**

View File

@ -28,7 +28,7 @@ class PageCrudController extends CrudController
{
CRUD::setModel(\App\Models\Page::class);
CRUD::setRoute(config('backpack.base.route_prefix') . '/page');
CRUD::setEntityNameStrings('page', 'pages');
CRUD::setEntityNameStrings(trans('backpack::model.page'), trans('backpack::model.pages'));
}
/**

View File

@ -28,7 +28,7 @@ class SelectedTradingCrudController extends CrudController
{
CRUD::setModel(\App\Models\SelectedTrading::class);
CRUD::setRoute(config('backpack.base.route_prefix') . '/selected-trading');
CRUD::setEntityNameStrings('selected trading', 'selected tradings');
CRUD::setEntityNameStrings(trans('backpack::model.selected_trading'), trans('backpack::model.selected_tradings'));
}
/**

View File

@ -29,7 +29,7 @@ class TarifCrudController extends CrudController
{
CRUD::setModel(\App\Models\Tarif::class);
CRUD::setRoute(config('backpack.base.route_prefix') . '/tarif');
CRUD::setEntityNameStrings('tarif', 'tarifs');
CRUD::setEntityNameStrings(trans('backpack::model.tariff'), trans('backpack::model.tariffs'));
}
/**

View File

@ -28,7 +28,7 @@ class TradingCrudController extends CrudController
{
CRUD::setModel(\App\Models\Trading::class);
CRUD::setRoute(config('backpack.base.route_prefix') . '/trading');
CRUD::setEntityNameStrings('trading', 'tradings');
CRUD::setEntityNameStrings(trans('backpack::model.trading'), trans('backpack::model.tradings'));
}
/**

View File

@ -29,7 +29,7 @@ class VideoCrudController extends CrudController
{
CRUD::setModel(\App\Models\Video::class);
CRUD::setRoute(config('backpack.base.route_prefix') . '/video');
CRUD::setEntityNameStrings('video', 'videos');
CRUD::setEntityNameStrings(trans('backpack::model.video'), trans('backpack::model.videos'));
if(count(\App\Models\Video::all()) > 0){
$this->crud->denyAccess('create');
}

View File

@ -19,7 +19,7 @@ class PageTransformer extends TransformerAbstract
return [
'id' => $page->id,
'title' => $page->title,
'content' => $page->getTranslations('content', [$this->locale])[$this->locale] ?? '-',
'content' => html_entity_decode($page->getTranslations('content', [$this->locale])[$this->locale]) ?? '-',
];
}
}

View File

@ -0,0 +1,16 @@
<?php
// --------------------------------------------------------
// This is only a pointer file, not an actual language file
// --------------------------------------------------------
//
// If you've copied this file to your /resources/lang/vendor/backpack/
// folder, please delete it, it's no use there. You need to copy/publish the
// actual language file, from the package.
// If a langfile with the same name exists in the package, load that one
if (file_exists(__DIR__.'/../../../../../backupmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
return include __DIR__.'/../../../../../backupmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
}
return [];

View File

@ -0,0 +1,72 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Backpack\Base Language Lines
|--------------------------------------------------------------------------
*/
'registration_closed' => 'Registration is closed.',
'no_email_column' => 'Users do not have an associated email address.',
'first_page_you_see' => 'The first page you see after login',
'login_status' => 'Login status',
'logged_in' => 'You are logged in!',
'toggle_navigation' => 'Toggle navigation',
'administration' => 'ADMINISTRATION',
'user' => 'USER',
'logout' => 'Logout',
'login' => 'Login',
'register' => 'Register',
'name' => 'Name',
'email_address' => 'E-mail address',
'password' => 'Password',
'old_password' => 'Old password',
'new_password' => 'New password',
'confirm_password' => 'Confirm password',
'remember_me' => 'Remember me',
'forgot_your_password' => 'Forgot Your Password?',
'reset_password' => 'Reset Password',
'send_reset_link' => 'Send Password Reset Link',
'click_here_to_reset' => 'Click here to reset your password',
'change_password' => 'Change Password',
'unauthorized' => 'Unauthorized.',
'dashboard' => 'Dashboard',
'handcrafted_by' => 'Handcrafted by',
'powered_by' => 'Powered by',
'my_account' => 'My Account',
'update_account_info' => 'Update Account Info',
'save' => 'Save',
'cancel' => 'Cancel',
'error' => 'Error',
'success' => 'Success',
'warning' => 'Warning',
'notice' => 'Notice',
'old_password_incorrect' => 'Old password is incorrect.',
'password_dont_match' => 'Passwords do not match.',
'password_empty' => 'Make sure both password fields are filled out.',
'password_updated' => 'Password updated.',
'account_updated' => 'Account updated successfully.',
'unknown_error' => 'An unknown error has occurred. Please try again.',
'error_saving' => 'Error while saving. Please try again.',
'welcome' => 'Welcome!',
'use_sidebar' => 'Use the sidebar to the left to create, edit or delete content.',
'password_reset' => [
'greeting' => 'Hello!',
'subject' => 'Reset Password Notification',
'line_1' => 'You are receiving this email because we received a password reset request for your account.',
'line_2' => 'Click the button below to reset your password:',
'button' => 'Reset Password',
'notice' => 'If you did not request a password reset, no further action is required.',
],
'step' => 'Step',
'confirm_email' => 'Confirm Email',
'choose_new_password' => 'Choose New Password',
'confirm_new_password' => 'Confirm new password',
'throttled' => 'You have already requested a password reset recently. Please check your email. If you do not receive our email, please retry later.',
'throttled_request' => 'You have exceeded the limit of tries. Please wait a few minutes and try again.',
];

View File

@ -0,0 +1,185 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Backpack Crud Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the CRUD interface.
| You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
// Forms
'save_action_save_and_new' => 'Save and new item',
'save_action_save_and_edit' => 'Save and edit this item',
'save_action_save_and_back' => 'Save and back',
'save_action_save_and_preview' => 'Save and preview',
'save_action_changed_notification' => 'Default behaviour after saving has been changed.',
// Create form
'add' => 'Add',
'back_to_all' => 'Back to all ',
'cancel' => 'Cancel',
'add_a_new' => 'Add a new ',
// Edit form
'edit' => 'Edit',
'save' => 'Save',
// Translatable models
'edit_translations' => 'Translation',
'language' => 'Language',
// CRUD table view
'all' => 'All ',
'in_the_database' => 'in the database',
'list' => 'List',
'reset' => 'Reset',
'actions' => 'Actions',
'preview' => 'Preview',
'delete' => 'Delete',
'admin' => 'Admin',
'details_row' => 'This is the details row. Modify as you please.',
'details_row_loading_error' => 'There was an error loading the details. Please retry.',
'clone' => 'Clone',
'clone_success' => '<strong>Entry cloned</strong><br>A new entry has been added, with the same information as this one.',
'clone_failure' => '<strong>Cloning failed</strong><br>The new entry could not be created. Please try again.',
// Confirmation messages and bubbles
'delete_confirm' => 'Are you sure you want to delete this item?',
'delete_confirmation_title' => 'Item Deleted',
'delete_confirmation_message' => 'The item has been deleted successfully.',
'delete_confirmation_not_title' => 'NOT deleted',
'delete_confirmation_not_message' => "There's been an error. Your item might not have been deleted.",
'delete_confirmation_not_deleted_title' => 'Not deleted',
'delete_confirmation_not_deleted_message' => 'Nothing happened. Your item is safe.',
// Bulk actions
'bulk_no_entries_selected_title' => 'No entries selected',
'bulk_no_entries_selected_message' => 'Please select one or more items to perform a bulk action on them.',
// Bulk delete
'bulk_delete_are_you_sure' => 'Are you sure you want to delete these :number entries?',
'bulk_delete_sucess_title' => 'Entries deleted',
'bulk_delete_sucess_message' => ' items have been deleted',
'bulk_delete_error_title' => 'Delete failed',
'bulk_delete_error_message' => 'One or more items could not be deleted',
// Bulk clone
'bulk_clone_are_you_sure' => 'Are you sure you want to clone these :number entries?',
'bulk_clone_sucess_title' => 'Entries cloned',
'bulk_clone_sucess_message' => ' items have been cloned.',
'bulk_clone_error_title' => 'Cloning failed',
'bulk_clone_error_message' => 'One or more entries could not be created. Please try again.',
// Ajax errors
'ajax_error_title' => 'Error',
'ajax_error_text' => 'Error loading page. Please refresh the page.',
// DataTables translation
'emptyTable' => 'No data available in table',
'info' => 'Showing _START_ to _END_ of _TOTAL_ entries',
'infoEmpty' => 'No entries',
'infoFiltered' => '(filtered from _MAX_ total entries)',
'infoPostFix' => '.',
'thousands' => ',',
'lengthMenu' => '_MENU_ entries per page',
'loadingRecords' => 'Loading...',
'processing' => 'Processing...',
'search' => 'Search',
'zeroRecords' => 'No matching entries found',
'paginate' => [
'first' => 'First',
'last' => 'Last',
'next' => 'Next',
'previous' => 'Previous',
],
'aria' => [
'sortAscending' => ': activate to sort column ascending',
'sortDescending' => ': activate to sort column descending',
],
'export' => [
'export' => 'Export',
'copy' => 'Copy',
'excel' => 'Excel',
'csv' => 'CSV',
'pdf' => 'PDF',
'print' => 'Print',
'column_visibility' => 'Column visibility',
],
// global crud - errors
'unauthorized_access' => 'Unauthorized access - you do not have the necessary permissions to see this page.',
'please_fix' => 'Please fix the following errors:',
// global crud - success / error notification bubbles
'insert_success' => 'The item has been added successfully.',
'update_success' => 'The item has been modified successfully.',
// CRUD reorder view
'reorder' => 'Reorder',
'reorder_text' => 'Use drag&drop to reorder.',
'reorder_success_title' => 'Done',
'reorder_success_message' => 'Your order has been saved.',
'reorder_error_title' => 'Error',
'reorder_error_message' => 'Your order has not been saved.',
// CRUD yes/no
'yes' => 'Yes',
'no' => 'No',
// CRUD filters navbar view
'filters' => 'Filters',
'toggle_filters' => 'Toggle filters',
'remove_filters' => 'Remove filters',
'apply' => 'Apply',
//filters language strings
'today' => 'Today',
'yesterday' => 'Yesterday',
'last_7_days' => 'Last 7 Days',
'last_30_days' => 'Last 30 Days',
'this_month' => 'This Month',
'last_month' => 'Last Month',
'custom_range' => 'Custom Range',
'weekLabel' => 'W',
// Fields
'browse_uploads' => 'Browse uploads',
'select_all' => 'Select All',
'select_files' => 'Select files',
'select_file' => 'Select file',
'clear' => 'Clear',
'page_link' => 'Page link',
'page_link_placeholder' => 'http://example.com/your-desired-page',
'internal_link' => 'Internal link',
'internal_link_placeholder' => 'Internal slug. Ex: \'admin/page\' (no quotes) for \':url\'',
'external_link' => 'External link',
'choose_file' => 'Choose file',
'new_item' => 'New Item',
'select_entry' => 'Select an entry',
'select_entries' => 'Select entries',
'upload_multiple_files_selected' => 'Files selected. After save, they will show up above.',
//Table field
'table_cant_add' => 'Cannot add new :entity',
'table_max_reached' => 'Maximum number of :max reached',
// File manager
'file_manager' => 'File Manager',
// InlineCreateOperation
'related_entry_created_success' => 'Related entry has been created and selected.',
'related_entry_created_error' => 'Could not create related entry.',
'inline_saving' => 'Saving...',
// returned when no translations found in select inputs
'empty_translations' => '(empty)',
// The pivot selector required validation message
'pivot_selector_required_validation_message' => 'The pivot field is required.',
];

View File

@ -0,0 +1,16 @@
<?php
// --------------------------------------------------------
// This is only a pointer file, not an actual language file
// --------------------------------------------------------
//
// If you've copied this file to your /resources/lang/vendor/backpack/
// folder, please delete it, it's no use there. You need to copy/publish the
// actual language file, from the package.
// If a langfile with the same name exists in the package, load that one
if (file_exists(__DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
return include __DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
}
return [];

View File

@ -0,0 +1,16 @@
<?php
// --------------------------------------------------------
// This is only a pointer file, not an actual language file
// --------------------------------------------------------
//
// If you've copied this file to your /resources/lang/vendor/backpack/
// folder, please delete it, it's no use there. You need to copy/publish the
// actual language file, from the package.
// If a langfile with the same name exists in the package, load that one
if (file_exists(__DIR__.'/../../../../../logmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
return include __DIR__.'/../../../../../logmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
}
return [];

View File

@ -0,0 +1,44 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Backpack Crud Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the CRUD interface.
| You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
// Models
'category' => 'category',
'categories' => 'Categories',
'trading' => 'trading',
'tradings' => 'Tradings',
'selected_trading' => 'selected trading',
'selected_tradings' => 'Selected Tradings',
'multimedia' => 'Multimedia',
'news' => 'News',
'document' => 'document',
'documents' => 'Documents',
'tariff' => 'tariff',
'tariffs' => 'Tariffs',
'contact' => 'contact',
'contacts' => 'Contacts',
'videos' => 'videos',
'video' => 'Video',
'page' => 'page',
'pages' => 'Pages'
];

View File

@ -0,0 +1,16 @@
<?php
// --------------------------------------------------------
// This is only a pointer file, not an actual language file
// --------------------------------------------------------
//
// If you've copied this file to your /resources/lang/vendor/backpack/
// folder, please delete it, it's no use there. You need to copy/publish the
// actual language file, from the package.
// If a langfile with the same name exists in the package, load that one
if (file_exists(__DIR__.'/../../../../../pagemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
return include __DIR__.'/../../../../../pagemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
}
return [];

View File

@ -0,0 +1,16 @@
<?php
// --------------------------------------------------------
// This is only a pointer file, not an actual language file
// --------------------------------------------------------
//
// If you've copied this file to your /resources/lang/vendor/backpack/
// folder, please delete it, it's no use there. You need to copy/publish the
// actual language file, from the package.
// If a langfile with the same name exists in the package, load that one
if (file_exists(__DIR__.'/../../../../../permissionmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
return include __DIR__.'/../../../../../permissionmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
}
return [];

View File

@ -0,0 +1,16 @@
<?php
// --------------------------------------------------------
// This is only a pointer file, not an actual language file
// --------------------------------------------------------
//
// If you've copied this file to your /resources/lang/vendor/backpack/
// folder, please delete it, it's no use there. You need to copy/publish the
// actual language file, from the package.
// If a langfile with the same name exists in the package, load that one
if (file_exists(__DIR__.'/../../../../../settings/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
return include __DIR__.'/../../../../../settings/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
}
return [];

View File

@ -0,0 +1,16 @@
<?php
// --------------------------------------------------------
// This is only a pointer file, not an actual language file
// --------------------------------------------------------
//
// If you've copied this file to your /resources/lang/vendor/backpack/
// folder, please delete it, it's no use there. You need to copy/publish the
// actual language file, from the package.
// If a langfile with the same name exists in the package, load that one
if (file_exists(__DIR__.'/../../../../../backupmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
return include __DIR__.'/../../../../../backupmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
}
return [];

View File

@ -0,0 +1,70 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Backpack\Base Language Lines
|--------------------------------------------------------------------------
*/
'registration_closed' => 'Регистрация закрыта',
'no_email_column' => 'У пользователей нет связанного адреса электронной почты.',
'first_page_you_see' => 'Первая страница, которую Вы видите после входа в систему',
'login_status' => 'Статус авторизации',
'logged_in' => 'Вы вошли в систему!',
'toggle_navigation' => 'Переключить навигацию',
'administration' => 'Административный раздел',
'user' => 'ПОЛЬЗОВАТЕЛЬ',
'logout' => 'Выйти',
'login' => 'Войти',
'register' => 'Зарегистрироваться',
'name' => 'Имя',
'email_address' => 'E-Mail адрес',
'password' => 'Пароль',
'old_password' => 'Старый пароль',
'new_password' => 'Новый пароль',
'confirm_password' => 'Подтвердите пароль',
'remember_me' => 'Запомнить меня',
'forgot_your_password' => 'Забыли пароль?',
'reset_password' => 'Сброс пароля',
'send_reset_link' => 'Отправить ссылку для сброса пароля',
'click_here_to_reset' => 'Нажмите здесь для сброса пароля',
'change_password' => 'Изменить пароль',
'unauthorized' => 'Вы не авторизованы.',
'dashboard' => 'Панель управления',
'handcrafted_by' => 'Разработано',
'powered_by' => 'При поддержке',
'my_account' => 'Мой аккаунт',
'update_account_info' => 'Обновить личную информацию',
'save' => 'Сохранить',
'cancel' => 'Отменить',
'error' => 'Ошибка',
'success' => 'Успешно',
'warning' => 'Предупреждение',
'notice' => 'Уведомление',
'old_password_incorrect'=> 'Старый пароль неверен.',
'password_dont_match' => 'Пароли не совпадают.',
'password_empty' => 'Убедитесь, что заполнены оба поля для ввода пароля.',
'password_updated' => 'Пароль обновлён.',
'account_updated' => 'Личная информация успешно обновлена.',
'unknown_error' => 'Что-то пошло не так. Пожалуйста, повторите снова.',
'error_saving' => 'При сохранении произошла ошибка. Пожалуйста, повторите снова.',
'welcome' => 'Добро пожаловать!',
'use_sidebar' => 'Используйте панель слева для создания, редактирования или удаления контента',
'password_reset' => [
'greeting' => 'Здравствуйте!',
'subject' => 'Сброс пароля',
'line_1' => 'Вы получили это письмо, т.к. был создан запрос на сброс Вашего пароля к аккаунту.',
'line_2' => 'Чтобы сбросить пароль, нажмите на кнопку ниже:',
'button' => 'Сбросить пароль',
'notice' => 'В случае, если Вы не запрашивали сброс пароля, пожалуйста, проигнорируйте это письмо.',
],
'step' => 'Шаг',
'confirm_email' => 'Подтвеждение Email',
'choose_new_password' => 'Ввод нового пароля',
'confirm_new_password' => 'Повторите новый пароль',
];

View File

@ -0,0 +1,180 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Backpack Crud Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the CRUD interface.
| You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
// Forms
'save_action_save_and_new' => 'Сохранить и создать',
'save_action_save_and_edit' => 'Сохранить и продолжить редактирование',
'save_action_save_and_back' => 'Сохранить и выйти',
'save_action_save_and_preview' => 'Сохранить и предпросмотр',
'save_action_changed_notification' => 'Действие после сохранения было изменено',
// Create form
'add' => 'Добавить',
'back_to_all' => 'Вернуться к списку',
'cancel' => 'Отменить',
'add_a_new' => 'Добавить новый(ую)',
// Edit form
'edit' => 'Редактировать',
'save' => 'Сохранить',
// Translatable models
'edit_translations' => 'Перевод',
'language' => 'Язык',
// CRUD table view
'all' => 'Все ',
'in_the_database' => 'в базе данных',
'list' => 'Список',
'reset' => 'Сбросить',
'actions' => 'Действия',
'preview' => 'Предпросмотр',
'delete' => 'Удалить',
'admin' => 'Главная',
'details_row' => 'Это строка сведений. Измените, пожалуйста',
'details_row_loading_error' => 'Произошла ошибка при загрузке сведений. Повторите операцию.',
'clone' => 'Создать копию',
'clone_success' => '<strong>Успешно!</strong><br>Была добавлена новая запись с той же информацией',
'clone_failure' => '<strong>Ошибка!</strong><br>Не получилось создать новую запись. Перезагрузите страницу и попробуйте еще раз',
// Confirmation messages and bubbles
'delete_confirm' => 'Вы уверены, что хотите удалить эту запись?',
'delete_confirmation_title' => 'Успешно!',
'delete_confirmation_message' => 'Запись была удалена',
'delete_confirmation_not_title' => 'Ошибка!',
'delete_confirmation_not_message' => 'Запись не была удалена. Обновите страницу и повторите попытку',
'delete_confirmation_not_deleted_title' => 'Не удалено',
'delete_confirmation_not_deleted_message' => 'Запись осталась без изменений',
// Bulk actions
'bulk_no_entries_selected_title' => 'Записи не выбраны',
'bulk_no_entries_selected_message' => 'Пожалуйста, выберите один или несколько элементов, чтобы выполнить массовое действие с ними',
// Bulk delete
'bulk_delete_are_you_sure' => 'Вы уверены, что хотите удалить :number записей?',
'bulk_delete_sucess_title' => 'Записи удалены',
'bulk_delete_sucess_message' => ' элементов было удалено',
'bulk_delete_error_title' => 'Ошибка!',
'bulk_delete_error_message' => 'Некоторые из выбранных элементов не могут быть удалены',
// Bulk clone
'bulk_clone_are_you_sure' => 'Подтвердите копирование записей(:number)',
'bulk_clone_sucess_title' => 'Записи скопированы успешно!',
'bulk_clone_sucess_message' => ' элементов было скопировано.',
'bulk_clone_error_title' => 'Ошибка!',
'bulk_clone_error_message' => 'Одна или более записей не может быть скопирована. Пожалуйста, попробуйте повторить операцию.',
// Ajax errors
'ajax_error_title' => 'Ошибка!',
'ajax_error_text' => 'Пожалуйста, перезагрузите страницу',
// DataTables translation
'emptyTable' => 'В таблице нет доступных данных',
'info' => 'Показано _START_ до _END_ из _TOTAL_ совпадений',
'infoEmpty' => '',
'infoFiltered' => '(отфильтровано из _MAX_ совпадений)',
'infoPostFix' => '.',
'thousands' => ',',
'lengthMenu' => '_MENU_ записей на странице',
'loadingRecords' => 'Загрузка...',
'processing' => 'Обработка...',
'search' => 'Поиск',
'zeroRecords' => 'Совпадений не найдено',
'paginate' => [
'first' => 'Первая',
'last' => 'Последняя',
'next' => 'Следующая',
'previous' => 'Предыдущая',
],
'aria' => [
'sortAscending' => ': нажмите для сортировки по возрастанию',
'sortDescending' => ': нажмите для сортировки по убыванию',
],
'export' => [
'export' => 'Экспорт',
'copy' => 'Копировать в буфер',
'excel' => 'Excel',
'csv' => 'CSV',
'pdf' => 'PDF',
'print' => 'На печать',
'column_visibility' => 'Видимость колонок',
],
// global crud - errors
'unauthorized_access' => 'У Вас нет необходимых прав для просмотра этой страницы.',
'please_fix' => 'Пожалуйста, исправьте следующие ошибки:',
// global crud - success / error notification bubbles
'insert_success' => 'Запись была успешно добавлена.',
'update_success' => 'Запись была успешно изменена.',
// CRUD reorder view
'reorder' => 'Изменить порядок',
'reorder_text' => 'Используйте drag&drop для изменения порядка.',
'reorder_success_title' => 'Готово',
'reorder_success_message' => 'Порядок был сохранен.',
'reorder_error_title' => 'Ошибка',
'reorder_error_message' => 'Порядок не был сохранен.',
// CRUD yes/no
'yes' => 'Да',
'no' => 'Нет',
// CRUD filters navbar view
'filters' => 'Фильтры',
'toggle_filters' => 'Переключить фильтры',
'remove_filters' => 'Очистить фильтры',
'apply' => 'Принять',
//filters language strings
'today' => 'Сегодня',
'yesterday' => 'Вчера',
'last_7_days' => 'Последние 7 дней',
'last_30_days' => 'Последние 30 дней',
'this_month' => 'Текущий месяц',
'last_month' => 'Последний месяц',
'custom_range' => 'Выбрать даты',
'weekLabel' => 'W',
// Fields
'browse_uploads' => 'Загрузить файлы',
'select_all' => 'Выбрать все',
'select_files' => 'Выбрать файлы',
'select_file' => 'Выбрать файл',
'clear' => 'Очистить',
'page_link' => 'Ссылка на страницу',
'page_link_placeholder' => 'http://example.com/your-desired-page',
'internal_link' => 'Внутренняя ссылка',
'internal_link_placeholder' => 'Внутренний путь. Например: \'admin/page\' (без кавычек) для \':url\'',
'external_link' => 'Внешняя ссылка',
'choose_file' => 'Выбрать файл',
'new_item' => 'Новый элемент',
'select_entry' => 'Выбрать запись',
'select_entries' => 'Выбрать записи',
//Table field
'table_cant_add' => 'Не удалось добавить новую :entity',
'table_max_reached' => 'Максимальное количество из :max достигнуто',
// File manager
'file_manager' => 'Файловый менеджер',
// InlineCreateOperation
'related_entry_created_success' => 'Связанная запись создана и выбрана.',
'related_entry_created_error' => 'Не удалось создать связанную запись.',
// returned when no translations found in select inputs
'empty_translations' => '(пусто)',
];

View File

@ -0,0 +1,16 @@
<?php
// --------------------------------------------------------
// This is only a pointer file, not an actual language file
// --------------------------------------------------------
//
// If you've copied this file to your /resources/lang/vendor/backpack/
// folder, please delete it, it's no use there. You need to copy/publish the
// actual language file, from the package.
// If a langfile with the same name exists in the package, load that one
if (file_exists(__DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
return include __DIR__.'/../../../../../langfilemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
}
return [];

View File

@ -0,0 +1,16 @@
<?php
// --------------------------------------------------------
// This is only a pointer file, not an actual language file
// --------------------------------------------------------
//
// If you've copied this file to your /resources/lang/vendor/backpack/
// folder, please delete it, it's no use there. You need to copy/publish the
// actual language file, from the package.
// If a langfile with the same name exists in the package, load that one
if (file_exists(__DIR__.'/../../../../../logmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
return include __DIR__.'/../../../../../logmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
}
return [];

View File

@ -0,0 +1,44 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Backpack Crud Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the CRUD interface.
| You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
// Models
'category' => 'категория',
'categories' => 'Категории',
'trading' => 'котировка',
'tradings' => 'Котировки',
'selected_trading' => 'избранное котировка',
'selected_tradings' => 'Избранные Котировки',
'multimedia' => 'Мультимедиа',
'news' => 'Новости',
'document' => 'документ',
'documents' => 'Документы',
'tariff' => 'тариф',
'tariffs' => 'Тарифы',
'contact' => 'контакт',
'contacts' => 'Контакты',
'video' => 'видео',
'videos' => 'Видео',
'page' => 'страница',
'pages' => 'Страницы'
];

View File

@ -0,0 +1,16 @@
<?php
// --------------------------------------------------------
// This is only a pointer file, not an actual language file
// --------------------------------------------------------
//
// If you've copied this file to your /resources/lang/vendor/backpack/
// folder, please delete it, it's no use there. You need to copy/publish the
// actual language file, from the package.
// If a langfile with the same name exists in the package, load that one
if (file_exists(__DIR__.'/../../../../../pagemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
return include __DIR__.'/../../../../../pagemanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
}
return [];

View File

@ -0,0 +1,16 @@
<?php
// --------------------------------------------------------
// This is only a pointer file, not an actual language file
// --------------------------------------------------------
//
// If you've copied this file to your /resources/lang/vendor/backpack/
// folder, please delete it, it's no use there. You need to copy/publish the
// actual language file, from the package.
// If a langfile with the same name exists in the package, load that one
if (file_exists(__DIR__.'/../../../../../permissionmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
return include __DIR__.'/../../../../../permissionmanager/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
}
return [];

View File

@ -0,0 +1,16 @@
<?php
// --------------------------------------------------------
// This is only a pointer file, not an actual language file
// --------------------------------------------------------
//
// If you've copied this file to your /resources/lang/vendor/backpack/
// folder, please delete it, it's no use there. You need to copy/publish the
// actual language file, from the package.
// If a langfile with the same name exists in the package, load that one
if (file_exists(__DIR__.'/../../../../../settings/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__))) {
return include __DIR__.'/../../../../../settings/src/resources/lang/'.basename(__DIR__).'/'.basename(__FILE__);
}
return [];

View File

@ -0,0 +1,44 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Backpack Crud Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the CRUD interface.
| You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
// Models
'category' => 'kategoriýa',
'categories' => 'Kategoriýalar',
'trading' => 'kotirowka',
'tradings' => 'Kotirowkalar',
'selected_trading' => 'saýlanan kotirowka',
'selected_tradings' => 'Saýlanan kotirowkalar',
'multimedia' => 'Multimedia',
'news' => 'Habarlar',
'document' => 'resminama',
'documents' => 'Resminamalar',
'tariff' => 'tarif',
'tariffs' => 'Tariflar',
'contact' => 'kontakt',
'contacts' => 'Kontaktlar',
'video' => 'wideo',
'videos' => 'Wideolar',
'page' => 'sahypa',
'pages' => 'Sahypalar'
];

View File

@ -1,24 +1,24 @@
{{-- This file is used to store sidebar items, inside the Backpack admin panel --}}
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('dashboard') }}"><i class="la la-home nav-icon"></i> {{ trans('backpack::base.dashboard') }}</a></li>
<li class="nav-item nav-dropdown">
<a class="nav-link nav-dropdown-toggle" href="#"><i class="nav-icon la la-users"></i> Tradings</a>
<a class="nav-link nav-dropdown-toggle" href="#"><i class="nav-icon la la-users"></i> {{trans('backpack::model.tradings')}}</a>
<ul class="nav-dropdown-items">
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('category') }}"><i class="nav-icon la la-question"></i> Categories</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('trading') }}"><i class="nav-icon la la-question"></i> Tradings</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('selected-trading') }}"><i class="nav-icon la la-question"></i> Selected tradings</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('category') }}"><i class="nav-icon la la-question"></i> {{trans('backpack::model.categories')}}</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('trading') }}"><i class="nav-icon la la-question"></i> {{trans('backpack::model.tradings')}}</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('selected-trading') }}"><i class="nav-icon la la-question"></i> {{trans('backpack::model.selected_tradings')}}</a></li>
</ul>
</li>
<li class="nav-item nav-dropdown">
<a class="nav-link nav-dropdown-toggle" href="#"><i class="nav-icon la la-users"></i> Multimedia</a>
<a class="nav-link nav-dropdown-toggle" href="#"><i class="nav-icon la la-users"></i> {{trans('backpack::model.multimedia')}}</a>
<ul class="nav-dropdown-items">
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('multimedia-category') }}"><i class="nav-icon la la-question"></i> Categories</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('multimedia') }}"><i class="nav-icon la la-question"></i> Multimedia</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('multimedia-category') }}"><i class="nav-icon la la-question"></i> {{trans('backpack::model.categories')}}</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('multimedia') }}"><i class="nav-icon la la-question"></i> {{trans('backpack::model.multimedia')}}</a></li>
</ul>
</li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('news') }}"><i class="nav-icon la la-question"></i> News</a></li>
<li class='nav-item'><a class='nav-link' href='{{ backpack_url('document') }}'><i class='nav-icon la la-question'></i> Documents</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('tarif') }}"><i class="nav-icon la la-question"></i> Tarifs</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('news') }}"><i class="nav-icon la la-question"></i> {{trans('backpack::model.news')}}</a></li>
<li class='nav-item'><a class='nav-link' href='{{ backpack_url('document') }}'><i class='nav-icon la la-question'></i> {{trans('backpack::model.documents')}}</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('tarif') }}"><i class="nav-icon la la-question"></i> {{trans('backpack::model.tariffs')}}</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('contact') }}"><i class="nav-icon la la-question"></i> Contacts</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('video') }}"><i class="nav-icon la la-question"></i> Videos</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('page') }}"><i class="nav-icon la la-question"></i> Pages</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('contact') }}"><i class="nav-icon la la-question"></i> {{trans('backpack::model.contacts')}}</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('video') }}"><i class="nav-icon la la-question"></i> {{trans('backpack::model.videos')}}</a></li>
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('page') }}"><i class="nav-icon la la-question"></i> {{trans('backpack::model.pages')}}</a></li>