mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
minor i18n fixes
This commit is contained in:
parent
ebd23c4810
commit
98efdfd2a0
5 changed files with 13 additions and 26 deletions
|
@ -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);
|
||||
|
|
|
@ -34,8 +34,7 @@ download:
|
|||
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:
|
||||
|
|
|
@ -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>
|
||||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue