i18n: Adding new languages: Part 1 (#1882)

Co-authored-by: Jose Alberto Hernandez <alberto@blue-daemon.local>
This commit is contained in:
José Alberto Hernández
2023-10-22 20:18:05 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent c7fe21e74a
commit 408f004450
432 changed files with 38051 additions and 44613 deletions
+4 -7
View File
@@ -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 { ReportsComponent } from './reports.component';
import { RunReportComponent } from './run-report/run-report.component';
@@ -27,7 +24,7 @@ const routes: Routes = [
Route.withShell([
{
path: 'reports',
data: { title: extract('Reports'), breadcrumb: 'Reports' },
data: { title: 'Reports', breadcrumb: 'Reports' },
resolve: {
reports: ReportsResolver
},
@@ -43,7 +40,7 @@ const routes: Routes = [
},
{
path: 'run/:name',
data: { title: extract('Reports'), routeParamBreadcrumb: 'name' },
data: { title: 'Reports', routeParamBreadcrumb: 'name' },
component: RunReportComponent,
resolve: {
reportParameters: RunReportResolver,
@@ -54,7 +51,7 @@ const routes: Routes = [
},
{
path: 'xbrl',
data: { title: extract('XBRL'), breadcrumb: 'XBRL' },
data: { title: 'XBRL', breadcrumb: 'XBRL' },
children: [
{
path: '',
@@ -67,7 +64,7 @@ const routes: Routes = [
},
{
path: 'report',
data: { title: extract('XBRL Report'), breadcrumb: 'Run Report' },
data: { title: 'XBRL Report', breadcrumb: 'Run Report' },
component: XBRLReportComponent
}
]