X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e1f79d84adc413afa2a1a8d8d06fda9fa5151d49..34e3e51456774127d43408b7ab65c24f41373f62:/script/locale/po2yaml diff --git a/script/locale/po2yaml b/script/locale/po2yaml index 3e05363e7..e181bf3d5 100755 --- a/script/locale/po2yaml +++ b/script/locale/po2yaml @@ -30,7 +30,7 @@ def po2hash(f) elsif line[0..7] == 'msgstr "' msgstr = line[8..-2] end - + if !path.empty? and !msgstr.empty? add_translation(trs, path, msgstr) path = []