summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-02-18 12:28:06 -0600
committerJesse Luehrs <doy@tozt.net>2010-02-18 12:28:06 -0600
commita4035974b11c61dc06da957de2ea45c23fa24509 (patch)
treea67bf0c95d79543015d8866edd77c3a6c8b962b5
parentaba3b022ac0a7c86d2311d9884439979d5f649bd (diff)
downloadlocale-pofilemanager-a4035974b11c61dc06da957de2ea45c23fa24509.tar.gz
locale-pofilemanager-a4035974b11c61dc06da957de2ea45c23fa24509.zip
strip off quotes from msgids
-rw-r--r--lib/Locale/POFileManager/File.pm2
1 files changed, 1 insertions, 1 deletions
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 } ],
},
);