diff --git a/backend/i18n/frontend_en.json b/backend/i18n/frontend_en.json index f53888ca6..ced0c5b82 100644 --- a/backend/i18n/frontend_en.json +++ b/backend/i18n/frontend_en.json @@ -536,7 +536,7 @@ "dashboard.configSaved": "Configuration saved.", "dashboard.contentApi": "Content API", "dashboard.contentApiDescription": "OpenAPI 3.0 compatible documentation for your app content.", - "dashboard.contentsSummaryCard": "Number of items", + "dashboard.contentSummaryCard": "Number of items", "dashboard.currentMonthLabel": "This month", "dashboard.downloadLog": "Download Log", "dashboard.editConfig": "Edit Config", @@ -544,6 +544,8 @@ "dashboard.githubCardDescription": "Get the source code from Github and report bugs or ask for support.", "dashboard.historyCard": "History", "dashboard.pageTitle": "Dashboard", + "dashboard.randomCatCard": "Random Cat", + "dashboard.randomDogCard": "Random Dog", "dashboard.resetConfigConfirmText": "Do you really want to reset the dashboard to the default?", "dashboard.resetConfigConfirmTitle": "Reset config", "dashboard.schemaNewCard": "New Schema", diff --git a/backend/i18n/frontend_it.json b/backend/i18n/frontend_it.json index b5c29a7bc..5806e823b 100644 --- a/backend/i18n/frontend_it.json +++ b/backend/i18n/frontend_it.json @@ -536,7 +536,7 @@ "dashboard.configSaved": "Configurazione salvata.", "dashboard.contentApi": "API dei contenuti", "dashboard.contentApiDescription": "Documentazione OpenAPI 3.0 compatibile per i contenuti della tua app.", - "dashboard.contentsSummaryCard": "Numero di elementi", + "dashboard.contentSummaryCard": "Numero di elementi", "dashboard.currentMonthLabel": "Questo mese", "dashboard.downloadLog": "Scarica i Log", "dashboard.editConfig": "Modifica la configurazione", @@ -544,6 +544,8 @@ "dashboard.githubCardDescription": "Ottieni il codice sorgente da GitHub e segnala bug o richiedi assistenza.", "dashboard.historyCard": "Cronologia", "dashboard.pageTitle": "Dashboard", + "dashboard.randomCatCard": "Random Cat", + "dashboard.randomDogCard": "Random Dog", "dashboard.resetConfigConfirmText": "Sei sicuro di voler riportare la dashboard alle impostazioni predefinite?", "dashboard.resetConfigConfirmTitle": "Ripristina la configurazione", "dashboard.schemaNewCard": "Nuovo Schema", diff --git a/backend/i18n/frontend_nl.json b/backend/i18n/frontend_nl.json index 65e36a015..000df8033 100644 --- a/backend/i18n/frontend_nl.json +++ b/backend/i18n/frontend_nl.json @@ -536,7 +536,7 @@ "dashboard.configSaved": "Configuratie opgeslagen.", "dashboard.contentApi": "Content API", "dashboard.contentApiDescription": "OpenAPI 3.0-compatibele documentatie voor uw app-inhoud.", - "dashboard.contentsSummaryCard": "Aantal items", + "dashboard.contentSummaryCard": "Aantal items", "dashboard.currentMonthLabel": "Deze maand", "dashboard.downloadLog": "Downloadlogboek", "dashboard.editConfig": "Configuratie bewerken", @@ -544,6 +544,8 @@ "dashboard.githubCardDescription": "Haal de broncode op van Github en meld bugs of vraag om ondersteuning.", "dashboard.historyCard": "Geschiedenis", "dashboard.pageTitle": "Dashboard", + "dashboard.randomCatCard": "Random Cat", + "dashboard.randomDogCard": "Random Dog", "dashboard.resetConfigConfirmText": "Wil je echt het dashboard terugzetten naar de standaardinstellingen?", "dashboard.resetConfigConfirmTitle": "Reset configuratie", "dashboard.schemaNewCard": "Nieuw schema", diff --git a/backend/i18n/frontend_zh.json b/backend/i18n/frontend_zh.json index 3c7b9f462..bf43a97c8 100644 --- a/backend/i18n/frontend_zh.json +++ b/backend/i18n/frontend_zh.json @@ -536,7 +536,7 @@ "dashboard.configSaved": "配置已保存。", "dashboard.contentApi": "内容 API", "dashboard.contentApiDescription": "适用于您的应用内容的 OpenAPI 3.0 兼容文档。", - "dashboard.contentsSummaryCard": "项目数量", + "dashboard.contentSummaryCard": "项目数量", "dashboard.currentMonthLabel": "本月", "dashboard.downloadLog": "下载日志", "dashboard.editConfig": "编辑配置", @@ -544,6 +544,8 @@ "dashboard.githubCardDescription": "从 Github 获取源代码并报告错误或寻求支持。", "dashboard.historyCard": "历史", "dashboard.pageTitle": "仪表盘", + "dashboard.randomCatCard": "Random Cat", + "dashboard.randomDogCard": "Random Dog", "dashboard.resetConfigConfirmText": "您真的要将仪表板重置为默认设置吗?", "dashboard.resetConfigConfirmTitle": "重置配置", "dashboard.schemaNewCard": "新Schemas", diff --git a/backend/i18n/source/frontend_en.json b/backend/i18n/source/frontend_en.json index f53888ca6..ced0c5b82 100644 --- a/backend/i18n/source/frontend_en.json +++ b/backend/i18n/source/frontend_en.json @@ -536,7 +536,7 @@ "dashboard.configSaved": "Configuration saved.", "dashboard.contentApi": "Content API", "dashboard.contentApiDescription": "OpenAPI 3.0 compatible documentation for your app content.", - "dashboard.contentsSummaryCard": "Number of items", + "dashboard.contentSummaryCard": "Number of items", "dashboard.currentMonthLabel": "This month", "dashboard.downloadLog": "Download Log", "dashboard.editConfig": "Edit Config", @@ -544,6 +544,8 @@ "dashboard.githubCardDescription": "Get the source code from Github and report bugs or ask for support.", "dashboard.historyCard": "History", "dashboard.pageTitle": "Dashboard", + "dashboard.randomCatCard": "Random Cat", + "dashboard.randomDogCard": "Random Dog", "dashboard.resetConfigConfirmText": "Do you really want to reset the dashboard to the default?", "dashboard.resetConfigConfirmTitle": "Reset config", "dashboard.schemaNewCard": "New Schema", diff --git a/backend/i18n/source/frontend_it.json b/backend/i18n/source/frontend_it.json index 44d30f88b..e9198bc23 100644 --- a/backend/i18n/source/frontend_it.json +++ b/backend/i18n/source/frontend_it.json @@ -487,7 +487,7 @@ "dashboard.configSaved": "Configurazione salvata.", "dashboard.contentApi": "API dei contenuti", "dashboard.contentApiDescription": "Documentazione OpenAPI 3.0 compatibile per i contenuti della tua app.", - "dashboard.contentsSummaryCard": "Numero di elementi", + "dashboard.contentSummaryCard": "Numero di elementi", "dashboard.currentMonthLabel": "Questo mese", "dashboard.downloadLog": "Scarica i Log", "dashboard.editConfig": "Modifica la configurazione", diff --git a/backend/i18n/source/frontend_nl.json b/backend/i18n/source/frontend_nl.json index dd27391fe..759d9d725 100644 --- a/backend/i18n/source/frontend_nl.json +++ b/backend/i18n/source/frontend_nl.json @@ -459,7 +459,7 @@ "dashboard.configSaved": "Configuratie opgeslagen.", "dashboard.contentApi": "Content API", "dashboard.contentApiDescription": "OpenAPI 3.0-compatibele documentatie voor uw app-inhoud.", - "dashboard.contentsSummaryCard": "Aantal items", + "dashboard.contentSummaryCard": "Aantal items", "dashboard.currentMonthLabel": "Deze maand", "dashboard.downloadLog": "Downloadlogboek", "dashboard.editConfig": "Configuratie bewerken", diff --git a/backend/i18n/source/frontend_zh.json b/backend/i18n/source/frontend_zh.json index 6ce05844a..2179f17f1 100644 --- a/backend/i18n/source/frontend_zh.json +++ b/backend/i18n/source/frontend_zh.json @@ -509,7 +509,7 @@ "dashboard.configSaved": "配置已保存。", "dashboard.contentApi": "内容 API", "dashboard.contentApiDescription": "适用于您的应用内容的 OpenAPI 3.0 兼容文档。", - "dashboard.contentsSummaryCard": "项目数量", + "dashboard.contentSummaryCard": "项目数量", "dashboard.currentMonthLabel": "本月", "dashboard.downloadLog": "下载日志", "dashboard.editConfig": "编辑配置", diff --git a/frontend/app/features/dashboard/declarations.ts b/frontend/app/features/dashboard/declarations.ts index 2473b8e88..6cfce32ee 100644 --- a/frontend/app/features/dashboard/declarations.ts +++ b/frontend/app/features/dashboard/declarations.ts @@ -18,6 +18,8 @@ export * from './pages/cards/content-summary-card.component'; export * from './pages/cards/github-card.component'; export * from './pages/cards/history-card.component'; export * from './pages/cards/iframe-card.component'; +export * from './pages/cards/random-cat-card.component'; +export * from './pages/cards/random-dog-card.component'; export * from './pages/cards/schema-card.component'; export * from './pages/cards/support-card.component'; export * from './pages/dashboard-config.component'; diff --git a/frontend/app/features/dashboard/module.ts b/frontend/app/features/dashboard/module.ts index 9c7c62569..8a2298017 100644 --- a/frontend/app/features/dashboard/module.ts +++ b/frontend/app/features/dashboard/module.ts @@ -10,7 +10,7 @@ import { RouterModule, Routes } from '@angular/router'; import { SqxFrameworkModule, SqxSharedModule } from '@app/shared'; import { GridsterModule } from 'angular-gridster2'; import { ChartModule } from 'angular2-chartjs'; -import { ApiCallsCardComponent, ApiCallsSummaryCardComponent, ApiCardComponent, ApiPerformanceCardComponent, ApiTrafficCardComponent, ApiTrafficSummaryCardComponent, AssetUploadsCountCardComponent, AssetUploadsSizeCardComponent, AssetUploadsSizeSummaryCardComponent, ContentSummaryCardComponent, DashboardConfigComponent, DashboardPageComponent, GithubCardComponent, HistoryCardComponent, IFrameCardComponent, SchemaCardComponent, SupportCardComponent } from './declarations'; +import { ApiCallsCardComponent, ApiCallsSummaryCardComponent, ApiCardComponent, ApiPerformanceCardComponent, ApiTrafficCardComponent, ApiTrafficSummaryCardComponent, AssetUploadsCountCardComponent, AssetUploadsSizeCardComponent, AssetUploadsSizeSummaryCardComponent, ContentSummaryCardComponent, DashboardConfigComponent, DashboardPageComponent, GithubCardComponent, HistoryCardComponent, IFrameCardComponent, RandomCatCardComponent, RandomDogCardComponent, SchemaCardComponent, SupportCardComponent } from './declarations'; const routes: Routes = [ { @@ -43,6 +43,8 @@ const routes: Routes = [ GithubCardComponent, HistoryCardComponent, IFrameCardComponent, + RandomCatCardComponent, + RandomDogCardComponent, SchemaCardComponent, SupportCardComponent, ], diff --git a/frontend/app/features/dashboard/pages/cards/content-summary-card.component.html b/frontend/app/features/dashboard/pages/cards/content-summary-card.component.html index 6c9d8f827..ae28047e5 100644 --- a/frontend/app/features/dashboard/pages/cards/content-summary-card.component.html +++ b/frontend/app/features/dashboard/pages/cards/content-summary-card.component.html @@ -2,7 +2,7 @@