This repository has been archived by the owner on Oct 1, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(i18n): integrate internationalization and russian language support
- Loading branch information
1 parent
1b46319
commit d39ffa8
Showing
28 changed files
with
12,922 additions
and
158 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/app/operators/components/additional-resources/additional-resources.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/app/operators/components/operator-examples/operator-examples.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
src/app/operators/components/operator-parameters/operator-parameters.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<h2> Parameters </h2> | ||
<h2> {{ 'OPERATOR.PARAMETERS.TITLE' | translate }} </h2> | ||
<table class="parameter-table mat-elevation-z2"> | ||
<thead> | ||
<tr> | ||
<th>Name</th> | ||
<th>Type</th> | ||
<th>Attribute</th> | ||
<th>Description</th> | ||
<th>{{'OPERATOR.PARAMETERS.NAME' | translate}}</th> | ||
<th>{{'OPERATOR.PARAMETERS.TYPE' | translate}}</th> | ||
<th>{{'OPERATOR.PARAMETERS.ATTRIBUTE' | translate}}</th> | ||
<th>{{'OPERATOR.PARAMETERS.DESCRIPTION' | translate}}</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr *ngFor="let parameter of operatorParameters"> | ||
<td> {{parameter.name}} </td> | ||
<td> {{parameter.type}} </td> | ||
<td> {{parameter.attribute}} </td> | ||
<td> {{parameter.description}} </td> | ||
<td> {{parameter.description[currentLang]}} </td> | ||
</tr> | ||
</tbody> | ||
</table> |
11 changes: 6 additions & 5 deletions
11
src/app/operators/components/operator-parameters/operator-parameters.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
import { Component, Input } from '@angular/core'; | ||
import { OperatorParameters } from '../../../../operator-docs'; | ||
import { Component, Input } from "@angular/core"; | ||
import { OperatorParameters } from "../../../../operator-docs"; | ||
|
||
@Component({ | ||
selector: 'app-operator-parameters', | ||
templateUrl: './operator-parameters.component.html', | ||
styleUrls: ['./operator-parameters.component.scss'] | ||
selector: "app-operator-parameters", | ||
templateUrl: "./operator-parameters.component.html", | ||
styleUrls: ["./operator-parameters.component.scss"] | ||
}) | ||
export class OperatorParametersComponent { | ||
@Input() operatorParameters: OperatorParameters[]; | ||
@Input() currentLang = "en"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/app/operators/components/related-operators/related-operators.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/app/operators/components/walkthrough/walkthrough.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<h2> Walkthrough </h2> | ||
<h2> {{ 'OPERATOR.WALKTHROGH' | translate }} </h2> | ||
<div class="walkthrough-container" [innerHTML]="operatorWalkthrough"> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.