From b87815194d01397d6df7bcb5ce5952667857100f Mon Sep 17 00:00:00 2001 From: Alexey Gaziev Date: Mon, 24 Jun 2013 12:42:35 +0800 Subject: [PATCH] Complete initial files for :ru branch (ru) --- _config.yml | 72 +++++++++++++++++++------------------- ru/examples/cities.md | 8 ++--- ru/examples/greeter.md | 6 ++-- ru/examples/hello_world.md | 14 ++++---- ru/examples/i_love_ruby.md | 8 ++--- ru/index.html | 22 +++++++++--- 6 files changed, 71 insertions(+), 59 deletions(-) diff --git a/_config.yml b/_config.yml index 7768bd1fe0..74b9dc422c 100644 --- a/_config.yml +++ b/_config.yml @@ -235,7 +235,7 @@ locales: url: /ru/community - text: Новости url: /ru/news - - text: безопасность + - text: Безопасность url: /ru/security - text: О Ruby url: /ru/about @@ -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: @@ -380,7 +380,7 @@ locales: ko: "번역자:" pl: "Tłumaczone przez" pt: "Traduzido por" -# ru: + ru: "Перевел:" tr: "Çeviri:" # zh_cn: # zh_tw: @@ -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 @@ -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 @@ -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: Исследуйте новый мир… @@ -1362,41 +1362,41 @@ locales: text: Истории успеха url: /ru/documentation/success-stories/ participate: - text: Проявите себя в дружелюбном и развивающемся сообществе. + text: Примите участие в дружелюбном и развивающемся сообществе. 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: @@ -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 @@ -1784,11 +1784,11 @@ locales: Por favor contacte o nosso webmaster para questões ou comentários relativos ao site. ru: | - This website was generated with Ruby using Jekyll. - It is proudly maintained by members of the Ruby community. - Please contribute on GitHub - or contact our webmaster - for questions or comments concerning this website. + Данный сайт сгенерирован на Ruby с использованием Jekyll. + Он с гордостью поддерживается членами сообщества Ruby. Пожалуйста, участвуйте в разработке на + GitHub или свяжитесь с нашим + администратором если у вас есть вопросы или комментарии по + данному веб-сайту. tr: | Bu site Ruby ile kodlanmış olup, Jekyll ile güçlendirilmiştir. Ruby topluluğunun üyeleri tarafından gururla sürdürülmektedir. diff --git a/ru/examples/cities.md b/ru/examples/cities.md index 0edf377dfd..8c1ee27fcc 100644 --- a/ru/examples/cities.md +++ b/ru/examples/cities.md @@ -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 diff --git a/ru/examples/greeter.md b/ru/examples/greeter.md index 162427d29f..aadb23c75d 100644 --- a/ru/examples/greeter.md +++ b/ru/examples/greeter.md @@ -3,7 +3,7 @@ layout: nil --- {% highlight ruby %} -# The Greeter class +# Класс Greeter class Greeter def initialize(name) @name = name.capitalize @@ -14,9 +14,9 @@ class Greeter end end -# Create a new object +# Создаем новый объект g = Greeter.new("world") -# Output "Hello World!" +# Результат будет "Hello World!" g.salute {% endhighlight %} diff --git a/ru/examples/hello_world.md b/ru/examples/hello_world.md index 4531cb26b4..76b5e4ecde 100644 --- a/ru/examples/hello_world.md +++ b/ru/examples/hello_world.md @@ -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 %} diff --git a/ru/examples/i_love_ruby.md b/ru/examples/i_love_ruby.md index d7fa1d6a1f..160c8b9239 100644 --- a/ru/examples/i_love_ruby.md +++ b/ru/examples/i_love_ruby.md @@ -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 %} diff --git a/ru/index.html b/ru/index.html index ca6f7582b1..af1c749eaf 100644 --- a/ru/index.html +++ b/ru/index.html @@ -8,13 +8,25 @@

Ruby это...

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

- Подробнее... + Узнать больше... -
+
---