diff --git a/resources/lang/en/profile.php b/resources/lang/en/profile.php index 01c79be62..9fb9d10db 100644 --- a/resources/lang/en/profile.php +++ b/resources/lang/en/profile.php @@ -4,5 +4,6 @@ return [ 'emptyTimeline' => 'This user has no posts yet!', 'emptyFollowers' => 'This user has no followers yet!', 'emptyFollowing' => 'This user is not following anyone yet!', + 'emptySaved' => 'You haven’t saved any post yet!', 'savedWarning' => 'Only you can see what you’ve saved', ]; diff --git a/resources/lang/pl/navmenu.php b/resources/lang/pl/navmenu.php index 07a94950d..dda1fbdd9 100644 --- a/resources/lang/pl/navmenu.php +++ b/resources/lang/pl/navmenu.php @@ -9,5 +9,6 @@ return [ 'settings' => 'Ustawienia', 'admin' => 'Administrator', 'logout' => 'Wyloguj się', + 'directMessages' => 'Wiadomości bezpośrednie', ]; diff --git a/resources/lang/pl/notification.php b/resources/lang/pl/notification.php index 7e453397f..d24e0b9e0 100644 --- a/resources/lang/pl/notification.php +++ b/resources/lang/pl/notification.php @@ -2,9 +2,9 @@ return [ - 'likedPhoto' => 'polubił Twoje zdjęcie.', - 'startedFollowingYou' => 'zaczął Cię obserwować.', - 'commented' => 'skomentował Twój wpis', - 'mentionedYou' => 'wspomniał o Tobie.' + 'likedPhoto' => 'polubił(a) Twoje zdjęcie.', + 'startedFollowingYou' => 'zaczął(-ęła) Cię obserwować.', + 'commented' => 'skomentował(a) Twój wpis', + 'mentionedYou' => 'wspomniał(a) o Tobie.' ]; diff --git a/resources/lang/pl/profile.php b/resources/lang/pl/profile.php index cdd0d56ae..74dd75da0 100644 --- a/resources/lang/pl/profile.php +++ b/resources/lang/pl/profile.php @@ -4,5 +4,6 @@ return [ 'emptyTimeline' => 'Ten użytkownik nie opublikował jeszcze niczego!', 'emptyFollowers' => 'Nikt nie obserwuje tego użytkownika!', 'emptyFollowing' => 'Ten użytkownik nie obserwuje nikogo!', - 'savedWarning' => 'Tylko Ty widzisz to, co zapisałeś', + 'emptySaved' => 'Nie zapisałeś(-aś) jeszcze niczego!', + 'savedWarning' => 'Tylko Ty widzisz to, co zapisałeś(-aś)', ]; diff --git a/resources/views/profile/show.blade.php b/resources/views/profile/show.blade.php index 8c402e094..fa502ae1a 100644 --- a/resources/views/profile/show.blade.php +++ b/resources/views/profile/show.blade.php @@ -56,7 +56,11 @@
-

{{ __('profile.emptyTimeline') }}

+ @if($owner && request()->is('*/saved')) +

{{ __('profile.emptySaved') }}

+ @else +

{{ __('profile.emptyTimeline') }}

+ @endif