renamed start/stop auto analysis labels

This commit is contained in:
Valentin Mihai 2022-03-07 06:22:16 +02:00
parent ff2ab18117
commit d19b5c5ae6
4 changed files with 8 additions and 8 deletions

View File

@ -121,14 +121,14 @@ export class DossierOverviewBulkActionsComponent implements OnChanges {
{ {
type: ActionTypes.circleBtn, type: ActionTypes.circleBtn,
action: () => this._bulkActionsService.toggleAutomaticAnalysis(this.selectedFiles), action: () => this._bulkActionsService.toggleAutomaticAnalysis(this.selectedFiles),
tooltip: _('dossier-overview.disable-auto-analysis'), tooltip: _('dossier-overview.stop-auto-analysis'),
icon: 'red:stop', icon: 'red:stop',
show: this.#canDisableAutoAnalysis, show: this.#canDisableAutoAnalysis,
}, },
{ {
type: ActionTypes.circleBtn, type: ActionTypes.circleBtn,
action: () => this._bulkActionsService.toggleAutomaticAnalysis(this.selectedFiles), action: () => this._bulkActionsService.toggleAutomaticAnalysis(this.selectedFiles),
tooltip: _('dossier-overview.enable-auto-analysis'), tooltip: _('dossier-overview.start-auto-analysis'),
icon: 'red:play', icon: 'red:play',
show: this.#canEnableAutoAnalysis, show: this.#canEnableAutoAnalysis,
}, },

View File

@ -201,7 +201,7 @@ export class FileActionsComponent extends AutoUnsubscribe implements OnDestroy,
{ {
type: ActionTypes.circleBtn, type: ActionTypes.circleBtn,
action: $event => this.toggleAutomaticAnalysis($event), action: $event => this.toggleAutomaticAnalysis($event),
tooltip: _('dossier-overview.disable-auto-analysis'), tooltip: _('dossier-overview.stop-auto-analysis'),
icon: 'red:stop', icon: 'red:stop',
show: this.canDisableAutoAnalysis, show: this.canDisableAutoAnalysis,
}, },
@ -216,7 +216,7 @@ export class FileActionsComponent extends AutoUnsubscribe implements OnDestroy,
{ {
type: ActionTypes.circleBtn, type: ActionTypes.circleBtn,
action: $event => this.toggleAutomaticAnalysis($event), action: $event => this.toggleAutomaticAnalysis($event),
tooltip: _('dossier-overview.enable-auto-analysis'), tooltip: _('dossier-overview.start-auto-analysis'),
buttonType: this.isFilePreview ? CircleButtonTypes.warn : CircleButtonTypes.default, buttonType: this.isFilePreview ? CircleButtonTypes.warn : CircleButtonTypes.default,
icon: 'red:play', icon: 'red:play',
show: this.canEnableAutoAnalysis, show: this.canEnableAutoAnalysis,

View File

@ -754,7 +754,7 @@
"delete": { "delete": {
"action": "Datei löschen" "action": "Datei löschen"
}, },
"disable-auto-analysis": "", "stop-auto-analysis": "",
"dossier-details": { "dossier-details": {
"attributes": { "attributes": {
"expand": "{count} {count, plural, one{benutzerdefiniertes Attribut} other{benutzerdefinierte Attribute}}", "expand": "{count} {count, plural, one{benutzerdefiniertes Attribut} other{benutzerdefinierte Attribute}}",
@ -778,7 +778,7 @@
}, },
"download-file": "Herunterladen", "download-file": "Herunterladen",
"download-file-disabled": "Nur genehmigte Dateien können heruntergeladen werden", "download-file-disabled": "Nur genehmigte Dateien können heruntergeladen werden",
"enable-auto-analysis": "", "start-auto-analysis": "",
"file-listing": { "file-listing": {
"file-entry": { "file-entry": {
"file-error": "Reanalyse erforderlich", "file-error": "Reanalyse erforderlich",

View File

@ -754,7 +754,7 @@
"delete": { "delete": {
"action": "Delete File" "action": "Delete File"
}, },
"disable-auto-analysis": "Disable auto-analysis", "stop-auto-analysis": "Stop auto-analysis",
"dossier-details": { "dossier-details": {
"attributes": { "attributes": {
"expand": "{count} custom {count, plural, one{attribute} other{attributes}}", "expand": "{count} custom {count, plural, one{attribute} other{attributes}}",
@ -778,7 +778,7 @@
}, },
"download-file": "Download", "download-file": "Download",
"download-file-disabled": "You need to be approver in the dossier and the {count, plural, one{file needs} other{files need}} to be approved in order to download.", "download-file-disabled": "You need to be approver in the dossier and the {count, plural, one{file needs} other{files need}} to be approved in order to download.",
"enable-auto-analysis": "Enable auto-analysis", "start-auto-analysis": "Start auto-analysis",
"file-listing": { "file-listing": {
"file-entry": { "file-entry": {
"file-error": "Re-processing required", "file-error": "Re-processing required",