mazdik / ng-mazdik

Angular UI component library
https://mazdik.github.io/ng-mazdik
MIT License
89 stars 34 forks source link

Language inside the columns modal dialog box #70

Open xerovit-git opened 4 years ago

xerovit-git commented 4 years ago

We are trying to make changes on the language of the data table. So far we are able to change most of it.

Left with this columns name inside the modal column dialog box. Couldn't find how to make changes for this? Stuck with here .. can you let us know where should i make changes for this?

Screenshot from 2020-03-17 14-18-50

mazdik commented 4 years ago
import {DtMessages, DtMessagesEn} from 'ng-mazdik-lib';

messages: DtMessages = new DtMessagesEn({
  empty: 'No data to display',
  titleDetailView: 'Item details',
  titleCreate: 'Create a new item'
});
this.dataManager = new DataManager(this.columns, this.settings, this.service, this.messages);

all messages

xerovit-git commented 4 years ago

Hi, thanks for the quick reply.

the one that you mentioned .. we already tried that one .. able to make changes for the rest of the data table ..

what we want to change at the moment is those column names inside the modal dialog box .. they are not changing at the moment .. even thou the column names form data table are changed .. the columns name from dialog are not changed ..

that's where we are looking for an answer ..

Inked76835556-b4a23d00-685d-11ea-9d11-eb2631bb9260_LI

mazdik commented 4 years ago

names are taken from column.title