Plural translations are not displayed properly

claudiu.cristea - October 16, 2009 - 07:52
Project:Localization server
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:claudiu.cristea
Status:closed
Description

In translate/languages/$lang/view translations for plurals are not displayed properly. The raw value is displayed instead on a nice unordered list.

That is caused by a wrong usage of strpos() PHP function. The arguments are swapped.

The attached patch is fixing this bug.

AttachmentSize
l10n_server_fix_plural_view-D6.patch887 bytes

#1

Gábor Hojtsy - November 6, 2009 - 15:07
Status:needs review» fixed

Thanks, committed the Drupal 6.x-dev version.

#2

System Message - November 20, 2009 - 15:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.