UI-Research / college-affordability.urban.org

0 stars 0 forks source link

Allow "Sources" and "Notes" to be singular or plural #200

Closed bchartoff closed 7 years ago

bchartoff commented 7 years ago

Functionality added by a84199bbf3b5522fd9eee02c1c4bf5e537470763

@vivhou please see commit above, with sample functionality in json prices-and-expenses/room-and-board/json/03_0060.json

Default is "Source" and "Note", add either metadata.pluralNotes: true and/or metadata.pluralSources: true to set to "Notes" and "Sources" respectively. Make sure to amend 03_0060.json, which was pushed as a sample.

vivhou commented 7 years ago

got it, will do thanks!

vivhou commented 7 years ago

how does this work for multiples?

bchartoff commented 7 years ago

Whoops, good point @vivhou ! Added functionality here:

https://github.com/UI-Research/college-affordability.urban.org/commit/d3a75257f4d0edf4fac365d90dc072ad9e9375d3#diff-8cbcc87042c7832e8b62e58976e85a56R18