Skip to content

Complete initial files for :ru branch (ru) #196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 36 additions & 36 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ locales:
url: /ru/community
- text: Новости
url: /ru/news
- text: безопасность
- text: Безопасность
url: /ru/security
- text: О Ruby
url: /ru/about
Expand Down Expand Up @@ -363,7 +363,7 @@ locales:
ko: "작성자: AUTHOR (%Y-%m-%d)"
pl: "Zamieszczone przez AUTHOR %Y-%m-%d"
pt: "Escrito por AUTHOR em %Y-%m-%d"
# ru:
ru: "Опубликовал AUTHOR %Y-%m-%d"
tr: "AUTHOR tarafından %Y-%m-%d tarihinde gönderildi"
zh_cn: "由 AUTHOR 发表于 %Y-%m-%d"
# zh_tw:
Expand All @@ -380,7 +380,7 @@ locales:
ko: "번역자:"
pl: "Tłumaczone przez"
pt: "Traduzido por"
# ru:
ru: "Перевел:"
tr: "Çeviri:"
# zh_cn:
# zh_tw:
Expand Down Expand Up @@ -431,8 +431,8 @@ locales:
description: As notícias mais recentes do ruby-lang.org em Português.
lang_code: pt-PT
ru:
title: Ruby News
description: The latest news from ruby-lang.org.
title: Новости Ruby
description: Последние новости с ruby-lang.org.
lang_code: ru-RU
tr:
title: Ruby Son Haberler
Expand Down Expand Up @@ -582,15 +582,15 @@ locales:
monthly_archive_link: "%B %Y"
ru:
other_news: Другие новости
more_news: Другие новости...
continue: Подробнее...
back_to_year: "Back to %Y Archives"
recent_news: Recent News
yearly_archive_title: "%Y Archives"
monthly_archive_title: "%B %Y Archives"
yearly_archives: Archives by Year
monthly_archives: Archives by Month
yearly_archive_link: "%Y Archives"
more_news: Больше новостей...
continue: Узнать больше...
back_to_year: "Вернуться к архивам %Y года"
recent_news: Последние новости
yearly_archive_title: "Архивы %Y года"
monthly_archive_title: "Архивы %B %Y"
yearly_archives: Архивы по годам
monthly_archives: Архивы по месяцам
yearly_archive_link: "Архивы %Y"
monthly_archive_link: "%B %Y"
tr:
other_news: Diğer Haberler
Expand Down Expand Up @@ -1345,7 +1345,7 @@ locales:
text: Ruby за двадцать минут
url: /ru/documentation/quickstart/
ruby_from_other_languages:
text: Ruby из других языков
text: В Ruby из других языков
url: /ru/documentation/ruby-from-other-languages/
explore:
text: <strong>Исследуйте</strong> новый мир…
Expand All @@ -1362,41 +1362,41 @@ locales:
text: Истории успеха
url: /ru/documentation/success-stories/
participate:
text: <strong>Проявите себя</strong> в дружелюбном и развивающемся сообществе.
text: <strong>Примите участие</strong> в дружелюбном и развивающемся сообществе.
mailing_lists:
text: Почтовые рассылки
url: /ru/community/mailing-lists/
description: |
Разговор о Ruby в кругу программистов со всего мира.
Разговоры о Ruby в кругу программистов со всего мира.
user_groups:
text: Группы пользователей
url: /ru/community/user-groups/
description: |
Встреча с Ruby-программистами рядом с Вами.
Познакомьтесь с рубистами рядом с вами.
weblogs:
text: Блоги
url: /ru/community/weblogs/
description: |
Read about what’s happening right now in the Ruby community.
Читайте о том, что происходит в сообществе Ruby прямо сейчас.
ruby_core:
text: Ядро Ruby
url: /ru/community/ruby-core/
description: |
Помощь в полировке последней версии Ruby.
issue_tracking:
text: Issue Tracking
text: Решение проблем
url: https://bugs.ruby-lang.org/
description: |
Report or help solve issues in Ruby.
Сообщайте или помогите решить проблемы в Ruby.
top_ruby_projects:
text: Лучшие проекты на Ruby
more:
text: Ещё…
url: /ru/libraries/top-projects/
syndicate:
text: Syndicate
text: Синдикат
recent_news:
text: Recent News (RSS)
text: Последние новости (RSS)
url: /ru/feeds/news.rss
tr:
get_started:
Expand Down Expand Up @@ -1689,14 +1689,14 @@ locales:
unsubscribe: Unsubscribe
submit: Enviar Formulário
ru:
list: Mailing List
first_name: First Name
last_name: Last Name
email: Email Address
action: Action
subscribe: Subscribe
unsubscribe: Unsubscribe
submit: Submit Form
list: Почтовая рассылка
first_name: Имя
last_name: Фамилия
email: Email
action: Действие
subscribe: Подписаться
unsubscribe: Отписаться
submit: Отправить
# tr:
# list: Mailing List
# first_name: First Name
Expand Down Expand Up @@ -1784,11 +1784,11 @@ locales:
Por favor contacte o nosso <a href="mailto:webmaster@ruby-lang.org">webmaster</a>
para questões ou comentários relativos ao site.
ru: |
This website was generated with Ruby using <a href="http://www.jekyllrb.com/">Jekyll</a>.
It is proudly maintained by members of the Ruby community.
Please contribute on <a href="https://github.com/ruby/www.ruby-lang.org/">GitHub</a>
or contact our <a href="mailto:webmaster@ruby-lang.org">webmaster</a>
for questions or comments concerning this website.
Данный сайт сгенерирован на Ruby с использованием <a href="http://www.jekyllrb.com/">Jekyll</a>.
Он с гордостью поддерживается членами сообщества Ruby. Пожалуйста, участвуйте в разработке на
<a href="https://github.com/ruby/www.ruby-lang.org/">GitHub</a> или свяжитесь с нашим
<a href="mailto:webmaster@ruby-lang.org">администратором</a> если у вас есть вопросы или комментарии по
данному веб-сайту.
tr: |
Bu site Ruby ile kodlanmış olup, <a href="http://www.jekyllrb.com/">Jekyll</a> ile güçlendirilmiştir.
Ruby topluluğunun üyeleri tarafından gururla sürdürülmektedir.
Expand Down
8 changes: 4 additions & 4 deletions ru/examples/cities.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ layout: nil
---

