aboutsummaryrefslogtreecommitdiffstats
path: root/t/roles
Commit message (Collapse)AuthorAgeLines
* Ignore translation if fewer than two languages.Matthew Somerville2017-08-15-15/+21
|
* fetch and create translation methods for translatableStruan Donald2017-08-10-0/+10
| | | | | | | | | | | | Add a `translation_for` method and an `add_transation` method to Translatable to help hide the details when editing and listing translations. `translation_for` returns all translations if only passed a column or a single translation if passed with a column and a language. `add_translation` will add, or update, a translation if passed in the column, language and string.
* Set up translatable category columns.Matthew Somerville2017-08-10-0/+39
| | | | | | As category is used both for display and as a link between Problem and Contact tables, add `category_display` for use whenever a category is displayed.
* Set up translatable body name.Matthew Somerville2017-08-09-0/+22