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
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

AttachmentSize
t_format_plural_signature_change.patch3.95 KB

#1

snufkin - September 2, 2009 - 11:39

possible todo: check if the javascript functions changed too

#2

snufkin - September 3, 2009 - 07:40

#3

stella - October 18, 2009 - 23:06
Status:needs review» fixed

Committed, thanks!

#4

System Message - November 1, 2009 - 23:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.