Commit c1c19836 authored by Evan's avatar Evan
Browse files

add localization to the text

parent b74b9624
......@@ -345,7 +345,9 @@ export default class UserProfile extends React.Component {
tab_content = (
<div>
<a href="#" onClick={this.toggleShowResteem}>
{showResteem ? 'Hide resteems' : 'Show all'}
{showResteem
? tt('user_profile.hide_resteems')
: tt('user_profile.show_all')}
</a>
<PostsList
account={account.name}
......
......@@ -440,7 +440,9 @@
"zero": "No posts",
"one": "1 post",
"other": "%(count)s posts"
}
},
"hide_resteems": "Hide Resteems",
"show_all": "Show All"
},
"authorrewards_jsx": {
"estimated_author_rewards_last_week":
......
......@@ -423,7 +423,9 @@
"zero": "Sin publicaciones",
"one": "1 publicación",
"other": "%(count)s posts"
}
},
"hide_resteems": "Hide Resteems",
"show_all": "Show All"
},
"authorrewards_jsx": {
"estimated_author_rewards_last_week":
......
......@@ -441,7 +441,9 @@
"zero": "Pas d'article",
"one": "1 article",
"other": "%(count)s articles"
}
},
"hide_resteems": "Hide Resteems",
"show_all": "Show All"
},
"authorrewards_jsx": {
"estimated_author_rewards_last_week":
......
......@@ -430,7 +430,9 @@
"zero": "Nessun post",
"one": "1 post",
"other": "%(count)s post"
}
},
"hide_resteems": "Hide Resteems",
"show_all": "Show All"
},
"authorrewards_jsx": {
"estimated_author_rewards_last_week":
......
......@@ -427,7 +427,9 @@
"zero": "投稿がありません",
"one": "投稿1件",
"other": "投稿%(count)s 件"
}
},
"hide_resteems": "Hide Resteems",
"show_all": "Show All"
},
"authorrewards_jsx": {
"estimated_author_rewards_last_week": "過去1週間の推定投稿者報酬",
......
......@@ -425,7 +425,9 @@
"zero": "게시글 없음",
"one": "하나의 게시글",
"other": "%(count)s 게시글"
}
},
"hide_resteems": "Hide Resteems",
"show_all": "Show All"
},
"authorrewards_jsx": {
"estimated_author_rewards_last_week": "이번 주 예상 저자 보상금액",
......
......@@ -411,7 +411,9 @@
"zero": "Brak wpisów",
"one": "1 wpis",
"other": "%(count)s wpisów"
}
},
"hide_resteems": "Hide Resteems",
"show_all": "Show All"
},
"authorrewards_jsx": {
"estimated_author_rewards_last_week":
......
......@@ -438,7 +438,9 @@
"few": "%(count)s поста",
"many": "%(count)s постов",
"other": "%(count)s постов"
}
},
"hide_resteems": "Hide Resteems",
"show_all": "Show All"
},
"authorrewards_jsx": {
"estimated_author_rewards_last_week":
......
......@@ -390,7 +390,9 @@
"zero": "没有帖子",
"one": "1个帖子",
"other": "%(count)s个帖子"
}
},
"hide_resteems": "Hide Resteems",
"show_all": "Show All"
},
"authorrewards_jsx": {
"estimated_author_rewards_last_week": "预计上周作者奖励",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment