X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bb214eebc260382cd6163ad581a7eae37c82bd57..e82496a9e5d68b4d60a513c24b8ae2dbc50359d6:/script/locale/po2yaml diff --git a/script/locale/po2yaml b/script/locale/po2yaml index f2d2eb97c..3e05363e7 100755 --- a/script/locale/po2yaml +++ b/script/locale/po2yaml @@ -24,7 +24,7 @@ def po2hash(f) path = [] msgstr = '' f.each_line { |line| - line = line.strip + line.strip! if line[0..8] == 'msgctxt "' path = line[9..-2].split(':') elsif line[0..7] == 'msgstr "'