fix typo in the resource key (#3352)

This commit is contained in:
Denys Vuika
2018-05-21 15:33:11 +01:00
committed by Eugenio Romano
parent ff5d02b5b7
commit 266ad76ad9
13 changed files with 26 additions and 26 deletions

View File

@@ -69,7 +69,7 @@ describe('NodeActionsService', () => {
spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode])); spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode]));
service.copyContent(fakeNode, 'allowed').subscribe((value) => { service.copyContent(fakeNode, 'allowed').subscribe((value) => {
expect(value).toBe('OPERATION.SUCCES.CONTENT.COPY'); expect(value).toBe('OPERATION.SUCCESS.CONTENT.COPY');
}); });
})); }));
@@ -78,7 +78,7 @@ describe('NodeActionsService', () => {
spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode])); spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode]));
service.moveContent(fakeNode, 'allowed').subscribe((value) => { service.moveContent(fakeNode, 'allowed').subscribe((value) => {
expect(value).toBe('OPERATION.SUCCES.CONTENT.MOVE'); expect(value).toBe('OPERATION.SUCCESS.CONTENT.MOVE');
}); });
})); }));
@@ -87,7 +87,7 @@ describe('NodeActionsService', () => {
spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode])); spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode]));
service.moveFolder(fakeNode, 'allowed').subscribe((value) => { service.moveFolder(fakeNode, 'allowed').subscribe((value) => {
expect(value).toBe('OPERATION.SUCCES.FOLDER.MOVE'); expect(value).toBe('OPERATION.SUCCESS.FOLDER.MOVE');
}); });
})); }));
@@ -96,7 +96,7 @@ describe('NodeActionsService', () => {
spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode])); spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode]));
service.copyFolder(fakeNode, 'allowed').subscribe((value) => { service.copyFolder(fakeNode, 'allowed').subscribe((value) => {
expect(value).toBe('OPERATION.SUCCES.FOLDER.COPY'); expect(value).toBe('OPERATION.SUCCESS.FOLDER.COPY');
}); });
})); }));

View File

@@ -100,7 +100,7 @@ export class NodeActionsService {
const selection = selections[0]; const selection = selections[0];
this.documentListService[`${action}Node`].call(this.documentListService, contentEntry.id, selection.id) this.documentListService[`${action}Node`].call(this.documentListService, contentEntry.id, selection.id)
.subscribe( .subscribe(
observable.next.bind(observable, `OPERATION.SUCCES.${type.toUpperCase()}.${action.toUpperCase()}`), observable.next.bind(observable, `OPERATION.SUCCESS.${type.toUpperCase()}.${action.toUpperCase()}`),
observable.error.bind(observable) observable.error.bind(observable)
); );
}, },

View File

