|
|
@ -74,6 +74,8 @@ while read -r line; do |
|
|
|
story_first_line=0 |
|
|
|
elif [[ ${comment_story} != "" ]]; then |
|
|
|
# We are on a multilines story, write it but without the msgid |
|
|
|
# Also as this is multiline, we need to add \n to the previous line (no way to detect it sooner...) |
|
|
|
sed -e '$s/\(.*\)"$/\1\\n"/' -i "${POT}" |
|
|
|
echo "\"${line}\"" | tr -d '\r' | tr -d '\n' >> "${POT}" |
|
|
|
echo >> "${POT}" |
|
|
|
else |
|
|
|