Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [LANG] Russian translation (sNews v1.3)  (Read 8905 times)

dexter

  • Newbie
  • *
  • Karma: 0
  • Posts: 14
    • http://www.prodvinu.com/
[LANG] Russian translation (sNews v1.3)
« on: January 22, 2006, 04:42:06 AM »

Hi all!
I am from cold Russia (-30 below zero)
I am schoolboy.
Code: [Select]

error_reporting (E_ALL ^ E_NOTICE);

function s($variable) {
$s = Array();

//******************
// GLOBAL SETTINGS
//******************

$s['username'] = md5("test"); // Введите администраторский логин
$s['password'] = md5("test"); // Введите администраторский пароль

$s['dbhost'] = "localhost"; // хост MySQL
$s['dbname'] = "mysql"; // Имя базы
$s['dbuname'] = "root"; // Логин (пользователь)
$s['dbpass'] = ""; // пароль к базе
$s['dberror'] = "Ошибка: не могу присоедениться к базе данных!"; // Ошибка базы данных

$s['prefix'] = ""; // Табличный префикс, при подключении нескольких sNews на одну базу (если не нужно оставить поле пустым

$s['website'] = "test2.ru"; // адресс сайта
$s['website_title'] = "Автоблог - последние новости автоиндустрии"; // Название сайта
$s['website_email'] = "info@yoursite.com"; // Контактный адресс
$s['contact_subject'] = "Contact Form"; // Тема ксообщения со страницы контактов
$s['image_folder'] = "img"; // Папка для сохранения изображений

$s['charset'] = "cp1251"; // Кодировка по умолчанию
$s['articles_limit'] = 5; // Количество статей отображаемых на главной странице
$s['display_num_categories'] = "YES"; //  (YES or NO)
$s['display_comment_time'] = "YES"; // Отображать дату и время у коментариев (YES or NO)
$s['date_format'] = "d.m.Y."; // Формат даты
$s['fp_date_format'] = "d.m."; // Формат даты у статей на главной странице
$s['comment_dt_format'] = "d.m."; // Формат даты и времени у коментариев
$s['results_per_page'] = 5; // Количество коментариев отображаемых на странице

return $s[$variable];
}

//********************
// LANGUAGE VARIABLES
//********************
function l($variable) {
$l = Array();

$l['home'] = "Главная";
$l['archives'] = "Архив";
$l['rss_feed'] = "RSS Feed";
$l['contact'] = "Контакты";
$l['search_button'] = "Поиск";
$l['search_results'] = "Результаты поиска";
$l['charerror'] = "At least 4 characters are needed to preform the search.";
$l['noresults'] = "There are no results for query ";
$l['resultsfound'] = "results were found for query";
$l['recent_articles'] = "Recent articles";
$l['addcomment'] = "Leave a comment";
$l['comments'] = "Коментарии";
$l['comment'] = "Коментарий";
$l['first_page'] = "Первая";
$l['last_page'] = "Последняя";
$l['previous_page'] = "Предыдущая";
$l['next_page'] = "Следующая";
$l['name'] = "Имя";
$l['sendcomment'] = "Отправить";
$l['comment_sent'] = "Ваш коментарий отправлен";
$l['comment_error'] = "Ошибка: ваш коментарий не отправлен";
$l['ce_reasons'] = "Possible reasons: You left blank column or the comment is too short.";
$l['email'] = "Email";
$l['url'] = "URL";
$l['message'] = "Сообщение";
$l['send_message'] = "Отправить";
$l['contact_sent'] = "Ваше сообщение было отправлено";
$l['contact_not_sent'] = "Ошибка: ваше сообщение не было отправлено";
$l['message_error'] = "Possible reasons: You left name or message field blank or email address does not exist";
$l['backhome'] = "Домой";
$l['backarticle'] = "Вернуться к статье";
$l['read_more'] = "Читать далее";
$l['article_not_exist'] = "Статья не найдена";


//***********************************
// ADMINISTRATION LANGUAGE VARIABLES
//***********************************
$l['username'] = "Логин";
$l['password'] = "Пароль";
$l['login'] = "Войти";
$l['already_logged'] = "Всегда входить";
$l['logout'] = "Выйти";
$l['settings'] = "Настройки";
$l['save_settings'] = "Сохранить настройки";
$l['articles'] = "Статьи";
$l['category'] = "Категория";
$l['categories'] = "Категории";
$l['add_category'] = "Добавить категорию";
$l['edit_category'] = "Редактировать категорию";
$l['delete_category'] = "Удалить категорию";
$l['description'] = "Описание";
$l['publish_category'] = "Опубликовать категорию";
$l['published'] = "Опубликовать";
$l['unpublished'] = "Неопубликованное";
$l['new_article'] = "Новая статья";
$l['limit_article'] = "Количество знаков для отображения на главной (можно делать краткий обзор) (0 = без лимита - выводиться статья полностью)";
$l['article_date'] = "Дата статьи";
$l['auto_html'] = "Автопараграф";
$l['display_title'] = "Отображать название";
$l['display_info'] = "Отображать строку состояния";
$l['enable_commenting'] = "Включить коментарии";
$l['edit_comment'] = "Редактировать коментарии";
$l['freeze_comments'] = "Остановить коментарииs";
$l['unfreeze_comments'] = "Возобновить коментарии";
$l['publish_article'] = "Опубликовать статью";
$l['unpublished_articles'] = "Необуликованные статьи";
$l['submit_new_article'] = "Добавить";
$l['operation_completed'] = "Операция успехно завершенна";
$l['deleted_success'] = "Удачно удаленно";
$l['edit_article'] = "Редактировать статью";
$l['simple'] = "Простой";
$l['advanced'] = "Полный";
$l['images'] = "Изображение";
$l['attach_image'] = "Прикрепить изображение";
$l['upload_image'] = "Загрузить изображение";
$l['upload'] = "Загрузить";
$l['no_image'] = "Нет изображений";
$l['edit'] = "Редактировать";
$l['delete_article'] = "Удалить статью";
$l['admin_error'] = "Ошибка";
$l['title_error'] = "Введите название";
$l['text_error'] = "Введите текст";
$l['back'] = "Назад";
$l['comments'] = "Коментарии";
$l['enabled'] = "Включить";
$l['disabled'] = "Выключить";
$l['posted_by'] = "Опубликованно";
$l['delete_comment'] = "Удалить коментарий";
$l['title'] = "Название";
$l['text'] = "Текст";
$l['position'] = "Позиция";
$l['display_menu_item'] = "отображать как обьект меню";
$l['left'] = "Слева";
$l['center'] = "Центр";
$l['right'] = "Справа";
$l['saved_images'] = "Сохранить изображение";
$l['image_error'] = "Изображение не может быть скопированно";
$l['login_faliure'] = "Доступ запрещен";

return $l[$variable];
}
Logged
Sorry on my bad English

