Merge pull request #1335 from mabashian/1260-org-credentials

Check for org credentials and present the count to the user before org deletion
This commit is contained in:
Michael Abashian
2018-04-19 09:58:00 -04:00
committed by GitHub
4 changed files with 72 additions and 34 deletions

View File

@@ -73,6 +73,7 @@ function BaseStringService (namespace) {
this.deleteResource = {
HEADER: t.s('Delete'),
USED_BY: resourceType => t.s('The {{ resourceType }} is currently being used by other resources.', { resourceType }),
UNAVAILABLE: resourceType => t.s('Deleting this {{ resourceType }} will make the following resources unavailable.', { resourceType }),
CONFIRM: resourceType => t.s('Are you sure you want to delete this {{ resourceType }}?', { resourceType })
};