From a79d37f3aa305e9f7c8f9a6d1fbe5c8898c87c0c Mon Sep 17 00:00:00 2001 From: nsemets Date: Tue, 12 Aug 2025 18:01:19 +0300 Subject: [PATCH 1/2] fix(translations): fixed some translations --- src/app/core/interceptors/auth.interceptor.ts | 2 ++ .../registries/components/review/review.component.html | 4 ++-- .../registry-components/registry-components.component.html | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/core/interceptors/auth.interceptor.ts b/src/app/core/interceptors/auth.interceptor.ts index c70348470..c1e36212c 100644 --- a/src/app/core/interceptors/auth.interceptor.ts +++ b/src/app/core/interceptors/auth.interceptor.ts @@ -12,6 +12,8 @@ export const authInterceptor: HttpInterceptorFn = ( const cookieService = inject(CookieService); const csrfToken = cookieService.get('api-csrf'); + const staging = cookieService.get('osf_staging4'); + console.log(staging); if (!req.url.includes('/api.crossref.org/funders')) { const headers: Record = { diff --git a/src/app/features/registries/components/review/review.component.html b/src/app/features/registries/components/review/review.component.html index 5d8a02834..e2a842a8b 100644 --- a/src/app/features/registries/components/review/review.component.html +++ b/src/app/features/registries/components/review/review.component.html @@ -1,6 +1,6 @@
-

{{ 'navigation.registration.metadata' | translate }}

+

{{ 'navigation.metadata' | translate }}

{{ 'common.labels.title' | translate }}

@@ -25,7 +25,7 @@

{{ 'common.labels.description' | translate }}

-

{{ 'navigation.registration.contributors' | translate }}

+

{{ 'navigation.contributors' | translate }}

@for (contributor of contributors(); let last = $last; track contributor.id) { diff --git a/src/app/features/registry/pages/registry-components/registry-components.component.html b/src/app/features/registry/pages/registry-components/registry-components.component.html index 3009631a3..42fd9c06c 100644 --- a/src/app/features/registry/pages/registry-components/registry-components.component.html +++ b/src/app/features/registry/pages/registry-components/registry-components.component.html @@ -1,5 +1,5 @@
- +
From 1f041f8f8521df3cd68bc6a076d098372224275f Mon Sep 17 00:00:00 2001 From: nsemets Date: Tue, 12 Aug 2025 18:02:48 +0300 Subject: [PATCH 2/2] fix(translation): fixed registration label --- .../short-registration-info.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/features/registry/components/short-registration-info/short-registration-info.component.html b/src/app/features/registry/components/short-registration-info/short-registration-info.component.html index d32bc07c9..ecf9c9da0 100644 --- a/src/app/features/registry/components/short-registration-info/short-registration-info.component.html +++ b/src/app/features/registry/components/short-registration-info/short-registration-info.component.html @@ -1,5 +1,5 @@
-

{{ 'navigation.registration.contributors' | translate }}

+

{{ 'navigation.contributors' | translate }}

@for (c of registration().contributors; track c.id) {