i18n version 0.1 complete

This commit is contained in:
Bruno 2016-07-30 21:57:48 -04:00
parent fc7e28a29a
commit 97d512607b
19 changed files with 130 additions and 65 deletions

View file

@ -9,19 +9,45 @@
#
description:
allowed: Download/install the latest version of LBRY for %os%.
faq: Frequently asked questions about LBRY.
get: Download/install the latest version of LBRY.
home: Meet LBRY, a content sharing and publishing platform that is decentralized and owned by its users.
join: Follow along and receive updates about LBRY via email.
learn: Learn more about LBRY, the technology that puts you back in control of the internet.
news: Access information and content in ways you never dreamed possible. Earn credits for your unused bandwidth and diskspace.
no-os: Download or install the latest version of LBRY.
press: LBRY Press Kit. Information and media for those who want to report on LBRY.
publish: Publish your content on the world's first platform that leaves creators in control.
team: LBRY is founded by a team passionate about connecting producers and consumers and breaking down broken models. Learn more about them.
test: WHAT WHAT
what: Access information and content in ways you never dreamed possible. Earn credits for your unused bandwidth and diskspace.
download:
beta: This is still a beta.
creator: Creator? Skip the Line
credits: Claim Credits
curse: While LBRY is now live, it may crash, work unreliably, or inadvertently put a curse on your family for generations (a common programming error). Use at your own risk.
deb: Download .deb
earn1: Earn
# this many credits
earn2: for completing the survey below after install.
email1: After download, use email
email2: and the code you received via email to receive your credits.
email3: If you received a printed code and it does not work after you download, check your email for a different code.
for-os1: Download/install the latest version of LBRY for %os%.
for-os2: ""
github: Or, view the source and compile instructions on
osx: Arrival is expected by July 5.
osx2: Download for OS X
other: Other Systems
popular: Popular publishers can earn $1,000 and early access for publishing via LBRY.
select: Select an OS
signup: LBRY is currently in invite only mode. Enter your email to join the waitlist, or your email and invite code for access.
unavailable: LBRY is not yet out on your platform. You will receive an email as we expand LBRY to your preferred platform.
verb: Download
windows: Arrival is expected this month.
works: "Works with Ubuntu, Debian, or any distro with <code>apt</code> or <code>dpkg</code>."
worth: "*What is this worth? Who knows! But it is the largest reward we will <strong>ever</strong> offer to early adopters."
email:
address: Email
code: Invite Code
@ -38,14 +64,36 @@ global:
learn: Learn More
sentence: Watch, read and play in a decentralized digital library controlled by the community.
tagline: Play, Share, Earn.
learn:
100: LBRY in 100 Seconds
art: Art in the Internet Age
essay: Read the Essay
exchange: Bittrex Exchange
explore: Explore
explorer: Block Explorer
how: Learn how LBRY will forever improve how we create and share with one another.
join: Join Us
nerd: Nerd Out
rebels: Learn more about the relentless rebels changing the internet.
team: About The Team
nav:
get: Get
home: Home
learn: Learn
news: News
news:
# It is worth noting other languages use different date formats.
author: Author
desk: The Front Desk
musings: News and musings from the LBRY team.
next: Next
prev: Previous
page:
faq:
back: Back to FAQ
header: Frequently Asked Questions
funnier: One day this will be funnier but today is not that day.
join: Join Email List
refer:
count0: Don't fret, we still like you.
count1: Great start! Thanks for sharing.
@ -70,7 +118,8 @@ page:
# status1 and status2 are the subject of the sentence and are written in bol
# d, hence the separation between them and the rest.
status3: have joined because of you.
zero: Zero
zero: Zero
notfound: Page Not Found
team:
advisory: Advisory Team
alex:
@ -126,6 +175,17 @@ page:
parag1: Michael has spent years managing, designing, and overseeing a data science team and framework used to make multi-million dollar purchasing decisions for a large media company. He brings knowledge of the media distribution business, software development expertise, business development experience, technical skill and a network of corporate contacts.
parag2: Michael's ability to rapidly adapt new skill sets makes him a technical and business pocketknife of our startup team. He has a PhD in systems engineering from the University of Pennsylvania, with a focus on distributed systems.
title: Founder, Chief Technical Officer
updates: Join our email list and receive updates about LBRY via email.
press:
advisory: Advisory Team
archive: Download Media Archive
includes: This archive includes all logos, screenshots, and bios, but does not include all text on this page.
info: Information and media for those who want to write or report on LBRY.
title: LBRY Press Kit
logos: Logos and Product Images
team: Founding Team
used: Any information or media on this page or in our kit can be re-used or otherwise published without attribution.
zip: Download ZIP
publish:
abundance: Experience digital abundance.
allow: Allowance for us to promote availability of your content.
@ -154,7 +214,12 @@ publish:
why: Why LBRY?
youget: What You Get
yougive: What You Give
rss:
description: Recent news about LBRY
lang: en
title: LBRY News
social:
also: Also On
github: GitHub (source code)
header: Build With Us
humansheader: Humans
@ -165,6 +230,7 @@ social:
tweets: Tweets by @LBRYio
title:
home: LBRY - Play, Share, Earn
join: Join LBRY Email List
learn: Learn About LBRY
publish: Publish
refer: Share and Earn

