pluf2

pluf2 Commit Details


Date:2008-12-19 05:00:18 (16 years 3 days ago)
Author:Loic d'Anterroches
Branch:master
Commit:d8b2a34328cbcffeb7f5a1f7ad14598528a6b59a
Parents: 04e855468b238e3d02355921de0340444d3c1d72
Message:Changed to title case the installed languages.

The main use of the installed language list is to provide it in a form.
We have better consistency with a title case on them.
Changes:

File differences

src/Pluf/L10n.php
577577
578578
579579
580
580
581581
582582
583583
$l = array();
$nl = self::getNativeLanguages();
foreach (Pluf::f('languages', array('en')) as $lang) {
$l[$nl[$lang]] = $lang;
$l[mb_convert_case($nl[$lang], MB_CASE_TITLE, 'UTF-8')] = $lang;
}
return $l;
}

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.06685s using 13 queries.