Commit fab9c79b authored by Philip Kirkbride's avatar Philip Kirkbride
Browse files

make Links sidebar use translations if availible

parent ad59adaf
......@@ -4,7 +4,7 @@ import tt from 'counterpart';
const SidebarLinks = ({ username }) => (
<div className="c-sidebar__module">
<div className="c-sidebar__header">
<h3 className="c-sidebar__h3">Links</h3>
<h3 className="c-sidebar__h3">{tt('g.links')}</h3>
</div>
<div className="c-sidebar__content">
<ul className="c-sidebar__list">
......@@ -16,7 +16,7 @@ const SidebarLinks = ({ username }) => (
<li className="c-sidebar__list-item">
<a className="c-sidebar__link" href={'/@' + username}>
My blog
{tt('g.my_blog')}
</a>
</li>
<li className="c-sidebar__list-item">
......@@ -24,7 +24,7 @@ const SidebarLinks = ({ username }) => (
className="c-sidebar__link"
href={'/@' + username + '/transfers'}
>
My wallet
{tt('g.my_wallet')}
</a>
</li>
{/* <li className="c-sidebar__list-item"><a className="c-sidebar__link" href={username + ''}>Pay someone</a></li> */}
......
......@@ -416,11 +416,11 @@ export default class UserProfile extends React.Component {
if (isMyAccount) {
if (section === 'blog') {
page_title = tt('g.myblog');
page_title = tt('g.my_blog');
} else if (section === 'comments') {
page_title = tt('g.mycomments');
page_title = tt('g.my_comments');
} else if (section === 'recent-replies') {
page_title = tt('g.myreplies');
page_title = tt('g.my_replies');
} else if (section === 'settings') {
page_title = tt('g.settings');
} else if (section === 'curation-rewards') {
......
......@@ -40,15 +40,18 @@
"in_reply_to": "in reply to",
"insufficient_balance": "Insufficient balance",
"invalid_amount": "Invalid amount",
"links": "Links",
"joined": "Joined",
"loading": "Loading",
"login": "Login",
"logout": "Logout",
"memo": "Memo",
"mute": "Mute",
"myblog": "My blog",
"mycomments": "My comments",
"myreplies": "Replies to me",
"my_blog": "My blog",
"my_comments": "My comments",
"my_feed": "My feed",
"my_replies": "Replies to me",
"my_wallet": "My wallet",
"new": "New",
"newer": "Newer",
"next": "Next",
......@@ -110,7 +113,6 @@
"toggle_nightmode": "Toggle Night Mode",
"all_tags": "All tags",
"all_tags_mobile": "All content",
"my_feed": "My feed",
"transfer": "Transfer ",
"trending_topics": "Trending Topics",
"type": "Type",
......
......@@ -43,9 +43,9 @@
"logout": "로그아웃",
"memo": "메모",
"mute": "차단",
"myblog": "내 블로그",
"mycomments": "내가 쓴 댓글",
"myreplies": "받은 댓글",
"my_blog": "내 블로그",
"my_comments": "내가 쓴 댓글",
"my_replies": "받은 댓글",
"new": "최신글",
"newer": "최근",
"next": "다음",
......
......@@ -43,9 +43,9 @@
"logout": "Wyloguj",
"memo": "Memo",
"mute": "Blokuj",
"myblog": "mój blog",
"mycomments": "moje komentarze",
"myreplies": "odpowiada mi",
"my_blog": "mój blog",
"my_comments": "moje komentarze",
"my_replies": "odpowiada mi",
"new": "nowe",
"newer": "Nowsze",
"next": "Następny",
......
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