diff options
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Oxfordshire.pm | 4 | ||||
-rw-r--r-- | perllib/FixMyStreet/Template.pm | 2 |
2 files changed, 3 insertions, 3 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 ]; }; diff --git a/perllib/FixMyStreet/Template.pm b/perllib/FixMyStreet/Template.pm index f41d11b69..4a9cffecb 100644 --- a/perllib/FixMyStreet/Template.pm +++ b/perllib/FixMyStreet/Template.pm @@ -62,7 +62,7 @@ sub loc : Fn { =head2 nget - [% nget( 'singular', 'plural', $number ) %] + [% nget( 'singular', 'plural', $number ) %] Use first or second string depending on the number. |