]> git.openstreetmap.org Git - rails.git/blobdiff - script/locale/po2yaml
Merge branch 'master' into openid
[rails.git] / script / locale / po2yaml
index f2d2eb97cfe4fe7685677d4839ecd1707b63fc4e..3e05363e7e040eafbc0eb975c1bd3245c45b9342 100755 (executable)
@@ -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 "'