merge
parent
6a34276dbe
commit
faa30fa87a
|
|
@ -32,10 +32,9 @@ import * as gregorian from '../ca-gregorian.json';
|
||||||
import * as numbers from '../numbers.json';
|
import * as numbers from '../numbers.json';
|
||||||
|
|
||||||
|
|
||||||
setCulture('de-DE');
|
|
||||||
loadCldr(numbers, gregorian);
|
|
||||||
L10n.load({
|
L10n.load({
|
||||||
'de-DE': {
|
'de': {
|
||||||
'gantt': {
|
'gantt': {
|
||||||
"startDate": "Anfangsdatum",
|
"startDate": "Anfangsdatum",
|
||||||
"endDate": "Enddatum",
|
"endDate": "Enddatum",
|
||||||
|
|
@ -226,11 +225,14 @@ export class NttGanttComponent implements OnInit {
|
||||||
* The function ngOnInit sets values which are required for rendering the gantt Chart. Furthermore it triggers the Dataservice to fetch Changes from the backend and trims the resources (Changes Array) and sets the paginator to the first page.
|
* The function ngOnInit sets values which are required for rendering the gantt Chart. Furthermore it triggers the Dataservice to fetch Changes from the backend and trims the resources (Changes Array) and sets the paginator to the first page.
|
||||||
*/
|
*/
|
||||||
public ngOnInit(): void {
|
public ngOnInit(): void {
|
||||||
setCulture('de-DE');
|
// setCulture('de');
|
||||||
loadCldr(
|
// loadCldr(
|
||||||
'./numbers.json',
|
// './numbers.json',
|
||||||
'./ca-gregorian.json',
|
// './ca-gregorian.json',
|
||||||
);
|
// );
|
||||||
|
setCulture('de');
|
||||||
|
|
||||||
|
loadCldr(numbers, gregorian);
|
||||||
// this.ganttDefault.locale = 'de';
|
// this.ganttDefault.locale = 'de';
|
||||||
this.renderGantt = false;
|
this.renderGantt = false;
|
||||||
this.firstLoad = true;
|
this.firstLoad = true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue