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

Commit

Permalink
Adds translations
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Mar 11, 2017
1 parent 63f1823 commit 90f2314
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 6 additions & 0 deletions app/extensions/brave/locales/en-US/preferences.properties
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@ ledgerBackupTitle=Backup your Brave wallet
ledgerBackupContent=Below, you will find the anonymized recovery keys that are required if you ever lose access to this computer.
minimumPageTimeSetting=Minimum page time before logging a visit
minimumVisitsSetting=Minimum visits for publisher relevancy
minimumPageTimeLow=5 seconds
minimumPageTimeMedium=8 seconds
minimumPageTimeHigh=1 minute
minimumVisitsLow=1 visit
minimumVisitsMedium=5 visits
minimumVisitsHigh=10 visits
backupLedger=Backup your wallet
balanceRecovered={{balance}} was recovered and transferred to your Brave wallet.
recoverLedger=Recover your wallet
Expand Down
12 changes: 6 additions & 6 deletions app/renderer/components/preferences/payment/advanceSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ class AdvanceSettingsContent extends ImmutableComponent {
data-test-id='durationSelector'
defaultValue={minDuration || 8000}
onChange={changeSetting.bind(null, this.props.onChangeSetting, settings.MINIMUM_VISIT_TIME)}>
<option value='5000'>5 seconds</option>
<option value='8000'>8 seconds</option>
<option value='60000'>1 minute</option>
<option data-l10n-id='minimumPageTimeLow' value='5000' />
<option data-l10n-id='minimumPageTimeMedium' value='8000' />
<option data-l10n-id='minimumPageTimeHigh' value='60000' />
</SettingDropdown>
</SettingItem>
</SettingsList>
Expand All @@ -51,9 +51,9 @@ class AdvanceSettingsContent extends ImmutableComponent {
data-test-id='visitSelector'
defaultValue={minPublisherVisits || 1}
onChange={changeSetting.bind(null, this.props.onChangeSetting, settings.MINIMUM_VISITS)}>
<option value='1'>1 visits</option>
<option value='5'>5 visits</option>
<option value='10'>10 visits</option>
<option data-l10n-id='minimumVisitsLow' value='1' />
<option data-l10n-id='minimumVisitsMedium' value='5' />
<option data-l10n-id='minimumVisitsHigh' value='10' />
</SettingDropdown>
</SettingItem>
</SettingsList>
Expand Down

0 comments on commit 90f2314

Please sign in to comment.