View file

@ -5,7 +5,7 @@
<img src="/img/team/<?php echo $photoImgSrc ?>" alt="<?php echo __('Photo of %name%', ['%name%' => $authorName]) ?>"/>
</div>
<div class="span9">
<div class="meta">Author</div>
<div class="meta">{{news.author}}</div>
<h3><?php echo $authorName ?></h3>
<?php echo $authorBioHtml ?>
</div>

View file

@ -2,7 +2,7 @@
<div class="prev span6">
<?php if ($prevPost = $post->getPrevPost()): ?>
<div class="prev-next-label">
<a href="/<?php echo $prevPost->getRelativeUrl() ?>" class="link-primary"> Previous</a>
<a href="/<?php echo $prevPost->getRelativeUrl() ?>" class="link-primary"> {{news.prev}}</a>
</div>
<div class="meta">
<a href="/<?php echo $prevPost->getRelativeUrl() ?>">
@ -14,7 +14,7 @@
<div class="next span6">
<?php if ($nextPost = $post->getNextPost()): ?>
<div class="prev-next-label">
<a href="/<?php echo $nextPost->getRelativeUrl() ?>" class="link-primary">Next </a>
<a href="/<?php echo $nextPost->getRelativeUrl() ?>" class="link-primary">{{news.next}} </a>
</div>
<div class="meta">
<a class="prev-next-title" href="/<?php echo $nextPost->getRelativeUrl() ?>">

View file

@ -7,7 +7,7 @@
<div class="content">
<br />
<div class="meta">
<a href="/faq"><< Back to FAQ</a>
<a href="/faq"><< {{page.faq.back}}</a>
</div>
<h1><?php echo htmlentities($post->getTitle()) ?></h1>
<?php echo $post->getContentHtml() ?>

View file

@ -4,8 +4,8 @@
<div class="hero hero-quote hero-img spacer2" style="background-image: url(/img/cover-team.jpg)">
<div class="hero-content-wrapper">
<div class="hero-content text-center">
<h1 class="cover-title">The Front Desk</h1>
<h2 class="cover-subtitle">News and musings from the LBRY team.</h2>
<h1 class="cover-title">{{news.desk}}</h1>
<h2 class="cover-subtitle">{{news.musings}}</h2>
</div>
</div>
</div>

View file

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>LBRY News</title>
<title>{{rss.title}}</title>
<link>https://lbry.io<?php echo ContentActions::URL_NEWS ?></link>
<description>Recent news about LBRY</description>
<description>{{rss.description}}</description>
<generator>https://github.com/lbryio/lbry.io</generator>
<language>en</language>
<language>{{rss.lang}}</language>
<?php //<lastBuildDate>Sat, 07 Sep 2002 09:42:31 GMT</lastBuildDate> ?>
<atom:link href="https://lbry.io<?php echo ContentActions::URL_NEWS . '/' . ContentActions::RSS_SLUG ?>" rel="self" type="application/rss+xml" />
<?php foreach ($posts as $post): ?>

View file

