Remove unnecessary '\n' from the generated gettext localization files.

This commit is contained in:
Sebastian Ludwig 2018-05-31 15:11:03 +02:00
parent 094ba47ac8
commit cd0735b39d
2 changed files with 3 additions and 3 deletions

View file

@ -55,7 +55,7 @@ module Twine
end
def format_header(lang)
"msgid \"\"\nmsgstr \"\"\n\"Language: #{lang}\\n\"\n\"X-Generator: Twine #{Twine::VERSION}\\n\"\n"
"msgid \"\"\nmsgstr \"\"\n\"Language: #{lang}\"\n\"X-Generator: Twine #{Twine::VERSION}\"\n"
end
def format_section_header(section)

View file

@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Language: en\n"
"X-Generator: Twine <%= Twine::VERSION %>\n"
"Language: en"
"X-Generator: Twine <%= Twine::VERSION %>"
# SECTION: Section 1