m-e-conroy / angular-dialog-service

A complete AngularJS service with controllers and templates for generating application modals and dialogs for use with Angular-UI-Bootstrap and Twitter Bootstrap
MIT License
618 stars 228 forks source link

"DIALOGS_YES" instead of "Yes" in button text #75

Closed lsiden closed 9 years ago

lsiden commented 9 years ago

dlg = dialogs.confirm('Confirmation required', 'You are about to delete an event.') generates a dialog with buttons that say "DIALOGS_YES" and "DIALOGS_NO" instead of "Yes" and "No". I installed version 5.2.5. Do I need to install an earlier version?

rrajewski commented 9 years ago

I had the same problem until I included 'dialogs.default-translations' in my angular app module dependencies.

m-e-conroy commented 9 years ago

Unfortunately I had to separate out the "default-translatations" as it was interfering with those that were already using Angular-Translate in their project for other portions of their applications and had already set their translations elsewhere.