1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-02-01 09:56:46 +01:00

refs #151 Translate at account profile

This commit is contained in:
AkiraFukushima 2018-08-12 21:14:12 +09:00
parent 09c8e2679b
commit cab5a98287
3 changed files with 29 additions and 7 deletions

View File

@ -123,5 +123,16 @@
"copy_link_to_toot": "Copy Link to Toot",
"delete": "Delete",
"via": "via {{application}}"
},
"side_bar": {
"account_profile": {
"follows_you": "Follows you",
"doesnt_follow_you": "Doesn't follow you",
"open_in_browser": "Open in Browser",
"manage_list_memberships": "Manage List Memberships",
"toots": "Toots",
"follows": "Follows",
"followers": "Followers"
}
}
}

View File

@ -123,5 +123,16 @@
"copy_link_to_toot": "コピー",
"delete": "削除する",
"via": "{{application}} より"
},
"side_bar": {
"account_profile": {
"follows_you": "フォローされています",
"doesnt_follow_you": "フォローされていません",
"open_in_browser": "ブラウザで開く",
"manage_list_memberships": "リストの管理",
"toots": "トゥート",
"follows": "フォロー",
"followers": "フォロワー"
}
}
}

View File

@ -8,8 +8,8 @@
<div class="header">
<div class="follow-follower" v-if="relationship !== null && relationship !== ''">
<div class="follower-status">
<span class="status" v-if="relationship.followed_by">Follows you</span>
<span class="status" v-else>Doesn't follow you</span>
<span class="status" v-if="relationship.followed_by">{{ $t('side_bar.account_profile.follows_you') }}</span>
<span class="status" v-else>{{ $t('side_bar.account_profile.doesnt_follow_you') }}</span>
</div>
<div class="follow-status">
<div v-if="relationship.following" class="unfollow" @click="unfollow(account)">
@ -28,10 +28,10 @@
<div class="popper">
<ul class="menu-list">
<li role="button" @click="openBrowser(account)">
Open in Browser
{{ $t('side_bar.account_profile.open_in_browser') }}
</li>
<li role="button" @click="addToList(account)">
Manage List Memberships
{{ $t('side_bar.account_profile.manage_list_memberships') }}
</li>
</ul>
</div>
@ -57,19 +57,19 @@
<el-row class="basic-info">
<el-col :span="8" :class="activeTab === 1 ? 'info info-active' : 'info'" @click="changeTab">
<el-button type="text" class="tab" @click="changeTab(1)">
<div class="title">Toots</div>
<div class="title">{{ $t('side_bar.account_profile.toots') }}</div>
<div class="count">{{ account.statuses_count }}</div>
</el-button>
</el-col>
<el-col :span="8" :class="activeTab === 2 ? 'info info-active' : 'info'">
<el-button type="text" class="tab" @click="changeTab(2)">
<div class="title">Follows</div>
<div class="title">{{ $t('side_bar.account_profile.follows') }}</div>
<div class="count">{{ account.following_count }}</div>
</el-button>
</el-col>
<el-col :span="8" :class="activeTab === 3 ? 'info info-active' : 'info'">
<el-button type="text" class="tab" @click="changeTab(3)">
<div class="title">Followers</div>
<div class="title">{{ $t('side_bar.account_profile.followers') }}</div>
<div class="count">{{ account.followers_count }}</div>
</el-button>
</el-col>