Arrays in language file handling.

Bug #1256968 reported by Ruslan Kabalin on 2013-12-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara Adminlang Patch
Medium
Unassigned

Bug Description

Since 1.8 the string can be defined as array of singular and plural forms:

$string['fileattachedtoportfolioitems'] = array(
    0 => 'This file is attached to %s other item in your portfolio.',
    1 => 'This file is attached to %s other items in your portfolio.',
);

Adminlang does not handle those strings resulting in warning (inability to do trim at output).

Changed in mahara-adminlang:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers