Add translations config group.

Summary:
Adds the translations group as per T2255. Currently `translation.override` is
`wild` -- it should be changed to dict<string, string> when that exists.

Also fixes a small bug from D4326 which caused "class" types to not ever
validate.

Test Plan:
- Looked at the settings.
- Successfully saved a setting relating to classes.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2255

Differential Revision: https://secure.phabricator.com/D4350
This commit is contained in:
Ricky Elrod
2013-01-04 16:22:52 -08:00
committed by epriestley
parent 3894461227
commit ae0773b789
3 changed files with 46 additions and 1 deletions

View File

@@ -361,7 +361,7 @@ final class PhabricatorConfigEditController
->setConcreteOnly(true)
->selectSymbolsWithoutLoading();
$names = ipull($symbols, 'name', 'name');
sort($names);
asort($names);
$names = array(
'' => pht('(Use Default)'),
) + $names;