diff --git a/documentation/assets/formatter.graffle b/documentation/assets/formatter.graffle index d9c327a..52ca92d 100644 --- a/documentation/assets/formatter.graffle +++ b/documentation/assets/formatter.graffle @@ -172,7 +172,7 @@ \f0\fs36 \cf0 /**\ * Apple Strings File\ - * Generated by Twine 0.8.1\ + * Generated by Twine\ * Language: en\ */\ \ diff --git a/documentation/formatters.md b/documentation/formatters.md index 5c8aa16..d891ce8 100644 --- a/documentation/formatters.md +++ b/documentation/formatters.md @@ -32,7 +32,7 @@ As stated at the beginning, the output produced by a formatter depends on the fo ``` /** * Apple Strings File - * Generated by Twine 0.8.1 + * Generated by Twine * Language: en */ diff --git a/lib/twine/formatters/android.rb b/lib/twine/formatters/android.rb index 00b9cbb..10b092c 100644 --- a/lib/twine/formatters/android.rb +++ b/lib/twine/formatters/android.rb @@ -96,7 +96,7 @@ module Twine end def format_header(lang) - "\n\n\n" + "\n\n\n" end def format_sections(twine_file, lang) diff --git a/lib/twine/formatters/apple.rb b/lib/twine/formatters/apple.rb index 62dfcc0..93ec43c 100644 --- a/lib/twine/formatters/apple.rb +++ b/lib/twine/formatters/apple.rb @@ -64,7 +64,7 @@ module Twine end def format_header(lang) - "/**\n * Apple Strings File\n * Generated by Twine #{Twine::VERSION}\n * Language: #{lang}\n */" + "/**\n * Apple Strings File\n * Generated by Twine\n * Language: #{lang}\n */" end def format_section_header(section) diff --git a/lib/twine/formatters/django.rb b/lib/twine/formatters/django.rb index d0bc537..153b115 100644 --- a/lib/twine/formatters/django.rb +++ b/lib/twine/formatters/django.rb @@ -55,7 +55,7 @@ module Twine def format_header(lang) # see https://www.gnu.org/software/trans-coord/manual/gnun/html_node/PO-Header.html for details - "# Django Strings File\n# Generated by Twine #{Twine::VERSION}\n# Language: #{lang}\nmsgid \"\"\nmsgstr \"\"\n\"Content-Type: text/plain; charset=UTF-8\\n\"" + "# Django Strings File\n# Generated by Twine\n# Language: #{lang}\nmsgid \"\"\nmsgstr \"\"\n\"Content-Type: text/plain; charset=UTF-8\\n\"" end def format_section_header(section) diff --git a/lib/twine/formatters/flash.rb b/lib/twine/formatters/flash.rb index 93858bb..a07161f 100644 --- a/lib/twine/formatters/flash.rb +++ b/lib/twine/formatters/flash.rb @@ -42,7 +42,7 @@ module Twine end def format_header(lang) - "## Flash Strings File\n## Generated by Twine #{Twine::VERSION}\n## Language: #{lang}" + "## Flash Strings File\n## Generated by Twine\n## Language: #{lang}" end def format_section_header(section) diff --git a/lib/twine/formatters/tizen.rb b/lib/twine/formatters/tizen.rb index 5df03c3..8ffd741 100644 --- a/lib/twine/formatters/tizen.rb +++ b/lib/twine/formatters/tizen.rb @@ -91,7 +91,7 @@ module Twine end def format_header(lang) - "\n\n\n" + "\n\n\n" end def format_sections(twine_file, lang) diff --git a/test/fixtures/formatter_android.xml b/test/fixtures/formatter_android.xml index 786557b..fb32294 100644 --- a/test/fixtures/formatter_android.xml +++ b/test/fixtures/formatter_android.xml @@ -1,6 +1,6 @@ - + diff --git a/test/fixtures/formatter_apple.strings b/test/fixtures/formatter_apple.strings index de00eb0..5c4da84 100644 --- a/test/fixtures/formatter_apple.strings +++ b/test/fixtures/formatter_apple.strings @@ -1,6 +1,6 @@ /** * Apple Strings File - * Generated by Twine <%= Twine::VERSION %> + * Generated by Twine * Language: en */ diff --git a/test/fixtures/formatter_django.po b/test/fixtures/formatter_django.po index 0750684..083bb41 100644 --- a/test/fixtures/formatter_django.po +++ b/test/fixtures/formatter_django.po @@ -1,5 +1,5 @@ # Django Strings File -# Generated by Twine <%= Twine::VERSION %> +# Generated by Twine # Language: en msgid "" msgstr "" diff --git a/test/fixtures/formatter_flash.properties b/test/fixtures/formatter_flash.properties index a2da7a7..0c0803c 100644 --- a/test/fixtures/formatter_flash.properties +++ b/test/fixtures/formatter_flash.properties @@ -1,5 +1,5 @@ ## Flash Strings File -## Generated by Twine <%= Twine::VERSION %> +## Generated by Twine ## Language: en ## Section 1 ## diff --git a/test/fixtures/formatter_tizen.xml b/test/fixtures/formatter_tizen.xml index 889d2c5..63e7cbb 100644 --- a/test/fixtures/formatter_tizen.xml +++ b/test/fixtures/formatter_tizen.xml @@ -1,6 +1,6 @@ - +