GantMan / RedAlert

iOS Alerts and ActionSheets with ease
MIT License
24 stars 15 forks source link

Localization with :yes_no template #27

Open augustosamame opened 8 years ago

augustosamame commented 8 years ago

Hi. I would like to localize the :yes_no text buttons. Is this possible? Or I would have to go the custom button route?

I am using the motion-i18n gem

GantMan commented 8 years ago

I originally had localized yes/no but had to pull it out when it broke, see here: https://github.com/GantMan/RedAlert/blob/master/lib/project/button_templates.rb#L11-L15

If you can fix/verify you've fixed, I'll accept that PR. I now forget why/how I had to pull it out.