Skip to content

Commit 98efdfd

Browse files
committed
minor i18n fixes
1 parent ebd23c4 commit 98efdfd

File tree

5 files changed

+13
-26
lines changed

5 files changed

+13
-26
lines changed

controller/action/DownloadActions.class.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ public static function getOses()
2222
public static function executeGet()
2323
{
2424
$email = static::param('e');
25+
$user = [];
26+
2527
if ($email)
2628
{
2729
$emailIsValid = filter_var($email, FILTER_VALIDATE_EMAIL);
2830

29-
$user = [];
3031
if ($emailIsValid)
3132
{
3233
$user = Prefinery::findUser($email);

data/i18n/en.yaml

+7-15
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# age settings are set to English, and the same label renders as "Assista, Compa
77
# rtilhe, Ganhe" if the user's settings are set to Portuguese.
88
#
9-
#
9+
#
1010

1111
description:
1212
allowed: Download/install the latest version of LBRY for %os%.
@@ -18,7 +18,7 @@ description:
1818
news: Access information and content in ways you never dreamed possible. Earn credits for your unused bandwidth and diskspace.
1919
no-os: Download or install the latest version of LBRY.
2020
press: LBRY Press Kit. Information and media for those who want to report on LBRY.
21-
publish: Publish your content on the world's first platform that leaves creators in control.
21+
publish: Publish your content on the world's first platform that leaves creators in control.
2222
team: LBRY is founded by a team passionate about connecting producers and consumers and breaking down broken models. Learn more about them.
2323
test: WHAT WHAT
2424
what: Access information and content in ways you never dreamed possible. Earn credits for your unused bandwidth and diskspace.
@@ -31,11 +31,10 @@ download:
3131
earn1: Earn
3232
# this many credits
3333
earn2: for completing the survey below after install.
34-
email1: After download, use email
34+
email1: After download, use email
3535
email2: and the code you received via email to receive your credits.
3636
email3: If you received a printed code and it does not work after you download, check your email for a different code.
37-
for-os1: Download/install the latest version of LBRY for %os%.
38-
for-os2: ""
37+
for-os: LBRY for %os%
3938
github: Or, view the source and compile instructions on
4039
osx: Arrival is expected by July 5.
4140
osx2: Download for OS X
@@ -47,7 +46,6 @@ download:
4746
verb: Download
4847
windows: Arrival is expected this month.
4948
works: "Works with Ubuntu, Debian, or any distro with <code>apt</code> or <code>dpkg</code>."
50-
worth: "*What is this worth? Who knows! But it is the largest reward we will <strong>ever</strong> offer to early adopters."
5149
email:
5250
address: Email
5351
code: Invite Code
@@ -109,23 +107,17 @@ page:
109107
# This might be the case if required by the syntax of the translated languag
110108
# e.
111109
more: more on referrals
110+
referone: <strong>1 LBRYian</strong> has joined because of you.
111+
refermany: <strong>%count% LBRYians</strong> have joined because of you.
112112
status: Your Sharing Status
113-
# status1, status2 and status3 form a single sentence. status1 is blank in E
114-
# nglish, might not be in the translated language.
115-
status1: ""
116-
# this many people
117-
status2: LBRYians
118-
# status1 and status2 are the subject of the sentence and are written in bol
119-
# d, hence the separation between them and the rest.
120-
status3: have joined because of you.
121113
zero: Zero
122114
notfound: Page Not Found
123115
team:
124116
advisory: Advisory Team
125117
alex:
126118
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.
127119
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.
128-
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>.
120+
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>.
129121
title: Economic Advisor
130122
grin:
131123
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/template/download/_feedbackPrompt.php

-8
This file was deleted.

view/template/download/_refer.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
<?php js_end() ?>
1010
</p>
1111
<h3>{{page.refer.status}}</h3>
12-
<p><strong>{{page.refer.status1}}<?php echo $prefineryUser['share_signups_count'] ?: __('page.refer.zero') ?> {{page.refer.status2}}</strong> {{page.refer.status3}}
12+
<p><?php echo __($prefineryUser['share_signups_count'] == 1 ? 'page.refer.referone' : 'page.refer.refermany',
13+
['%count%' => $prefineryUser['share_signups_count']]) ?>
14+
1315
<?php
1416
if ($prefineryUser['share_signups_count'] <= 0)
1517
{

view/template/download/getAllowed.php

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

0 commit comments

Comments
 (0)