@ -1,5 +1,4 @@
<div class="notice notice-info">
<strong>This is still a beta.</strong>
While LBRY is now live, it may crash, work unreliably, or inadvertently put a curse on your family for generations (a common programming error).
Use at your own risk.
<strong>{{download.beta}}</strong>
{{download.curse}}
</div>

View file

@ -1,8 +1,8 @@
<?php $reward = CreditApi::getCurrentTestCreditReward() ?>
<p>
Earn <?php echo i18n::formatCredits($reward) ?>* for completing the survey below after install.
{{download.earn1}} <?php echo i18n::formatCredits($reward) ?>* {{download.earn2}}
</p>
<div class="meta spacer1">
*What is this worth? Who knows! But it is the largest reward we will <strong>ever</strong> offer to early adopters.
{{download.worth}}
</div>

View file

@ -9,10 +9,10 @@
data-analytics-action="Download"
data-analytics-label="Linux"
*/ ?>
>Download .deb</a>
>{{download.deb}}</a>
</p>
<div class="meta">
Works with Ubuntu, Debian, or any distro with <code>apt</code> or <code>dpkg</code>.
{{download.works}}
Prefer to build from source? Go <a href="https://github.com/lbryio/lbry" class="link-primary">here</a>.
</div>
</div>

View file

@ -9,9 +9,9 @@
data-analytics-action="Download"
data-analytics-label="OSX"
*/ ?>
>Download for OS X</a>
>{{download.osx2}}</a>
</p>
<p class="meta">Or, view the source and compile instructions on
<p class="meta">{{download.github}}
<a href="https://github.com/lbryio/lbry-setup/blob/master/README_OSX.md" class="link-primary">GitHub</a>.
</p>
</div>

View file

@ -1,8 +1,8 @@
<div class="notice notice-info">
<p>LBRY is not yet out on your platform. You will receive an email as we expand LBRY to your preferred platform.</p>
<p>{{download.unavailable}}</p>
<?php if ($os == DownloadActions::OS_OSX): ?>
<p>Arrival is expected by July 5.</p>
<p>{{download.osx}}</p>
<?php elseif ($os == DownloadActions::OS_WINDOWS): ?>
<p>Arrival is expected this month.</p>
<p>{{download.windows}}</p>
<?php endif ?>
</div>

View file

@ -1,10 +1,10 @@
<?php Response::setMetaDescription('Download or install the latest version of LBRY.') ?>
<?php Response::setMetaTitle(__('Get LBRY')) ?>
<?php Response::setMetaDescription(__('description.no-os')) ?>
<?php Response::setMetaTitle(__('global.get')) ?>
<?php echo View::render('nav/_header', ['isDark' => false]) ?>
<main class="column-fluid">
<div class="span6">
<?php echo View::render('download/_list', [
'title' => __('Select an OS')
'title' => __('download.select')
]) ?>
</div>
<div class="span6">

View file

