Download & Extend

Plural translations are not displayed properly

Project:Localization server
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:claudiu.cristea
Status:closed (fixed)

Issue Summary

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.

AttachmentSizeStatusTest resultOperations
l10n_server_fix_plural_view-D6.patch887 bytesIgnored: Check issue status.NoneNone

Comments

#1

Status:needs review» fixed

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

#2

Status:fixed» closed (fixed)

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