diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-31 10:11:32 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-31 10:11:32 +0100 |
commit | 3d967f09d8171b283c9a90afa6407dc033e4ae42 (patch) | |
tree | 6ee61d6ae0ec96dfe9444a45bd773d9030283415 /perllib/FixMyStreet | |
parent | c1346b93ee2dd21ec501484da89aa28350631960 (diff) | |
parent | 7032edb7a72758086fcaa3e3d0b198a163cf043c (diff) |
Merge branch 'dominican-republic-improvements'
Diffstat (limited to 'perllib/FixMyStreet')
-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. |