minor i18n fixes

This commit is contained in:
Jeremy Kauffman 2016-08-03 06:08:03 -04:00
parent ebd23c4810
commit 98efdfd2a0
5 changed files with 13 additions and 26 deletions

View file

@ -22,11 +22,12 @@ class DownloadActions extends Actions
public static function executeGet()
{
$email = static::param('e');
$user = [];
if ($email)
{
$emailIsValid = filter_var($email, FILTER_VALIDATE_EMAIL);
$user = [];
if ($emailIsValid)
{
$user = Prefinery::findUser($email);

View file

@ -6,7 +6,7 @@
# age settings are set to English, and the same label renders as "Assista, Compa
# rtilhe, Ganhe" if the user's settings are set to Portuguese.
#
#
#
description:
allowed: Download/install the latest version of LBRY for %os%.
@ -18,7 +18,7 @@ description:
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.
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.
@ -31,11 +31,10 @@ download:
earn1: Earn
# this many credits
earn2: for completing the survey below after install.
email1: After download, use email
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: ""
for-os: LBRY for %os%
github: Or, view the source and compile instructions on
osx: Arrival is expected by July 5.
osx2: Download for OS X
@ -47,7 +46,6 @@ download:
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
@ -109,15 +107,9 @@ page:
# This might be the case if required by the syntax of the translated languag
# e.
more: more on referrals
referone: <strong>1 LBRYian</strong> has joined because of you.
refermany: <strong>%count% LBRYians</strong> have joined because of you.
status: Your Sharing Status
# status1, status2 and status3 form a single sentence. status1 is blank in E
# nglish, might not be in the translated language.
status1: ""
# this many people
status2: LBRYians
# 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
notfound: Page Not Found
team:
@ -125,7 +117,7 @@ page:
alex:
parag1: Alex Tabarrok is Bartley J. Madden Chair in Economics at the <a href="http://mercatus.org/" class="link-primary">Mercatus Center</a> and a professor of economics at <a href="https://gmu.edu" class="link-primary">George Mason University</a>. He specializes in intellectual property reform, the effectiveness of markets, and the justice system.
parag2: Tabarrok is the coauthor, with Mercatus colleague Tyler Cowen, of the popular economics blog <a class="link-primary" href="http://www.marginalrevolution.com/"><em>Marginal Revolution</em></a> and cofounder of the online educational platform <a class="link-primary" href="http://mruniversity.com/">Marginal Revolution University</a>. He is the coauthor of <em><a href="http://www.amazon.com/Modern-Principles-Economics-Tyler-Cowen/dp/1429239972" class="link-primary">Modern Principles of Economics</a></em>, and author of the recent book <em><a href="http://www.amazon.com/Launching-The-Innovation-Renaissance-Market-ebook/dp/B006C1HX24" class="link-primary">Launching the Innovation Renaissance</em></a>. His articles have appeared in the<em> New York Times</em>, the<em> Washington Post</em>, the<em> Wall Street Journal</em>, and many other prestigious publications.
parag3: Tabarrok received his PhD in economics from <a class="link-primary" href="http://en.wikipedia.org/wiki/George_Mason_University" title="George Mason University">George Mason University</a>.
parag3: Tabarrok received his PhD in economics from <a class="link-primary" href="http://en.wikipedia.org/wiki/George_Mason_University" title="George Mason University">George Mason University</a>.
title: Economic Advisor
grin:
parag1: One of Alex's job titles is Wizard, so named because he can seemingly understand and utilize new technologies faster than they can be created.

View file

@ -1,8 +0,0 @@
<?php $reward = CreditApi::getCurrentTestCreditReward() ?>
<p>
{{download.earn1}} <?php echo i18n::formatCredits($reward) ?>* {{download.earn2}}
</p>
<div class="meta spacer1">
{{download.worth}}
</div>

View file

@ -9,7 +9,9 @@
<?php js_end() ?>
</p>
<h3>{{page.refer.status}}</h3>
<p><strong>{{page.refer.status1}}<?php echo $prefineryUser['share_signups_count'] ?: __('page.refer.zero') ?> {{page.refer.status2}}</strong> {{page.refer.status3}}
<p><?php echo __($prefineryUser['share_signups_count'] == 1 ? 'page.refer.referone' : 'page.refer.refermany',
['%count%' => $prefineryUser['share_signups_count']]) ?>
<?php
if ($prefineryUser['share_signups_count'] <= 0)
{

View file

@ -5,7 +5,7 @@
<main class="column-fluid">
<div class="span7">
<div class="cover cover-dark cover-dark-grad content content-stretch content-dark">
<h1>{{download.for-os}}LBRY for <?php echo $osTitle ?> <span class="<?php echo $osIcon ?>"></span>{{download.for-os2}}</h1>
<h1><?php echo __('download.for-os', ['%os%' => $osTitle]) ?> <span class="<?php echo $osIcon ?>"></span></h1>
<?php if ($downloadHtml): ?>
<?php echo View::render('download/_betaNotice') ?>
<h4>{{download.verb}}</h4>