Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #6880 from brave/issue-6878
Browse files Browse the repository at this point in the history
include current year in PDF statement copyright footer
  • Loading branch information
bbondy authored Jan 27, 2017
2 parents 787d99f + c8db8cc commit 69e2f6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/extensions/brave/locales/en-US/preferences.properties
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ contributionStatementFooterNoteBoxHeading1=Note:
contributionStatementFooterNoteBoxBody1=To protect your privacy, this Brave Payments contribution statement is not saved, recorded or logged anywhere other than on your device (this computer). It cannot be retrieved from Brave in the event of data loss on your device.
contributionStatementFooterNoteBoxHeading2=About publisher distributions
contributionStatementFooterNoteBoxBody2=Brave Payments uses a statistical model that removes any ability to identify Brave users based on their browsing behaviors. Anonymous contributions are first combined in the Brave vault and then redistributed into publisher wallets which are confirmed and then collected by the publisher.
contributionStatementCopyrightFooter=©2016 Brave Software. Brave is a registered trademark of Brave Software. Site names may be trademarks or registered trademarks of the site owner.
contributionStatementCopyrightFooter=©2016 - {{currentYear}} Brave Software. Brave is a registered trademark of Brave Software. Site names may be trademarks or registered trademarks of the site owner.
contributionStatements=Contribution statements
listOfContributionStatements=List of contribution statements
bitcoinAddress=Your Brave wallet address is:
Expand Down
6 changes: 5 additions & 1 deletion js/about/contributionStatement.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,13 @@ class ContributionStatement extends ImmutableComponent {
}

get ContributionStatementPageFooter () {
const l10nDataArgs = {
currentYear: new Date().getFullYear().toString(10)
}

return (
<div className='pageFooterBox'>
<span className='pageFooterBody' data-l10n-id='contributionStatementCopyrightFooter' />
<span className='pageFooterBody' data-l10n-id='contributionStatementCopyrightFooter' data-l10n-args={JSON.stringify(l10nDataArgs)} />
</div>
)
}
Expand Down

0 comments on commit 69e2f6b

Please sign in to comment.