Browse Source

Merge pull request #1009 from pixelfed/frontend-ui-refactor

Frontend ui refactor
daniel 6 years ago
parent
commit
2a9a770dba

+ 1 - 1
app/Http/Controllers/ProfileController.php

@@ -158,7 +158,7 @@ class ProfileController extends Controller
 
     public function showAtomFeed(Request $request, $user)
     {
-        $profile = $user = Profile::whereUsername($user)->firstOrFail();
+        $profile = $user = Profile::whereNull('status')->whereNull('domain')->whereUsername($user)->whereIsPrivate(false)->firstOrFail();
         if($profile->status != null) {
             return $this->accountCheck($profile);
         }

+ 18 - 13
resources/lang/ja/navmenu.php

@@ -1,14 +1,19 @@
-<?php return [
-	'search' => '検索',
-	'home' => 'ホーム',
-	'local' => 'ローカル',
-	'discover' => '見つける',
-	'viewMyProfile' => '自分のプロフィールを見る',
-	'myTimeline' => 'タイムライン',
-	'publicTimeline'	=> 'パブリックタイムライン',
-	'remoteFollow' => 'リモートフォロー',
-	'settings' => '設定',
-	'admin' => '管理者',
-	'logout' => 'ログアウト',
-	'directMessages'	=> 'ダイレクトメッセージ',
+<?php
+
+return [
+
+	'search' 	 => '検索',
+	'home'		 => 'ホーム',
+	'local'		 => 'ローカル',
+	'network'	 => 'ネットワーク',
+	'discover'	 => '見つける',
+	'viewMyProfile'	 => '自分のプロフィールを見る',
+	'myTimeline'	 => 'タイムライン',
+	'publicTimeline' => 'パブリックタイムライン',
+	'remoteFollow'	 => 'リモートフォロー',
+	'settings'	 => '設定',
+	'admin'		 => '管理者',
+	'logout'	 => 'ログアウト',
+	'directMessages' => 'ダイレクトメッセージ',
+
 ];

+ 1 - 1
resources/lang/ja/site.php

@@ -7,7 +7,7 @@ return [
 	'opensource'	=> 'オープンソース',
 	'terms'         => '規約',
 	'privacy'       => 'プライバシー',
-	'l10nWip'       => '私達はローカライズサポートに取り組んでいます',
+	'l10nWip'       => '私達はローカライズサポートに取り組んでいます',
 	'currentLocale' => '現在のロケール',
 	'selectLocale'  => 'リストの中からロケール(言語)を選択してください',
 ];