mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 15:06:02 -03:30
Defined delete string in the base with the ability to pass the resource name in
This commit is contained in:
@@ -60,6 +60,10 @@ function BaseStringService (namespace) {
|
||||
this.CANCEL = t.s('CANCEL');
|
||||
this.SAVE = t.s('SAVE');
|
||||
this.OK = t.s('OK');
|
||||
this.deleteResource = {
|
||||
USED_BY: resourceType => t.s('The {{ resourceType }} is currently being used by other resources.', { resourceType }),
|
||||
CONFIRM: resourceType => t.s('Are you sure you want to delete this {{ resourceType }}?', { resourceType })
|
||||
};
|
||||
|
||||
/**
|
||||
* This getter searches the extending class' namespace first for a match then falls back to
|
||||
|
||||
Reference in New Issue
Block a user