Skip to content
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

issue #218: add russian translations #245

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
3 changes: 2 additions & 1 deletion docs/LANGUAGE_TRANSLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ constructor() {
orm,
oji,
dak,
vie
vie,
rus
}
this.detectLanguage()
}
Expand Down
89 changes: 89 additions & 0 deletions src/i18n/rus.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"about": "Описание",
"accepting": "Принемают",
"address": "Адрес",
"aid_distribution_hours": "Часы работы распредиления помощи",
"aid_receiving_hours": "Часы работы приема помощи",
"both": "оба",
"close": "Закрыть",
"closed": "закрыто",
"closing_for_distributing_donations": "Закрываются для распределения пожертвований",
"closing_for_receiving_donations": "Закрываются для приема пожертвований",
"covid_request": "Пожалуйста, соблюдайте требования к социальному дистанцированию и маскам.",
"currently_open_for_distributing": "Открыты для распределения пожертвований",
"currently_open_for_receiving": "Открыты для приема пожертвований",
"distributing": "распространение",
"filter": "Фильтр",
"filter_by_both": "открыто для того и другого",
"filter_by_closed": "Закрыто",
"filter_by_distributing": "открыто для распределения пожертвований",
"filter_by_receiving": "открыто для сбора пожертвований",
"filter_by_unknown": "Статус неизвестен",
"for_distribution": "для распределения",
"for_receiving": "для приема",
"help_info": "Помощь/информация",
"hide_list_button": "Cпрятать список мест",
"id": "Russian",
"lang_name": "Русский",
"lang_name_in_eng": "Russian",
"lang_select": "Выбрать язык",
"language": "Язык",
"last_updated": "Последьная актуализация",
"learn_more": "Выучите больше",
"locale": "rus",
"moment_M": "месец",
"moment_d": "день",
"moment_future": "через 5 минут",
"moment_h": "час",
"moment_m": "минуту",
"moment_past": "5 минут назад",
"moment_s": "несколько секунд",
"moment_y": "год",
"name": "Имя",
"neighborhood": "Район",
"not_accepting": "Не принемают",
"notes": "Заметки",
"opening_for_distributing_dontations": "Открываются для распределения пожертвований",
"opening_for_receiving_dontations": "Открываются для приема пожертвований",
"opening_soon": "Скоро открываются!",
"page_title": "Карта взаимопомощи Городoв-близнецoв",
"project_contact": "Послать имейл",
"project_data": "Посмотреть на данные в ",
"project_description": "Карта взаимопомощи Городoв-близнецoв администрируется волонтерами и относиться к <a href=\"http://tcmap.org\">Twin Cities Mutual Aid Project</a>",
"project_feedback": "Написать отзыв",
"project_learn": "Узнать больше о проекте на",
"receiving": "получение",
"safety_reminder": "Напоминание о безопасности",
"seeking_money": "Ищут деньги",
"seeking_money_link": "Пожертвовать",
"seeking_volunteers_badge": "Ищут волонтеров",
"show_list_button": "Показать список мест",
"social_distance": "Социальная дистанция",
"sort_by": "Oтсортировать по",
"sort_by_name": "По алфавиту (имя)",
"sort_by_neighborhood": "По алфавиту (район)",
"sort_by_seeking_money": "Нужны деньги",
"sort_by_seeking_volunteers_badge": "Нужны волонтеры",
"sort_by_status": "Статус места",
"sort_by_urgent_need": "Срочная нужда сначала",
"this_project": "этот проект",
"time_day": "день",
"time_days": "дней",
"time_future": "в",
"time_hour": "час",
"time_hours": "часов",
"time_minute": "минутa",
"time_minutes": "минут",
"time_month": "месяцов",
"time_past": "назад",
"time_seconds": "секунд",
"time_week": "неделя",
"time_year": "год",
"time_years": "лет",
"urgent_need": "Нужно срочно",
"vote": "голос",
"wash_hands": "Мойте руки",
"wear_masks": "Носите маски",
"welcome": "Добро пожаловать!",
"welcome_blurb": "Города-близнецы взаимопомощь-- это обновленный ресурс на сайтах взаимопомощи в Городах-близнецах."
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've had a few more values added to the translation spreadsheet, would you mind adding those here?

4 changes: 3 additions & 1 deletion src/js/translator.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import som from './../i18n/som.json'
import spa from './../i18n/spa.json'
import vie from './../i18n/vie.json'
import fra from './../i18n/fra.json'
import rus from './../i18n/rus.json'

class Translator {
constructor() {
Expand All @@ -33,7 +34,8 @@ class Translator {
hin,
kar,
man,
fra
fra,
rus
}
this.detectLanguage()
}
Expand Down