finalization of i18n setup to i18n branch

This commit is contained in:
Intnick 2017-05-25 19:31:10 +02:00
parent e8bfd592a6
commit 1e311905b8
2 changed files with 5 additions and 4 deletions

View file

@ -74,5 +74,6 @@
"Connecting": "Connecting",
"Discover": "Discover",
"Fetching content": "Fetching content",
"What's this?": "What's this?"
}
"What's this?": "What's this?",
"Community Content is a public space where anyone can share content with the rest of the LBRY community. Bid on the names \"one,\" \"two,\" \"three,\" \"four\" and \"five\" to put your content here!": "Community Content is a public space where anyone can share content with the rest of the LBRY community. Bid on the names \"one,\" \"two,\" \"three,\" \"four\" and \"five\" to put your content here!"
}

View file

@ -5,7 +5,7 @@ import FileCard from 'component/fileCard';
import {BusyMessage} from 'component/common.js';
import ToolTip from 'component/tooltip.js';
const communityCategoryToolTipText = __('Community Content is a public space where anyone can share content with the ' +
const communityCategoryToolTipText = ('Community Content is a public space where anyone can share content with the ' +
'rest of the LBRY community. Bid on the names "one," "two," "three," "four" and ' +
'"five" to put your content here!');
@ -17,7 +17,7 @@ const FeaturedCategory = (props) => {
return <div className="card-row card-row--small">
<h3 className="card-row__header">{category}
{category && category.match(/^community/i) && <ToolTip label={__("What's this?")} body={communityCategoryToolTipText} className="tooltip--header" />}
{category && category.match(/^community/i) && <ToolTip label={__("What's this?")} body={__(communityCategoryToolTipText)} className="tooltip--header" />}
</h3>
{names && names.map(name => <FileCard key={name} displayStyle="card" uri={lbryuri.normalize(name)} />)}
</div>