{% highlight ruby %}
# Ruby knows what you
# mean, even if you
# want to do math on
# an entire Array
# Ruby понимает,
# что вы имеете ввиду,
# даже если вы хотите производить
# вычисления на целом массиве
cities = %w[ London
Oslo
Paris
Expand Down
6 changes: 3 additions & 3 deletions ru/examples/greeter.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: nil
---

{% highlight ruby %}
# The Greeter class
# Класс Greeter
class Greeter
def initialize(name)
@name = name.capitalize
Expand All @@ -14,9 +14,9 @@ class Greeter
end
end

# Create a new object
# Создаем новый объект
g = Greeter.new("world")

# Output "Hello World!"
# Результат будет "Hello World!"
g.salute
{% endhighlight %}
14 changes: 7 additions & 7 deletions ru/examples/hello_world.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ layout: nil
---

{% highlight ruby %}
# The famous Hello World
# Program is trivial in
# Ruby. Superfluous:
# Знаменитая программа
# Hello World очень проста с
# Ruby. Здесь будут лишними:
#
# * A "main" method
# * Newline
# * Semicolons
# * Метод "main"
# * Перенос строки
# * Точки с запятой
#
# Here is the Code:
# Вот и сам код:

puts "Hello World!"
{% endhighlight %}
8 changes: 4 additions & 4 deletions ru/examples/i_love_ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ layout: nil
---

{% highlight ruby %}
# Output "I love Ruby"
# Результат выполнения: "I love Ruby"
say = "I love Ruby"
puts say

# Output "I *LOVE* RUBY"
# Результат выполнения: "I *LOVE* RUBY"
say['love'] = "*love*"
puts say.upcase

# Output "I *love* Ruby"
# five times
# Результат выполнения: пять раз выводится
# "I *love* Ruby"
5.times { puts say }
{% endhighlight %}
22 changes: 17 additions & 5 deletions ru/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,25 @@
<h1>Ruby это...</h1>

<p>
Динамический язык программирования с открытыми исходными кодами
сфокусированный на простоте и продуктивности. Он имеет элегантный
синтаксис, который естественнен для чтения и лёгок для написания.
Динамический язык программирования с открытым исходным кодом с
упором на простоту и продуктивность. Он обладает элегантным
синтаксисом, который приятно читать и легко писать.
</p>

<a href="about/">Подробнее...</a>
<a href="about/">Узнать больше...</a>
</div>
<div id="code"></div>
<div id="code"><noscript><div class="highlight"><pre><code class="ruby">
<span class="c1"># Знаменитая программа</span>
<span class="c1"># Hello World очень проста с</span>
<span class="c1"># Ruby. Здесь будут лишними:</span>
<span class="c1">#</span>
<span class="c1"># * Метод &quot;main&quot;</span>
<span class="c1"># * Перенос строки</span>
<span class="c1"># * Точки с запятой</span>
<span class="c1">#</span>
<span class="c1"># Вот и сам код:</span>

<span class="nb">puts</span> <span class="s2">&quot;Hello World!&quot;</span>
</code></pre></div></noscript></div>

---