alexeypt / ui-grid-edit-datepicker

This directive provides ability to use Bootstrap datepicker for editing dates in UI Grid
MIT License
13 stars 3 forks source link

button traduction is not working #8

Closed mnaouali closed 7 years ago

mnaouali commented 7 years ago

I tried using your solution for datepicker inside ui-grid but when I tried translating the close, today and clear button I wasn't able to day that using the ususal methode like in angular ui-datepicker I mean like this close-text="{{\'lblClose\' | translate}}" current-text="{{\'lblToday\' | translate}}" clear-text="{{\'lblClear\' | translate}}" Would you please helping me get that fixed.

Joiler commented 7 years ago

@mnaouali , could you check the following Plunker example?http://plnkr.co/edit/qzpNX8tdA6mDhqeu090M?p=preview

I added Russian translations (see app.js for translating configuration) for these buttons (Today, Clear, Done) and it works correctly for me.

mnaouali commented 7 years ago

problem fixed by updating the directive