@c8y/api-doc 1023.78.7 → 1023.79.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,7 +21,7 @@ export default {
21
21
  [appName]: ['apiDocProviders']
22
22
  },
23
23
  blueprintDeploymentOptions: {
24
- name: gettext('API Documentation'),
24
+ name: gettext('API documentation'),
25
25
  contextPath: 'api_doc',
26
26
  key: 'api_doc-application-key'
27
27
  },
@@ -29,7 +29,7 @@ export default {
29
29
  availability: 'SHARED',
30
30
  exports: [
31
31
  {
32
- name: gettext('API Documentation'),
32
+ name: gettext('API documentation'),
33
33
  module: 'apiDocProviders',
34
34
  path: './src/app/api-doc.providers',
35
35
  description: gettext('A tool to view API documentation of installed applications.')
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@c8y/api-doc",
3
- "version": "1023.78.7",
3
+ "version": "1023.79.1",
4
4
  "description": "This package is a blueprint application which allows to show all API documentations of the platform.",
5
5
  "dependencies": {
6
6
  "@angular/cdk": "^20.2.14",
7
- "@c8y/bootstrap": "1023.78.7",
8
- "@c8y/client": "1023.78.7",
9
- "@c8y/ngx-components": "1023.78.7",
10
- "@c8y/style": "1023.78.7",
7
+ "@c8y/bootstrap": "1023.79.1",
8
+ "@c8y/client": "1023.79.1",
9
+ "@c8y/ngx-components": "1023.79.1",
10
+ "@c8y/style": "1023.79.1",
11
11
  "lodash": "^4.18.1",
12
12
  "monaco-editor": "~0.53.0",
13
13
  "ngx-bootstrap": "20.0.2",
@@ -18,8 +18,8 @@
18
18
  "enabled": false
19
19
  },
20
20
  "devDependencies": {
21
- "@c8y/devkit": "1023.78.7",
22
- "@c8y/options": "1023.78.7",
21
+ "@c8y/devkit": "1023.79.1",
22
+ "@c8y/options": "1023.79.1",
23
23
  "@types/lodash": "4.17.24"
24
24
  },
25
25
  "peerDependencies": {
@@ -1,8 +1,8 @@
1
- <c8y-title>API Documentation</c8y-title>
1
+ <c8y-title>{{ 'API documentation' | translate }}</c8y-title>
2
2
 
3
3
  <div class="card">
4
4
  <div class="card-block p-32">
5
- <h1 translate>Welcome to Cumulocity API Documentation</h1>
5
+ <h1 translate>Welcome to the Cumulocity API documentation</h1>
6
6
  <p
7
7
  class="m-b-16 text-muted"
8
8
  translate
@@ -23,7 +23,7 @@
23
23
 
24
24
  <div
25
25
  class="card-group"
26
- aria-label="API documentation features"
26
+ aria-label="{{ 'API documentation features' | translate }}"
27
27
  role="list"
28
28
  >
29
29
  <!-- Card 1: How to Use -->
@@ -97,8 +97,9 @@
97
97
  <c8y-li-body class="icon-flex">
98
98
  <strong>{{ app.appLabel }}</strong>
99
99
  </c8y-li-body>
100
- <c8y-li-footer translate>
101
- {{ app.description || 'No description provided' }}
100
+ <c8y-li-footer>
101
+ @let noDescription = 'No description provided' | translate;
102
+ {{ (app.description | translate) || noDescription }}
102
103
  </c8y-li-footer>
103
104
  </c8y-li>
104
105
  }
@@ -4,6 +4,7 @@ import { RouterLink } from '@angular/router';
4
4
  import {
5
5
  AppIconComponent,
6
6
  C8yTranslateDirective,
7
+ C8yTranslatePipe,
7
8
  ListGroupComponent,
8
9
  ListItemBodyComponent,
9
10
  ListItemComponent,
@@ -27,6 +28,7 @@ import { ApiDocService } from '../api-doc.service';
27
28
  AsyncPipe,
28
29
  RouterLink,
29
30
  C8yTranslateDirective,
31
+ C8yTranslatePipe,
30
32
  AppIconComponent
31
33
  ]
32
34
  })
@@ -18,7 +18,7 @@ export class ApiDocNavigatorFactory implements ExtensionFactory<NavigatorNode> {
18
18
  return new NavigatorNode({
19
19
  path: 'api-docs',
20
20
  icon: 'api',
21
- label: gettext('API Documentation'),
21
+ label: gettext('API documentation'),
22
22
  priority: 1000,
23
23
  children: apps.map(
24
24
  (app: ApiDocApp, index: number) =>
@@ -29,7 +29,7 @@ export class ApiDocService {
29
29
  private readonly CORE_API_DOCS_APP: ApiDocApp = {
30
30
  id: 'core-api',
31
31
  name: gettext('Core API'),
32
- description: gettext('Cumulocity IoT Core API Documentation'),
32
+ description: gettext('Cumulocity Core API documentation'),
33
33
  contextPath: 'api-doc',
34
34
  downloadPath: './c8y-oas.yml',
35
35
  icon: {