1
0
Fork 0

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

Frontend ui refactor
This commit is contained in:
daniel 2019-03-11 03:06:13 -06:00 committed by GitHub
commit 2a9a770dba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 15 deletions

View File

@ -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);
}

View File

@ -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' => 'ダイレクトメッセージ',
];

View File

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