mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-04 20:27:40 +02:00
Fix Translates
This commit is contained in:
@@ -51,9 +51,9 @@ class BackupAdmin extends Backend
|
||||
if (Security::check(Request::get('token'))) {
|
||||
|
||||
if (File::delete($backups_path . DS . Request::get('delete_file'))) {
|
||||
Notification::set('success', __('Backup was deleted', 'system'));
|
||||
Notification::set('success', __('Backup was deleted', 'backup'));
|
||||
} else {
|
||||
Notification::set('error', __('Backup was not deleted', 'system'));
|
||||
Notification::set('error', __('Backup was not deleted', 'backup'));
|
||||
}
|
||||
|
||||
Request::redirect(Option::get('siteurl').'/admin/index.php?id=backup');
|
||||
@@ -81,12 +81,12 @@ class BackupAdmin extends Backend
|
||||
$file_locations = Zip::factory()->extract($backups_path . DS . Request::get('restore'), $tmp_dir);
|
||||
if (!empty($file_locations)) {
|
||||
Dir::copy($tmp_dir, ROOT . DS);
|
||||
Notification::set('success', __('Backup was restored', 'system'));
|
||||
Notification::set('success', __('Backup was restored', 'backup'));
|
||||
} else {
|
||||
Notification::set('error', __('Unzip error', 'system'));
|
||||
Notification::set('error', __('Unzip error', 'backup'));
|
||||
}
|
||||
} else {
|
||||
Notification::set('error', __('Backup was not restored', 'system'));
|
||||
Notification::set('error', __('Backup was not restored', 'backup'));
|
||||
}
|
||||
|
||||
Request::redirect(Option::get('siteurl').'/admin/index.php?id=backup');
|
||||
|
@@ -13,5 +13,9 @@
|
||||
'Actions' => 'Действия',
|
||||
'Delete backup: :backup' => 'Удалить бекап: :backup',
|
||||
'Creating...' => 'Создание...',
|
||||
'Backup was deleted' => 'Бекап не был создан',
|
||||
'Backup was created' => 'Бекап был создан',
|
||||
'Backup was not restored' => 'Бекап не был восстановлен',
|
||||
'Backup was restored' => 'Бекап был восстановлен',
|
||||
)
|
||||
);
|
||||
|
@@ -2,8 +2,8 @@
|
||||
|
||||
return array(
|
||||
'dashboard' => array(
|
||||
'Dashboard' => 'Dashboard',
|
||||
'Dashboard plugin for Monstra' => 'Dashboard для Monstra',
|
||||
'Dashboard' => 'Панель',
|
||||
'Dashboard plugin for Monstra' => 'Панель для Monstra',
|
||||
'Welcome back' => 'Добро пожаловать',
|
||||
'Create New' => 'Добавить',
|
||||
'Upload File' => 'Загрузить Файл',
|
||||
|
@@ -13,7 +13,7 @@
|
||||
<?php Dashboard::drawItems(); ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php echo ( Html::anchor(__('Upload File', 'filesmanager'), 'index.php?id=filesmanager', array('title' => __('Upload File', 'filesmanager'), 'class' => 'btn btn-primary'))); ?>
|
||||
<?php echo ( Html::anchor(__('Upload File', 'dashboard'), 'index.php?id=filesmanager', array('title' => __('Upload File', 'filesmanager'), 'class' => 'btn btn-primary'))); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -2,18 +2,18 @@
|
||||
|
||||
return array(
|
||||
'emails' => array(
|
||||
'Emails' => 'Emails',
|
||||
'Emails' => 'Письма',
|
||||
'Emails plugin for Monstra' => 'Плагин emails для Monstra',
|
||||
'Edit Layout' => 'Edit Layout',
|
||||
'Email templates' => 'Email templates',
|
||||
'Edit' => 'Edit',
|
||||
'Edit Email Template' => 'Edit Email Template',
|
||||
'Name' => 'Name',
|
||||
'Email template content' => 'Email template content',
|
||||
'Save and Exit' => 'Save and Exit',
|
||||
'Save' => 'Save',
|
||||
'Cancel' => 'Cancel',
|
||||
'This email template does not exist' => 'This email template does not exist',
|
||||
'Your changes to the email template <i>:name</i> have been saved.' => 'Your changes to the email template <i>:name</i> have been saved.',
|
||||
'Edit Layout' => 'Редактировать Шаблон',
|
||||
'Email templates' => 'Шаблоны Писем',
|
||||
'Edit' => 'Редактировать',
|
||||
'Edit Email Template' => 'Редактировать Шаблоны Письма',
|
||||
'Name' => 'Название',
|
||||
'Email template content' => 'Конент Шаблона Письма',
|
||||
'Save and Exit' => 'Сохранить и выйты',
|
||||
'Save' => 'Сохранить',
|
||||
'Cancel' => 'Отменить',
|
||||
'This email template does not exist' => 'Этот емейл шаблон отсутствует',
|
||||
'Your changes to the email template <i>:name</i> have been saved.' => 'Ваши изменения к емейл шаблону <i>:name</i> были сохранены.',
|
||||
)
|
||||
);
|
||||
|
@@ -8,30 +8,30 @@
|
||||
'Actions' => 'Действия',
|
||||
'Delete' => 'Удалить',
|
||||
'Upload' => 'Загрузить',
|
||||
'Drop File Here' => 'Drop File Here',
|
||||
'Maximum upload file size: :upload_max_filesize' => 'Maximum upload file size: :upload_max_filesize',
|
||||
'Rename' => 'Rename',
|
||||
'Renamed successfully' => 'Renamed successfully',
|
||||
'Drop File Here' => 'Перетащите файл сюда',
|
||||
'Maximum upload file size: :upload_max_filesize' => 'Максимальный размер файла: :upload_max_filesize',
|
||||
'Rename' => 'Переименовать',
|
||||
'Renamed successfully' => 'Успешно переименован',
|
||||
'Failure' => 'Failure',
|
||||
'Forbidden file type' => 'Forbidden file type',
|
||||
'Upload server error' => 'Upload server error',
|
||||
'Can not be empty' => 'Can not be empty',
|
||||
'Create New Directory' => 'Create New Directory',
|
||||
'Directory Name' => 'Directory Name',
|
||||
'Directory:' => 'Directory:',
|
||||
'Directory was not created' => 'Directory was not created',
|
||||
'Directory was created' => 'Directory was created',
|
||||
'Directory was deleted' => 'Directory was deleted',
|
||||
'Directory was not deleted' => 'Directory was not deleted',
|
||||
'Directory exists' => 'Directory exists',
|
||||
'File:' => 'File:',
|
||||
'File was uploaded' => 'File was uploaded',
|
||||
'File was not uploaded' => 'File was not uploaded',
|
||||
'File was deleted' => 'File was deleted',
|
||||
'File was not deleted' => 'File was not deleted',
|
||||
'File exists' => 'File exists',
|
||||
'Cancel' => 'Cancel',
|
||||
'Create' => 'Create',
|
||||
'Forbidden file type' => 'Запрещенный тип файла',
|
||||
'Upload server error' => 'Ошибка сервера при загрузке',
|
||||
'Can not be empty' => 'Не может быть пустым',
|
||||
'Create New Directory' => 'Создать Новую Директорию',
|
||||
'Directory Name' => 'Название Директории',
|
||||
'Directory:' => 'Директория:',
|
||||
'Directory was not created' => 'Диретория не была создана',
|
||||
'Directory was created' => 'Директория была создана',
|
||||
'Directory was deleted' => 'Директория была удалена',
|
||||
'Directory was not deleted' => 'Директория не была удалена',
|
||||
'Directory exists' => 'Диретория уже существует',
|
||||
'File:' => 'Файл:',
|
||||
'File was uploaded' => 'Файл был загружен',
|
||||
'File was not uploaded' => 'Файл не был загружен',
|
||||
'File was deleted' => 'Файл был удален',
|
||||
'File was not deleted' => 'Файл не был удален',
|
||||
'File exists' => 'Файл существует',
|
||||
'Cancel' => 'Отменить',
|
||||
'Create' => 'Создать',
|
||||
'directory' => 'директория',
|
||||
'Delete directory: :dir' => 'Удалить директорию: :dir',
|
||||
'Delete file: :file' => 'Удалить файл :file',
|
||||
@@ -39,5 +39,12 @@
|
||||
'Size' => 'Размер',
|
||||
'Select file' => 'Выбрать файл',
|
||||
'Change' => 'Изменить',
|
||||
'Info' => 'Инфо',
|
||||
'File Information' => 'Информация о файле',
|
||||
'Filename' => 'Название файла',
|
||||
'Filetype' => 'Тип файла',
|
||||
'Filesize' => 'Размер файла',
|
||||
'Dimension' => 'Разрешение',
|
||||
'Link' => 'Ссылка',
|
||||
)
|
||||
);
|
||||
|
@@ -217,23 +217,23 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="row">
|
||||
<div class="col-md-3"><?php echo __('Filename:', 'filesmanager'); ?></div>
|
||||
<div class="col-md-3"><?php echo __('Filename', 'filesmanager'); ?>:</div>
|
||||
<div class="col-md-9 js-filename"></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-3"><?php echo __('Filetype:', 'filesmanager'); ?></div>
|
||||
<div class="col-md-3"><?php echo __('Filetype', 'filesmanager'); ?>:</div>
|
||||
<div class="col-md-9 js-filetype"></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-3"><?php echo __('Filesize:', 'filesmanager'); ?></div>
|
||||
<div class="col-md-3"><?php echo __('Filesize', 'filesmanager'); ?>:</div>
|
||||
<div class="col-md-9 js-filesize"></div>
|
||||
</div>
|
||||
<div class="row js-dimension-blck">
|
||||
<div class="col-md-3"><?php echo __('Dimension:', 'filesmanager'); ?></div>
|
||||
<div class="col-md-3"><?php echo __('Dimension', 'filesmanager'); ?>:</div>
|
||||
<div class="col-md-9 js-dimension"></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-3"><?php echo __('Link:', 'filesmanager'); ?></div>
|
||||
<div class="col-md-3"><?php echo __('Link', 'filesmanager'); ?>:</div>
|
||||
<div class="col-md-9 js-link"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -16,7 +16,8 @@
|
||||
'Title' => 'Заголовок',
|
||||
'Name' => 'Название',
|
||||
'Author' => 'Автор',
|
||||
'Name (slug)' => 'Название (slug)',
|
||||
'Slug (url)' => 'Ссылка (url)',
|
||||
'Tags' => 'Теги',
|
||||
'Description' => 'Описание',
|
||||
'Keywords' => 'Ключевые слова',
|
||||
'Parent' => 'Родитель',
|
||||
|
@@ -16,6 +16,7 @@
|
||||
'Get More Plugins' => 'Скачать другие плагины',
|
||||
'Install' => 'Установить',
|
||||
'Uninstall' => 'Удалить',
|
||||
'README.md not found' => 'README.md not found',
|
||||
'README.md not found' => 'README.md не найден',
|
||||
'Info' => 'Инфо',
|
||||
)
|
||||
);
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
// Add plugin navigation link
|
||||
Navigation::add(__('Snippets', 'snippets'), 'extends', 'snippets', 3);
|
||||
Dashboard::addNewItem('snippets', __('Snippets', 'snippet'), 'index.php?id=snippets&action=add_snippet', 3);
|
||||
Dashboard::addNewItem('snippets', __('Snippets', 'snippets'), 'index.php?id=snippets&action=add_snippet', 3);
|
||||
|
||||
/**
|
||||
* Snippets Admin Class
|
||||
|
@@ -48,5 +48,6 @@
|
||||
'Script content' => 'Содержимое скрипта',
|
||||
'New Script' => 'Новый скрипт',
|
||||
'Edit Script' => 'Редактирование скрипта',
|
||||
'Cancel' => 'Отмена',
|
||||
)
|
||||
);
|
||||
|
Reference in New Issue
Block a user