albert

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 405
    • http://www.oswt.co.uk/
[LANG] Russian translation (sNews v1.3)
« Reply #1 on: January 22, 2006, 05:20:58 AM »

Hi dexter

well done, great job. Hope you like the code a much a I do.

Quote
I am from cold Russia (-30 below zero)

Hope you are keeping worm,

Albert
Logged
Albert
http://snews.awddesign.co.uk/snews/ site: v1.3
http://snews.awddesign.co.uk/           site: v1.2 http://www.awddesign.co.uk/
“Putting together the largest collection of sNews 1.5 designs. Coming very soon :)

George Antoniadis

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 479
[LANG] Russian translation (sNews v1.3)
« Reply #2 on: January 22, 2006, 06:27:19 AM »

Welcome to snews! ;)

dude! PERFECT WORK! :)
You even translated the comments! - very nice and original idea! ^_^
Logged
How I feel like I'm starless, I'm ready to fade now.
And how I feel like I'm starless, I'm hopeless and greyed out.

dexter

  • Newbie
  • *
  • Karma: 0
  • Posts: 14
    • http://www.prodvinu.com/
[LANG] Russian translation (sNews v1.3)
« Reply #3 on: January 22, 2006, 06:36:06 AM »

i think biuld russian site about snews.
But nesessary put the finish touch to prodjects.

Make static url pls ;)
Logged
Sorry on my bad English

George Antoniadis

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 479
[LANG] Russian translation (sNews v1.3)
« Reply #4 on: January 22, 2006, 07:10:09 AM »

Luka is working hard on it!
1.4 will have SEF Urls so... just hang on for couple of days! ^_^
Logged
How I feel like I'm starless, I'm ready to fade now.
And how I feel like I'm starless, I'm hopeless and greyed out.

dexter

  • Newbie
  • *
  • Karma: 0
  • Posts: 14
    • http://www.prodvinu.com/
[LANG] Russian translation (sNews v1.3)
« Reply #5 on: January 22, 2006, 07:20:46 AM »

when reales sNews 1.4?
Logged
Sorry on my bad English

George Antoniadis

  • Sr. Member
  • ****
  • Karma: 0
  • Posts: 479
[LANG] Russian translation (sNews v1.3)
« Reply #6 on: January 22, 2006, 07:22:01 AM »

hopefully in the next days! (fingers crossed!!!)
Logged
How I feel like I'm starless, I'm ready to fade now.
And how I feel like I'm starless, I'm hopeless and greyed out.

dexter

  • Newbie
  • *
  • Karma: 0
  • Posts: 14
    • http://www.prodvinu.com/
[LANG] Russian translation (sNews v1.3)
« Reply #7 on: January 22, 2006, 07:25:29 AM »

Sorry. My bad English.
I want speak English associate forum.
Logged
Sorry on my bad English

4Sandrix

  • Hero Member
  • *****
  • Karma: -13
  • Posts: 613
    • http://fedrick.deviantart.com
[LANG] Russian translation (sNews v1.3)
« Reply #8 on: September 08, 2006, 09:50:11 PM »

дэкс

спасибо тебе :) может и для 1.4 перекатаеш?

thanks anyway :)
Logged
I'm kind of like Han Solo always strokin' my own Wookiee
I'm the root of all that's evil yeah but you can call me Cookie

Janet Kellman

  • Newbie
  • *
  • Karma: 0
  • Posts: 2
    • http://rbytes.net/software/
[LANG] Russian translation (sNews v1.3)
« Reply #9 on: July 07, 2007, 02:56:38 PM »

Quote from: dexter
Hi all!
I am from cold Russia (-30 below zero)
I am schoolboy.
Can you make russian translation for sNews 1.6 in unicode ?
Thanks!