From 2d8b36191cc99cf4a82d3b4e00f14ceece559e39 Mon Sep 17 00:00:00 2001 From: monkeyless <52392953+monkeyless@users.noreply.github.com> Date: Mon, 1 Jul 2019 06:12:27 +0200 Subject: [PATCH 1/2] Add russian translations --- resources/lang/ru/helpcenter.php | 26 ++++++++++++++++++++++++++ resources/lang/ru/navmenu.php | 19 +++++++++++++++++++ resources/lang/ru/notification.php | 10 ++++++---- resources/lang/ru/profile.php | 9 ++++++++- resources/lang/ru/site.php | 18 ++++++++++++++++++ resources/lang/ru/timeline.php | 2 +- 6 files changed, 78 insertions(+), 6 deletions(-) create mode 100644 resources/lang/ru/helpcenter.php create mode 100644 resources/lang/ru/navmenu.php create mode 100644 resources/lang/ru/site.php diff --git a/resources/lang/ru/helpcenter.php b/resources/lang/ru/helpcenter.php new file mode 100644 index 000000000..a15dee613 --- /dev/null +++ b/resources/lang/ru/helpcenter.php @@ -0,0 +1,26 @@ + 'Помощь', + 'whatsnew' => 'Что нового', + + 'gettingStarted' => 'Первые шаги', + 'sharingMedia' => 'Поделиться', + 'profile' => 'Профиль', + 'stories' => 'Истории', + 'hashtags' => 'Хэштэти', + 'discover' => 'Discover', + 'directMessages' => 'Личное сообщение', + 'timelines' => 'Ленты', + 'embed' => 'Вставить', + + 'communityGuidelines' => 'Правила сообщества', + 'whatIsTheFediverse' => 'Что такое fediverse?', + 'controllingVisibility' => 'Управление видимостью', + 'blockingAccounts' => 'Заблокированные аккаунты', + 'safetyTips' => 'Советы по безопасности', + 'reportSomething' => 'Пожаловаться', + 'dataPolicy' => 'Конфиденциальность' + +]; diff --git a/resources/lang/ru/navmenu.php b/resources/lang/ru/navmenu.php new file mode 100644 index 000000000..2946aa3b9 --- /dev/null +++ b/resources/lang/ru/navmenu.php @@ -0,0 +1,19 @@ + 'Поиск', + 'home' => 'Home', + 'local' => 'локальная', + 'network' => 'Сеть', + 'discover' => 'Discover', + 'viewMyProfile' => 'Локальная лента', + 'myTimeline' => 'Моя лента', + 'publicTimeline' => 'Глобальная лента', + 'remoteFollow' => 'Remote Follow', + 'settings' => 'Настройки', + 'admin' => 'Администрация', + 'logout' => 'Выйти', + 'directMessages' => 'Личные сообщения', + +]; diff --git a/resources/lang/ru/notification.php b/resources/lang/ru/notification.php index f503d8040..53e023d60 100644 --- a/resources/lang/ru/notification.php +++ b/resources/lang/ru/notification.php @@ -1,8 +1,10 @@ 'оценил(а) Ваше фото.', - 'startedFollowingYou' => 'теперь подписан(а) на Вас.', - + 'likedPhoto' => 'оценил(-а) Ваш пост.', + 'likedComment' => 'оценил(-а) Ваш комментарий.', + 'startedFollowingYou' => 'теперь подписан(-а) на Вас.', + 'commented' => 'оставил(-а) комментарий под Вашим постом.', + 'mentionedYou' => 'упомянул(-а) Вас.', + 'shared' => 'поделился(-ась) Вашим постом.', ]; diff --git a/resources/lang/ru/profile.php b/resources/lang/ru/profile.php index 581a0b0a1..dc482e1e4 100644 --- a/resources/lang/ru/profile.php +++ b/resources/lang/ru/profile.php @@ -4,5 +4,12 @@ return [ 'emptyTimeline' => 'У этого пользователя пока нет ни одного поста!', 'emptyFollowers' => 'У этого пользователя пока нет подписчиков!', 'emptyFollowing' => 'Этот пользователь пока ни на кого не подписан!', - 'savedWarning' => 'Только можете видеть то, что сохранили', + 'emptySaved' => 'Вы еще не сохранили ни одного поста!', + 'savedWarning' => 'Только можете видеть сохранённые посты', + 'privateProfileWarning' => 'Эта учётная запись скрыта', + 'alreadyFollow' => 'Уже подписаны на :username?', + 'loginToSeeProfile' => 'что бы посмотреть их фото и видео.', + + 'status.disabled.header' => 'Учётная запись недоступна', + 'status.disabled.body' => 'Нам очень жаль, эта учётная запись недоступна на данный момент. Пожалуйста, попробуйте позже.', ]; diff --git a/resources/lang/ru/site.php b/resources/lang/ru/site.php new file mode 100644 index 000000000..c86536f7f --- /dev/null +++ b/resources/lang/ru/site.php @@ -0,0 +1,18 @@ + 'О нас', + 'help' => 'Помощь', + 'language' => 'Язык', + 'fediverse' => 'Fediverse', + 'opensource' => 'Open Source', + 'terms' => 'Правила', + 'privacy' => 'Конфиденциальность', + 'l10nWip' => 'Мы все еще работаем над локализацией', + 'currentLocale' => 'Выбранный язык', + 'selectLocale' => 'выберите один из поддерживаемых языков', + 'contact' => 'Контакт', + 'contact-us' => 'Связь с нами', + +]; diff --git a/resources/lang/ru/timeline.php b/resources/lang/ru/timeline.php index 3afae346e..6276ac802 100644 --- a/resources/lang/ru/timeline.php +++ b/resources/lang/ru/timeline.php @@ -2,6 +2,6 @@ return [ - 'emptyPersonalTimeline' => 'Ваша лента записей пуста.', + 'emptyPersonalTimeline' => 'Ваша лента пуста.', ]; From d68ed14e864238e05d826bd934e3cd08691e0584 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 9 Jul 2019 21:57:00 -0600 Subject: [PATCH 2/2] Update account views --- resources/views/account/activity.blade.php | 10 +++++++ .../views/account/follow-requests.blade.php | 28 +++++++++++-------- 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/resources/views/account/activity.blade.php b/resources/views/account/activity.blade.php index 0243a6d1d..fbf2b5757 100644 --- a/resources/views/account/activity.blade.php +++ b/resources/views/account/activity.blade.php @@ -2,6 +2,16 @@ @section('content')
+
+ +
@endsection diff --git a/resources/views/account/follow-requests.blade.php b/resources/views/account/follow-requests.blade.php index f8fd7bfc3..276915f89 100644 --- a/resources/views/account/follow-requests.blade.php +++ b/resources/views/account/follow-requests.blade.php @@ -1,20 +1,19 @@ @extends('layouts.app') @section('content') +
+ +
-
-
- -
-
+ @if($followers->count() > 0)
    @foreach($followers as $follow)
  • @@ -38,6 +37,11 @@
    {{$followers->links()}}
    + @else +
    +

    You don't have any follow requests

    +
    + @endif