update language and stylign for all warning/danger modals

This commit is contained in:
John Mitchell
2019-04-08 14:10:06 -04:00
parent fa232a94bd
commit 81267c7212
4 changed files with 40 additions and 14 deletions

View File

@@ -153,7 +153,7 @@ class OrganizationsList extends Component {
handleOpenOrgDeleteModal () {
const { results, selected } = this.state;
const warningTitle = i18nMark('Delete Organization');
const warningTitle = i18nMark(`Delete Organization${selected.length > 1 ? 's' : ''}`);
const warningMsg = i18nMark('Are you sure you want to delete:');
const orgsToDelete = [];