diff options
author | Dave Arter <davea@mysociety.org> | 2017-03-16 10:14:47 -0400 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-30 17:35:05 +0100 |
commit | e5529e430f180cebfa992dff6ac8285870576051 (patch) | |
tree | 7e19ad9b26d1e64804fe998afd52f1f04d0f5d85 /perllib/FixMyStreet/Cobrand | |
parent | 21bde113503d86f1791e170d1133710a2ed32077 (diff) |
Improve translatability of various pages.
This commit makes the following parts of the site translatable:
- Social login buttons
- Moderation UI
- Offline glitch page & offline caching UI
- Dashboard
It also fixes a bug in the nget parser, stops some Oxfordshire bits
being translated for the moment, and brings the translation file up
to date.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Oxfordshire.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm index 78247e39d..3e262a700 100644 --- a/perllib/FixMyStreet/Cobrand/Oxfordshire.pm +++ b/perllib/FixMyStreet/Cobrand/Oxfordshire.pm @@ -162,10 +162,10 @@ sub admin_pages { # Oxfordshire have a custom admin page for downloading reports in an Exor- # friendly format which anyone with report_instruct permission can use. if ( $user->has_body_permission_to('report_instruct') ) { - $pages->{exordefects} = [ _('Download Exor RDI'), 10 ]; + $pages->{exordefects} = [ ('Download Exor RDI'), 10 ]; } if ( $user->has_body_permission_to('defect_type_edit') ) { - $pages->{defecttypes} = [ _('Defect Types'), 11 ]; + $pages->{defecttypes} = [ ('Defect Types'), 11 ]; $pages->{defecttype_edit} = [ undef, undef ]; }; |