Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix plural resource label for default :destroy batch action #2255

Merged
merged 1 commit into from
Jun 6, 2013
Merged

Fix plural resource label for default :destroy batch action #2255

merged 1 commit into from
Jun 6, 2013

Conversation

mindhalt
Copy link
Contributor

@mindhalt mindhalt commented Jun 6, 2013

Same that was with Index pages and was fixed in:
#2135

P.S. + added some missing translations for plural forms

Same that was with Index pages and was fixed in:
#2135
@seanlinsley
Copy link
Contributor

We should really have tests for translation functionality...

@mindhalt
Copy link
Contributor Author

mindhalt commented Jun 6, 2013

It is same function that was used in #2135 plural_resource_label. Is it realy necessary to test it again?

@seanlinsley
Copy link
Contributor

What I'd like to see is a set of tests that, given a specific language, would check the resulting HTML to ensure all the different parts of the AA UI are properly translated. So, integration tests for i18n.

But that's out of the scope of this PR...

Anyway, thanks for fixing this :]

seanlinsley added a commit that referenced this pull request Jun 6, 2013
Fix plural resource label for default :destroy batch action
@seanlinsley seanlinsley merged commit 05df90c into activeadmin:master Jun 6, 2013
@mindhalt
Copy link
Contributor Author

mindhalt commented Jun 7, 2013

❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants