File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed
src/sentry/static/sentry/app/views/stream Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -215,16 +215,20 @@ const StreamActions = React.createClass({
215215 disabled = { ! this . state . anySelected }
216216 onAction = { this . onMerge }
217217 confirmationQuestion = {
218- ( count ) =>
219- tn ( 'Are you sure you want to merge %d issue?' ,
220- 'Are you sure you want to merge %d issues?' ,
221- count )
218+ this . state . allInQuerySelected
219+ ? t ( 'Are you sure you want to merge all issues matching this search query?' )
220+ : ( count ) =>
221+ tn ( 'Are you sure you want to merge %d issue?' ,
222+ 'Are you sure you want to merge %d issues?' ,
223+ count )
222224 }
223225 confirmLabel = {
224- ( count ) =>
225- tn ( 'Merge %d selected issue' ,
226- 'Merge %d selected issues' ,
227- count )
226+ this . state . allInQuerySelected
227+ ? t ( 'Merge all issues' )
228+ : ( count ) =>
229+ tn ( 'Merge %d selected issue' ,
230+ 'Merge %d selected issues' ,
231+ count )
228232 }
229233 selectAllActive = { this . state . pageSelected } >
230234 { t ( 'Merge Events' ) }
You can’t perform that action at this time.
0 commit comments