The command `find -ipath "*src*.po"|xargs sed -ie "/msgstr.*{[0-9]}/ s/\([^']\)'\([^']\)/\1''\2/g"` was used to do the fix.