Skip to content

Instantly share code, notes, and snippets.

@TiGR
Created July 26, 2010 17:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save TiGR/490889 to your computer and use it in GitHub Desktop.
Save TiGR/490889 to your computer and use it in GitHub Desktop.
<?php if (!defined('APPLICATION')) exit();
/*
Copyright 2008, 2009 Vanilla Forums Inc.
This file is part of Garden.
Garden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Garden 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 General Public License for more details.
You should have received a copy of the GNU General Public License along with Garden. If not, see <http://www.gnu.org/licenses/>.
Contact Vanilla Forums Inc. at support [at] vanillaforums [dot] com
*/
$Definition['RecipientUserID'] = 'получатель';
$Definition["All Conversations"] = "Список бесед";
$Definition["Start a New Conversation"] = "Начать беседу";
$Definition["Recipients"] = "Получатели";
$Definition["Start Conversation"] = "Начать беседу";
$Definition["Add Message"] = "Ответ";
$Definition["Send Message"] = "Отправить";
$Definition["Add People to this Conversation"] = "Пригласить к беседе";
$Definition["Add"] = "Пригласить";
$Definition["In this Conversation"] = "Участники беседы";
$Definition["Delete Conversation"] = "Удалить беседу";
// $Definition["Your changes were saved"] = "Изменения сохране";
$Definition["Write a comment"] = "Написать комментарий";
$Definition["%s message"] = "%s сообщение";
$Definition["%s messages"] = "%s сообщения";
$Definition["%s messages_many"] = "%s сообщений";
?>
<?php if (!defined('APPLICATION')) exit();
/*
Copyright 2008, 2009 Vanilla Forums Inc.
This file is part of Garden.
Garden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Garden 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 General Public License for more details.
You should have received a copy of the GNU General Public License along with Garden. If not, see <http://www.gnu.org/licenses/>.
Contact Vanilla Forums Inc. at support [at] vanillaforums [dot] com
*/
/**
* English version of object possession. (ie. "Bob's thing" VS "Jess' thing").
*
* @param string The word to format.
*/
if (!function_exists('FormatPossessive')) {
function FormatPossessive($Word) {
return $Word;
}
}
if (!function_exists('Plural')) {
function Plural($Number, $Singular, $Plural) {
$cases = array (2, 0, 1, 1, 1, 2);
$case = ($Number%100>4 && $Number%100<20) ? 2 : $cases[min($Number%10, 5)];
if ($case == 0) {
$text = $Singular;
} elseif ($case == 1) {
$text = ($Singular == $Plural) ? $Singular . " Plural" : $Plural;
} else
$text = $Plural . "_many";
return sprintf(T($text), $Number);
}
}
$Definition['Locale'] = 'ru-RU';
// THESE ARE RELATED TO VALIDATION FUNCTIONS IN /garden/library/core/validation.functions.php
$Definition['ValidateRegex'] = '%s does not appear to be in the correct format.';
$Definition['ValidateRequired'] = '%s is required.';
$Definition['ValidateRequiredArray'] = 'You must select at least one %s.';
$Definition['ValidateEmail'] = '%s does not appear to be valid.';
$Definition['ValidateDate'] = '%s is not a valid date.';
$Definition['ValidateInteger'] = '%s is not a valid integer.';
$Definition['ValidateBoolean'] = '%s is not a valid boolean.';
$Definition['ValidateDecimal'] = '%s is not a valid decimal.';
$Definition['ValidateTime'] = '%s is not a valid time.';
$Definition['ValidateTimestamp'] = '%s is not a valid timestamp.';
$Definition['ValidateLength'] = '%1$s is %2$s characters too long.';
$Definition['ValidateEnum'] = '%s is not valid.';
$Definition['ValidateOneOrMoreArrayItemRequired'] = 'You must select at least one %s.';
$Definition['ValidateConnection'] = 'The connection parameters you specified failed to open a connection to the database. The database reported the following error: <code>%s</code>';
$Definition['ValidateMinimumAge'] = 'You must be at least 16 years old to proceed.';
$Definition['ValidateMatch'] = 'The %s fields do not match.';
$Definition['ErrorPermission'] = 'Sorry, permission denied.';
$Definition['ErrorCredentials'] = 'Sorry, no account could be found related to the email and password you entered.';
$Definition['ErrorPluginVersionMatch'] = 'The enabled {0} plugin (version {1}) failed to meet the version requirements ({2}).';
$Definition['ErrorPluginDisableRequired'] = 'You cannot disable the {0} plugin because the {1} plugin requires it in order to function.';
$Definition['ErrorPluginEnableRequired'] = 'This plugin requires that the {0} plugin be enabled before it can be enabled itself.';
$Definition['ErrorTermsOfService'] = 'You must agree to the terms of service.';
$Definition['ErrorRecordNotFound'] = 'The requested record could not be found.';
$Definition['PageDetailsMessageFull'] = '%1$s to %2$s of %3$s';
$Definition['PageDetailsMessage'] = '%1$s to %2$s';
$Definition['RoleID'] = 'role';
$Definition['Garden.Registration.DefaultRoles'] = 'default role';
$Definition['Garden.Title'] = 'Application title';
$Definition['Garden.Email.SupportName'] = 'Support name';
$Definition['Garden.Email.SupportAddress'] = 'Support email';
$Definition['UrlCode'] = 'Url code';
$Definition['OldPassword'] = 'Old password';
$Definition['RoleID'] = 'role';
$Definition['EmailInvitation'] = 'Привет!
%1$s has invited you to join %2$s. If you want to join, you can do so by clicking this link:
%3$s
Всего доброго!';
$Definition['EmailMembershipApproved'] = 'Привет %1$s,
You have been approved for membership. Sign in now at the following link:
%2$s
Всего доброго!';
$Definition['EmailWelcome'] = 'Привет %1$s,
%2$s has created an account for you at %3$s. Your login credentials are:
Email: %6$s
Password: %5$s
Url: %4$s
Всего доброго!';
$Definition['EmailPassword'] = 'Привет %1$s,
%2$s has reset your password at %3$s. Your login credentials are now:
Email: %6$s
Password: %5$s
Url: %4$s
Всего доброго!';
$Definition['PasswordRequest'] = 'Привет %1$s,
Someone has requested to reset your password at %2$s. To reset your password, follow this link:
%3$s
If you did not make this request, disregard this email.';
$Definition['EmailNotification'] = '%1$s
Это здесь: %2$s
Всего доброго!';
$Definition['EmailStoryNotification'] = '%1$s
"%3$s"
Это здесь: %2$s
Всего доброго!';
$Definition['PluginHelp'] = "Plugins allow you to add functionality to your site.<br />Once a plugin has been added to your %s folder, you can enable or disable it here.";
$Definition['ApplicationHelp'] = "Applications allow you to add large groups of functionality to your site.<br />Once an application has been added to your %s folder, you can enable or disable it here.";
$Definition['ThemeHelp'] = "Themes allow you to change the look &amp; feel of your site.<br />Once a theme has been added to your %s folder, you can enable it here.";
$Definition['AddonProblems'] = "<h2>Problems?</h2><p>If something goes wrong with an addon and you can't use your site, you can disable them manually by editing:</p>%s";
$Definition['Date.DefaultFormat'] = '%B %e, %Y';
$Definition['Date.DefaultDayFormat'] = '%B %e';
$Definition['Date.DefaultYearFormat'] = '%B %Y';
$Definition['Date.DefaultTimeFormat'] = '%l:%M%p';
$Definition['Who\'s Online'] = 'Сейчас на сайте';
// TODO: PROVIDE TRANSLATIONS FOR ALL CONFIGURATION SETTINGS THAT ARE EDITABLE ON ADMIN FORMS (ie. Vanilla.Comments.MaxLength, etc).
?>
<?php if (!defined('APPLICATION')) exit();
# Этот файл нужно положить в
# applications/vanilla/locale/ru_RU/definitions.php
$Definition['All Discussions'] = 'Все обсуждения';
$Definition['My Bookmarks'] = 'Избранное';
$Definition['My Discussions'] = 'Мои обсуждения';
$Definition['Dashboard'] = 'Админка';
$Definition['Start a New Discussion'] = 'Начать новое обсуждение';
$Definition['Categories'] = 'Разделы';
$Definition['Bookmarked Discussions'] = 'Избранное';
$Definition['Options'] = 'Опции';
$Definition['Edit'] = 'Правка';
$Definition['Permalink'] = 'Ссылка';
$Definition['Announce'] = 'Объявить';
$Definition['Sink'] = 'Утопить';
$Definition['Close'] = 'Закрыть';
$Definition['Delete'] = 'Удалить';
$Definition['Most recent by'] = 'последнее сообщение от';
$Definition['Bookmark'] = 'Добавить в избранное';
$Definition['Unbookmark'] = 'Удалить из избранного';
$Definition['Discussions'] = 'Обсуждения';
$Definition['New Discussion'] = 'Новое обсуждение';
$Definition['Activity'] = 'Активность';
$Definition['Inbox'] = 'Входящие';
$Definition['New Conversation'] = 'Новая беседа';
$Definition['Sign Out'] = 'Выйти';
$Definition['Search'] = 'Поиск';
$Definition['Go'] = '&crarr;';
$Definition['Discussion Title'] = 'Тема обсуждения';
$Definition['Category'] = 'Раздел';
$Definition['Announce this discussion'] = 'Сделать объявлением';
$Definition['Close this discussion'] = 'Закрыть обсуждение';
$Definition['Sink this discussion'] = 'Приглушить обсуждение';
$Definition['Post Discussion'] = 'Опубликовать';
$Definition['Save Draft'] = 'Сохранить черновик';
$Definition['Preview'] = 'Предварительный просмотр';
$Definition['Cancel'] = 'Отменить';
$Definition['No discussions were found.'] = 'Обсуждений нет.';
$Definition['My Preferences'] = 'Настройки';
$Definition['Email Notifications'] = 'Уведомлять меня по электронной почте о&hellip;';
$Definition['Notify me when people write on my wall.'] = '&hellip;комментариях на моей стене';
$Definition['Notify me when people reply to my wall comments.'] = '&hellip;ответах на мои комментарии на стене';
$Definition['Notify me of private messages.'] = '&hellip;личных сообщениях';
$Definition['Notify me when I am added to private conversations.'] = '&hellip;приглашении к беседе';
$Definition['Notify me when people comment on my discussions.'] = '&hellip;комментариях в моих обсуждениях';
$Definition['Notify me when people mention me in discussion titles.'] = '&hellip;обсуждениях, в названии которых присутствует мой ник';
$Definition['Notify me when people mention me in comments.'] = '&hellip;упоминании моего ника в комментариях';
$Definition['Notify me when people comment on my bookmarked discussions.'] = '&hellip;комментариях в избранных темах';
$Definition['Save Preferences'] = 'Сохранить настройки';
$Definition['Change My Picture'] = 'Сменить фотографию';
$Definition['By uploading a file you certify that you have the right to distribute this picture and that it does not violate the Terms of Service.'] = 'Загружая файл вы подтверждаете, что имеете право распространять это изображение и оно не нарушает условий использования.';
$Definition['Select an image on your computer (2mb max)'] = 'Выберите изображение на своём компьютере (не более 2 мегабайт)';
$Definition['Edit My Account'] = 'Моя учётная запись';
$Definition['Username'] = 'Ник';
$Definition['Email'] = 'E-mail';
$Definition['Allow other members to see your email?'] = 'Разрешить другим пользователям видить ваш адрес?';
$Definition['Gender'] = 'Пол';
$Definition['Male'] = 'Мужской';
$Definition['Female'] = 'Женский';
$Definition['Save'] = 'Сохранить';
$Definition['Change My Password'] = 'Сменить пароль';
$Definition['Old Password'] = 'Ваш настоящий пароль';
$Definition['New Password'] = 'Новый пароль';
$Definition['Confirm Password'] = 'Повторите пароль';
$Definition['Change Password'] = 'Сменить пароль';
$Definition['Apply for membership'] = 'Регистрация';
$Definition['Invitation Code'] = 'Код приглашения';
$Definition['Name'] = 'Ник';
$Definition['Password'] = 'Пароль';
$Definition['Remember me on this computer'] = 'Запомнить меня на этом компьютере';
$Definition['Sign Up &rarr;'] = 'Зарегистрироваться &rarr;';
$Definition['Sign Up →'] = 'Зарегистрироваться &rarr;';
$Definition['Name Unavailable'] = 'Данное имя уже занято';
$Definition['Email Unavailable'] = 'Email не подходит';
$Definition['Passwords don\'t match'] = 'Введённые пароли не совпадают';
$Definition['Why do you want to join?'] = 'Почему вы хотите зарегистрироваться?';
// $Definition['Apply →'] = '';
$Definition['I agree to the <a id="TermsOfService" class="Popup" target="terms" href="%s">terms of service</a>'] = 'Я согласен с <a id="TermsOfService" class="Popup" target="terms" href="%s">условиями использования</a>';
$Definition['Notifications'] = 'Уведомления';
$Definition['You do not have any notifications yet.'] = 'У вас пока нет никаких уведомлений.';
$Definition['Sign In'] = 'Вход';
$Definition['Sign In &rarr;'] = 'Войти &rarr;';
$Definition['Sign In →'] = 'Войти &rarr;';
$Definition['Forgot your password?'] = 'Не помнишь пароль?';
$Definition['Enter your Email address'] = 'Введи свой e-mail';
$Definition['Request a new password →'] = 'Получить новый пароль &rarr;';
$Definition['Reset my password'] = 'Сброс пароля';
$Definition['Save your password &rarr;'] = 'Сохранить пароль &rarr;';
$Definition['Save your password →'] = 'Сохранить пароль &rarr;';
$Definition['or'] = 'или';
$Definition['Apply for Membership'] = 'Регистрация';
$Definition['ErrorBadInvitationCode'] = 'Указан неверный код приглашения';
$Definition['My Drafts'] = 'Черновики';
$Definition['Date.DefaultTimeFormat'] = '%H:%M';
$Definition['Date.DefaultDayFormat'] = '%e %B';
$Definition['Date.DefaultYearFormat'] = '%B %Y';
$Definition['Date.DefaultFormat'] = '%e %B %Y';
$Definition['Draft saved at %s'] = 'Черновик сохранён в %s';
$Definition['Write Comment'] = 'Прокомментировать';
$Definition['Post Comment'] = 'Опубликовать';
$Definition['Add Comment'] = 'Написать';
$Definition['Welcome Aboard!'] = 'Добро пожаловать!';
$Definition['%s accepted your invitation for membership.'] = '%s принял(а) ваше приглашение.';
$Definition['Comment'] = 'Прокомментировать';
$Definition['Joined'] = 'Регистрация';
$Definition['Visits'] = 'Посещений';
$Definition['Last Active'] = 'Последнее';
$Definition['Roles'] = 'Роли';
$Definition['Invited by'] = 'Пригласитель';
$Definition['Options'] = 'Опции';
$Definition['Edit My Thumbnail'] = 'Правка аватара';
$Definition['Remove My Picture'] = 'Удалить фотографию';
$Definition['My Invitations'] = 'Приглашения';
$Definition['Share'] = 'Написать';
$Definition['Delete Discussion'] = 'Удалить обсуждение';
$Definition['← Back to Discussions'] = '&larr; Назад к списку обсуждений';
$Definition['&larr; Back to Discussions'] = '&larr; Назад к списку обсуждений';
$Definition['Quote'] = 'Цитировать';
$Definition['%s said'] = '%s пишет';
$Definition['%1$s older comments'] = 'Предыдущие %1$s сообщений';
$Definition['%1$s more comments'] = 'Следующие %1$s сообщений';
$Definition['Save Comment'] = 'Сохранить изменения';
$Definition['Confirm'] = 'Подтверждение';
$Definition['Are you sure you want to do that?'] = 'Ты действительно хочешь сделать это?';
$Definition['Okay'] = 'Ok';
$Definition['%s comment'] = '%s сообщение';
$Definition['%s comments'] = '%s сообщения';
$Definition['%s comments_many'] = '%s сообщений';
$Definition['%s New'] = '%s новое';
$Definition['%s New Plural'] = '%s новых';
$Definition['%s New Plural_many'] = '%s новых';
$Definition['New'] = 'новые';
$Definition['%s new'] = '%s новое';
$Definition['%s new Plural'] = '%s новых';
$Definition['%s new_many'] = '%s новых';
$Definition['Started by %1$s'] = 'Автор %1$s';
$Definition['Most recent by %1$s'] = 'Последнее сообщение от %1$s';
$Definition['Announcement'] = 'Объявление';
?>
@Grawl
Copy link

Grawl commented Sep 29, 2011

согласен. в WordPress это было удачным решением, прижилось и было адекватно воспринято.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment