From: Volker Theile Date: Fri, 3 Jul 2020 14:09:42 +0000 (+0200) Subject: mgr/dashboard: Fix bugs in a unit test and i18n translation X-Git-Tag: v15.2.9~122^2~96^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b70c7db8a8675ce83adfb89a169487f24cd9e3ce;p=ceph.git mgr/dashboard: Fix bugs in a unit test and i18n translation * SKIP: Unknown argument type: 'BinaryExpression' NodeObject { ... text: 'You can activate the module on the Telemetry configuration ' * WARNING: /ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.spec.ts:39:32 - get is deprecated: from v9.0.0 use TestBed.inject Fixes: https://tracker.ceph.com/issues/46371 Signed-off-by: Volker Theile (cherry picked from commit 656727a3159ccae7aaaf3ce027b41ad36e3a21d4) Conflicts: src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.ts Replaced `TestBed.inject` by `TestBed.get` as Angular 9 has not been backported. --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.ts index 974f625e1c6a..4b881e2f8e0b 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.ts @@ -61,8 +61,7 @@ export class TelemetryNotificationComponent implements OnInit, OnDestroy { NotificationType.success, this.i18n('Telemetry activation reminder muted'), this.i18n( - 'You can activate the module on the Telemetry configuration ' + - 'page (Dashboard Settings -> Telemetry configuration) at any time.' + 'You can activate the module on the Telemetry configuration page (Dashboard Settings -> Telemetry configuration) at any time.' ) ); }