@ -1,19 +1,19 @@
<?php Response::setMetaDescription(__('Download/install the latest version of LBRY for %os%.', ['%os%' => $osTitle])) ?>
<?php Response::setMetaDescription(__('description.allowed', ['%os%' => $osTitle])) ?>
<?php NavActions::setNavUri('/get') ?>
<?php echo View::render('nav/_header', ['isDark' => false]) ?>
<main class="column-fluid">
<div class="span7">
<div class="cover cover-dark cover-dark-grad content content-stretch content-dark">
<h1>LBRY for <?php echo $osTitle ?> <span class="<?php echo $osIcon ?>"></span></h1>
<h1>{{download.for-os}}LBRY for <?php echo $osTitle ?> <span class="<?php echo $osIcon ?>"></span>{{download.for-os2}}</h1>
<?php if ($downloadHtml): ?>
<?php echo View::render('download/_betaNotice') ?>
<h4>Download</h4>
<h4>{{download.verb}}</h4>
<?php echo $downloadHtml ?>
<h4>Claim Credits</h4>
<h4>{{download.credits}}</h4>
<?php if ($prefineryUser): ?>
<p>After download, use email <strong><?php echo $prefineryUser['email'] ?></strong> and the code you received via email to receive your credits.</p>
<div class="meta">If you received a printed code and it does not work after you download, check your email for a different code.</div>
<p>{{download.email1}}<strong><?php echo $prefineryUser['email'] ?></strong>{{download.email2}}</p>
<div class="meta">{{download.email3}}</div>
<?php endif ?>
<?php else: ?>
<?php echo View::render('download/_unavailable', [

View file

@ -1,7 +1,7 @@
<?php echo View::render('nav/_header', ['isDark' => false]) ?>
<main>
<div class="content">
<h1>Page Not Found</h1>
<p>One day this will be funnier but today is not that day.</p>
<h1>{{page.notfound}}</h1>
<p>{{page.funnier}}</p>
</div>
</main>

View file

@ -1,13 +1,13 @@
<?php Response::setMetaTitle(__('Join LBRY Email List')) ?>
<?php Response::setMetaDescription(__('Follow along and receive updates about LBRY via email.')) ?>
<?php Response::setMetaTitle(__('title.join')) ?>
<?php Response::setMetaDescription(__('description.join')) ?>
<?php echo View::render('nav/_header', ['isDark' => false ]) ?>
<main>
<div class="content">
<div class="row-fluid">
<div class="span9">
<h1><?php echo __('Join Email List') ?></h1>
<h1><?php echo __('page.join') ?></h1>
<p>
<?php echo __('Join our email list and receive updates about LBRY via email.') ?>
<?php echo __('page.updates') ?>
</p>
<?php echo View::render('mail/_joinList', [
'submitLabel' => 'Subscribe',
@ -17,7 +17,7 @@
]) ?>
</div>
<div class="span3">
<h3><?php echo __('Also On') ?></h3>
<h3><?php echo __('social.also') ?></h3>
<?php echo View::render('social/_list') ?>
</div>
</div>

View file

@ -5,16 +5,16 @@
<div class="span6">
<div class="cover cover-dark cover-dark-grad">
<div class="content content-dark content-tile">
<h1 class="cover-title cover-title-tile">LBRY in 100 Seconds</h1>
<h1 class="cover-title cover-title-tile">{{learn.100}}</h1>
<?php echo View::render('download/_videoIntro') ?>
</div>
</div>
</div>
<div class="span6">
<div class="cover cover-dark cover-center content content-dark" style="background-image:url(/img/altamira-bison.jpg)">
<h2 class="cover-title cover-title-tile">Art in the Internet Age</h2>
<p class="cover-subtitle text-center" style="max-width: 660px">Learn how LBRY will forever improve how we create and share with one another.</p>
<a href="/what" class="btn-alt"><?php echo __('Read the Essay') ?></a>
<h2 class="cover-title cover-title-tile">{{learn.art}}</h2>
<p class="cover-subtitle text-center" style="max-width: 660px">{{learn.how}}</p>
<a href="/what" class="btn-alt"><?php echo __('learn.essay') ?></a>
</div>
</div>
<div class="span6">
@ -22,19 +22,19 @@
<div class=" content content-light content-tile">
<div class="row-fluid">
<div class="span6">
<h3>Explore</h3>
<h3>{{learn.explore}}</h3>
<div class="spacer1">
<a href="/faq" class="link-primary">Frequently Asked Questions</a>
<a href="/faq" class="link-primary">{{page.faq.header}}</a>
</div>
<div class="spacer1">
<a href="http://explorer.lbry.io" class="link-primary">Block Explorer</a>
<a href="http://explorer.lbry.io" class="link-primary">{{learn.explorer}}</a>
</div>
<div class="spacer1">
<a href="https://bittrex.com/Market/Index?MarketName=BTC-LBC" class="link-primary">Bittrex Exchange</a>
<a href="https://bittrex.com/Market/Index?MarketName=BTC-LBC" class="link-primary">{{learn.exchange}}</a>
</div>
</div>
<div class="span6">
<h3>Nerd Out</h3>
<h3>{{learn.nerd}}</h3>
<p>LBRY is 100% open source in the <a class="link-primary" href="https://en.wikipedia.org/wiki/The_Cathedral_and_the_Bazaar">Bazaar tradition</a>.</p>
<?php echo View::render('social/_listDev') ?>
</div>
@ -47,12 +47,12 @@
<div class="content content-light content-tile">
<div class="row-fluid">
<div class="span6">
<h3><?php echo __('The Team') ?></h3>
<p><?php echo __('Learn more about the relentless rebels changing the internet.') ?></p>
<a href="/team" class="btn-alt"><?php echo __('About The Team') ?></a>
<h3><?php echo __('page.team.header') ?></h3>
<p><?php echo __('page.rebels') ?></p>
<a href="/team" class="btn-alt"><?php echo __('learn.team') ?></a>
</div>
<div class="span6">
<h3>Join Us</h3>
<h3>{{learn.join}}</h3>
<?php echo View::render('social/_list') ?>
</div>
</div>

View file

@ -1,24 +1,24 @@
<?php if (!isset($showHeader) || $showHeader): ?>
<?php Response::setMetaDescription('LBRY Press Kit. Information and media for those who want to report on LBRY.') ?>
<?php Response::setMetaDescription('description.press') ?>
<?php NavActions::setNavUri('/learn') ?>
<?php echo View::render('nav/_header', ['isDark' => false]) ?>
<?php endif ?>
<main>
<div class="content content-light markdown">
<h1>LBRY Press Kit</h1>
<h1>{{press.title}}</h1>
<p>
Information and media for those who want to write or report on LBRY.
Any information or media on this page or in our kit can be re-used or otherwise published without attribution.
{{press.info}}
{{press.used}}
</p>
<h3>Download Media Archive</h3>
<h3>{{press.archive}}</h3>
<div class="spacer-half">
<a href="/press-kit.zip" class="btn-primary"><span class="icon icon-download"></span><span class="btn-label">Download ZIP</span></a>
<a href="/press-kit.zip" class="btn-primary"><span class="icon icon-download"></span><span class="btn-label">{{press.zip}}</span></a>
</div>
<p>This archive includes all logos, screenshots, and bios, but does not include all text on this page.</p>
<p>{{press.includes}}</p>
<?php echo View::render('press-kit.md') ?>
<h3 id="images">Logos and Product Images</h3>
<h3 id="images">{{press.logos}}</h3>
<div class="column-fluid">
<?php foreach(glob(ROOT_DIR . '/web/img/press/*') as $imgPath): ?>
<div class="span6">
@ -31,7 +31,7 @@
<?php endforeach ?>
</div>
<h3>Founding Team</h3>
<h3>{{press.team}}</h3>
<?php foreach(['jeremy-kauffman', 'michael-zargham', 'josh-finer', 'alex-grintsvayg', 'mike-vine', 'jimmy-kiselak', 'jack-robison'] as $person): ?>
<?php list($metadata, $bioHtml) = View::parseMarkdown('bio/' . $person . '.md') ?>
<section class="row-fluid">
@ -52,7 +52,7 @@
</div>
</section>
<?php endforeach ?>
<h3>Advisory Team</h3>
<h3>{{press.advisory}}</h3>
<?php foreach(['alex-tabarrok', 'stephan-kinsella', 'michael-huemer'] as $person): ?>
<?php list($metadata, $bioHtml) = View::parseMarkdown('bio/' . $person . '.md') ?>
<section class="row-fluid">

View file

@ -1,11 +1,11 @@
<?php NavActions::setNavUri('/learn') ?>
<?php Response::addMetaImage('https://lbry.io/img/cover-team.jpg') ?>
<?php Response::setMetaDescription('LBRY is founded by a team passionate about connecting producers and consumers and breaking down broken models. Learn more about them.') ?>
<?php Response::setMetaDescription('description.team') ?>
<?php echo View::render('nav/_header', ['isDark' => false]) ?>
<main>
<div class="content photo-grid spacer2">
<h1>The Team</h1>
<p>LBRY is made possible by more people than we could ever list here. The founding team is listed below.</p>
<h1>{{page.team.header}}</h1>
<p>{{page.team.people}}</p>
<?php foreach([
['jeremy-kauffman', 'michael-zargham'],
['josh-finer', 'alex-grintsvayg'],

View file

@ -1,4 +1,4 @@
<?php Response::setMetaDescription('WHAT WHAT') ?>
<?php Response::setMetaDescription('description.test') ?>
<?php NavActions::setNavUri('/get') ?>
<?php echo View::render('nav/header', ['isDark' => false]) ?>
<main>