Dont print Twine version in generated files #6

Merged
biodranik merged 1 commit from dont-print-version into organicmaps 2022-12-31 18:18:33 +00:00
12 changed files with 12 additions and 12 deletions

View file

@ -172,7 +172,7 @@
\f0\fs36 \cf0 /**\
* Apple Strings File\
* Generated by Twine 0.8.1\
* Generated by Twine\
* Language: en\
*/\
\

View file

@ -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
*/

View file

@ -96,7 +96,7 @@ module Twine
end
def format_header(lang)
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Android Strings File -->\n<!-- Generated by Twine #{Twine::VERSION} -->\n<!-- Language: #{lang} -->"
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Android Strings File -->\n<!-- Generated by Twine -->\n<!-- Language: #{lang} -->"
end
def format_sections(twine_file, lang)

View file

@ -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)

View file

@ -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)

View file

@ -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)

View file

@ -91,7 +91,7 @@ module Twine
end
def format_header(lang)
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Tizen Strings File -->\n<!-- Generated by Twine #{Twine::VERSION} -->\n<!-- Language: #{lang} -->"
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Tizen Strings File -->\n<!-- Generated by Twine -->\n<!-- Language: #{lang} -->"
end
def format_sections(twine_file, lang)

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Android Strings File -->
<!-- Generated by Twine <%= Twine::VERSION %> -->
<!-- Generated by Twine -->
<!-- Language: en -->
<resources>
<!-- SECTION: Section 1 -->

View file

@ -1,6 +1,6 @@
/**
* Apple Strings File
* Generated by Twine <%= Twine::VERSION %>
* Generated by Twine
* Language: en
*/

View file

@ -1,5 +1,5 @@
# Django Strings File
# Generated by Twine <%= Twine::VERSION %>
# Generated by Twine
# Language: en
msgid ""
msgstr ""

View file

@ -1,5 +1,5 @@
## Flash Strings File
## Generated by Twine <%= Twine::VERSION %>
## Generated by Twine
## Language: en
## Section 1 ##

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Tizen Strings File -->
<!-- Generated by Twine <%= Twine::VERSION %> -->
<!-- Generated by Twine -->
<!-- Language: en -->
<string_table Bversion="2.0.0.201311071819" Dversion="20120315">
<!-- SECTION: Section 1 -->