aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Form/I18N.pm
blob: b37f7ac53b4001265c16438ece9267ddf2f6df3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package FixMyStreet::App::Form::I18N;

use Moo;

sub maketext {
    my ($self, $msg, @args) = @_;

    no if ($] >= 5.022), warnings => 'redundant';
    return sprintf(_($msg), @args);
}

1;