diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-09-28 18:01:16 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-09-28 18:01:16 +0100 |
commit | a428c23753694794f3b1bddace94e869c2d7550f (patch) | |
tree | 942edc1bd2ef820997a42a31b825800243654155 /perllib/FixMyStreet/App/View/Web.pm | |
parent | 101cfc70b05960cd0fdd40580e0f45563ea7b58f (diff) | |
parent | 43ccfa5285842287ef6fd53c6ca97d58e690c7fa (diff) |
Merge branch '1205-hardcoded-site-name'
Diffstat (limited to 'perllib/FixMyStreet/App/View/Web.pm')
-rw-r--r-- | perllib/FixMyStreet/App/View/Web.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm index da549ece8..9cc571efc 100644 --- a/perllib/FixMyStreet/App/View/Web.pm +++ b/perllib/FixMyStreet/App/View/Web.pm @@ -40,15 +40,15 @@ TT View for FixMyStreet::App. =head2 loc - [% loc('Some text to localize') %] + [% loc('Some text to localize', 'Optional comment for translator') %] Passes the text to the localisation engine for translations. =cut sub loc { - my ( $self, $c, @args ) = @_; - return _(@args); + my ( $self, $c, $msgid ) = @_; + return _($msgid); } =head2 nget |