├── .github └── workflows │ └── test.yml ├── .gitignore ├── CHANGELOG.md ├── Gemfile ├── ISSUE_TEMPLATE.md ├── LICENSE ├── README.md ├── Rakefile ├── bin └── twine ├── documentation ├── assets │ ├── formatter.graffle │ ├── formatter_1.png │ ├── formatter_2.png │ ├── formatter_3.png │ └── formatter_4.png └── formatters.md ├── lib ├── twine.rb └── twine │ ├── cli.rb │ ├── encoding.rb │ ├── formatters.rb │ ├── formatters │ ├── abstract.rb │ ├── android.rb │ ├── apple.rb │ ├── django.rb │ ├── flash.rb │ ├── gettext.rb │ ├── jquery.rb │ └── tizen.rb │ ├── output_processor.rb │ ├── placeholders.rb │ ├── plugin.rb │ ├── runner.rb │ ├── twine_file.rb │ └── version.rb ├── test ├── command_test.rb ├── fixtures │ ├── consume_localization_archive.zip │ ├── enc_utf16be.dummy │ ├── enc_utf16be_bom.dummy │ ├── enc_utf16le.dummy │ ├── enc_utf16le_bom.dummy │ ├── enc_utf8.dummy │ ├── formatter_android.xml │ ├── formatter_apple.strings │ ├── formatter_django.po │ ├── formatter_flash.properties │ ├── formatter_gettext.po │ ├── formatter_gettext_quotes.po │ ├── formatter_jquery.json │ ├── formatter_jquery_nested.json │ ├── formatter_tizen.xml │ ├── gettext_multiline.po │ └── twine_accent_values.txt ├── test_abstract_formatter.rb ├── test_cli.rb ├── test_consume_localization_archive.rb ├── test_consume_localization_file.rb ├── test_formatters.rb ├── test_generate_all_localization_files.rb ├── test_generate_localization_archive.rb ├── test_generate_localization_file.rb ├── test_output_processor.rb ├── test_placeholders.rb ├── test_twine_definition.rb ├── test_twine_file.rb ├── test_validate_twine_file.rb ├── twine_file_dsl.rb └── twine_test.rb ├── twine └── twine.gemspec /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.gem 2 | .idea/ 3 | *.lock 4 | .ruby-version 5 | .DS_Store 6 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/Gemfile -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/twine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/bin/twine -------------------------------------------------------------------------------- /documentation/assets/formatter.graffle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/documentation/assets/formatter.graffle -------------------------------------------------------------------------------- /documentation/assets/formatter_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/documentation/assets/formatter_1.png -------------------------------------------------------------------------------- /documentation/assets/formatter_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/documentation/assets/formatter_2.png -------------------------------------------------------------------------------- /documentation/assets/formatter_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/documentation/assets/formatter_3.png -------------------------------------------------------------------------------- /documentation/assets/formatter_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/documentation/assets/formatter_4.png -------------------------------------------------------------------------------- /documentation/formatters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/documentation/formatters.md -------------------------------------------------------------------------------- /lib/twine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine.rb -------------------------------------------------------------------------------- /lib/twine/cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/cli.rb -------------------------------------------------------------------------------- /lib/twine/encoding.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/encoding.rb -------------------------------------------------------------------------------- /lib/twine/formatters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/formatters.rb -------------------------------------------------------------------------------- /lib/twine/formatters/abstract.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/formatters/abstract.rb -------------------------------------------------------------------------------- /lib/twine/formatters/android.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/formatters/android.rb -------------------------------------------------------------------------------- /lib/twine/formatters/apple.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/formatters/apple.rb -------------------------------------------------------------------------------- /lib/twine/formatters/django.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/formatters/django.rb -------------------------------------------------------------------------------- /lib/twine/formatters/flash.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/formatters/flash.rb -------------------------------------------------------------------------------- /lib/twine/formatters/gettext.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/formatters/gettext.rb -------------------------------------------------------------------------------- /lib/twine/formatters/jquery.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/formatters/jquery.rb -------------------------------------------------------------------------------- /lib/twine/formatters/tizen.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/formatters/tizen.rb -------------------------------------------------------------------------------- /lib/twine/output_processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/output_processor.rb -------------------------------------------------------------------------------- /lib/twine/placeholders.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/placeholders.rb -------------------------------------------------------------------------------- /lib/twine/plugin.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/plugin.rb -------------------------------------------------------------------------------- /lib/twine/runner.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/runner.rb -------------------------------------------------------------------------------- /lib/twine/twine_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/lib/twine/twine_file.rb -------------------------------------------------------------------------------- /lib/twine/version.rb: -------------------------------------------------------------------------------- 1 | module Twine 2 | VERSION = '1.1.3' 3 | end 4 | -------------------------------------------------------------------------------- /test/command_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/command_test.rb -------------------------------------------------------------------------------- /test/fixtures/consume_localization_archive.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/consume_localization_archive.zip -------------------------------------------------------------------------------- /test/fixtures/enc_utf16be.dummy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/enc_utf16be.dummy -------------------------------------------------------------------------------- /test/fixtures/enc_utf16be_bom.dummy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/enc_utf16be_bom.dummy -------------------------------------------------------------------------------- /test/fixtures/enc_utf16le.dummy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/enc_utf16le.dummy -------------------------------------------------------------------------------- /test/fixtures/enc_utf16le_bom.dummy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/enc_utf16le_bom.dummy -------------------------------------------------------------------------------- /test/fixtures/enc_utf8.dummy: -------------------------------------------------------------------------------- 1 | Üß` 2 | da 3 | -------------------------------------------------------------------------------- /test/fixtures/formatter_android.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/formatter_android.xml -------------------------------------------------------------------------------- /test/fixtures/formatter_apple.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/formatter_apple.strings -------------------------------------------------------------------------------- /test/fixtures/formatter_django.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/formatter_django.po -------------------------------------------------------------------------------- /test/fixtures/formatter_flash.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/formatter_flash.properties -------------------------------------------------------------------------------- /test/fixtures/formatter_gettext.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/formatter_gettext.po -------------------------------------------------------------------------------- /test/fixtures/formatter_gettext_quotes.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/formatter_gettext_quotes.po -------------------------------------------------------------------------------- /test/fixtures/formatter_jquery.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/formatter_jquery.json -------------------------------------------------------------------------------- /test/fixtures/formatter_jquery_nested.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/formatter_jquery_nested.json -------------------------------------------------------------------------------- /test/fixtures/formatter_tizen.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/formatter_tizen.xml -------------------------------------------------------------------------------- /test/fixtures/gettext_multiline.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/gettext_multiline.po -------------------------------------------------------------------------------- /test/fixtures/twine_accent_values.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/fixtures/twine_accent_values.txt -------------------------------------------------------------------------------- /test/test_abstract_formatter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_abstract_formatter.rb -------------------------------------------------------------------------------- /test/test_cli.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_cli.rb -------------------------------------------------------------------------------- /test/test_consume_localization_archive.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_consume_localization_archive.rb -------------------------------------------------------------------------------- /test/test_consume_localization_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_consume_localization_file.rb -------------------------------------------------------------------------------- /test/test_formatters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_formatters.rb -------------------------------------------------------------------------------- /test/test_generate_all_localization_files.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_generate_all_localization_files.rb -------------------------------------------------------------------------------- /test/test_generate_localization_archive.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_generate_localization_archive.rb -------------------------------------------------------------------------------- /test/test_generate_localization_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_generate_localization_file.rb -------------------------------------------------------------------------------- /test/test_output_processor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_output_processor.rb -------------------------------------------------------------------------------- /test/test_placeholders.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_placeholders.rb -------------------------------------------------------------------------------- /test/test_twine_definition.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_twine_definition.rb -------------------------------------------------------------------------------- /test/test_twine_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_twine_file.rb -------------------------------------------------------------------------------- /test/test_validate_twine_file.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/test_validate_twine_file.rb -------------------------------------------------------------------------------- /test/twine_file_dsl.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/twine_file_dsl.rb -------------------------------------------------------------------------------- /test/twine_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/test/twine_test.rb -------------------------------------------------------------------------------- /twine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/twine -------------------------------------------------------------------------------- /twine.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scelis/twine/HEAD/twine.gemspec --------------------------------------------------------------------------------