papandreou/node-cldr — pull request #10 by dantman (2013-12-06 02:47:26+00:00)
Title: Implement missing support for a number of missing cldr elements.

Add a number of methods covering parts of cldr’s main .xml files that weren’t supported before.
- extractLocaleDisplayPattern that covers /ldml/localeDisplayNames/localeDisplayPattern/*
- extractKeyTypes that covers /ldml/localeDisplayNames/keys/key and /ldml/localeDisplayNames/types/type.
- extractTransformNames that covers /ldml/localeDisplayNames/transformNames/transformName.
- extractMeasurementSystemNames that covers /ldml/localeDisplayNames/measurementSystemNames/measurementSystemName.
- extractCodePatterns that covers /ldml/localeDisplayNames/codePatterns/codePattern.

Also make some modifications:
- Expand extractTimeZoneFormats to contain a regions object with the daylight and standard types of regionFormat elements.
- Put all the foo-bar -> fooBar code into a normalizeProperty function.
- Add tests for all the cldr functions added or modified.
- Do a tiny bit of tabs -> spaces changes in the tests.