Download & Extend

Tests and regexp for d7: t and format_plural signature change

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

AttachmentSize
t_format_plural_signature_change.patch3.95 KB

Comments

#1

possible todo: check if the javascript functions changed too

#2

#3

Status:needs review» fixed

Committed, thanks!

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.