Skip to content

Commit

Permalink
update transloco
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfriesen committed May 23, 2024
1 parent d9351ab commit 7e0e064
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 41 deletions.
64 changes: 31 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
"@angular/platform-browser-dynamic": "^18.0.0",
"@angular/router": "^18.0.0",
"@angular/service-worker": "^18.0.0",
"@jsverse/transloco": "^7.4.1",
"@ngneat/elf": "^2.4.0",
"@ngneat/elf-entities": "^5.0.0",
"@ngneat/transloco": "^6.0.0",
"angular-mixed-cdk-drag-drop": "^2.0.0",
"data-transfer-helper": "^1.0.2",
"pdf-lib": "^1.17.1",
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { provideAnimations } from '@angular/platform-browser/animations';
import { provideServiceWorker } from '@angular/service-worker';
import { provideHttpClient } from '@angular/common/http';
import { MixedCdkDragDropModule } from 'angular-mixed-cdk-drag-drop';
import { provideTransloco } from '@ngneat/transloco';
import { provideTransloco } from '@jsverse/transloco';

import {
TranslocoHttpLoader,
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/about-dialog/about-dialog.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
import { MatIconModule } from '@angular/material/icon';
import { MatButtonModule } from '@angular/material/button';
import { MatDialogModule } from '@angular/material/dialog';
import { TranslocoPipe } from '@ngneat/transloco';
import { TranslocoPipe } from '@jsverse/transloco';

@Component({
selector: 'app-about-dialog',
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/empty/empty.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { MatIconModule } from '@angular/material/icon';
import { TranslocoPipe } from '@ngneat/transloco';
import { TranslocoPipe } from '@jsverse/transloco';

@Component({
selector: 'app-empty',
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/header/header.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { MatMenuModule } from '@angular/material/menu';
import { MatProgressBarModule } from '@angular/material/progress-bar';
import { MatToolbarModule } from '@angular/material/toolbar';
import { MatTooltipModule } from '@angular/material/tooltip';
import { TranslocoPipe } from '@ngneat/transloco';
import { TranslocoPipe } from '@jsverse/transloco';

import { StoreService } from '@app/services/store.service';
import { UploadService } from '@app/services/upload.service';
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/pages/pages.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { MatIconModule } from '@angular/material/icon';
import { MatButtonModule } from '@angular/material/button';
import { DragDropModule } from '@angular/cdk/drag-drop';
import { MixedCdkDragDropModule } from 'angular-mixed-cdk-drag-drop';
import { TranslocoPipe } from '@ngneat/transloco';
import { TranslocoPipe } from '@jsverse/transloco';

import { DocumentService } from '@app/services/document.service';
import { EmptyComponent } from '../empty/empty.component';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatInputModule } from '@angular/material/input';
import { MatIconModule } from '@angular/material/icon';
import { TranslocoPipe } from '@ngneat/transloco';
import { TranslocoPipe } from '@jsverse/transloco';

import { DocumentMetadata } from '@app/types/metadata';

Expand Down
2 changes: 1 addition & 1 deletion src/app/helpers/transloco.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
TranslocoLoader,
Translation,
getBrowserLang,
} from '@ngneat/transloco';
} from '@jsverse/transloco';

export function generateAutoConfig(availableLangs: string[]) {
const browserLang = getBrowserLang();
Expand Down

0 comments on commit 7e0e064

Please sign in to comment.