From cc8c38d36f14635d2d54fe2537b561174a2d707a Mon Sep 17 00:00:00 2001 From: Sergey Sysa Date: Thu, 30 Mar 2017 00:55:34 +1000 Subject: [PATCH 1/2] =?UTF-8?q?=D0=92=D0=B4=D0=B8=D0=B6=D0=B5=D1=82=20-=20?= =?UTF-8?q?=D0=B8=D0=B7=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B0=D0=BB=D1=8C=D0=B1=D0=BE=D0=BC=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/gallery/gallery_widgets.php | 93 +- .../language/en_US/LC_MESSAGES/gallery.po | 1120 +++++++++-------- .../en_US/LC_MESSAGES/gallery_1490795110.mo | Bin 0 -> 7627 bytes .../language/ru_RU/LC_MESSAGES/gallery.po | 1032 +++++++-------- .../ru_RU/LC_MESSAGES/gallery_1490795051.mo | Bin 0 -> 10306 bytes .../gallery/templates/album_images.tpl | 5 + .../gallery/templates/album_images_form.tpl | 53 + .../gallery/templates/latest_fotos_form.tpl | 2 +- application/modules/gallery/widgets.xml | 16 + application/modules/gallery/widgets_info.php | 17 +- 10 files changed, 1246 insertions(+), 1092 deletions(-) create mode 100644 application/modules/gallery/language/en_US/LC_MESSAGES/gallery_1490795110.mo create mode 100644 application/modules/gallery/language/ru_RU/LC_MESSAGES/gallery_1490795051.mo create mode 100644 application/modules/gallery/templates/album_images.tpl create mode 100644 application/modules/gallery/templates/album_images_form.tpl diff --git a/application/modules/gallery/gallery_widgets.php b/application/modules/gallery/gallery_widgets.php index 7b4b555cc0..c0df11a0fd 100755 --- a/application/modules/gallery/gallery_widgets.php +++ b/application/modules/gallery/gallery_widgets.php @@ -1,5 +1,7 @@ load('gallery'); + $this->load->helper('gallery'); + $this->load->model('gallery_m'); } /** @@ -24,8 +28,6 @@ public function __construct() { * @return string */ public function latest_fotos(array $widget = []) { - $this->load->helper('gallery'); - $this->load->model('gallery_m'); if ($widget['settings']['order'] == 'latest') { $images = gallery_latest_images($widget['settings']['limit']); @@ -60,7 +62,9 @@ public function latest_fotos_configure($action = 'show_settings', array $widget_ switch ($action) { case 'show_settings': - $this->render('latest_fotos_form', ['widget' => $widget_data]); + assetManager::create() + ->setData('widget', $widget_data) + ->renderAdmin('../../templates/latest_fotos_form'); break; case 'update_settings': @@ -97,39 +101,74 @@ public function latest_fotos_configure($action = 'show_settings', array $widget_ } } - /** - * Template functions - * @param string $file - * @param array $vars - */ - public function display_tpl($file, $vars = []) { - $this->template->add_array($vars); - - $file = realpath(__DIR__) . '/templates/' . $file . '.tpl'; - $this->template->display('file:' . $file); - } /** - * @param string $file - * @param array $vars + * @param array $widget * @return string */ - public function fetch_tpl($file, array $vars = []) { - $this->template->add_array($vars); + public function album_images(array $widget = []) { + + $images = $this->gallery_m->get_album_images($widget['settings']['album_id'], $widget['settings']['limit']); + + if (!empty($images)) { + $countImages = count($images); + for ($i = 0; $i < $countImages; $i++) { + $images[$i]['url'] = site_url('gallery/album/' . $images[$i]['album_id'] . '/image/' . $images[$i]['id']); + $images[$i]['file_path'] = media_url('uploads/gallery/' . $images[$i]['album_id'] . '/' . $images[$i]['file_name'] . $images[$i]['file_ext']); + $images[$i]['thumb_path'] = media_url('uploads/gallery/' . $images[$i]['album_id'] . '/_thumbs/' . $images[$i]['file_name'] . $images[$i]['file_ext']); + } + } - $file = realpath(__DIR__) . '/templates/' . $file . '.tpl'; - return $this->template->fetch('file:' . $file); + return assetManager::create() + ->setData('images', $images) + ->fetchTemplate('../widgets/' . $widget['name']); } + /** - * @param string $viewName - * @param array $data + * @param string $action + * @param array $widget_data */ - public function render($viewName, array $data = []) { - if (!empty($data)) { - $this->template->add_array($data); + public function album_images_configure($action = 'show_settings', array $widget_data = []) { + if ($this->dx_auth->is_admin() == FALSE) { + exit; } - $this->template->show('file:' . APPPATH . getModContDirName('gallery') . '/gallery/templates/' . $viewName); - } + switch ($action) { + case 'show_settings': + assetManager::create() + ->setData('widget', $widget_data) + ->setData('albums', $this->gallery_m->get_albums()) + ->renderAdmin('../../templates/album_images_form'); + break; + + case 'update_settings': + + $this->load->library('Form_validation'); + $this->form_validation->set_rules('limit', lang('Image limit', 'gallery'), 'trim|required|integer'); + $this->form_validation->set_rules('album_id', lang('Choose Album', 'gallery'), 'trim|required|integer'); + + if ($this->form_validation->run($this) == FALSE) { + showMessage(validation_errors(), false, 'r'); + exit; + } + + $data = [ + 'limit' => $this->input->post('limit'), + 'album_id' => $this->input->post('album_id'), + ]; + + $this->load->module('admin/widgets_manager')->update_config($widget_data['id'], $data); + + showMessage(lang('Settings have been saved', 'gallery')); + if ($this->input->post('action') == 'tomain') { + pjax('/admin/widgets_manager/index'); + } + break; + + case 'install_defaults': + $this->load->module('admin/widgets_manager')->update_config($widget_data['id'], ['limit' => 15]); + break; + } + } } \ No newline at end of file diff --git a/application/modules/gallery/language/en_US/LC_MESSAGES/gallery.po b/application/modules/gallery/language/en_US/LC_MESSAGES/gallery.po index 8fa5b2988b..034a1f2fea 100755 --- a/application/modules/gallery/language/en_US/LC_MESSAGES/gallery.po +++ b/application/modules/gallery/language/en_US/LC_MESSAGES/gallery.po @@ -2,8 +2,8 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-01-26 04:33+0200\n" -"PO-Revision-Date: 2015-01-26 04:33+0200\n" +"POT-Creation-Date: 2017-03-29 04:45+0300\n" +"PO-Revision-Date: 2017-03-29 04:45+0300\n" "Last-Translator: <>\n" "Language-Team: <>\n" "Language: \n" @@ -18,693 +18,711 @@ msgstr "" "X-Poedit-Country: \n" "X-Poedit-SearchPath-0: .\n" -#: application/modules/gallery/assets/index.tpl:15 -msgid "Категории" -msgstr "Categories" +#: application/modules/gallery/assets/admin/edit_album.tpl:11 +msgid "Add pictures" +msgstr "Add pictures" -#: application/modules/gallery/assets/index.tpl:35 -msgid "There are no categories." -msgstr "" +#: application/modules/gallery/assets/admin/edit_image.tpl:5 +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:34 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:34 +msgid "Album" +msgstr "Album" -#: application/modules/gallery/admin.php:274 -msgid "Gallery settings was edited" -msgstr "" +#: application/modules/gallery/admin.php:334 +msgid "Album created" +msgstr "Album created" -#: application/modules/gallery/admin.php:309 -msgid "Gallery album was created" -msgstr "" +#: application/modules/gallery/assets/admin/create_album.tpl:5 +msgid "Album creating" +msgstr "Album creating" -#: application/modules/gallery/admin.php:336 -msgid "Gallery album was updated" -msgstr "" +#: application/modules/gallery/assets/admin/album_params.tpl:74 +msgid "Album deletion" +msgstr "Album deletion" -#: application/modules/gallery/admin.php:414 -msgid "Gallery album was removed" -msgstr "" +#: application/modules/gallery/assets/admin/album_params.tpl:5 +#: application/modules/gallery/assets/admin/edit_album.tpl:5 +msgid "Album editing" +msgstr "Album editing" -#: application/modules/gallery/admin.php:686 -msgid "Gallery category was created" -msgstr "" +#: application/modules/gallery/admin.php:593 +msgid "Album image deleted." +msgstr "Album image deleted." -#: application/modules/gallery/admin.php:746 -msgid "Gallery category was edited" -msgstr "" +#: application/modules/gallery/widgets_info.php:10 +msgid "Album images" +msgstr "Album images" -#: application/modules/gallery/admin.php:772 -msgid "Gallery category was removed" -msgstr "" +#: application/modules/gallery/assets/admin/edit_album.tpl:73 +msgid "Album is empty" +msgstr "Album is empty" -#: application/modules/gallery/admin.php:861 -msgid "Upload success" -msgstr "" +#: application/modules/gallery/assets/admin/album_list.tpl:5 +#: application/modules/gallery/assets/admin/categories.tpl:28 +msgid "Albums" +msgstr "Albums" -#: application/modules/gallery/templates/admin/settings.tpl:349 -msgid "Font file must support all characters you need." -msgstr "Font file must support all characters you need." +#: application/modules/gallery/assets/index.tpl:36 +msgid "All albums" +msgstr "All albums" -#: application/modules/gallery/templates/latest_fotos.tpl:2 -msgid "My last photo" -msgstr "My latest photo" +#: application/modules/gallery/assets/admin/settings.tpl:254 +msgid "at the bottom" +msgstr "at the bottom" -#: application/modules/gallery/admin.php:189 -msgid "Watermark text" -msgstr "Watermark text" +#: application/modules/gallery/assets/admin/settings.tpl:252 +msgid "at the top" +msgstr "at the top" -#: application/modules/gallery/templates/admin/settings.tpl:100 -#: application/modules/gallery/templates/admin/settings.tpl:151 -#: application/modules/gallery/templates/admin/settings.tpl:202 -msgid "Save ratio" -msgstr "Save ratio" +#: application/modules/gallery/assets/admin/album_list.tpl:10 +#: application/modules/gallery/assets/admin/album_params.tpl:9 +#: application/modules/gallery/assets/admin/create_album.tpl:9 +#: application/modules/gallery/assets/admin/create_category.tpl:9 +#: application/modules/gallery/assets/admin/edit_album.tpl:9 +#: application/modules/gallery/assets/admin/edit_category.tpl:9 +#: application/modules/gallery/assets/admin/edit_image.tpl:11 +#: application/modules/gallery/assets/admin/settings.tpl:9 +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:9 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:9 +msgid "Back" +msgstr "Back" -#: application/modules/gallery/templates/admin/categories.tpl:67 -msgid "Delete category?" -msgstr "Delete category?/Remove category?" +#: application/modules/gallery/assets/admin/settings.tpl:36 +msgid "By date" +msgstr "By date" -#: application/modules/gallery/admin.php:587 -#: application/modules/gallery/admin.php:595 -#: application/modules/gallery/admin.php:603 -msgid "Positions updated" -msgstr "Positions updated" +#: application/modules/gallery/assets/admin/album_params.tpl:56 +#: application/modules/gallery/assets/admin/create_album.tpl:50 +msgid "by default" +msgstr "by default" -#: application/modules/gallery/templates/admin/album_list.tpl:88 -msgid "No albums found" -msgstr "No albums found" +#: application/modules/gallery/assets/admin/settings.tpl:38 +msgid "By position" +msgstr "By position" -#: application/modules/gallery/templates/admin/settings.tpl:239 -msgid "in the center" -msgstr "in the center" +#: application/modules/gallery/admin.php:422 +#: application/modules/gallery/admin.php:453 +msgid "Can't load album information" +msgstr "Can't load album information" -#: application/modules/gallery/templates/admin/settings.tpl:225 -msgid "Watermark" -msgstr "Watermark" +#: application/modules/gallery/admin.php:517 +#: application/modules/gallery/admin.php:559 +#: application/modules/gallery/admin.php:631 +msgid "Can't load image information" +msgstr "Can't load image information" + +#: application/modules/gallery/assets/admin/album_list.tpl:95 +#: application/modules/gallery/assets/admin/album_params.tpl:77 +#: application/modules/gallery/assets/admin/categories.tpl:70 +#: application/modules/gallery/assets/admin/create_category.tpl:56 +#: application/modules/gallery/assets/admin/edit_album.tpl:90 +#: application/modules/gallery/assets/admin/edit_category.tpl:57 +#: application/modules/gallery/assets/admin/edit_image.tpl:14 +#: application/modules/gallery/assets/admin/edit_image.tpl:68 +msgid "Cancel" +msgstr "Cancel" -#: application/modules/gallery/templates/latest_fotos_form.tpl:34 -msgid "Algorithm" -msgstr "Algorithm" +#: application/modules/gallery/admin.php:315 +#: application/modules/gallery/assets/admin/album_params.tpl:23 +#: application/modules/gallery/assets/admin/categories.tpl:5 +#: application/modules/gallery/assets/admin/create_album.tpl:22 +msgid "Categories" +msgstr "Categories" -#: application/modules/gallery/assets/albums.tpl:6 -#: application/modules/gallery/assets/album.tpl:6 -#: application/modules/gallery/assets/index.tpl:6 -msgid "Главная" -msgstr "Home page" +#: application/modules/gallery/assets/admin/settings.tpl:22 +msgid "Categories and albums" +msgstr "Categories and albums" -#: application/modules/gallery/templates/admin/settings.tpl:240 -msgid "on the right" -msgstr "on the right/ right" +#: application/modules/gallery/assets/admin/edit_category.tpl:5 +msgid "Category editing" +msgstr "Category editing" -#: application/modules/gallery/templates/admin/settings.tpl:289 -#: application/modules/gallery/templates/admin/settings.tpl:318 -msgid "Offset" -msgstr "Offset" +#: application/modules/gallery/assets/admin/categories.tpl:60 +msgid "Category list is empty" +msgstr "Category list is empty" -#: application/modules/gallery/templates/admin/create_category.tpl:5 -#: application/modules/gallery/templates/admin/categories.tpl:10 -msgid "Create a category" -msgstr "Create a category" +#: application/modules/gallery/admin.php:627 +msgid "Changes are saved" +msgstr "Changes are saved" -#: application/modules/gallery/templates/admin/settings.tpl:67 -msgid "In megabites" -msgstr "in megabites" +#: application/modules/gallery/admin.php:363 +#: application/modules/gallery/admin.php:556 +#: application/modules/gallery/admin.php:819 +msgid "Changes have been saved" +msgstr "Changes have been saved" -#: application/modules/gallery/templates/admin/settings.tpl:245 -msgid "vertical alignment" -msgstr "vertical alignment" +#: application/modules/gallery/gallery_widgets.php:149 +msgid "Choose Album" +msgstr "Choose Album" -#: application/modules/gallery/templates/admin/settings.tpl:107 -#: application/modules/gallery/templates/admin/settings.tpl:158 -#: application/modules/gallery/templates/admin/settings.tpl:209 -msgid "Cut the borders" -msgstr "Cut the borders" +#: application/modules/gallery/assets/admin/settings.tpl:275 +msgid "Choose an image " +msgstr "Choose an image " -#: application/modules/gallery/templates/latest_fotos_form.tpl:37 -msgid "Last images" -msgstr "Last images" +#: application/modules/gallery/assets/admin/edit_album.tpl:33 +msgid "Chose all photos" +msgstr "Chose all photos" -#: application/modules/gallery/templates/admin/settings.tpl:248 -msgid "at the top" -msgstr "at the top" +#: application/modules/gallery/assets/admin/edit_image.tpl:46 +msgid "Cover" +msgstr "Cover" -#: application/modules/gallery/templates/admin/settings.tpl:235 -msgid "horizontal alignment" -msgstr "horizontal alignment/ Horizontal alignment" +#: application/modules/gallery/assets/admin/create_album.tpl:10 +#: application/modules/gallery/assets/admin/create_category.tpl:10 +msgid "Create" +msgstr "Create" -#: application/modules/gallery/templates/admin/settings.tpl:306 -#: application/modules/gallery/admin.php:190 -msgid "Font size" -msgstr "Font size" +#: application/modules/gallery/assets/admin/categories.tpl:10 +msgid "Create a category" +msgstr "Create a category" -#: application/modules/gallery/templates/admin/create_category.tpl:11 -#: application/modules/gallery/templates/admin/create_album.tpl:11 -msgid "Create and exit" -msgstr "Create and exit" +#: application/modules/gallery/admin.php:95 +msgid "Create a directory to continue your work with the gallery" +msgstr "Create a directory to continue your work with the gallery" -#: application/modules/gallery/templates/latest_fotos_form.tpl:11 -#: application/modules/gallery/templates/admin/edit_category.tpl:11 -msgid "Save and exit" -msgstr "Save and exit" +#: application/modules/gallery/assets/admin/album_list.tpl:11 +msgid "Create album" +msgstr "Create album" -#: application/modules/gallery/templates/public/main_backup.tpl:132 -#: application/modules/gallery/templates/admin/album_params.tpl:23 -#: application/modules/gallery/templates/admin/create_album.tpl:22 -#: application/modules/gallery/templates/admin/categories.tpl:5 -#: application/modules/gallery/admin.php:291 -msgid "Categories" -msgstr "Categories" +#: application/modules/gallery/assets/admin/categories.tpl:11 +msgid "Create an album" +msgstr "Create an album" -#: application/modules/gallery/templates/latest_fotos_form.tpl:38 -msgid "Random images" -msgstr "Random images" +#: application/modules/gallery/assets/admin/create_album.tpl:11 +#: application/modules/gallery/assets/admin/create_category.tpl:11 +msgid "Create and exit" +msgstr "Create and exit" -#: application/modules/gallery/admin.php:474 -#: application/modules/gallery/admin.php:516 -#: application/modules/gallery/admin.php:578 -msgid "Can't load image information" -msgstr "Can't load image information/ Cannot load image information" +#: application/modules/gallery/assets/admin/create_category.tpl:5 +msgid "Create category" +msgstr "Create category" -#: application/modules/gallery/templates/admin/edit_image.tpl:5 -msgid "Album" -msgstr "Album" +#: application/modules/gallery/assets/admin/album_list.tpl:43 +#: application/modules/gallery/assets/admin/categories.tpl:30 +msgid "Created" +msgstr "Created" -#: application/modules/gallery/gallery_widgets.php:66 -#: application/modules/gallery/admin.php:275 -msgid "Settings have been saved" -msgstr "Settings have been saved" +#: application/modules/gallery/module_info.php:9 +msgid "Creating and managing photo galleries online." +msgstr "Creating and managing photo galleries online." -#: application/modules/gallery/templates/admin/edit_image.tpl:9 -msgid "Return" -msgstr "Return" +#: application/modules/gallery/assets/admin/settings.tpl:111 +#: application/modules/gallery/assets/admin/settings.tpl:162 +#: application/modules/gallery/assets/admin/settings.tpl:213 +msgid "Cut the borders" +msgstr "Cut the borders" -#: application/modules/gallery/assets/thumbnails.tpl:3 -#: application/modules/gallery/assets/albums.tpl:14 -#: application/modules/gallery/assets/album.tpl:11 -#: application/modules/gallery/assets/index.tpl:14 -msgid "Галерея" -msgstr "Gallery" +#: application/modules/gallery/assets/admin/album_list.tpl:81 +#: application/modules/gallery/assets/admin/album_list.tpl:82 +#: application/modules/gallery/assets/admin/album_list.tpl:97 +#: application/modules/gallery/assets/admin/album_params.tpl:78 +#: application/modules/gallery/assets/admin/categories.tpl:9 +#: application/modules/gallery/assets/admin/categories.tpl:71 +#: application/modules/gallery/assets/admin/create_category.tpl:57 +#: application/modules/gallery/assets/admin/edit_album.tpl:14 +#: application/modules/gallery/assets/admin/edit_album.tpl:91 +#: application/modules/gallery/assets/admin/edit_category.tpl:58 +msgid "Delete" +msgstr "Delete" -#: application/modules/gallery/templates/admin/edit_image.tpl:29 -msgid "Has been downloaded" -msgstr "Has been downloaded/ Downloaded" +#: application/modules/gallery/assets/admin/album_list.tpl:92 +msgid "Delete album?" +msgstr "Delete album?" -#: application/modules/gallery/templates/public/album.tpl:23 -msgid "from" -msgstr "from" +#: application/modules/gallery/assets/admin/categories.tpl:67 +msgid "Delete category?" +msgstr "Delete category?" -#: application/modules/gallery/templates/admin/edit_image.tpl:35 -msgid "Image size" -msgstr "Image size" +#: application/modules/gallery/assets/admin/edit_album.tpl:87 +msgid "Deleting photos" +msgstr "Deleting photos" + +#: application/modules/gallery/admin.php:314 +#: application/modules/gallery/assets/admin/album_list.tpl:60 +#: application/modules/gallery/assets/admin/album_params.tpl:39 +#: application/modules/gallery/assets/admin/categories.tpl:29 +#: application/modules/gallery/assets/admin/create_album.tpl:39 +#: application/modules/gallery/assets/admin/create_category.tpl:28 +#: application/modules/gallery/assets/admin/edit_category.tpl:29 +#: application/modules/gallery/assets/admin/edit_image.tpl:60 +msgid "Description" +msgstr "Description" -#: application/modules/gallery/module_info.php:7 -#: application/modules/gallery/templates/public/thumbnails.tpl:1 -#: application/modules/gallery/templates/public/albums.tpl:1 -#: application/modules/gallery/templates/public/album.tpl:10 -#: application/modules/gallery/gallery.php:42 -#: application/modules/gallery/gallery.php:63 -msgid "Gallery" -msgstr "Gallery" +#: application/modules/gallery/widgets_info.php:11 +msgid "Displays a list of images of the specified album." +msgstr "Displays a list of images of the specified album." -#: application/modules/gallery/templates/admin/edit_image.tpl:59 -msgid "New name" -msgstr "New name" +#: application/modules/gallery/widgets_info.php:6 +msgid "Displays the most recently added to the image gallery." +msgstr "Displays the most recently added to the image gallery." -#: application/modules/gallery/gallery_widgets.php:52 -msgid "Image limit" -msgstr "Image limit" +#: application/modules/gallery/assets/admin/album_list.tpl:74 +#: application/modules/gallery/assets/admin/edit_album.tpl:52 +msgid "Edit" +msgstr "Edit" -#: application/modules/gallery/templates/admin/settings.tpl:22 -msgid "Categories and albums" -msgstr "Categories and albums" +#: application/modules/gallery/assets/admin/album_list.tpl:75 +msgid "Edit albums" +msgstr "Edit albums" -#: application/modules/gallery/templates/latest_fotos_form.tpl:9 -#: application/modules/gallery/templates/admin/album_list.tpl:9 -#: application/modules/gallery/templates/admin/album_params.tpl:9 -#: application/modules/gallery/templates/admin/create_category.tpl:9 -#: application/modules/gallery/templates/admin/settings.tpl:9 -#: application/modules/gallery/templates/admin/edit_album.tpl:9 -#: application/modules/gallery/templates/admin/create_album.tpl:9 -#: application/modules/gallery/templates/admin/edit_category.tpl:9 -msgid "Back" -msgstr "Back" +#: application/modules/gallery/assets/admin/categories.tpl:44 +msgid "Edit category" +msgstr "Edit category" -#: application/modules/gallery/templates/admin/settings.tpl:32 -msgid "Sort" -msgstr "Sort" +#: application/modules/gallery/admin.php:900 +msgid "Error" +msgstr "Error" -#: application/modules/gallery/templates/public/album.tpl:26 -msgid "All images" -msgstr "All images" +#: application/modules/gallery/assets/admin/settings.tpl:281 +msgid "File has to be located on the server. For example" +msgstr "File has to be located on the server. For example" -#: application/modules/gallery/templates/admin/settings.tpl:35 -msgid "By date" -msgstr "By date/by date" +#: application/modules/gallery/admin.php:192 +#: application/modules/gallery/assets/admin/edit_image.tpl:39 +msgid "File size" +msgstr "File size" -#: application/modules/gallery/templates/admin/album_list.tpl:47 -msgid "Has been updated" -msgstr "Has been updated/ Updated" +#: application/modules/gallery/assets/admin/settings.tpl:319 +msgid "Font colour" +msgstr "Font colour" -#: application/modules/gallery/templates/admin/settings.tpl:36 -msgid "in alphabetic order" -msgstr "in alphabetic order/ In alphabetic" - -#: application/modules/gallery/templates/latest_fotos_form.tpl:10 -#: application/modules/gallery/templates/admin/album_params.tpl:10 -#: application/modules/gallery/templates/admin/edit_image.tpl:51 -#: application/modules/gallery/templates/admin/edit_image.tpl:62 -#: application/modules/gallery/templates/admin/settings.tpl:10 -#: application/modules/gallery/templates/admin/edit_album.tpl:13 -#: application/modules/gallery/templates/admin/edit_category.tpl:10 -msgid "Save" -msgstr "" +#: application/modules/gallery/assets/admin/settings.tpl:355 +msgid "Font file must support all characters you need." +msgstr "Font file must support all characters you need." -#: application/modules/gallery/templates/admin/settings.tpl:37 -msgid "By position" -msgstr "By position/ by position" - -#: application/modules/gallery/templates/admin/album_list.tpl:71 -#: application/modules/gallery/templates/admin/album_list.tpl:73 -#: application/modules/gallery/templates/admin/album_list.tpl:101 -#: application/modules/gallery/templates/admin/album_params.tpl:78 -#: application/modules/gallery/templates/admin/create_category.tpl:57 -#: application/modules/gallery/templates/admin/edit_album.tpl:14 -#: application/modules/gallery/templates/admin/edit_album.tpl:52 -#: application/modules/gallery/templates/admin/edit_album.tpl:92 -#: application/modules/gallery/templates/admin/categories.tpl:9 -#: application/modules/gallery/templates/admin/categories.tpl:71 -#: application/modules/gallery/templates/admin/edit_category.tpl:58 -msgid "Delete" -msgstr "Delete" +#: application/modules/gallery/assets/admin/settings.tpl:346 +msgid "Font is not uploaded" +msgstr "Font is not uploaded" -#: application/modules/gallery/templates/admin/settings.tpl:40 -msgid "in descending order" -msgstr "in descending order/ In descending order" +#: application/modules/gallery/admin.php:201 +#: application/modules/gallery/assets/admin/settings.tpl:313 +msgid "Font size" +msgstr "Font size" -#: application/modules/gallery/templates/public/album.tpl:31 -msgid "Previous" -msgstr "Previous" +#: application/modules/gallery/gallery.php:50 +#: application/modules/gallery/gallery.php:72 +#: application/modules/gallery/gallery.php:96 +#: application/modules/gallery/module_info.php:8 +msgid "Gallery" +msgstr "Gallery" -#: application/modules/gallery/templates/admin/settings.tpl:41 -msgid "in ascending order" -msgstr "in ascending order/ In ascending order " +#: application/modules/gallery/admin.php:333 +msgid "Gallery album was created" +msgstr "Gallery album was created" -#: application/modules/gallery/templates/admin/album_params.tpl:5 -#: application/modules/gallery/templates/admin/edit_album.tpl:5 -msgid "Album editing" -msgstr "Album editing" +#: application/modules/gallery/admin.php:448 +msgid "Gallery album was removed" +msgstr "Gallery album was removed" -#: application/modules/gallery/templates/admin/settings.tpl:55 -msgid "Images" -msgstr "Images" +#: application/modules/gallery/admin.php:362 +msgid "Gallery album was updated" +msgstr "Gallery album was updated" -#: application/modules/gallery/admin.php:88 -msgid "Set the write access" -msgstr "Set the right access" +#: application/modules/gallery/admin.php:758 +msgid "Gallery category was created" +msgstr "Gallery category was created" -#: application/modules/gallery/templates/admin/settings.tpl:65 -msgid "maximum file size" -msgstr "maximum file size/ maximum file size" +#: application/modules/gallery/admin.php:818 +msgid "Gallery category was edited" +msgstr "Gallery category was edited" -#: application/modules/gallery/templates/admin/album_params.tpl:74 -msgid "Album deletion" -msgstr "Album deletion" +#: application/modules/gallery/admin.php:846 +msgid "Gallery category was removed" +msgstr "Gallery category was removed" -#: application/modules/gallery/templates/admin/settings.tpl:102 -#: application/modules/gallery/templates/admin/settings.tpl:109 -#: application/modules/gallery/templates/admin/settings.tpl:153 -#: application/modules/gallery/templates/admin/settings.tpl:160 -#: application/modules/gallery/templates/admin/settings.tpl:204 -#: application/modules/gallery/templates/admin/settings.tpl:211 -msgid "Yes" -msgstr "Yes" +#: application/modules/gallery/admin.php:298 +msgid "Gallery settings was edited" +msgstr "Gallery settings was edited" -#: application/modules/gallery/templates/public/album.tpl:32 -msgid "Next" -msgstr "Next" +#: application/modules/gallery/assets/admin/edit_image.tpl:35 +msgid "Has been downloaded" +msgstr "Has been downloaded" -#: application/modules/gallery/templates/admin/settings.tpl:123 -msgid "Image preview" -msgstr "Image preview" +#: application/modules/gallery/assets/admin/album_list.tpl:48 +msgid "Has been updated" +msgstr "Has been updated" -#: application/modules/gallery/templates/admin/categories.tpl:26 -msgid "ID" -msgstr "ID" +#: application/modules/gallery/assets/admin/settings.tpl:146 +#: application/modules/gallery/assets/admin/settings.tpl:197 +msgid "Height" +msgstr "Height" -#: application/modules/gallery/templates/admin/settings.tpl:133 -#: application/modules/gallery/templates/admin/settings.tpl:184 -msgid "Width" -msgstr "Width" +#: application/modules/gallery/assets/admin/settings.tpl:239 +msgid "horizontal alignment" +msgstr "horizontal alignment" -#: application/modules/gallery/templates/admin/album_list.tpl:51 -#: application/modules/gallery/templates/admin/edit_image.tpl:31 -msgid "Views" -msgstr "Views" +#: application/modules/gallery/admin.php:199 +msgid "Icon height" +msgstr "Icon height" -#: application/modules/gallery/templates/admin/settings.tpl:135 -#: application/modules/gallery/templates/admin/settings.tpl:144 -#: application/modules/gallery/templates/admin/settings.tpl:186 -#: application/modules/gallery/templates/admin/settings.tpl:195 -#: application/modules/gallery/templates/admin/settings.tpl:291 -#: application/modules/gallery/templates/admin/settings.tpl:320 -msgid "px" -msgstr "px" +#: application/modules/gallery/admin.php:198 +msgid "Icon width" +msgstr "Icon width" -#: application/modules/gallery/templates/admin/create_category.tpl:10 -#: application/modules/gallery/templates/admin/create_album.tpl:10 -msgid "Create" -msgstr "Create" +#: application/modules/gallery/assets/admin/categories.tpl:26 +msgid "ID" +msgstr "ID" -#: application/modules/gallery/templates/admin/settings.tpl:142 -#: application/modules/gallery/templates/admin/settings.tpl:193 -msgid "Height" -msgstr "Height" +#: application/modules/gallery/assets/admin/settings.tpl:263 +msgid "Image" +msgstr "Image" -#: application/modules/gallery/admin.php:547 -msgid "Photos removed" -msgstr "Photos removed/Photos have been removed" +#: application/modules/gallery/assets/admin/edit_image.tpl:33 +msgid "Image file name" +msgstr "Image file name" -#: application/modules/gallery/templates/admin/settings.tpl:174 +#: application/modules/gallery/assets/admin/settings.tpl:178 msgid "Image icons" msgstr "Image icons" -#: application/modules/gallery/templates/public/main_backup.tpl:130 -#: application/modules/gallery/assets/index.tpl:43 -msgid "All albums" -msgstr "All albums" +#: application/modules/gallery/gallery_widgets.php:73 +#: application/modules/gallery/gallery_widgets.php:148 +msgid "Image limit" +msgstr "Image limit" -#: application/modules/gallery/templates/admin/album_list.tpl:55 -#: application/modules/gallery/templates/admin/album_params.tpl:39 -#: application/modules/gallery/templates/admin/edit_image.tpl:47 -#: application/modules/gallery/templates/admin/create_category.tpl:28 -#: application/modules/gallery/templates/admin/create_album.tpl:39 -#: application/modules/gallery/templates/admin/categories.tpl:29 -#: application/modules/gallery/templates/admin/edit_category.tpl:29 -#: application/modules/gallery/admin.php:290 -#: application/modules/gallery/admin.php:662 -#: application/modules/gallery/admin.php:718 -msgid "Description" -msgstr "Description" +#: application/modules/gallery/assets/admin/settings.tpl:270 +msgid "Image path" +msgstr "Image path" -#: application/modules/gallery/templates/admin/categories.tpl:44 -msgid "Edit category" -msgstr "Edit category" +#: application/modules/gallery/assets/admin/settings.tpl:127 +msgid "Image preview" +msgstr "Image preview" -#: application/modules/gallery/templates/admin/create_category.tpl:53 -#: application/modules/gallery/templates/admin/edit_category.tpl:54 -msgid "Remove selected category" -msgstr "Remove the selected category/ Delete the selected category" +#: application/modules/gallery/assets/admin/edit_image.tpl:41 +msgid "Image size" +msgstr "Image size" -#: application/modules/gallery/templates/admin/settings.tpl:279 -#: application/modules/gallery/admin.php:191 -msgid "Transparency" -msgstr "Transparency" +#: application/modules/gallery/assets/admin/settings.tpl:59 +msgid "Images" +msgstr "Images" -#: application/modules/gallery/templates/admin/create_album.tpl:5 -msgid "Album creating" -msgstr "Album creating" +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:28 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:28 +msgid "Images limit" +msgstr "Images limit" -#: application/modules/gallery/templates/admin/edit_album.tpl:11 -msgid "Add pictures" -msgstr "Add pictures" +#: application/modules/gallery/assets/admin/settings.tpl:37 +msgid "in alphabetic order" +msgstr "in alphabetic order" -#: application/modules/gallery/templates/admin/album_params.tpl:56 -#: application/modules/gallery/templates/admin/create_album.tpl:50 -msgid "by default" -msgstr "by default" +#: application/modules/gallery/assets/admin/settings.tpl:44 +msgid "in ascending order" +msgstr "in ascending order" -#: application/modules/gallery/admin.php:389 -#: application/modules/gallery/admin.php:419 -msgid "Can't load album information" -msgstr "Can't load album information/ Cannot load album information" - -#: application/modules/gallery/templates/admin/album_params.tpl:45 -#: application/modules/gallery/templates/admin/edit_image.tpl:43 -#: application/modules/gallery/templates/admin/create_category.tpl:34 -#: application/modules/gallery/templates/admin/edit_category.tpl:35 -#: application/modules/gallery/admin.php:663 -#: application/modules/gallery/admin.php:719 -msgid "Position" -msgstr "Position" +#: application/modules/gallery/assets/admin/settings.tpl:43 +msgid "in descending order" +msgstr "in descending order" -#: application/modules/gallery/admin.php:88 -msgid "Create a directory to continue your work with the gallery" -msgstr "Create a directory to continue your work with the gallery" +#: application/modules/gallery/assets/admin/settings.tpl:71 +msgid "In megabites" +msgstr "In megabites" + +#: application/modules/gallery/assets/admin/settings.tpl:243 +msgid "in the center" +msgstr "in the center" -#: application/modules/gallery/templates/admin/settings.tpl:249 +#: application/modules/gallery/assets/admin/settings.tpl:253 msgid "in the middle" msgstr "in the middle" -#: application/modules/gallery/templates/admin/album_list.tpl:39 -#: application/modules/gallery/templates/admin/album_params.tpl:33 -#: application/modules/gallery/templates/admin/edit_image.tpl:27 -#: application/modules/gallery/templates/admin/create_category.tpl:22 -#: application/modules/gallery/templates/admin/edit_album.tpl:58 -#: application/modules/gallery/templates/admin/create_album.tpl:33 -#: application/modules/gallery/templates/admin/categories.tpl:27 -#: application/modules/gallery/templates/admin/edit_category.tpl:23 -#: application/modules/gallery/admin.php:289 -#: application/modules/gallery/admin.php:326 -#: application/modules/gallery/admin.php:487 -#: application/modules/gallery/admin.php:661 -#: application/modules/gallery/admin.php:717 -msgid "Name" -msgstr "Name" +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:37 +msgid "Last images" +msgstr "Last images" -#: application/modules/gallery/templates/admin/settings.tpl:250 -msgid "at the bottom" -msgstr "at the bottom" +#: application/modules/gallery/assets/admin/settings.tpl:242 +msgid "left or on the left" +msgstr "left or on the left" -#: application/modules/gallery/templates/admin/edit_album.tpl:33 -msgid "Chose all photos" -msgstr "Choose all photos" +#: application/modules/gallery/assets/admin/settings.tpl:69 +msgid "maximum file size" +msgstr "maximum file size" -#: application/modules/gallery/templates/admin/settings.tpl:255 -msgid "Type" -msgstr "Type" +#: application/modules/gallery/admin.php:194 +#: application/modules/gallery/assets/admin/settings.tpl:87 +msgid "Maximum height" +msgstr "Maximum height" -#: application/modules/gallery/admin.php:574 -msgid "Changes are saved" -msgstr "Changes saved/ Changes have been saved" +#: application/modules/gallery/admin.php:193 +#: application/modules/gallery/assets/admin/settings.tpl:78 +msgid "Maximum width" +msgstr "Maximum width" -#: application/modules/gallery/templates/admin/settings.tpl:258 -#: application/modules/gallery/templates/admin/settings.tpl:300 -msgid "Text" -msgstr "Text" +#: application/modules/gallery/templates/latest_fotos.tpl:2 +msgid "My last photo" +msgstr "My last photo" + +#: application/modules/gallery/admin.php:313 +#: application/modules/gallery/admin.php:352 +#: application/modules/gallery/admin.php:734 +#: application/modules/gallery/admin.php:792 +#: application/modules/gallery/assets/admin/album_list.tpl:39 +#: application/modules/gallery/assets/admin/album_params.tpl:33 +#: application/modules/gallery/assets/admin/categories.tpl:27 +#: application/modules/gallery/assets/admin/create_album.tpl:33 +#: application/modules/gallery/assets/admin/create_category.tpl:22 +#: application/modules/gallery/assets/admin/edit_category.tpl:23 +msgid "Name" +msgstr "Name" -#: application/modules/gallery/templates/admin/edit_image.tpl:33 -#: application/modules/gallery/admin.php:181 -msgid "File size" -msgstr "File size" +#: application/modules/gallery/admin.php:530 +#: application/modules/gallery/assets/admin/edit_image.tpl:77 +msgid "New name" +msgstr "New name" -#: application/modules/gallery/templates/public/album.tpl:23 -#: application/modules/gallery/templates/admin/settings.tpl:259 -msgid "Image" -msgstr "Image" +#: application/modules/gallery/assets/admin/create_album.tpl:25 +#: application/modules/gallery/assets/admin/settings.tpl:107 +#: application/modules/gallery/assets/admin/settings.tpl:114 +#: application/modules/gallery/assets/admin/settings.tpl:158 +#: application/modules/gallery/assets/admin/settings.tpl:165 +#: application/modules/gallery/assets/admin/settings.tpl:209 +#: application/modules/gallery/assets/admin/settings.tpl:216 +msgid "No" +msgstr "No" -#: application/modules/gallery/module_info.php:8 -msgid "Creating and managing photo galleries online." -msgstr "Creating and managing photo galleries online." +#: application/modules/gallery/assets/admin/album_list.tpl:104 +msgid "No albums found" +msgstr "No albums found" -#: application/modules/gallery/templates/admin/settings.tpl:269 -msgid "Choose an image " -msgstr "Choose an image" +#: application/modules/gallery/assets/admin/settings.tpl:296 +#: application/modules/gallery/assets/admin/settings.tpl:325 +msgid "Offset" +msgstr "Offset" -#: application/modules/gallery/templates/admin/edit_album.tpl:59 -msgid "Size" -msgstr "Size" +#: application/modules/gallery/assets/admin/settings.tpl:244 +msgid "on the right" +msgstr "on the right" -#: application/modules/gallery/templates/admin/settings.tpl:284 -msgid "Select a digit from 1 to 100" -msgstr "Select a digit from 1 to 100" +#: application/modules/gallery/assets/admin/settings.tpl:335 +msgid "Path to font " +msgstr "Path to font " -#: application/modules/gallery/templates/admin/album_list.tpl:64 -#: application/modules/gallery/templates/admin/edit_album.tpl:53 -msgid "Edit" -msgstr "Edit" +#: application/modules/gallery/admin.php:948 +msgid "Photos in gallery the album are saved" +msgstr "Photos in gallery the album are saved" -#: application/modules/gallery/templates/admin/settings.tpl:312 -msgid "Font colour" -msgstr "Font colour" +#: application/modules/gallery/admin.php:594 +msgid "Photos removed" +msgstr "Photos removed" + +#: application/modules/gallery/admin.php:735 +#: application/modules/gallery/admin.php:793 +#: application/modules/gallery/assets/admin/album_params.tpl:45 +#: application/modules/gallery/assets/admin/create_category.tpl:34 +#: application/modules/gallery/assets/admin/edit_category.tpl:35 +#: application/modules/gallery/assets/admin/edit_image.tpl:50 +msgid "Position" +msgstr "Position" -#: application/modules/gallery/templates/admin/settings.tpl:83 -#: application/modules/gallery/admin.php:183 -msgid "Maximum height" -msgstr "Maximum height" +#: application/modules/gallery/admin.php:640 +#: application/modules/gallery/admin.php:648 +#: application/modules/gallery/admin.php:656 +msgid "Positions updated" +msgstr "Positions updated" -#: application/modules/gallery/templates/admin/settings.tpl:328 -msgid "Path to font " -msgstr "Path to font" +#: application/modules/gallery/admin.php:197 +msgid "pre-image height" +msgstr "pre-image height" -#: application/modules/gallery/templates/admin/album_params.tpl:11 -msgid "Save and go back" -msgstr "Save and go back" +#: application/modules/gallery/admin.php:196 +msgid "Pre-image width" +msgstr "Pre-image width" + +#: application/modules/gallery/assets/admin/settings.tpl:139 +#: application/modules/gallery/assets/admin/settings.tpl:148 +#: application/modules/gallery/assets/admin/settings.tpl:190 +#: application/modules/gallery/assets/admin/settings.tpl:199 +#: application/modules/gallery/assets/admin/settings.tpl:298 +#: application/modules/gallery/assets/admin/settings.tpl:327 +msgid "px" +msgstr "px" -#: application/modules/gallery/templates/admin/settings.tpl:332 -msgid "Upload" -msgstr "Upload" +#: application/modules/gallery/admin.php:195 +#: application/modules/gallery/assets/admin/settings.tpl:95 +msgid "Quality" +msgstr "Quality" -#: application/modules/gallery/templates/admin/edit_album.tpl:74 -msgid "Album is empty" -msgstr "Album is empty" +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:38 +msgid "Random images" +msgstr "Random images" -#: application/modules/gallery/templates/admin/settings.tpl:339 -msgid "Font is not uploaded" -msgstr "Font is not uploaded/Fond has not been uploaded" +#: application/modules/gallery/widgets_info.php:5 +msgid "Recent images" +msgstr "Recent images" -#: application/modules/gallery/templates/admin/categories.tpl:48 -#: application/modules/gallery/templates/admin/categories.tpl:48 -msgid "View albums" -msgstr "View albums" +#: application/modules/gallery/assets/admin/create_category.tpl:53 +#: application/modules/gallery/assets/admin/edit_category.tpl:54 +msgid "Remove selected category" +msgstr "Remove selected category" -#: application/modules/gallery/templates/latest_fotos_form.tpl:5 -msgid "Widget settings" -msgstr "Widget settings" +#: application/modules/gallery/assets/admin/create_category.tpl:50 +#: application/modules/gallery/assets/admin/edit_category.tpl:51 +msgid "Removing categories" +msgstr "Removing categories" + +#: application/modules/gallery/assets/admin/album_params.tpl:10 +#: application/modules/gallery/assets/admin/edit_album.tpl:13 +#: application/modules/gallery/assets/admin/edit_category.tpl:10 +#: application/modules/gallery/assets/admin/edit_image.tpl:13 +#: application/modules/gallery/assets/admin/edit_image.tpl:67 +#: application/modules/gallery/assets/admin/edit_image.tpl:81 +#: application/modules/gallery/assets/admin/settings.tpl:10 +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:10 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:10 +msgid "Save" +msgstr "Save" -#: application/modules/gallery/admin.php:185 -msgid "Pre-image width" -msgstr "Pre-image width/pre-image width" +#: application/modules/gallery/assets/admin/edit_category.tpl:11 +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:11 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:11 +msgid "Save and exit" +msgstr "Save and exit" -#: application/modules/gallery/templates/latest_fotos_form.tpl:28 -msgid "Images limit" -msgstr "Image limit" +#: application/modules/gallery/assets/admin/album_params.tpl:11 +msgid "Save and go back" +msgstr "Save and go back" -#: application/modules/gallery/templates/admin/settings.tpl:74 -#: application/modules/gallery/admin.php:182 -msgid "Maximum width" -msgstr "Maximum width" +#: application/modules/gallery/assets/admin/settings.tpl:104 +#: application/modules/gallery/assets/admin/settings.tpl:155 +#: application/modules/gallery/assets/admin/settings.tpl:206 +msgid "Save ratio" +msgstr "Save ratio" -#: application/modules/gallery/templates/admin/edit_image.tpl:40 -msgid "Cover" -msgstr "Cover" +#: application/modules/gallery/assets/admin/settings.tpl:291 +msgid "Select a digit from 1 to 100" +msgstr "Select a digit from 1 to 100" -#: application/modules/gallery/templates/admin/edit_album.tpl:88 -msgid "Deleting photos" -msgstr "Deleting photos..." +#: application/modules/gallery/admin.php:95 +msgid "Set the write access" +msgstr "Set the write access" -#: application/modules/gallery/assets/albums.tpl:35 -msgid "Альбомов не найдено" -msgstr "Albums have not been found/ Albums not found" +#: application/modules/gallery/assets/admin/categories.tpl:12 +#: application/modules/gallery/assets/admin/settings.tpl:5 +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:20 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:20 +msgid "Settings" +msgstr "Settings" -#: application/modules/gallery/admin.php:200 -msgid "Specify the correct path to watermark image" -msgstr "Specify the correct path to watermark image/Indicate the correct path to watermark" +#: application/modules/gallery/admin.php:299 +#: application/modules/gallery/gallery_widgets.php:87 +#: application/modules/gallery/gallery_widgets.php:163 +msgid "Settings have been saved" +msgstr "Settings have been saved" -#: application/modules/gallery/templates/admin/album_list.tpl:43 -#: application/modules/gallery/templates/admin/categories.tpl:30 -msgid "Created" -msgstr "Created/ Has been created" +#: application/modules/gallery/assets/admin/edit_album.tpl:58 +msgid "Size" +msgstr "Size" -#: application/modules/gallery/admin.php:187 -msgid "Icon width" -msgstr "Icon width" +#: application/modules/gallery/assets/admin/settings.tpl:32 +msgid "Sort" +msgstr "Sort" -#: application/modules/gallery/templates/admin/album_list.tpl:99 -#: application/modules/gallery/templates/admin/album_params.tpl:77 -#: application/modules/gallery/templates/admin/edit_image.tpl:52 -#: application/modules/gallery/templates/admin/create_category.tpl:56 -#: application/modules/gallery/templates/admin/edit_album.tpl:91 -#: application/modules/gallery/templates/admin/categories.tpl:70 -#: application/modules/gallery/templates/admin/edit_category.tpl:57 -msgid "Cancel" -msgstr "Cancel" +#: application/modules/gallery/admin.php:211 +msgid "Specify the correct path to watermark image" +msgstr "Specify the correct path to watermark image" -#: application/modules/gallery/assets/albums.tpl:25 -#: application/modules/gallery/assets/index.tpl:25 -msgid "Описание" -msgstr "Description" +#: application/modules/gallery/assets/admin/album_params.tpl:51 +#: application/modules/gallery/assets/admin/create_album.tpl:45 +msgid "Template file" +msgstr "Template file" -#: application/modules/gallery/templates/latest_fotos_form.tpl:20 -#: application/modules/gallery/templates/admin/settings.tpl:5 -#: application/modules/gallery/templates/admin/categories.tpl:12 -msgid "Settings" -msgstr "Settings" +#: application/modules/gallery/assets/admin/settings.tpl:262 +#: application/modules/gallery/assets/admin/settings.tpl:307 +msgid "Text" +msgstr "Text" -#: application/modules/gallery/templates/admin/edit_category.tpl:5 -msgid "Category editing" -msgstr "Category editing" +#: application/modules/gallery/assets/index.tpl:27 +msgid "There are no categories." +msgstr "There are no categories." -#: application/modules/gallery/templates/admin/create_category.tpl:50 -#: application/modules/gallery/templates/admin/edit_category.tpl:51 -msgid "Removing categories" -msgstr "Removing categories/ Deleting categories" +#: application/modules/gallery/assets/admin/edit_image.tpl:55 +msgid "Title" +msgstr "Title" -#: application/modules/gallery/templates/admin/album_list.tpl:96 -msgid "Delete album?" -msgstr "" +#: application/modules/gallery/admin.php:202 +#: application/modules/gallery/assets/admin/settings.tpl:286 +msgid "Transparency" +msgstr "Transparency" -#: application/modules/gallery/admin.php:310 -msgid "Album created" -msgstr "Album has been created/ Album created" +#: application/modules/gallery/assets/admin/settings.tpl:259 +msgid "Type" +msgstr "Type" -#: application/modules/gallery/admin.php:186 -msgid "pre-image height" -msgstr "pre-image height/Pre-image height" +#: application/modules/gallery/assets/admin/settings.tpl:339 +msgid "Upload" +msgstr "Upload" -#: application/modules/gallery/templates/admin/album_list.tpl:10 -msgid "Create album" -msgstr "Create an album" +#: application/modules/gallery/admin.php:944 +msgid "Upload success" +msgstr "Upload success" -#: application/modules/gallery/templates/admin/settings.tpl:103 -#: application/modules/gallery/templates/admin/settings.tpl:110 -#: application/modules/gallery/templates/admin/settings.tpl:154 -#: application/modules/gallery/templates/admin/settings.tpl:161 -#: application/modules/gallery/templates/admin/settings.tpl:205 -#: application/modules/gallery/templates/admin/settings.tpl:212 -#: application/modules/gallery/templates/admin/create_album.tpl:25 -msgid "No" -msgstr "No" +#: application/modules/gallery/assets/admin/settings.tpl:249 +msgid "vertical alignment" +msgstr "vertical alignment" -#: application/modules/gallery/templates/admin/settings.tpl:238 -msgid "left or on the left" -msgstr "to the left" +#: application/modules/gallery/assets/admin/categories.tpl:48 +#: application/modules/gallery/assets/admin/categories.tpl:48 +msgid "View albums" +msgstr "View albums" -#: application/modules/gallery/templates/public/albums.tpl:24 -msgid "Albums not found" -msgstr "Albums have not been found" +#: application/modules/gallery/assets/admin/album_list.tpl:68 +#: application/modules/gallery/assets/admin/album_list.tpl:68 +msgid "View images" +msgstr "View images" -#: application/modules/gallery/templates/admin/album_list.tpl:65 -msgid "Edit albums" -msgstr "Edit albums" +#: application/modules/gallery/assets/admin/album_list.tpl:54 +#: application/modules/gallery/assets/admin/edit_image.tpl:37 +msgid "Views" +msgstr "Views" -#: application/modules/gallery/admin.php:337 -#: application/modules/gallery/admin.php:513 -#: application/modules/gallery/admin.php:747 -msgid "Changes have been saved" -msgstr "Changes have been saved" +#: application/modules/gallery/assets/admin/settings.tpl:229 +msgid "Watermark" +msgstr "Watermark" -#: application/modules/gallery/templates/admin/categories.tpl:60 -msgid "Category list is empty" -msgstr "Category list is empty" +#: application/modules/gallery/admin.php:200 +msgid "Watermark text" +msgstr "Watermark text" -#: application/modules/gallery/admin.php:188 -msgid "Icon height" -msgstr "Icon height" +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:5 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:5 +msgid "Widget settings" +msgstr "Widget settings" -#: application/modules/gallery/assets/albums.tpl:21 -msgid "Альбом" -msgstr "Album" +#: application/modules/gallery/assets/admin/settings.tpl:137 +#: application/modules/gallery/assets/admin/settings.tpl:188 +msgid "Width" +msgstr "Width" -#: application/modules/gallery/templates/admin/categories.tpl:11 -msgid "Create an album" -msgstr "Create an album" +#: application/modules/gallery/assets/admin/settings.tpl:106 +#: application/modules/gallery/assets/admin/settings.tpl:113 +#: application/modules/gallery/assets/admin/settings.tpl:157 +#: application/modules/gallery/assets/admin/settings.tpl:164 +#: application/modules/gallery/assets/admin/settings.tpl:208 +#: application/modules/gallery/assets/admin/settings.tpl:215 +msgid "Yes" +msgstr "Yes" -#: application/modules/gallery/templates/admin/album_list.tpl:5 -#: application/modules/gallery/templates/admin/categories.tpl:28 -msgid "Albums" -msgstr "Albums" +#: application/modules/gallery/admin.php:900 +msgid "You can upload only |max_file_uploads| images at once" +msgstr "You can upload only |max_file_uploads| images at once" -#: application/modules/gallery/templates/admin/album_list.tpl:31 -#: application/modules/gallery/templates/admin/album_list.tpl:31 -msgid "View images" -msgstr "View images" +#: application/modules/gallery/assets/albums.tpl:12 +msgid "Альбом" +msgstr "Альбом" -#: application/modules/gallery/templates/admin/settings.tpl:91 -#: application/modules/gallery/admin.php:184 -msgid "Quality" -msgstr "Quality" +#: application/modules/gallery/assets/albums.tpl:27 +msgid "Альбомов не найдено" +msgstr "Альбомов не найдено" -#: application/modules/gallery/templates/admin/album_params.tpl:51 -#: application/modules/gallery/templates/admin/create_album.tpl:45 -msgid "Template file" -msgstr "Template file" +#: application/modules/gallery/assets/index.tpl:5 +#: application/modules/gallery/assets/thumbnails.tpl:3 +msgid "Галерея" +msgstr "Галерея" -#: application/modules/gallery/templates/admin/settings.tpl:274 -msgid "File has to be located on the server. For example" -msgstr "File has to be located on the server. For example" +#: application/modules/gallery/assets/index.tpl:6 +msgid "Категории" +msgstr "Категории" + +#: application/modules/gallery/assets/albums.tpl:17 +#: application/modules/gallery/assets/index.tpl:17 +msgid "Описание" +msgstr "Описание" diff --git a/application/modules/gallery/language/en_US/LC_MESSAGES/gallery_1490795110.mo b/application/modules/gallery/language/en_US/LC_MESSAGES/gallery_1490795110.mo new file mode 100644 index 0000000000000000000000000000000000000000..da065fa159b12fde707675f461d7e39557578a75 GIT binary patch literal 7627 zcmeH~e~cYf6~`~g4_iQ?6-6obCYBh4x7{t2!h%$~ZD~VWmhM6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e;d)qB<-uubQ`&ub1KlS@6&RmISugSC5 ReX5`Ty#g{2vhtIm!S4 literal 0 HcmV?d00001 diff --git a/application/modules/gallery/language/ru_RU/LC_MESSAGES/gallery.po b/application/modules/gallery/language/ru_RU/LC_MESSAGES/gallery.po index 7370e2a504..b865160d83 100755 --- a/application/modules/gallery/language/ru_RU/LC_MESSAGES/gallery.po +++ b/application/modules/gallery/language/ru_RU/LC_MESSAGES/gallery.po @@ -2,8 +2,8 @@ msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-07-19 04:24+0300\n" -"PO-Revision-Date: 2016-07-19 04:24+0300\n" +"POT-Creation-Date: 2017-03-29 04:44+0300\n" +"PO-Revision-Date: 2017-03-29 04:44+0300\n" "Last-Translator: <>\n" "Language-Team: <>\n" "Language: \n" @@ -18,323 +18,424 @@ msgstr "" "X-Poedit-Country: \n" "X-Poedit-SearchPath-0: .\n" -#: application/modules/gallery/assets/admin/create_category.tpl:5 -msgid "Create category" -msgstr "Создание категории" +#: application/modules/gallery/assets/admin/edit_album.tpl:11 +msgid "Add pictures" +msgstr "Добавить изображения" -#: application/modules/gallery/admin.php:900 -msgid "You can upload only |max_file_uploads| images at once" -msgstr "Вы можете загружать только |max_file_uploads| изображений одновременно" +#: application/modules/gallery/assets/admin/edit_image.tpl:5 +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:34 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:34 +msgid "Album" +msgstr "Альбом" -#: application/modules/gallery/admin.php:900 -msgid "Error" -msgstr "Ошибка" +#: application/modules/gallery/admin.php:334 +msgid "Album created" +msgstr "Альбом создан" -#: application/modules/gallery/assets/admin/settings.tpl:270 -msgid "Image path" -msgstr "Путь к изображению" +#: application/modules/gallery/assets/admin/create_album.tpl:5 +msgid "Album creating" +msgstr "Создание альбома" -#: application/modules/gallery/assets/admin/edit_image.tpl:33 -msgid "Image file name" -msgstr "Название файла изображения" +#: application/modules/gallery/assets/admin/album_params.tpl:74 +msgid "Album deletion" +msgstr "Удаление альбома" -#: application/modules/gallery/assets/admin/edit_image.tpl:55 -msgid "Title" -msgstr "Название" +#: application/modules/gallery/assets/admin/album_params.tpl:5 +#: application/modules/gallery/assets/admin/edit_album.tpl:5 +msgid "Album editing" +msgstr "Редактирование альбома" -#: application/modules/gallery/admin.php:530 -#: application/modules/gallery/assets/admin/edit_image.tpl:77 -msgid "New name" -msgstr "Новое название" +#: application/modules/gallery/admin.php:593 +msgid "Album image deleted." +msgstr "Фотография в альбоме галереи удалена" + +#: application/modules/gallery/widgets_info.php:10 +msgid "Album images" +msgstr "Изображения альбом" + +#: application/modules/gallery/assets/admin/edit_album.tpl:73 +msgid "Album is empty" +msgstr "Альбом пуст" + +#: application/modules/gallery/assets/admin/album_list.tpl:5 +#: application/modules/gallery/assets/admin/categories.tpl:28 +msgid "Albums" +msgstr "Альбомы" + +#: application/modules/gallery/assets/index.tpl:36 +msgid "All albums" +msgstr "Все альбомы" + +#: application/modules/gallery/assets/admin/settings.tpl:254 +msgid "at the bottom" +msgstr "внизу" + +#: application/modules/gallery/assets/admin/settings.tpl:252 +msgid "at the top" +msgstr "вверху" + +#: application/modules/gallery/assets/admin/album_list.tpl:10 +#: application/modules/gallery/assets/admin/album_params.tpl:9 +#: application/modules/gallery/assets/admin/create_album.tpl:9 +#: application/modules/gallery/assets/admin/create_category.tpl:9 +#: application/modules/gallery/assets/admin/edit_album.tpl:9 +#: application/modules/gallery/assets/admin/edit_category.tpl:9 +#: application/modules/gallery/assets/admin/edit_image.tpl:11 +#: application/modules/gallery/assets/admin/settings.tpl:9 +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:9 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:9 +msgid "Back" +msgstr "Назад" #: application/modules/gallery/assets/admin/settings.tpl:36 msgid "By date" msgstr "по дате" -#: application/modules/gallery/assets/admin/settings.tpl:38 -msgid "By position" -msgstr "по позиции" - #: application/modules/gallery/assets/admin/album_params.tpl:56 #: application/modules/gallery/assets/admin/create_album.tpl:50 msgid "by default" msgstr "по умолчанию" -#: application/modules/gallery/assets/admin/settings.tpl:243 -msgid "in the center" -msgstr "по центру" +#: application/modules/gallery/assets/admin/settings.tpl:38 +msgid "By position" +msgstr "по позиции" -#: application/modules/gallery/assets/admin/settings.tpl:253 -msgid "in the middle" -msgstr "по центру" +#: application/modules/gallery/admin.php:422 +#: application/modules/gallery/admin.php:453 +msgid "Can't load album information" +msgstr "Не удается загрузить информацию об альбоме" -#: application/modules/gallery/admin.php:846 -msgid "Gallery category was removed" -msgstr "Категория галереи удалена" +#: application/modules/gallery/admin.php:517 +#: application/modules/gallery/admin.php:559 +#: application/modules/gallery/admin.php:631 +msgid "Can't load image information" +msgstr "Не удается загрузить информацию об изображении" -#: application/modules/gallery/admin.php:593 -msgid "Album image deleted." -msgstr "Фотография в альбоме галереи удалена" +#: application/modules/gallery/assets/admin/album_list.tpl:95 +#: application/modules/gallery/assets/admin/album_params.tpl:77 +#: application/modules/gallery/assets/admin/categories.tpl:70 +#: application/modules/gallery/assets/admin/create_category.tpl:56 +#: application/modules/gallery/assets/admin/edit_album.tpl:90 +#: application/modules/gallery/assets/admin/edit_category.tpl:57 +#: application/modules/gallery/assets/admin/edit_image.tpl:14 +#: application/modules/gallery/assets/admin/edit_image.tpl:68 +msgid "Cancel" +msgstr "Отмена" -#: application/modules/gallery/admin.php:948 -msgid "Photos in gallery the album are saved" -msgstr "Фотографии в альбоме галереи сохранены" +#: application/modules/gallery/admin.php:315 +#: application/modules/gallery/assets/admin/album_params.tpl:23 +#: application/modules/gallery/assets/admin/categories.tpl:5 +#: application/modules/gallery/assets/admin/create_album.tpl:22 +msgid "Categories" +msgstr "Категории" -#: application/modules/gallery/widgets_info.php:5 -msgid "Recent images" -msgstr "Последние изображения" +#: application/modules/gallery/assets/admin/settings.tpl:22 +msgid "Categories and albums" +msgstr "Категории и альбомы" -#: application/modules/gallery/widgets_info.php:6 -msgid "Displays the most recently added to the image gallery." -msgstr "Отображение последних добавленных в галерею изображений." +#: application/modules/gallery/assets/admin/edit_category.tpl:5 +msgid "Category editing" +msgstr "Редактирование категории" -#: application/modules/gallery/assets/index.tpl:6 -msgid "Категории" -msgstr "Категории" +#: application/modules/gallery/assets/admin/categories.tpl:60 +msgid "Category list is empty" +msgstr "Список категорий пуст" -#: application/modules/gallery/assets/index.tpl:27 -msgid "There are no categories." -msgstr "Нет категорий." +#: application/modules/gallery/admin.php:627 +msgid "Changes are saved" +msgstr "Изменения сохранены" -#: application/modules/gallery/admin.php:944 -msgid "Upload success" -msgstr "Изображение успешно сохранено" +#: application/modules/gallery/admin.php:363 +#: application/modules/gallery/admin.php:556 +#: application/modules/gallery/admin.php:819 +msgid "Changes have been saved" +msgstr "Изменения сохранены" -#: application/modules/gallery/assets/index.tpl:5 -#: application/modules/gallery/assets/thumbnails.tpl:3 -msgid "Галерея" -msgstr "Галерея" +#: application/modules/gallery/gallery_widgets.php:149 +msgid "Choose Album" +msgstr "Выбрать Альбом" -#: application/modules/gallery/assets/albums.tpl:12 -msgid "Альбом" -msgstr "Альбом" +#: application/modules/gallery/assets/admin/settings.tpl:275 +msgid "Choose an image " +msgstr "Выбрать изображение " -#: application/modules/gallery/assets/albums.tpl:17 -#: application/modules/gallery/assets/index.tpl:17 -msgid "Описание" -msgstr "Описание" +#: application/modules/gallery/assets/admin/edit_album.tpl:33 +msgid "Chose all photos" +msgstr "Выбрать все фотографии" -#: application/modules/gallery/assets/albums.tpl:27 -msgid "Альбомов не найдено" -msgstr "Альбомов не найдено" +#: application/modules/gallery/assets/admin/edit_image.tpl:46 +msgid "Cover" +msgstr "Обложка" -#: application/modules/gallery/admin.php:298 -msgid "Gallery settings was edited" -msgstr "Настройки галереи были отредактированы" +#: application/modules/gallery/assets/admin/create_album.tpl:10 +#: application/modules/gallery/assets/admin/create_category.tpl:10 +msgid "Create" +msgstr "Создать" -#: application/modules/gallery/admin.php:333 -msgid "Gallery album was created" -msgstr "Альбом галереи был создан" +#: application/modules/gallery/assets/admin/categories.tpl:10 +msgid "Create a category" +msgstr "Создать категорию" -#: application/modules/gallery/admin.php:362 -msgid "Gallery album was updated" -msgstr "Альбом галереи был обновлен" +#: application/modules/gallery/admin.php:95 +msgid "Create a directory to continue your work with the gallery" +msgstr "Создайте директорию, чтобы продолжить работу с галереей" -#: application/modules/gallery/admin.php:448 -msgid "Gallery album was removed" -msgstr "Альбом галереи был удален" +#: application/modules/gallery/assets/admin/album_list.tpl:11 +msgid "Create album" +msgstr "Создать альбом" -#: application/modules/gallery/admin.php:758 -msgid "Gallery category was created" -msgstr "Категория галереи создана" +#: application/modules/gallery/assets/admin/categories.tpl:11 +msgid "Create an album" +msgstr "Создать альбом" -#: application/modules/gallery/admin.php:818 -msgid "Gallery category was edited" -msgstr "Категория галереи отредактирована" +#: application/modules/gallery/assets/admin/create_album.tpl:11 +#: application/modules/gallery/assets/admin/create_category.tpl:11 +msgid "Create and exit" +msgstr "Создать и выйти" -#: application/modules/gallery/assets/admin/edit_image.tpl:46 -msgid "Cover" -msgstr "Обложка" +#: application/modules/gallery/assets/admin/create_category.tpl:5 +msgid "Create category" +msgstr "Создание категории" -#: application/modules/gallery/assets/admin/settings.tpl:275 -msgid "Choose an image " -msgstr "Выбрать изображение " +#: application/modules/gallery/assets/admin/album_list.tpl:43 +#: application/modules/gallery/assets/admin/categories.tpl:30 +msgid "Created" +msgstr "Создан" -#: application/modules/gallery/assets/admin/settings.tpl:335 -msgid "Path to font " -msgstr "Путь к шрифту " +#: application/modules/gallery/module_info.php:9 +msgid "Creating and managing photo galleries online." +msgstr "Создание и управление фото-галереями на сайте." -#: application/modules/gallery/assets/admin/settings.tpl:339 -msgid "Upload" -msgstr "Загрузить" +#: application/modules/gallery/assets/admin/settings.tpl:111 +#: application/modules/gallery/assets/admin/settings.tpl:162 +#: application/modules/gallery/assets/admin/settings.tpl:213 +msgid "Cut the borders" +msgstr "Срезать границы" -#: application/modules/gallery/assets/admin/settings.tpl:346 -msgid "Font is not uploaded" -msgstr "Шрифт не загружен" +#: application/modules/gallery/assets/admin/album_list.tpl:81 +#: application/modules/gallery/assets/admin/album_list.tpl:82 +#: application/modules/gallery/assets/admin/album_list.tpl:97 +#: application/modules/gallery/assets/admin/album_params.tpl:78 +#: application/modules/gallery/assets/admin/categories.tpl:9 +#: application/modules/gallery/assets/admin/categories.tpl:71 +#: application/modules/gallery/assets/admin/create_category.tpl:57 +#: application/modules/gallery/assets/admin/edit_album.tpl:14 +#: application/modules/gallery/assets/admin/edit_album.tpl:91 +#: application/modules/gallery/assets/admin/edit_category.tpl:58 +msgid "Delete" +msgstr "Удалить" -#: application/modules/gallery/assets/admin/settings.tpl:355 -msgid "Font file must support all characters you need." -msgstr "Файл шрифта должен поддерживать все символы, которые вам нужны." +#: application/modules/gallery/assets/admin/album_list.tpl:92 +msgid "Delete album?" +msgstr "Удалить альбом?" -#: application/modules/gallery/assets/admin/settings.tpl:137 -#: application/modules/gallery/assets/admin/settings.tpl:188 -msgid "Width" -msgstr "Ширина" +#: application/modules/gallery/assets/admin/categories.tpl:67 +msgid "Delete category?" +msgstr "Удалить категорию?" -#: application/modules/gallery/assets/admin/categories.tpl:26 -msgid "ID" -msgstr "ID" +#: application/modules/gallery/assets/admin/edit_album.tpl:87 +msgid "Deleting photos" +msgstr "Удаление фотографий" -#: application/modules/gallery/assets/admin/settings.tpl:139 -#: application/modules/gallery/assets/admin/settings.tpl:148 -#: application/modules/gallery/assets/admin/settings.tpl:190 -#: application/modules/gallery/assets/admin/settings.tpl:199 -#: application/modules/gallery/assets/admin/settings.tpl:298 -#: application/modules/gallery/assets/admin/settings.tpl:327 -msgid "px" -msgstr "px" +#: application/modules/gallery/admin.php:314 +#: application/modules/gallery/assets/admin/album_list.tpl:60 +#: application/modules/gallery/assets/admin/album_params.tpl:39 +#: application/modules/gallery/assets/admin/categories.tpl:29 +#: application/modules/gallery/assets/admin/create_album.tpl:39 +#: application/modules/gallery/assets/admin/create_category.tpl:28 +#: application/modules/gallery/assets/admin/edit_category.tpl:29 +#: application/modules/gallery/assets/admin/edit_image.tpl:60 +msgid "Description" +msgstr "Описание" -#: application/modules/gallery/templates/latest_fotos_form.tpl:34 -msgid "Algorithm" -msgstr "Алгоритм" +#: application/modules/gallery/widgets_info.php:11 +msgid "Displays a list of images of the specified album." +msgstr "Отображает список фотографий указанного альбома." -#: application/modules/gallery/assets/admin/edit_image.tpl:5 -msgid "Album" -msgstr "Альбом" +#: application/modules/gallery/widgets_info.php:6 +msgid "Displays the most recently added to the image gallery." +msgstr "Отображение последних добавленных в галерею изображений." -#: application/modules/gallery/assets/admin/edit_album.tpl:73 -msgid "Album is empty" -msgstr "Альбом пуст" +#: application/modules/gallery/assets/admin/album_list.tpl:74 +#: application/modules/gallery/assets/admin/edit_album.tpl:52 +msgid "Edit" +msgstr "Редактировать" -#: application/modules/gallery/admin.php:334 -msgid "Album created" -msgstr "Альбом создан" +#: application/modules/gallery/assets/admin/album_list.tpl:75 +msgid "Edit albums" +msgstr "Редактировать альбом" -#: application/modules/gallery/assets/admin/album_list.tpl:5 -#: application/modules/gallery/assets/admin/categories.tpl:28 -msgid "Albums" -msgstr "Альбомы" +#: application/modules/gallery/assets/admin/categories.tpl:44 +msgid "Edit category" +msgstr "Редактировать категорию" -#: application/modules/gallery/assets/admin/album_list.tpl:104 -msgid "No albums found" -msgstr "Альбомы не найдены" +#: application/modules/gallery/admin.php:900 +msgid "Error" +msgstr "Ошибка" -#: application/modules/gallery/assets/admin/settings.tpl:37 -msgid "in alphabetic order" -msgstr "в алфавитном порядке" +#: application/modules/gallery/assets/admin/settings.tpl:281 +msgid "File has to be located on the server. For example" +msgstr "Файл должен быть расположен на сервере. Например" -#: application/modules/gallery/assets/admin/settings.tpl:71 -msgid "In megabites" -msgstr "В мегабайтах" +#: application/modules/gallery/admin.php:192 +#: application/modules/gallery/assets/admin/edit_image.tpl:39 +msgid "File size" +msgstr "Размер файла" -#: application/modules/gallery/assets/admin/settings.tpl:44 -msgid "in ascending order" -msgstr "в порядке возрастания" +#: application/modules/gallery/assets/admin/settings.tpl:319 +msgid "Font colour" +msgstr "Цвет шрифта" -#: application/modules/gallery/assets/admin/settings.tpl:43 -msgid "in descending order" -msgstr "в порядке убывания" +#: application/modules/gallery/assets/admin/settings.tpl:355 +msgid "Font file must support all characters you need." +msgstr "Файл шрифта должен поддерживать все символы, которые вам нужны." -#: application/modules/gallery/assets/admin/settings.tpl:252 -msgid "at the top" -msgstr "вверху" +#: application/modules/gallery/assets/admin/settings.tpl:346 +msgid "Font is not uploaded" +msgstr "Шрифт не загружен" -#: application/modules/gallery/assets/admin/settings.tpl:249 -msgid "vertical alignment" -msgstr "Вертикальное выравнивание" +#: application/modules/gallery/admin.php:201 +#: application/modules/gallery/assets/admin/settings.tpl:313 +msgid "Font size" +msgstr "Размер шрифта" -#: application/modules/gallery/assets/admin/settings.tpl:254 -msgid "at the bottom" -msgstr "внизу" +#: application/modules/gallery/gallery.php:50 +#: application/modules/gallery/gallery.php:72 +#: application/modules/gallery/gallery.php:96 +#: application/modules/gallery/module_info.php:8 +msgid "Gallery" +msgstr "Галерея" -#: application/modules/gallery/assets/admin/settings.tpl:229 -msgid "Watermark" -msgstr "Водяной знак" +#: application/modules/gallery/admin.php:333 +msgid "Gallery album was created" +msgstr "Альбом галереи был создан" -#: application/modules/gallery/assets/index.tpl:36 -msgid "All albums" -msgstr "Все альбомы" +#: application/modules/gallery/admin.php:448 +msgid "Gallery album was removed" +msgstr "Альбом галереи был удален" -#: application/modules/gallery/assets/admin/settings.tpl:291 -msgid "Select a digit from 1 to 100" -msgstr "Выбор одной из цифр от 1 до 100" +#: application/modules/gallery/admin.php:362 +msgid "Gallery album was updated" +msgstr "Альбом галереи был обновлен" -#: application/modules/gallery/assets/admin/edit_album.tpl:33 -msgid "Chose all photos" -msgstr "Выбрать все фотографии" +#: application/modules/gallery/admin.php:758 +msgid "Gallery category was created" +msgstr "Категория галереи создана" + +#: application/modules/gallery/admin.php:818 +msgid "Gallery category was edited" +msgstr "Категория галереи отредактирована" + +#: application/modules/gallery/admin.php:846 +msgid "Gallery category was removed" +msgstr "Категория галереи удалена" + +#: application/modules/gallery/admin.php:298 +msgid "Gallery settings was edited" +msgstr "Настройки галереи были отредактированы" + +#: application/modules/gallery/assets/admin/edit_image.tpl:35 +msgid "Has been downloaded" +msgstr "Загружено" + +#: application/modules/gallery/assets/admin/album_list.tpl:48 +msgid "Has been updated" +msgstr "Обновлен" #: application/modules/gallery/assets/admin/settings.tpl:146 #: application/modules/gallery/assets/admin/settings.tpl:197 msgid "Height" msgstr "Высота" +#: application/modules/gallery/assets/admin/settings.tpl:239 +msgid "horizontal alignment" +msgstr "Горизонтальное выравнивание" + #: application/modules/gallery/admin.php:199 msgid "Icon height" msgstr "Высоты иконки" -#: application/modules/gallery/module_info.php:8 -#: application/modules/gallery/gallery.php:50 -#: application/modules/gallery/gallery.php:72 -#: application/modules/gallery/gallery.php:96 -msgid "Gallery" -msgstr "Галерея" +#: application/modules/gallery/admin.php:198 +msgid "Icon width" +msgstr "Ширины иконки" -#: application/modules/gallery/assets/admin/settings.tpl:239 -msgid "horizontal alignment" -msgstr "Горизонтальное выравнивание" +#: application/modules/gallery/assets/admin/categories.tpl:26 +msgid "ID" +msgstr "ID" -#: application/modules/gallery/assets/admin/settings.tpl:106 -#: application/modules/gallery/assets/admin/settings.tpl:113 -#: application/modules/gallery/assets/admin/settings.tpl:157 -#: application/modules/gallery/assets/admin/settings.tpl:164 -#: application/modules/gallery/assets/admin/settings.tpl:208 -#: application/modules/gallery/assets/admin/settings.tpl:215 -msgid "Yes" -msgstr "Да" +#: application/modules/gallery/assets/admin/settings.tpl:263 +msgid "Image" +msgstr "Изображение" -#: application/modules/gallery/assets/admin/edit_album.tpl:11 -msgid "Add pictures" -msgstr "Добавить изображения" +#: application/modules/gallery/assets/admin/edit_image.tpl:33 +msgid "Image file name" +msgstr "Название файла изображения" -#: application/modules/gallery/assets/admin/edit_image.tpl:35 -msgid "Has been downloaded" -msgstr "Загружено" +#: application/modules/gallery/assets/admin/settings.tpl:178 +msgid "Image icons" +msgstr "Иконки изображения" -#: application/modules/gallery/admin.php:627 -msgid "Changes are saved" -msgstr "Изменения сохранены" +#: application/modules/gallery/gallery_widgets.php:73 +#: application/modules/gallery/gallery_widgets.php:148 +msgid "Image limit" +msgstr "Лимит изображений" -#: application/modules/gallery/admin.php:363 -#: application/modules/gallery/admin.php:556 -#: application/modules/gallery/admin.php:819 -msgid "Changes have been saved" -msgstr "Изменения сохранены" +#: application/modules/gallery/assets/admin/settings.tpl:270 +msgid "Image path" +msgstr "Путь к изображению" -#: application/modules/gallery/assets/admin/settings.tpl:263 -msgid "Image" -msgstr "Изображение" +#: application/modules/gallery/assets/admin/settings.tpl:127 +msgid "Image preview" +msgstr "Предварительный просмотр изображения" + +#: application/modules/gallery/assets/admin/edit_image.tpl:41 +msgid "Image size" +msgstr "Размер изображения" #: application/modules/gallery/assets/admin/settings.tpl:59 msgid "Images" msgstr "Изображения" -#: application/modules/gallery/assets/admin/settings.tpl:178 -msgid "Image icons" -msgstr "Иконки изображения" +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:28 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:28 +msgid "Images limit" +msgstr "Лимит изображений" -#: application/modules/gallery/admin.php:315 -#: application/modules/gallery/assets/admin/categories.tpl:5 -#: application/modules/gallery/assets/admin/album_params.tpl:23 -#: application/modules/gallery/assets/admin/create_album.tpl:22 -msgid "Categories" -msgstr "Категории" +#: application/modules/gallery/assets/admin/settings.tpl:37 +msgid "in alphabetic order" +msgstr "в алфавитном порядке" -#: application/modules/gallery/assets/admin/settings.tpl:22 -msgid "Categories and albums" -msgstr "Категории и альбомы" +#: application/modules/gallery/assets/admin/settings.tpl:44 +msgid "in ascending order" +msgstr "в порядке возрастания" -#: application/modules/gallery/admin.php:195 -#: application/modules/gallery/assets/admin/settings.tpl:95 -msgid "Quality" -msgstr "Качество" +#: application/modules/gallery/assets/admin/settings.tpl:43 +msgid "in descending order" +msgstr "в порядке убывания" -#: application/modules/gallery/gallery_widgets.php:71 -msgid "Image limit" -msgstr "Лимит изображений" +#: application/modules/gallery/assets/admin/settings.tpl:71 +msgid "In megabites" +msgstr "В мегабайтах" -#: application/modules/gallery/templates/latest_fotos_form.tpl:28 -msgid "Images limit" -msgstr "Лимит изображений" +#: application/modules/gallery/assets/admin/settings.tpl:243 +msgid "in the center" +msgstr "по центру" + +#: application/modules/gallery/assets/admin/settings.tpl:253 +msgid "in the middle" +msgstr "по центру" + +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:37 +msgid "Last images" +msgstr "Последние изображения" + +#: application/modules/gallery/assets/admin/settings.tpl:242 +msgid "left or on the left" +msgstr "слева" + +#: application/modules/gallery/assets/admin/settings.tpl:69 +msgid "maximum file size" +msgstr "Максимальный размер файла" #: application/modules/gallery/admin.php:194 #: application/modules/gallery/assets/admin/settings.tpl:87 @@ -346,365 +447,282 @@ msgstr "Максимальная высота" msgid "Maximum width" msgstr "Максимальная ширина" -#: application/modules/gallery/assets/admin/settings.tpl:69 -msgid "maximum file size" -msgstr "Максимальный размер файла" - #: application/modules/gallery/templates/latest_fotos.tpl:2 msgid "My last photo" msgstr "Мое последнее фото" -#: application/modules/gallery/templates/latest_fotos_form.tpl:9 -#: application/modules/gallery/assets/admin/edit_category.tpl:9 -#: application/modules/gallery/assets/admin/settings.tpl:9 -#: application/modules/gallery/assets/admin/album_list.tpl:10 -#: application/modules/gallery/assets/admin/edit_image.tpl:11 -#: application/modules/gallery/assets/admin/create_category.tpl:9 -#: application/modules/gallery/assets/admin/album_params.tpl:9 -#: application/modules/gallery/assets/admin/create_album.tpl:9 -#: application/modules/gallery/assets/admin/edit_album.tpl:9 -msgid "Back" -msgstr "Назад" - #: application/modules/gallery/admin.php:313 #: application/modules/gallery/admin.php:352 #: application/modules/gallery/admin.php:734 #: application/modules/gallery/admin.php:792 -#: application/modules/gallery/assets/admin/edit_category.tpl:23 #: application/modules/gallery/assets/admin/album_list.tpl:39 -#: application/modules/gallery/assets/admin/categories.tpl:27 -#: application/modules/gallery/assets/admin/create_category.tpl:22 #: application/modules/gallery/assets/admin/album_params.tpl:33 +#: application/modules/gallery/assets/admin/categories.tpl:27 #: application/modules/gallery/assets/admin/create_album.tpl:33 +#: application/modules/gallery/assets/admin/create_category.tpl:22 +#: application/modules/gallery/assets/admin/edit_category.tpl:23 msgid "Name" msgstr "Название" -#: application/modules/gallery/templates/latest_fotos_form.tpl:20 -#: application/modules/gallery/assets/admin/settings.tpl:5 -#: application/modules/gallery/assets/admin/categories.tpl:12 -msgid "Settings" -msgstr "Настройки" - -#: application/modules/gallery/templates/latest_fotos_form.tpl:5 -msgid "Widget settings" -msgstr "Настройки виджета" - -#: application/modules/gallery/admin.php:299 -#: application/modules/gallery/gallery_widgets.php:85 -msgid "Settings have been saved" -msgstr "Настройки сохранены" - -#: application/modules/gallery/admin.php:422 -#: application/modules/gallery/admin.php:453 -msgid "Can't load album information" -msgstr "Не удается загрузить информацию об альбоме" - -#: application/modules/gallery/admin.php:517 -#: application/modules/gallery/admin.php:559 -#: application/modules/gallery/admin.php:631 -msgid "Can't load image information" -msgstr "Не удается загрузить информацию об изображении" +#: application/modules/gallery/admin.php:530 +#: application/modules/gallery/assets/admin/edit_image.tpl:77 +msgid "New name" +msgstr "Новое название" +#: application/modules/gallery/assets/admin/create_album.tpl:25 #: application/modules/gallery/assets/admin/settings.tpl:107 #: application/modules/gallery/assets/admin/settings.tpl:114 #: application/modules/gallery/assets/admin/settings.tpl:158 #: application/modules/gallery/assets/admin/settings.tpl:165 #: application/modules/gallery/assets/admin/settings.tpl:209 #: application/modules/gallery/assets/admin/settings.tpl:216 -#: application/modules/gallery/assets/admin/create_album.tpl:25 msgid "No" msgstr "Нет" -#: application/modules/gallery/assets/admin/album_list.tpl:48 -msgid "Has been updated" -msgstr "Обновлен" +#: application/modules/gallery/assets/admin/album_list.tpl:104 +msgid "No albums found" +msgstr "Альбомы не найдены" -#: application/modules/gallery/admin.php:314 -#: application/modules/gallery/assets/admin/edit_category.tpl:29 -#: application/modules/gallery/assets/admin/album_list.tpl:60 -#: application/modules/gallery/assets/admin/edit_image.tpl:60 -#: application/modules/gallery/assets/admin/categories.tpl:29 -#: application/modules/gallery/assets/admin/create_category.tpl:28 -#: application/modules/gallery/assets/admin/album_params.tpl:39 -#: application/modules/gallery/assets/admin/create_album.tpl:39 -msgid "Description" -msgstr "Описание" +#: application/modules/gallery/assets/admin/settings.tpl:296 +#: application/modules/gallery/assets/admin/settings.tpl:325 +msgid "Offset" +msgstr "Смещение" -#: application/modules/gallery/assets/admin/edit_category.tpl:57 -#: application/modules/gallery/assets/admin/album_list.tpl:95 -#: application/modules/gallery/assets/admin/edit_image.tpl:14 -#: application/modules/gallery/assets/admin/edit_image.tpl:68 -#: application/modules/gallery/assets/admin/categories.tpl:70 -#: application/modules/gallery/assets/admin/create_category.tpl:56 -#: application/modules/gallery/assets/admin/album_params.tpl:77 -#: application/modules/gallery/assets/admin/edit_album.tpl:90 -msgid "Cancel" -msgstr "Отмена" +#: application/modules/gallery/assets/admin/settings.tpl:244 +msgid "on the right" +msgstr "справа" -#: application/modules/gallery/admin.php:640 -#: application/modules/gallery/admin.php:648 -#: application/modules/gallery/admin.php:656 -msgid "Positions updated" -msgstr "Позиции обновлены" +#: application/modules/gallery/assets/admin/settings.tpl:335 +msgid "Path to font " +msgstr "Путь к шрифту " + +#: application/modules/gallery/admin.php:948 +msgid "Photos in gallery the album are saved" +msgstr "Фотографии в альбоме галереи сохранены" + +#: application/modules/gallery/admin.php:594 +msgid "Photos removed" +msgstr "Фото удалены" #: application/modules/gallery/admin.php:735 #: application/modules/gallery/admin.php:793 +#: application/modules/gallery/assets/admin/album_params.tpl:45 +#: application/modules/gallery/assets/admin/create_category.tpl:34 #: application/modules/gallery/assets/admin/edit_category.tpl:35 #: application/modules/gallery/assets/admin/edit_image.tpl:50 -#: application/modules/gallery/assets/admin/create_category.tpl:34 -#: application/modules/gallery/assets/admin/album_params.tpl:45 msgid "Position" -msgstr "Позиция" - -#: application/modules/gallery/templates/latest_fotos_form.tpl:37 -msgid "Last images" -msgstr "Последние изображения" - -#: application/modules/gallery/assets/admin/settings.tpl:127 -msgid "Image preview" -msgstr "Предварительный просмотр изображения" - -#: application/modules/gallery/admin.php:202 -#: application/modules/gallery/assets/admin/settings.tpl:286 -msgid "Transparency" -msgstr "Прозрачность" - -#: application/modules/gallery/admin.php:197 -msgid "pre-image height" -msgstr "Прообраз высоты" - -#: application/modules/gallery/admin.php:196 -msgid "Pre-image width" -msgstr "Прообраз ширины" - -#: application/modules/gallery/assets/admin/categories.tpl:48 -#: application/modules/gallery/assets/admin/categories.tpl:48 -msgid "View albums" -msgstr "Просмотр альбомов" - -#: application/modules/gallery/assets/admin/album_list.tpl:68 -#: application/modules/gallery/assets/admin/album_list.tpl:68 -msgid "View images" -msgstr "Просмотр изображений" - -#: application/modules/gallery/assets/admin/album_list.tpl:54 -#: application/modules/gallery/assets/admin/edit_image.tpl:37 -msgid "Views" -msgstr "Просмотров" - -#: application/modules/gallery/assets/admin/edit_album.tpl:58 -msgid "Size" -msgstr "Размер" - -#: application/modules/gallery/assets/admin/edit_image.tpl:41 -msgid "Image size" -msgstr "Размер изображения" - -#: application/modules/gallery/admin.php:192 -#: application/modules/gallery/assets/admin/edit_image.tpl:39 -msgid "File size" -msgstr "Размер файла" - -#: application/modules/gallery/admin.php:201 -#: application/modules/gallery/assets/admin/settings.tpl:313 -msgid "Font size" -msgstr "Размер шрифта" - -#: application/modules/gallery/assets/admin/album_params.tpl:5 -#: application/modules/gallery/assets/admin/edit_album.tpl:5 -msgid "Album editing" -msgstr "Редактирование альбома" - -#: application/modules/gallery/assets/admin/edit_category.tpl:5 -msgid "Category editing" -msgstr "Редактирование категории" - -#: application/modules/gallery/assets/admin/album_list.tpl:74 -#: application/modules/gallery/assets/admin/edit_album.tpl:52 -msgid "Edit" -msgstr "Редактировать" - -#: application/modules/gallery/assets/admin/album_list.tpl:75 -msgid "Edit albums" -msgstr "Редактировать альбом" - -#: application/modules/gallery/assets/admin/categories.tpl:44 -msgid "Edit category" -msgstr "Редактировать категорию" - -#: application/modules/gallery/assets/admin/settings.tpl:242 -msgid "left or on the left" -msgstr "слева" - -#: application/modules/gallery/templates/latest_fotos_form.tpl:38 -msgid "Random images" -msgstr "Случайные изображения" - -#: application/modules/gallery/assets/admin/settings.tpl:296 -#: application/modules/gallery/assets/admin/settings.tpl:325 -msgid "Offset" -msgstr "Смещение" - -#: application/modules/gallery/admin.php:95 -msgid "Create a directory to continue your work with the gallery" -msgstr "Создайте директорию, чтобы продолжить работу с галереей" +msgstr "Позиция" -#: application/modules/gallery/assets/admin/album_list.tpl:43 -#: application/modules/gallery/assets/admin/categories.tpl:30 -msgid "Created" -msgstr "Создан" +#: application/modules/gallery/admin.php:640 +#: application/modules/gallery/admin.php:648 +#: application/modules/gallery/admin.php:656 +msgid "Positions updated" +msgstr "Позиции обновлены" -#: application/modules/gallery/assets/admin/create_album.tpl:5 -msgid "Album creating" -msgstr "Создание альбома" +#: application/modules/gallery/admin.php:197 +msgid "pre-image height" +msgstr "Прообраз высоты" -#: application/modules/gallery/module_info.php:9 -msgid "Creating and managing photo galleries online." -msgstr "Создание и управление фото-галереями на сайте." +#: application/modules/gallery/admin.php:196 +msgid "Pre-image width" +msgstr "Прообраз ширины" -#: application/modules/gallery/assets/admin/categories.tpl:10 -msgid "Create a category" -msgstr "Создать категорию" +#: application/modules/gallery/assets/admin/settings.tpl:139 +#: application/modules/gallery/assets/admin/settings.tpl:148 +#: application/modules/gallery/assets/admin/settings.tpl:190 +#: application/modules/gallery/assets/admin/settings.tpl:199 +#: application/modules/gallery/assets/admin/settings.tpl:298 +#: application/modules/gallery/assets/admin/settings.tpl:327 +msgid "px" +msgstr "px" -#: application/modules/gallery/assets/admin/create_category.tpl:10 -#: application/modules/gallery/assets/admin/create_album.tpl:10 -msgid "Create" -msgstr "Создать" +#: application/modules/gallery/admin.php:195 +#: application/modules/gallery/assets/admin/settings.tpl:95 +msgid "Quality" +msgstr "Качество" -#: application/modules/gallery/assets/admin/album_list.tpl:11 -msgid "Create album" -msgstr "Создать альбом" +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:38 +msgid "Random images" +msgstr "Случайные изображения" -#: application/modules/gallery/assets/admin/categories.tpl:11 -msgid "Create an album" -msgstr "Создать альбом" +#: application/modules/gallery/widgets_info.php:5 +msgid "Recent images" +msgstr "Последние изображения" -#: application/modules/gallery/assets/admin/create_category.tpl:11 -#: application/modules/gallery/assets/admin/create_album.tpl:11 -msgid "Create and exit" -msgstr "Создать и выйти" +#: application/modules/gallery/assets/admin/create_category.tpl:53 +#: application/modules/gallery/assets/admin/edit_category.tpl:54 +msgid "Remove selected category" +msgstr "Удалить выбранную категорию" -#: application/modules/gallery/assets/admin/settings.tpl:32 -msgid "Sort" -msgstr "Сортировать" +#: application/modules/gallery/assets/admin/create_category.tpl:50 +#: application/modules/gallery/assets/admin/edit_category.tpl:51 +msgid "Removing categories" +msgstr "Удаление категорий" -#: application/modules/gallery/templates/latest_fotos_form.tpl:10 +#: application/modules/gallery/assets/admin/album_params.tpl:10 +#: application/modules/gallery/assets/admin/edit_album.tpl:13 #: application/modules/gallery/assets/admin/edit_category.tpl:10 -#: application/modules/gallery/assets/admin/settings.tpl:10 #: application/modules/gallery/assets/admin/edit_image.tpl:13 #: application/modules/gallery/assets/admin/edit_image.tpl:67 #: application/modules/gallery/assets/admin/edit_image.tpl:81 -#: application/modules/gallery/assets/admin/album_params.tpl:10 -#: application/modules/gallery/assets/admin/edit_album.tpl:13 +#: application/modules/gallery/assets/admin/settings.tpl:10 +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:10 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:10 msgid "Save" msgstr "Сохранить" -#: application/modules/gallery/assets/admin/album_params.tpl:11 -msgid "Save and go back" -msgstr "Сохранить и вернуться" - -#: application/modules/gallery/templates/latest_fotos_form.tpl:11 #: application/modules/gallery/assets/admin/edit_category.tpl:11 +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:11 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:11 msgid "Save and exit" msgstr "Сохранить и выйти" +#: application/modules/gallery/assets/admin/album_params.tpl:11 +msgid "Save and go back" +msgstr "Сохранить и вернуться" + #: application/modules/gallery/assets/admin/settings.tpl:104 #: application/modules/gallery/assets/admin/settings.tpl:155 #: application/modules/gallery/assets/admin/settings.tpl:206 msgid "Save ratio" msgstr "Сохранить соотношение" -#: application/modules/gallery/assets/admin/categories.tpl:60 -msgid "Category list is empty" -msgstr "Список категорий пуст" +#: application/modules/gallery/assets/admin/settings.tpl:291 +msgid "Select a digit from 1 to 100" +msgstr "Выбор одной из цифр от 1 до 100" -#: application/modules/gallery/assets/admin/settings.tpl:244 -msgid "on the right" -msgstr "справа" +#: application/modules/gallery/admin.php:95 +msgid "Set the write access" +msgstr "Установите права на запись" -#: application/modules/gallery/assets/admin/settings.tpl:111 -#: application/modules/gallery/assets/admin/settings.tpl:162 -#: application/modules/gallery/assets/admin/settings.tpl:213 -msgid "Cut the borders" -msgstr "Срезать границы" +#: application/modules/gallery/assets/admin/categories.tpl:12 +#: application/modules/gallery/assets/admin/settings.tpl:5 +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:20 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:20 +msgid "Settings" +msgstr "Настройки" + +#: application/modules/gallery/admin.php:299 +#: application/modules/gallery/gallery_widgets.php:87 +#: application/modules/gallery/gallery_widgets.php:163 +msgid "Settings have been saved" +msgstr "Настройки сохранены" + +#: application/modules/gallery/assets/admin/edit_album.tpl:58 +msgid "Size" +msgstr "Размер" + +#: application/modules/gallery/assets/admin/settings.tpl:32 +msgid "Sort" +msgstr "Сортировать" + +#: application/modules/gallery/admin.php:211 +msgid "Specify the correct path to watermark image" +msgstr "Укажите правильный путь к изображение водяного знака" + +#: application/modules/gallery/assets/admin/album_params.tpl:51 +#: application/modules/gallery/assets/admin/create_album.tpl:45 +msgid "Template file" +msgstr "Файл шаблона" #: application/modules/gallery/assets/admin/settings.tpl:262 #: application/modules/gallery/assets/admin/settings.tpl:307 msgid "Text" msgstr "Текст" -#: application/modules/gallery/admin.php:200 -msgid "Watermark text" -msgstr "Текст водяного знака" +#: application/modules/gallery/assets/index.tpl:27 +msgid "There are no categories." +msgstr "Нет категорий." + +#: application/modules/gallery/assets/admin/edit_image.tpl:55 +msgid "Title" +msgstr "Название" + +#: application/modules/gallery/admin.php:202 +#: application/modules/gallery/assets/admin/settings.tpl:286 +msgid "Transparency" +msgstr "Прозрачность" #: application/modules/gallery/assets/admin/settings.tpl:259 msgid "Type" msgstr "Тип" -#: application/modules/gallery/assets/admin/album_params.tpl:74 -msgid "Album deletion" -msgstr "Удаление альбома" +#: application/modules/gallery/assets/admin/settings.tpl:339 +msgid "Upload" +msgstr "Загрузить" -#: application/modules/gallery/assets/admin/edit_category.tpl:51 -#: application/modules/gallery/assets/admin/create_category.tpl:50 -msgid "Removing categories" -msgstr "Удаление категорий" +#: application/modules/gallery/admin.php:944 +msgid "Upload success" +msgstr "Изображение успешно сохранено" -#: application/modules/gallery/assets/admin/edit_album.tpl:87 -msgid "Deleting photos" -msgstr "Удаление фотографий" +#: application/modules/gallery/assets/admin/settings.tpl:249 +msgid "vertical alignment" +msgstr "Вертикальное выравнивание" -#: application/modules/gallery/assets/admin/edit_category.tpl:58 -#: application/modules/gallery/assets/admin/album_list.tpl:81 -#: application/modules/gallery/assets/admin/album_list.tpl:82 -#: application/modules/gallery/assets/admin/album_list.tpl:97 -#: application/modules/gallery/assets/admin/categories.tpl:9 -#: application/modules/gallery/assets/admin/categories.tpl:71 -#: application/modules/gallery/assets/admin/create_category.tpl:57 -#: application/modules/gallery/assets/admin/album_params.tpl:78 -#: application/modules/gallery/assets/admin/edit_album.tpl:14 -#: application/modules/gallery/assets/admin/edit_album.tpl:91 -msgid "Delete" -msgstr "Удалить" +#: application/modules/gallery/assets/admin/categories.tpl:48 +#: application/modules/gallery/assets/admin/categories.tpl:48 +msgid "View albums" +msgstr "Просмотр альбомов" -#: application/modules/gallery/assets/admin/album_list.tpl:92 -msgid "Delete album?" -msgstr "Удалить альбом?" +#: application/modules/gallery/assets/admin/album_list.tpl:68 +#: application/modules/gallery/assets/admin/album_list.tpl:68 +msgid "View images" +msgstr "Просмотр изображений" -#: application/modules/gallery/assets/admin/edit_category.tpl:54 -#: application/modules/gallery/assets/admin/create_category.tpl:53 -msgid "Remove selected category" -msgstr "Удалить выбранную категорию" +#: application/modules/gallery/assets/admin/album_list.tpl:54 +#: application/modules/gallery/assets/admin/edit_image.tpl:37 +msgid "Views" +msgstr "Просмотров" -#: application/modules/gallery/assets/admin/categories.tpl:67 -msgid "Delete category?" -msgstr "Удалить категорию?" +#: application/modules/gallery/assets/admin/settings.tpl:229 +msgid "Watermark" +msgstr "Водяной знак" -#: application/modules/gallery/admin.php:211 -msgid "Specify the correct path to watermark image" -msgstr "Укажите правильный путь к изображение водяного знака" +#: application/modules/gallery/admin.php:200 +msgid "Watermark text" +msgstr "Текст водяного знака" -#: application/modules/gallery/admin.php:95 -msgid "Set the write access" -msgstr "Установите права на запись" +#: application/modules/gallery/assets/admin/widget_album_images_settings.tpl:5 +#: application/modules/gallery/assets/admin/widget_latest_fotos_settings.tpl:5 +msgid "Widget settings" +msgstr "Настройки виджета" -#: application/modules/gallery/assets/admin/settings.tpl:281 -msgid "File has to be located on the server. For example" -msgstr "Файл должен быть расположен на сервере. Например" +#: application/modules/gallery/assets/admin/settings.tpl:137 +#: application/modules/gallery/assets/admin/settings.tpl:188 +msgid "Width" +msgstr "Ширина" -#: application/modules/gallery/assets/admin/album_params.tpl:51 -#: application/modules/gallery/assets/admin/create_album.tpl:45 -msgid "Template file" -msgstr "Файл шаблона" +#: application/modules/gallery/assets/admin/settings.tpl:106 +#: application/modules/gallery/assets/admin/settings.tpl:113 +#: application/modules/gallery/assets/admin/settings.tpl:157 +#: application/modules/gallery/assets/admin/settings.tpl:164 +#: application/modules/gallery/assets/admin/settings.tpl:208 +#: application/modules/gallery/assets/admin/settings.tpl:215 +msgid "Yes" +msgstr "Да" -#: application/modules/gallery/admin.php:594 -msgid "Photos removed" -msgstr "Фото удалены" +#: application/modules/gallery/admin.php:900 +msgid "You can upload only |max_file_uploads| images at once" +msgstr "Вы можете загружать только |max_file_uploads| изображений одновременно" -#: application/modules/gallery/assets/admin/settings.tpl:319 -msgid "Font colour" -msgstr "Цвет шрифта" +#: application/modules/gallery/assets/albums.tpl:12 +msgid "Альбом" +msgstr "Альбом" -#: application/modules/gallery/admin.php:198 -msgid "Icon width" -msgstr "Ширины иконки" +#: application/modules/gallery/assets/albums.tpl:27 +msgid "Альбомов не найдено" +msgstr "Альбомов не найдено" + +#: application/modules/gallery/assets/index.tpl:5 +#: application/modules/gallery/assets/thumbnails.tpl:3 +msgid "Галерея" +msgstr "Галерея" + +#: application/modules/gallery/assets/index.tpl:6 +msgid "Категории" +msgstr "Категории" + +#: application/modules/gallery/assets/albums.tpl:17 +#: application/modules/gallery/assets/index.tpl:17 +msgid "Описание" +msgstr "Описание" diff --git a/application/modules/gallery/language/ru_RU/LC_MESSAGES/gallery_1490795051.mo b/application/modules/gallery/language/ru_RU/LC_MESSAGES/gallery_1490795051.mo new file mode 100644 index 0000000000000000000000000000000000000000..b04c6b68073fc6648ea93e0c834da02ec2c73ec2 GIT binary patch literal 10306 zcmcJT4UAk@b;oZZl;S|42^3oLartTpWY%jZA;F<>Vmpp4?0B&^#7U8y=b5*=6K3X3 z-n`9vQBXIw^U*r8gH4nu#3>00m>^NFvm39y_NG-)8>kxIq^(d|K`IKg3RG3ALTN>$ z{{HvfH(xtzQdPBQ-|yY;bIv{I+&lBVbIy9u@b3_R=kYglmP*EKdQ+Qk=5;gWH^5uq zTi~tm*I~``v%da*_;%_afg1P6zWo&ZRmy(}m%$gImijJyBm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P|hSRw3-Q79qj9E?N z6l*iwU!|41!X4+86wrN{peFk=L7PdRz>wq!#Uft{l~ot*G`9k@?+#xjP(ne1;;z~e z83$FK!1B*^o<07{Y2WYDN*{b@#>%toD6=fGpn}4!MXy#i&T^UiIZON3r$?WJn4Jt= zc|99^5ad?FalFksEOTbVE^-WYpTiM3blGW4+&Vc`_`DvttdhICJ<^A*>%3-VS2*f* zYr9`ZV!vNA<>B<`K6a5mkAY+C&8$)1j(FKleP|drnau5F1J}=$r-t0vI@7(1K8!HayZ?(YM7CJ znLjBTx?gsb2NrciRNWr^lIr3VxJQcOf>SM(I&1JA9heO2dn&q9-|5rmb}s+)x-vR* j{M_!xkvl(233h&dO%E!Up@A+>ugzo+IK%$`{yO_VXIz0L literal 0 HcmV?d00001 diff --git a/application/modules/gallery/templates/album_images.tpl b/application/modules/gallery/templates/album_images.tpl new file mode 100644 index 0000000000..ebb715ab72 --- /dev/null +++ b/application/modules/gallery/templates/album_images.tpl @@ -0,0 +1,5 @@ +{foreach $images as $item} + + {strip_tags(trim($item.description))} + +{/foreach} \ No newline at end of file diff --git a/application/modules/gallery/templates/album_images_form.tpl b/application/modules/gallery/templates/album_images_form.tpl new file mode 100644 index 0000000000..3e681cca79 --- /dev/null +++ b/application/modules/gallery/templates/album_images_form.tpl @@ -0,0 +1,53 @@ +
+
+
+ + {lang("Widget settings", 'gallery')} {$widget.name} +
+
+
+ {lang("Back", 'admin')} + + +
+
+
+
+
+
+ + + + + + + + + +
{lang("Settings", 'gallery')}
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+
+ {form_csrf()} +
+
+
+
\ No newline at end of file diff --git a/application/modules/gallery/templates/latest_fotos_form.tpl b/application/modules/gallery/templates/latest_fotos_form.tpl index 5f0664f3b7..1a8e411b0e 100755 --- a/application/modules/gallery/templates/latest_fotos_form.tpl +++ b/application/modules/gallery/templates/latest_fotos_form.tpl @@ -31,7 +31,7 @@
- +
@@ -116,7 +116,7 @@ -
+
@@ -125,7 +125,7 @@ -
+
diff --git a/templates/administrator/edit_page.tpl b/templates/administrator/edit_page.tpl index 6d23499ecc..f10f721b53 100755 --- a/templates/administrator/edit_page.tpl +++ b/templates/administrator/edit_page.tpl @@ -103,7 +103,7 @@ {lang("Title","admin")}: * -
+
@@ -177,7 +177,7 @@ {lang("Tags","admin")}: -
+
@@ -187,7 +187,7 @@ {lang("Meta Title","admin")}: -
+
@@ -267,7 +267,7 @@
- {echo $this->CI->load->module('cfcm/admin')->form_from_category_group($category['id']?:0, $id, 'page')} + {echo $this->CI->load->module('cfcm/admin')->form_from_category_group($category['id']?:0, $id, 'page')}