From a4035974b11c61dc06da957de2ea45c23fa24509 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 18 Feb 2010 12:28:06 -0600 Subject: strip off quotes from msgids --- lib/Locale/POFileManager/File.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Locale/POFileManager/File.pm b/lib/Locale/POFileManager/File.pm index 64cb60c..9f736bc 100644 --- a/lib/Locale/POFileManager/File.pm +++ b/lib/Locale/POFileManager/File.pm @@ -21,7 +21,7 @@ has entries => ( handles => { entries => 'elements', add_entry => 'push', - msgids => [ map => sub { $_->msgid } ], + msgids => [ map => sub { my $m = $_->msgid; $m =~ s/^"|"$//g; $m } ], }, ); -- cgit v1.2.3-54-g00ecf