aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Roles/Translatable.pm
Commit message (Collapse)AuthorAgeLines
* Allow cobrands to override category display.Matthew Somerville2019-10-25-13/+0
|
* Ignore translation if fewer than two languages.Matthew Somerville2017-08-15-0/+4
|
* Add fn to fetch bodies plus the translated names.Matthew Somerville2017-08-15-0/+3
|
* Remember translation lookup for request remainder.Matthew Somerville2017-08-15-2/+14
|
* Prevent unnecessary string translation.Matthew Somerville2017-08-11-1/+1
| | | | | | Calling the function 'translate' causes gettext-extract to add the string to the .po file. Also, we no longer need an admin 'updated' message as the main form has its own success message.
* fetch and create translation methods for translatableStruan Donald2017-08-10-0/+45
| | | | | | | | | | | | 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/+13
| | | | | | 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/+39