Posted by snufkin on September 1, 2009 at 7:33pm
Jump to:
| Project: | Coder |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
The old langcode argument has been replaced with an array of options in order to store context. Patch implements 4 tests for t() and 2 for format_plural. I am not 100% sure that the regexp is correct, but the assertions are working correctly.
http://drupal.org/node/224333#locale_context
| Attachment | Size |
|---|---|
| t_format_plural_signature_change.patch | 3.95 KB |
Comments
#1
possible todo: check if the javascript functions changed too
#2
Not yet, issue: #488496: Implement missing msgctx context in JS translation for feature parity with t()
#3
Committed, thanks!
#4
Automatically closed -- issue fixed for 2 weeks with no activity.