Tests and regexp for d7: t and format_plural signature change
snufkin - September 1, 2009 - 19:33
| Project: | Coder |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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 |

#1
possible todo: check if the javascript functions changed too
#2
Not yet, issue: #488496: Implement msgctx context in JS translation
#3
Committed, thanks!
#4
Automatically closed -- issue fixed for 2 weeks with no activity.