Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 101x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 582x 101x 101x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 61x 101x | import { Injectable } from '@angular/core'; import { I18n } from '@ngx-translate/i18n-polyfill'; export class AppConstants { public static readonly organization = 'ceph'; public static readonly projectName = 'Ceph Manager Dashboard'; public static readonly license = 'Free software (LGPL 2.1).'; } export enum URLVerbs { /* Create a new item */ CREATE = 'create', /* Make changes to an existing item */ EDIT = 'edit', /* Make changes to an existing item */ UPDATE = 'update', /* Remove an item from a container WITHOUT deleting it */ REMOVE = 'remove', /* Destroy an existing item */ DELETE = 'delete', /* Add an existing item to a container */ ADD = 'add', /* Non-standard verbs */ COPY = 'copy', CLONE = 'clone', /* Prometheus wording */ RECREATE = 'recreate', EXPIRE = 'expire' } export enum ActionLabels { /* Create a new item */ CREATE = 'Create', /* Destroy an existing item */ DELETE = 'Delete', /* Add an existing item to a container */ ADD = 'Add', /* Remove an item from a container WITHOUT deleting it */ REMOVE = 'Remove', /* Make changes to an existing item */ EDIT = 'Edit', /* */ CANCEL = 'Cancel', /* Non-standard actions */ COPY = 'Copy', CLONE = 'Clone', /* Read-only */ SHOW = 'Show', /* Prometheus wording */ RECREATE = 'Recreate', EXPIRE = 'Expire' } @Injectable({ providedIn: 'root' }) export class ActionLabelsI18n { /* This service is required as the i18n polyfill does not provide static translation */ CREATE: string; DELETE: string; ADD: string; REMOVE: string; EDIT: string; CANCEL: string; COPY: string; CLONE: string; DEEP_SCRUB: string; DESTROY: string; FLATTEN: string; MARK_DOWN: string; MARK_IN: string; MARK_LOST: string; MARK_OUT: string; PROTECT: string; PURGE: string; RENAME: string; RESTORE: string; REWEIGHT: string; ROLLBACK: string; SCRUB: string; SHOW: string; TRASH: string; UNPROTECT: string; RECREATE: string; EXPIRE: string; constructor(private i18n: I18n) { /* Create a new item */ this.CREATE = this.i18n('Create'); /* Destroy an existing item */ this.DELETE = this.i18n('Delete'); /* Add an existing item to a container */ this.ADD = this.i18n('Add'); /* Remove an item from a container WITHOUT deleting it */ this.REMOVE = this.i18n('Remove'); /* Make changes to an existing item */ this.EDIT = this.i18n('Edit'); this.CANCEL = this.i18n('Cancel'); /* Non-standard actions */ this.CLONE = this.i18n('Clone'); this.COPY = this.i18n('Copy'); this.DEEP_SCRUB = this.i18n('Deep Scrub'); this.DESTROY = this.i18n('Destroy'); this.FLATTEN = this.i18n('Flatten'); this.MARK_DOWN = this.i18n('Mark Down'); this.MARK_IN = this.i18n('Mark In'); this.MARK_LOST = this.i18n('Mark Lost'); this.MARK_OUT = this.i18n('Mark Out'); this.PROTECT = this.i18n('Protect'); this.PURGE = this.i18n('Purge'); this.RENAME = this.i18n('Rename'); this.RESTORE = this.i18n('Restore'); this.REWEIGHT = this.i18n('Reweight'); this.ROLLBACK = this.i18n('Rollback'); this.SCRUB = this.i18n('Scrub'); this.SHOW = this.i18n('Show'); this.TRASH = this.i18n('Move to Trash'); this.UNPROTECT = this.i18n('Unprotect'); /* Prometheus wording */ this.RECREATE = this.i18n('Recreate'); this.EXPIRE = this.i18n('Expire'); } } @Injectable({ providedIn: 'root' }) export class SucceededActionLabelsI18n { /* This service is required as the i18n polyfill does not provide static translation */ CREATED: string; DELETED: string; ADDED: string; REMOVED: string; EDITED: string; CANCELED: string; COPIED: string; CLONED: string; SHOWED: string; TRASHED: string; UNPROTECTED: string; RECREATED: string; EXPIRED: string; constructor(private i18n: I18n) { /* Create a new item */ this.CREATED = this.i18n('Created'); /* Destroy an existing item */ this.DELETED = this.i18n('Deleted'); /* Add an existing item to a container */ this.ADDED = this.i18n('Added'); /* Remove an item from a container WITHOUT deleting it */ this.REMOVED = this.i18n('Removed'); /* Make changes to an existing item */ this.EDITED = this.i18n('Edited'); this.CANCELED = this.i18n('Canceled'); /* Non-standard actions */ this.CLONED = this.i18n('Cloned'); this.COPIED = this.i18n('Copied'); this.SHOWED = this.i18n('Showed'); this.TRASHED = this.i18n('Moved to Trash'); this.UNPROTECTED = this.i18n('Unprotected'); /* Prometheus wording */ this.RECREATED = this.i18n('Recreated'); this.EXPIRED = this.i18n('Expired'); } } |