Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Commit

Permalink
update language files
Browse files Browse the repository at this point in the history
  • Loading branch information
Serhii-DV committed May 5, 2012
1 parent 4ee84b0 commit f7b79d5
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 28 deletions.
16 changes: 5 additions & 11 deletions system/modules/gallery_module/languages/en/modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,28 @@
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program. If not, please visit the Free
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
* @copyright Sergey Dyagovchenko 2011-2012
* @author Sergey Dyagovchenko <http://d.sumy.ua/>
* @package GalleryModule
* @license LGPL
* @package GalleryModule
* @license LGPL
* @filesource
*/


/**
* Back end modules
*/
$GLOBALS['TL_LANG']['MOD'][''] = array('', '');


/**
* Front end modules
*/
$GLOBALS['TL_LANG']['FMD'][''] = array('', '');
$GLOBALS['TL_LANG']['FMD']['gallery'] = array('Gallery', 'Output content element gallery as module.');

?>
47 changes: 47 additions & 0 deletions system/modules/gallery_module/languages/en/tl_module.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

/**
* Contao Open Source CMS
* Copyright (C) 2005-2012 Leo Feyer
*
* Formerly known as TYPOlight Open Source CMS.
*
* This program is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program. If not, please visit the Free
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
* @copyright Sergey Dyagovchenko 2011-2012
* @author Sergey Dyagovchenko <http://d.sumy.ua/>
* @package Language
* @license LGPL
* @filesource
*/


/**
* Fields
*/
$GLOBALS['TL_LANG']['tl_module']['useHomeDir'] = array('Use home directory', 'Use the home directory as file source if there is an authenticated user.');
$GLOBALS['TL_LANG']['tl_module']['perRow'] = array('Thumbnails per row', 'The number of image thumbnails per row.');
$GLOBALS['TL_LANG']['tl_module']['perPage'] = array('Items per page', 'The number of items per page. Set to 0 to disable pagination.');
$GLOBALS['TL_LANG']['tl_module']['sortBy'] = array('Order by', 'Please choose the sort order.');
$GLOBALS['TL_LANG']['tl_module']['galleryTpl'] = array('Gallery template', 'Here you can select the gallery template.');

/**
* Legends
*/
$GLOBALS['TL_LANG']['tl_module']['image_legend'] = 'Image settings';
$GLOBALS['TL_LANG']['tl_module']['template_legend'] = 'Template settings';

?>
10 changes: 5 additions & 5 deletions system/modules/gallery_module/languages/ru/modules.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,28 @@
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program. If not, please visit the Free
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
* @copyright Sergey Dyagovchenko 2011-2012
* @author Sergey Dyagovchenko <http://d.sumy.ua/>
* @package GalleryModule
* @license LGPL
* @package GalleryModule
* @license LGPL
* @filesource
*/


/**
* Back end modules
*/
$GLOBALS['TL_LANG']['FMD']['gallery'] = array('Галлерея изображений', 'Позволяет выводить галлерею изображений');
$GLOBALS['TL_LANG']['FMD']['gallery'] = array('Ãàëëåðåÿ èçîáðàæåíèé', 'Ïîçâîëÿåò âûâîäèòü ãàëëåðåþ èçîáðàæåíèé');

?>
21 changes: 9 additions & 12 deletions system/modules/gallery_module/languages/ru/tl_module.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program. If not, please visit the Free
* Software Foundation website at <http://www.gnu.org/licenses/>.
Expand All @@ -28,23 +28,20 @@
* @filesource
*/

$lang =& $GLOBALS['TL_LANG']['tl_module'];

/**
* Fields
*/
$lang['useHomeDir'] = array('Использовать домашнюю директорию', 'Если пользователь сайта вошел в систему, использовать его домашнюю директорию как источник файлов.');
$lang['perRow'] = array('Миниатюр в ряду', 'Введите число миниатюр, выводимых в одном ряду.');
$lang['perPage'] = array('Статей на странице', 'Пожалуйста, введите количество статей на странице (0 = отключение нумерации страниц).');
$lang['sortBy'] = array('Сортировать по', 'Пожалуйста, выберите порядок сортировки.');
$lang['galleryTpl'] = array('Галерея шаблонов', 'Здесь вы можете выбрать в галерею шаблонов.');
$GLOBALS['TL_LANG']['tl_module']['useHomeDir'] = array('Èñïîëüçîâàòü äîìàøíþþ äèðåêòîðèþ', 'Åñëè ïîëüçîâàòåëü ñàéòà âîøåë â ñèñòåìó, èñïîëüçîâàòü åãî äîìàøíþþ äèðåêòîðèþ êàê èñòî÷íèê ôàéëîâ.');
$GLOBALS['TL_LANG']['tl_module']['perRow'] = array('Ìèíèàòþð â ðÿäó', 'Ââåäèòå ÷èñëî ìèíèàòþð, âûâîäèìûõ â îäíîì ðÿäó.');
$GLOBALS['TL_LANG']['tl_module']['perPage'] = array('Ñòàòåé íà ñòðàíèöå', 'Ïîæàëóéñòà, ââåäèòå êîëè÷åñòâî ñòàòåé íà ñòðàíèöå (0 = îòêëþ÷åíèå íóìåðàöèè ñòðàíèö).');
$GLOBALS['TL_LANG']['tl_module']['sortBy'] = array('Ñîðòèðîâàòü ïî', 'Ïîæàëóéñòà, âûáåðèòå ïîðÿäîê ñîðòèðîâêè.');
$GLOBALS['TL_LANG']['tl_module']['galleryTpl'] = array('Ãàëåðåÿ øàáëîíîâ', 'Çäåñü âû ìîæåòå âûáðàòü â ãàëåðåþ øàáëîíîâ.');

/**
* Legends
*/
$lang['image_legend'] = 'Настройки изображения';
$lang['template_legend'] = 'Настройки шаблонов';

unset($lang);
$GLOBALS['TL_LANG']['tl_module']['image_legend'] = 'Íàñòðîéêè èçîáðàæåíèÿ';
$GLOBALS['TL_LANG']['tl_module']['template_legend'] = 'Íàñòðîéêè øàáëîíîâ';

?>

0 comments on commit f7b79d5

Please sign in to comment.