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

Commit

Permalink
Localize download delete confirmation
Browse files Browse the repository at this point in the history
Fixes #7958
  • Loading branch information
Liunkae authored and bridiver committed Apr 4, 2017
1 parent 629e5d0 commit 39af2de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/extensions/brave/locales/en-US/downloads.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ downloadCompleted=Completed
downloadInProgress=Downloading: {{downloadPercent}}
downloadInProgressUnknownTotal=Downloading…
downloadPaused=Paused: {{downloadPercent}}
downloadDeleteConfirmation=Delete?

downloadPause.title=Pause Download
downloadResume.title=Resume Download
Expand Down
2 changes: 1 addition & 1 deletion app/renderer/components/downloadItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class DownloadItem extends ImmutableComponent {
})}>
{
this.props.deleteConfirmationVisible
? <div className='deleteConfirmation'>Delete?<Button l10nId='ok' className='primaryButton confirmDeleteButton' onClick={this.onDeleteDownload} /></div>
? <div className='deleteConfirmation'><span data-l10n-id='downloadDeleteConfirmation' /><Button l10nId='ok' className='primaryButton confirmDeleteButton' onClick={this.onDeleteDownload} /></div>
: null
}
<div className='downloadActions'>
Expand Down

0 comments on commit 39af2de

Please sign in to comment.