updated template list to using new components

This commit is contained in:
John Mitchell
2018-01-11 11:20:12 -05:00
parent 815cd829e0
commit aea37654e2
42 changed files with 1077 additions and 802 deletions

View File

@@ -61,9 +61,16 @@ function BaseStringService (namespace) {
this.SAVE = t.s('SAVE');
this.OK = t.s('OK');
this.deleteResource = {
HEADER: t.s('Delete'),
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.error = {
HEADER: t.s('Error!'),
CALL: ({ path, status }) => t.s('Call to {{ path }} failed. DELETE returned status: {{ status }}.', { path, status })
};
this.ALERT = ({ header, body }) => t.s('{{ header }} {{ body }}', { header, body });
/**
* This getter searches the extending class' namespace first for a match then falls back to