From 266ad76ad95a70a02aa925825d5634db9e1b4afb Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Mon, 21 May 2018 15:33:11 +0100 Subject: [PATCH] fix typo in the resource key (#3352) --- .../document-list/services/node-actions.service.spec.ts | 8 ++++---- .../document-list/services/node-actions.service.ts | 2 +- lib/content-services/i18n/de.json | 4 ++-- lib/content-services/i18n/en.json | 2 +- lib/content-services/i18n/es.json | 4 ++-- lib/content-services/i18n/fr.json | 4 ++-- lib/content-services/i18n/it.json | 4 ++-- lib/content-services/i18n/ja.json | 4 ++-- lib/content-services/i18n/nb.json | 4 ++-- lib/content-services/i18n/nl.json | 4 ++-- lib/content-services/i18n/pt-BR.json | 4 ++-- lib/content-services/i18n/ru.json | 4 ++-- lib/content-services/i18n/zh-CN.json | 4 ++-- 13 files changed, 26 insertions(+), 26 deletions(-) diff --git a/lib/content-services/document-list/services/node-actions.service.spec.ts b/lib/content-services/document-list/services/node-actions.service.spec.ts index 300084c1e2..cddb64cc86 100644 --- a/lib/content-services/document-list/services/node-actions.service.spec.ts +++ b/lib/content-services/document-list/services/node-actions.service.spec.ts @@ -69,7 +69,7 @@ describe('NodeActionsService', () => { spyOn(contentDialogService, 'openCopyMoveDialog').and.returnValue(Observable.of([fakeNode])); 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])); 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])); 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])); service.copyFolder(fakeNode, 'allowed').subscribe((value) => { - expect(value).toBe('OPERATION.SUCCES.FOLDER.COPY'); + expect(value).toBe('OPERATION.SUCCESS.FOLDER.COPY'); }); })); diff --git a/lib/content-services/document-list/services/node-actions.service.ts b/lib/content-services/document-list/services/node-actions.service.ts index d869eac9ee..a4cc53cf64 100644 --- a/lib/content-services/document-list/services/node-actions.service.ts +++ b/lib/content-services/document-list/services/node-actions.service.ts @@ -100,7 +100,7 @@ export class NodeActionsService { const selection = selections[0]; this.documentListService[`${action}Node`].call(this.documentListService, contentEntry.id, selection.id) .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) ); }, diff --git a/lib/content-services/i18n/de.json b/lib/content-services/i18n/de.json index 8b7556bac6..b1a8bd61ac 100644 --- a/lib/content-services/i18n/de.json +++ b/lib/content-services/i18n/de.json @@ -72,7 +72,7 @@ "SELECT_LOCATION": "Speicherort auswählen" }, "OPERATION": { - "SUCCES": { + "SUCCESS": { "CONTENT": { "COPY": "Kopieren erfolgreich", "MOVE": "Verschieben erfolgreich" @@ -238,4 +238,4 @@ "LOCALLY_SET": "Lokal festgelegt" } } -} \ No newline at end of file +} diff --git a/lib/content-services/i18n/en.json b/lib/content-services/i18n/en.json index 5b9f89c98c..ef2140289b 100644 --- a/lib/content-services/i18n/en.json +++ b/lib/content-services/i18n/en.json @@ -77,7 +77,7 @@ "SELECT_LOCATION": "Select Location" }, "OPERATION": { - "SUCCES": { + "SUCCESS": { "CONTENT": { "COPY": "Copy successful", "MOVE": "Move successful" diff --git a/lib/content-services/i18n/es.json b/lib/content-services/i18n/es.json index 64e05dfa83..bb376b936c 100644 --- a/lib/content-services/i18n/es.json +++ b/lib/content-services/i18n/es.json @@ -72,7 +72,7 @@ "SELECT_LOCATION": "Seleccionar ubicación" }, "OPERATION": { - "SUCCES": { + "SUCCESS": { "CONTENT": { "COPY": "Copia satisfactoria", "MOVE": "Traslado satisfactorio" @@ -238,4 +238,4 @@ "LOCALLY_SET": "Establecido localmente" } } -} \ No newline at end of file +} diff --git a/lib/content-services/i18n/fr.json b/lib/content-services/i18n/fr.json index 0857128757..59c91ee51d 100644 --- a/lib/content-services/i18n/fr.json +++ b/lib/content-services/i18n/fr.json @@ -72,7 +72,7 @@ "SELECT_LOCATION": "Sélectionner l'emplacement" }, "OPERATION": { - "SUCCES": { + "SUCCESS": { "CONTENT": { "COPY": "Copie réussie", "MOVE": "Déplacement réussi" @@ -238,4 +238,4 @@ "LOCALLY_SET": "Défini localement" } } -} \ No newline at end of file +} diff --git a/lib/content-services/i18n/it.json b/lib/content-services/i18n/it.json index 5cb6f1174b..2f04af61f0 100644 --- a/lib/content-services/i18n/it.json +++ b/lib/content-services/i18n/it.json @@ -72,7 +72,7 @@ "SELECT_LOCATION": "Seleziona località" }, "OPERATION": { - "SUCCES": { + "SUCCESS": { "CONTENT": { "COPY": "Copia elemento eseguito correttamente", "MOVE": "Sposta elemento eseguito correttamente" @@ -238,4 +238,4 @@ "LOCALLY_SET": "Impostato localmente" } } -} \ No newline at end of file +} diff --git a/lib/content-services/i18n/ja.json b/lib/content-services/i18n/ja.json index 4e02455948..a6b69b79db 100644 --- a/lib/content-services/i18n/ja.json +++ b/lib/content-services/i18n/ja.json @@ -72,7 +72,7 @@ "SELECT_LOCATION": "場所の選択" }, "OPERATION": { - "SUCCES": { + "SUCCESS": { "CONTENT": { "COPY": "コピーが完了しました", "MOVE": "移動が完了しました" @@ -238,4 +238,4 @@ "LOCALLY_SET": "ローカルで設定された権限" } } -} \ No newline at end of file +} diff --git a/lib/content-services/i18n/nb.json b/lib/content-services/i18n/nb.json index e29e3db0a3..732c4e4c79 100644 --- a/lib/content-services/i18n/nb.json +++ b/lib/content-services/i18n/nb.json @@ -72,7 +72,7 @@ "SELECT_LOCATION": "Velg plassering" }, "OPERATION": { - "SUCCES": { + "SUCCESS": { "CONTENT": { "COPY": "Er nå kopiert", "MOVE": "Er nå flyttet" @@ -238,4 +238,4 @@ "LOCALLY_SET": "Angitt lokalt" } } -} \ No newline at end of file +} diff --git a/lib/content-services/i18n/nl.json b/lib/content-services/i18n/nl.json index 96b2d3e785..dcc91273ec 100644 --- a/lib/content-services/i18n/nl.json +++ b/lib/content-services/i18n/nl.json @@ -72,7 +72,7 @@ "SELECT_LOCATION": "Locatie selecteren" }, "OPERATION": { - "SUCCES": { + "SUCCESS": { "CONTENT": { "COPY": "Kopiëren geslaagd", "MOVE": "Verplaatsen geslaagd" @@ -238,4 +238,4 @@ "LOCALLY_SET": "Lokaal ingesteld" } } -} \ No newline at end of file +} diff --git a/lib/content-services/i18n/pt-BR.json b/lib/content-services/i18n/pt-BR.json index 968eda5670..47c4a4ff72 100644 --- a/lib/content-services/i18n/pt-BR.json +++ b/lib/content-services/i18n/pt-BR.json @@ -72,7 +72,7 @@ "SELECT_LOCATION": "Selecionar localização" }, "OPERATION": { - "SUCCES": { + "SUCCESS": { "CONTENT": { "COPY": "Copiado com êxito", "MOVE": "Movido com êxito" @@ -238,4 +238,4 @@ "LOCALLY_SET": "Definido localmente" } } -} \ No newline at end of file +} diff --git a/lib/content-services/i18n/ru.json b/lib/content-services/i18n/ru.json index c885cbdfa1..082b971865 100644 --- a/lib/content-services/i18n/ru.json +++ b/lib/content-services/i18n/ru.json @@ -72,7 +72,7 @@ "SELECT_LOCATION": "Выбрать местоположение" }, "OPERATION": { - "SUCCES": { + "SUCCESS": { "CONTENT": { "COPY": "Копирование выполнено", "MOVE": "Перемещение выполнено" @@ -238,4 +238,4 @@ "LOCALLY_SET": "Установлено локально" } } -} \ No newline at end of file +} diff --git a/lib/content-services/i18n/zh-CN.json b/lib/content-services/i18n/zh-CN.json index 5ee130c48d..c2d1096e31 100644 --- a/lib/content-services/i18n/zh-CN.json +++ b/lib/content-services/i18n/zh-CN.json @@ -72,7 +72,7 @@ "SELECT_LOCATION": "选择位置" }, "OPERATION": { - "SUCCES": { + "SUCCESS": { "CONTENT": { "COPY": "复制成功", "MOVE": "移动成功" @@ -238,4 +238,4 @@ "LOCALLY_SET": "本地设置" } } -} \ No newline at end of file +}