@@ -72,7 +72,7 @@
"SELECT_LOCATION": "Speicherort auswählen" "SELECT_LOCATION": "Speicherort auswählen"
}, },
"OPERATION": { "OPERATION": {
"SUCCES": { "SUCCESS": {
"CONTENT": { "CONTENT": {
"COPY": "Kopieren erfolgreich", "COPY": "Kopieren erfolgreich",
"MOVE": "Verschieben erfolgreich" "MOVE": "Verschieben erfolgreich"

View File

@@ -77,7 +77,7 @@
"SELECT_LOCATION": "Select Location" "SELECT_LOCATION": "Select Location"
}, },
"OPERATION": { "OPERATION": {
"SUCCES": { "SUCCESS": {
"CONTENT": { "CONTENT": {
"COPY": "Copy successful", "COPY": "Copy successful",
"MOVE": "Move successful" "MOVE": "Move successful"

View File

@@ -72,7 +72,7 @@
"SELECT_LOCATION": "Seleccionar ubicación" "SELECT_LOCATION": "Seleccionar ubicación"
}, },
"OPERATION": { "OPERATION": {
"SUCCES": { "SUCCESS": {
"CONTENT": { "CONTENT": {
"COPY": "Copia satisfactoria", "COPY": "Copia satisfactoria",
"MOVE": "Traslado satisfactorio" "MOVE": "Traslado satisfactorio"

View File

@@ -72,7 +72,7 @@
"SELECT_LOCATION": "Sélectionner l'emplacement" "SELECT_LOCATION": "Sélectionner l'emplacement"
}, },
"OPERATION": { "OPERATION": {
"SUCCES": { "SUCCESS": {
"CONTENT": { "CONTENT": {
"COPY": "Copie réussie", "COPY": "Copie réussie",
"MOVE": "Déplacement réussi" "MOVE": "Déplacement réussi"

View File

@@ -72,7 +72,7 @@
"SELECT_LOCATION": "Seleziona località" "SELECT_LOCATION": "Seleziona località"
}, },
"OPERATION": { "OPERATION": {
"SUCCES": { "SUCCESS": {
"CONTENT": { "CONTENT": {
"COPY": "Copia elemento eseguito correttamente", "COPY": "Copia elemento eseguito correttamente",
"MOVE": "Sposta elemento eseguito correttamente" "MOVE": "Sposta elemento eseguito correttamente"

View File

@@ -72,7 +72,7 @@
"SELECT_LOCATION": "場所の選択" "SELECT_LOCATION": "場所の選択"
}, },
"OPERATION": { "OPERATION": {
"SUCCES": { "SUCCESS": {
"CONTENT": { "CONTENT": {
"COPY": "コピーが完了しました", "COPY": "コピーが完了しました",
"MOVE": "移動が完了しました" "MOVE": "移動が完了しました"

View File

@@ -72,7 +72,7 @@
"SELECT_LOCATION": "Velg plassering" "SELECT_LOCATION": "Velg plassering"
}, },
"OPERATION": { "OPERATION": {
"SUCCES": { "SUCCESS": {
"CONTENT": { "CONTENT": {
"COPY": "Er nå kopiert", "COPY": "Er nå kopiert",
"MOVE": "Er nå flyttet" "MOVE": "Er nå flyttet"

View File

@@ -72,7 +72,7 @@
"SELECT_LOCATION": "Locatie selecteren" "SELECT_LOCATION": "Locatie selecteren"
}, },
"OPERATION": { "OPERATION": {
"SUCCES": { "SUCCESS": {
"CONTENT": { "CONTENT": {
"COPY": "Kopiëren geslaagd", "COPY": "Kopiëren geslaagd",
"MOVE": "Verplaatsen geslaagd" "MOVE": "Verplaatsen geslaagd"

View File

@@ -72,7 +72,7 @@
"SELECT_LOCATION": "Selecionar localização" "SELECT_LOCATION": "Selecionar localização"
}, },
"OPERATION": { "OPERATION": {
"SUCCES": { "SUCCESS": {
"CONTENT": { "CONTENT": {
"COPY": "Copiado com êxito", "COPY": "Copiado com êxito",
"MOVE": "Movido com êxito" "MOVE": "Movido com êxito"

View File

@@ -72,7 +72,7 @@
"SELECT_LOCATION": "Выбрать местоположение" "SELECT_LOCATION": "Выбрать местоположение"
}, },
"OPERATION": { "OPERATION": {
"SUCCES": { "SUCCESS": {
"CONTENT": { "CONTENT": {
"COPY": "Копирование выполнено", "COPY": "Копирование выполнено",
"MOVE": "Перемещение выполнено" "MOVE": "Перемещение выполнено"

View File

@@ -72,7 +72,7 @@
"SELECT_LOCATION": "选择位置" "SELECT_LOCATION": "选择位置"
}, },
"OPERATION": { "OPERATION": {
"SUCCES": { "SUCCESS": {
"CONTENT": { "CONTENT": {
"COPY": "复制成功", "COPY": "复制成功",
"MOVE": "移动成功" "MOVE": "移动成功"