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

Commit 7c2e101

Browse files
authored
Merge pull request #7988 from Liunkae/download-confirmation-l10
Localize download delete confirmation
2 parents 5ef197f + 4d934dd commit 7c2e101

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/extensions/brave/locales/en-US/downloads.properties

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ downloadCompleted=Completed
77
downloadInProgress=Downloading: {{downloadPercent}}
88
downloadInProgressUnknownTotal=Downloading…
99
downloadPaused=Paused: {{downloadPercent}}
10+
downloadDeleteConfirmation=Delete?
1011

1112
downloadPause.title=Pause Download
1213
downloadResume.title=Resume Download

app/renderer/components/downloadItem.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class DownloadItem extends ImmutableComponent {
9191
})}>
9292
{
9393
this.props.deleteConfirmationVisible
94-
? <div className='deleteConfirmation'>Delete?<Button l10nId='ok' className='primaryButton confirmDeleteButton' onClick={this.onDeleteDownload} /></div>
94+
? <div className='deleteConfirmation'><span data-l10n-id='downloadDeleteConfirmation' /><Button l10nId='ok' className='primaryButton confirmDeleteButton' onClick={this.onDeleteDownload} /></div>
9595
: null
9696
}
9797
<div className='downloadActions'>

0 commit comments

Comments
 (0)