main
Manuel Tauber 2024-08-22 15:48:10 +02:00
parent 6a34276dbe
commit faa30fa87a
1 changed files with 10 additions and 8 deletions

View File

@ -32,10 +32,9 @@ import * as gregorian from '../ca-gregorian.json';
import * as numbers from '../numbers.json';
setCulture('de-DE');
loadCldr(numbers, gregorian);
L10n.load({
'de-DE': {
'de': {
'gantt': {
"startDate": "Anfangsdatum",
"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.
*/
public ngOnInit(): void {
setCulture('de-DE');
loadCldr(
'./numbers.json',
'./ca-gregorian.json',
);
// setCulture('de');
// loadCldr(
// './numbers.json',
// './ca-gregorian.json',
// );
setCulture('de');
loadCldr(numbers, gregorian);
// this.ganttDefault.locale = 'de';
this.renderGantt = false;
this.firstLoad = true;