i18n: Adding new languages: Part 1 (#1882)
Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
c7fe21e74a
commit
408f004450
@@ -5,12 +5,12 @@
|
||||
<table mat-table [dataSource]="dataSource" matSort>
|
||||
|
||||
<ng-container matColumnDef="notification">
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{"labels.inputs.Notification" | translate }} </th>
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{"labels.inputs.Notification" | translate}} </th>
|
||||
<td mat-cell *matCellDef="let notification"> {{ notification.content }} </td>
|
||||
</ng-container>
|
||||
|
||||
<ng-container matColumnDef="createdAt">
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{"labels.inputs.Created At" | translate }} </th>
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header> {{"labels.inputs.Created At" | translate}} </th>
|
||||
<td mat-cell *matCellDef="let notification"> {{ notification.createdAt }} </td>
|
||||
</ng-container>
|
||||
|
||||
|
||||
@@ -5,9 +5,6 @@ import { Routes, RouterModule } from '@angular/router';
|
||||
/** Routing Imports */
|
||||
import { Route } from '../core/route/route.service';
|
||||
|
||||
/** Translation Imports */
|
||||
import { extract } from '../core/i18n/i18n.service';
|
||||
|
||||
/** Custom Components */
|
||||
import { NotificationsPageComponent } from './notifications-page/notifications-page.component';
|
||||
|
||||
@@ -20,7 +17,7 @@ const routes: Routes = [
|
||||
{
|
||||
path: 'notifications',
|
||||
component: NotificationsPageComponent,
|
||||
data: { title: extract('Notifications'), breadcrumb: 'Notifications' },
|
||||
data: { title: 'Notifications', breadcrumb: 'Notifications' },
|
||||
resolve: {
|
||||
notifications: NotificationsResolver
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user