├── .gitattributes ├── t ├── .gitignore └── data │ └── engine │ ├── issues │ └── 5 │ │ ├── resources │ │ └── strings.txt │ │ ├── reference-output │ │ ├── localized-resources │ │ │ └── ru_RU │ │ │ │ └── strings.txt │ │ └── database │ │ │ ├── items │ │ │ ├── strings │ │ │ ├── files │ │ │ └── translations │ │ └── README.md │ ├── validation │ ├── 01 │ │ ├── resources │ │ │ └── empty_directory │ │ ├── reference-output │ │ │ └── database │ │ │ │ ├── files │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ └── translations │ │ └── README.md │ └── 00 │ │ ├── README.md │ │ └── reference-output │ │ └── errors │ │ ├── .txt │ │ ├── no_db_source.txt │ │ ├── plugin_parameter_missing.txt │ │ ├── plugin_parameter_missing_2.txt │ │ ├── plugin_parameter_missing_3.txt │ │ ├── plugin_parameter_missing_4.txt │ │ ├── no_db_namespace.txt │ │ ├── unknown_dbi_driver.txt │ │ ├── destination_languages_empty.txt │ │ ├── incorrect_data_source_format.txt │ │ ├── plugin_not_found_2.txt │ │ ├── plugin_not_defined.txt │ │ ├── plugin_not_found.txt │ │ ├── ts_file_path_missing.txt │ │ ├── ts_file_path_no_macros.txt │ │ ├── output_file_path_missing.txt │ │ └── output_file_path_no_macros.txt │ ├── parse_php_xhtml │ ├── 05 │ │ ├── resources │ │ │ ├── 1.php │ │ │ ├── 2.php │ │ │ ├── 5.php │ │ │ ├── 4.php │ │ │ └── 3.php │ │ ├── reference-output │ │ │ ├── localized-resources │ │ │ │ └── test │ │ │ │ │ ├── 1.php │ │ │ │ │ ├── 2.php │ │ │ │ │ ├── 4.php │ │ │ │ │ ├── 5.php │ │ │ │ │ └── 3.php │ │ │ ├── database │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ └── translations │ │ │ └── po │ │ │ │ └── test │ │ │ │ ├── 1.php.po │ │ │ │ ├── 2.php.po │ │ │ │ └── 5.php.po │ │ └── README.md │ ├── 00 │ │ ├── resources │ │ │ ├── broken_02.html │ │ │ ├── broken_01.html │ │ │ └── broken_03.html │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ ├── 01 │ │ ├── resources │ │ │ └── strings.php │ │ ├── reference-output │ │ │ ├── localized-resources │ │ │ │ └── test │ │ │ │ │ └── strings.php │ │ │ └── database │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ ├── translations │ │ │ │ └── files │ │ └── README.md │ ├── 02 │ │ ├── resources │ │ │ └── strings.php │ │ ├── reference-output │ │ │ └── database │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ ├── translations │ │ │ │ └── files │ │ └── README.md │ ├── 03 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ ├── translations │ │ │ │ └── files │ │ │ ├── localized-resources │ │ │ │ └── test │ │ │ │ │ └── strings.php │ │ │ └── po │ │ │ │ └── test │ │ │ │ └── strings.php.po │ │ └── resources │ │ │ └── strings.php │ ├── 04 │ │ ├── resources │ │ │ ├── 1.html │ │ │ └── 2.html │ │ ├── README.md │ │ └── reference-output │ │ │ ├── localized-resources │ │ │ └── test │ │ │ │ ├── 1.html │ │ │ │ └── 2.html │ │ │ └── database │ │ │ ├── items │ │ │ ├── strings │ │ │ ├── files │ │ │ └── translations │ └── 06 │ │ ├── README.md │ │ └── reference-output │ │ └── database │ │ └── files │ ├── parse_yaml │ ├── 04 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── files │ │ │ │ ├── strings │ │ │ │ └── items │ │ │ └── localized-resources │ │ │ │ └── test │ │ │ │ └── strings.yml │ │ └── resources │ │ │ └── strings.yml │ ├── 05 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ ├── translations │ │ │ │ └── files │ │ │ ├── localized-resources │ │ │ │ └── test │ │ │ │ │ └── strings.yml │ │ │ └── po │ │ │ │ └── test │ │ │ │ └── strings.yml.po │ │ └── resources │ │ │ └── strings.yml │ ├── 00 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── files │ │ │ │ ├── strings │ │ │ │ ├── translations │ │ │ │ └── items │ │ │ └── localized-resources │ │ │ │ └── test │ │ │ │ └── strings.yml │ │ └── resources │ │ │ └── strings.yml │ ├── 01 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── files │ │ │ │ └── strings │ │ │ └── localized-resources │ │ │ │ └── test │ │ │ │ └── strings.yml │ │ └── resources │ │ │ └── strings.yml │ ├── 02 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── files │ │ │ │ ├── strings │ │ │ │ ├── translations │ │ │ │ └── items │ │ │ └── localized-resources │ │ │ │ └── test │ │ │ │ └── strings.yml │ │ └── resources │ │ │ └── strings.yml │ └── 03 │ │ ├── reference-output │ │ ├── database │ │ │ └── files │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings.yml │ │ └── resources │ │ └── strings.yml │ ├── trademarks │ └── 00 │ │ ├── README.md │ │ ├── reference-output │ │ ├── database │ │ │ ├── files │ │ │ ├── items │ │ │ └── strings │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings.ini │ │ └── resources │ │ └── strings.ini │ ├── placeholders │ └── 00 │ │ ├── README.md │ │ ├── reference-output │ │ ├── database │ │ │ ├── files │ │ │ ├── strings │ │ │ ├── translations │ │ │ └── items │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings.ini │ │ └── resources │ │ └── strings.ini │ ├── append_hint_message │ ├── 00 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ └── translations │ ├── 04 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ └── translations │ ├── 01 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ └── translations │ ├── 02 │ │ ├── README.md │ │ ├── resources │ │ │ └── strings.ini │ │ └── reference-output │ │ │ ├── database │ │ │ ├── files │ │ │ ├── strings │ │ │ ├── items │ │ │ └── translations │ │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings.ini │ ├── 03 │ │ ├── reference-output │ │ │ └── database │ │ │ │ └── files │ │ └── README.md │ └── 05 │ │ ├── reference-output │ │ └── database │ │ │ └── files │ │ └── README.md │ ├── keys_language │ ├── 00 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ ├── 03 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ ├── 01 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ ├── 04 │ │ ├── reference-output │ │ │ └── database │ │ │ │ ├── files │ │ │ │ ├── items │ │ │ │ └── strings │ │ ├── README.md │ │ └── resources │ │ │ └── page.html │ └── 02 │ │ ├── reference-output │ │ └── database │ │ │ └── files │ │ └── README.md │ ├── replace_strings │ ├── 07 │ │ ├── resources │ │ │ └── strings.txt │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── translations │ │ │ │ ├── files │ │ │ │ ├── items │ │ │ │ └── strings │ │ │ └── localized-resources │ │ │ │ ├── pt │ │ │ │ └── strings.txt │ │ │ │ └── pt_BR │ │ │ │ └── strings.txt │ │ └── README.md │ ├── 04 │ │ ├── resources │ │ │ └── strings.txt │ │ ├── reference-output │ │ │ ├── localized-resources │ │ │ │ └── de │ │ │ │ │ └── strings.txt │ │ │ └── database │ │ │ │ ├── files │ │ │ │ ├── strings │ │ │ │ ├── items │ │ │ │ └── translations │ │ └── README.md │ ├── 05 │ │ ├── resources │ │ │ └── strings.txt │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── translations │ │ │ │ ├── files │ │ │ │ ├── strings │ │ │ │ └── items │ │ │ └── localized-resources │ │ │ │ └── de │ │ │ │ └── strings.txt │ │ └── README.md │ ├── 08 │ │ ├── resources │ │ │ └── my strings.txt │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── translations │ │ │ │ ├── files │ │ │ │ ├── strings │ │ │ │ └── items │ │ │ └── localized-resources │ │ │ │ └── de │ │ │ │ └── my strings.txt │ │ └── README.md │ ├── 02 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ └── translations │ ├── 06 │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── translations │ │ │ │ ├── files │ │ │ │ ├── strings │ │ │ │ └── items │ │ │ └── localized-resources │ │ │ │ ├── pt │ │ │ │ └── strings.txt │ │ │ │ └── pt_BR │ │ │ │ └── strings.txt │ │ ├── resources │ │ │ └── strings.txt │ │ └── README.md │ ├── 00 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ └── translations │ ├── 03 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ ├── files │ │ │ │ └── translations │ │ │ └── localized-resources │ │ │ │ └── test │ │ │ │ ├── strings2.xml │ │ │ │ └── strings1.xml │ │ └── resources │ │ │ ├── strings2.xml │ │ │ └── strings1.xml │ └── 01 │ │ ├── reference-output │ │ ├── database │ │ │ ├── items │ │ │ ├── strings │ │ │ ├── files │ │ │ └── translations │ │ └── localized-resources │ │ │ └── test │ │ │ ├── strings2.xml │ │ │ └── strings1.special.xml │ │ ├── resources │ │ ├── strings2.xml │ │ └── strings1.xml │ │ └── README.md │ ├── parse_json │ ├── 02 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ ├── translations │ │ │ │ └── files │ │ │ └── localized-resources │ │ │ │ └── test │ │ │ │ └── blanks.json │ │ └── resources │ │ │ └── blanks.json │ ├── 04 │ │ ├── resources │ │ │ └── test.json │ │ ├── README.md │ │ └── reference-output │ │ │ ├── database │ │ │ ├── items │ │ │ ├── strings │ │ │ ├── translations │ │ │ └── files │ │ │ └── localized-resources │ │ │ └── test │ │ │ └── test.json │ ├── 01 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ ├── 06 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ ├── 03 │ │ ├── reference-output │ │ │ └── database │ │ │ │ └── files │ │ └── README.md │ ├── 05 │ │ ├── reference-output │ │ │ └── database │ │ │ │ └── files │ │ └── README.md │ └── 00 │ │ ├── reference-output │ │ ├── database │ │ │ ├── strings │ │ │ ├── files │ │ │ ├── items │ │ │ └── translations │ │ └── localized-resources │ │ │ └── test │ │ │ └── relaxed.json │ │ └── resources │ │ └── relaxed.json │ ├── reuse_options │ ├── 00 │ │ ├── resources │ │ │ ├── 1.properties │ │ │ └── 2.properties │ │ ├── reference-output │ │ │ ├── localized-resources │ │ │ │ └── test │ │ │ │ │ ├── 1.properties │ │ │ │ │ └── 2.properties │ │ │ └── database │ │ │ │ ├── strings │ │ │ │ ├── items │ │ │ │ ├── translations │ │ │ │ └── files │ │ └── README.md │ ├── 01 │ │ ├── resources │ │ │ ├── 1.properties │ │ │ └── 2.properties │ │ ├── reference-output │ │ │ ├── localized-resources │ │ │ │ └── test │ │ │ │ │ ├── 1.properties │ │ │ │ │ └── 2.properties │ │ │ └── database │ │ │ │ ├── strings │ │ │ │ ├── translations │ │ │ │ ├── items │ │ │ │ └── files │ │ └── README.md │ ├── 02 │ │ ├── resources │ │ │ ├── 1.properties │ │ │ └── 2.properties │ │ ├── reference-output │ │ │ ├── localized-resources │ │ │ │ └── test │ │ │ │ │ ├── 1.properties │ │ │ │ │ └── 2.properties │ │ │ └── database │ │ │ │ ├── strings │ │ │ │ ├── items │ │ │ │ ├── translations │ │ │ │ └── files │ │ └── README.md │ ├── 03 │ │ ├── resources │ │ │ ├── 1.properties │ │ │ ├── 2.properties │ │ │ └── 3.properties │ │ ├── reference-output │ │ │ ├── localized-resources │ │ │ │ └── test │ │ │ │ │ ├── 1.properties │ │ │ │ │ ├── 2.properties │ │ │ │ │ └── 3.properties │ │ │ └── database │ │ │ │ ├── strings │ │ │ │ ├── items │ │ │ │ ├── translations │ │ │ │ └── files │ │ └── README.md │ ├── 04 │ │ ├── resources │ │ │ ├── 1.properties │ │ │ ├── 2.properties │ │ │ └── 3.properties │ │ ├── reference-output │ │ │ ├── localized-resources │ │ │ │ └── test │ │ │ │ │ ├── 1.properties │ │ │ │ │ ├── 2.properties │ │ │ │ │ └── 3.properties │ │ │ └── database │ │ │ │ ├── strings │ │ │ │ ├── items │ │ │ │ ├── files │ │ │ │ └── translations │ │ └── README.md │ ├── 05 │ │ ├── resources │ │ │ ├── 1.properties │ │ │ ├── 2.properties │ │ │ └── 3.properties │ │ ├── reference-output │ │ │ ├── localized-resources │ │ │ │ └── test │ │ │ │ │ ├── 1.properties │ │ │ │ │ ├── 2.properties │ │ │ │ │ └── 3.properties │ │ │ └── database │ │ │ │ ├── strings │ │ │ │ ├── items │ │ │ │ ├── files │ │ │ │ └── translations │ │ └── README.md │ ├── 06 │ │ ├── resources │ │ │ ├── 1.properties │ │ │ ├── 2.properties │ │ │ └── 3.properties │ │ └── reference-output │ │ │ ├── localized-resources │ │ │ └── test │ │ │ │ ├── 1.properties │ │ │ │ ├── 2.properties │ │ │ │ └── 3.properties │ │ │ └── database │ │ │ ├── strings │ │ │ ├── items │ │ │ ├── translations │ │ │ └── files │ └── 07 │ │ ├── resources │ │ ├── 1.properties │ │ └── 2.properties │ │ ├── reference-output │ │ ├── database │ │ │ ├── translations │ │ │ ├── strings │ │ │ ├── items │ │ │ └── files │ │ └── localized-resources │ │ │ └── test │ │ │ ├── 1.properties │ │ │ └── 2.properties │ │ └── README.md │ ├── similar_languages │ └── 00 │ │ ├── resources │ │ └── test.txt.master │ │ └── reference-output │ │ ├── localized-resources │ │ ├── test_es.txt │ │ └── test_es_419.txt │ │ └── database │ │ ├── items │ │ ├── strings │ │ ├── files │ │ └── translations │ ├── process_if │ ├── 00 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ ├── items │ │ │ ├── strings │ │ │ ├── files │ │ │ └── translations │ └── 01 │ │ ├── README.md │ │ ├── resources │ │ └── sample.ini │ │ └── reference-output │ │ ├── database │ │ ├── files │ │ ├── strings │ │ ├── items │ │ └── translations │ │ └── localized-resources │ │ └── test │ │ └── sample.ini │ ├── run_command │ ├── 02 │ │ ├── README.md │ │ └── reference-output │ │ │ ├── localized-resources │ │ │ └── test │ │ │ │ ├── strings.xml.md5 │ │ │ │ └── strings.xml.md5.copy │ │ │ └── database │ │ │ └── files │ ├── 00 │ │ ├── reference-output │ │ │ ├── localized-resources │ │ │ │ └── test │ │ │ │ │ └── strings.xml.md5 │ │ │ └── database │ │ │ │ └── files │ │ └── README.md │ └── 01 │ │ ├── reference-output │ │ ├── localized-resources │ │ │ └── test │ │ │ │ └── strings.xml.md5 │ │ └── database │ │ │ └── files │ │ └── README.md │ ├── apply_xslt │ ├── 00 │ │ ├── README.md │ │ └── reference-output │ │ │ ├── database │ │ │ ├── files │ │ │ ├── translations │ │ │ ├── items │ │ │ └── strings │ │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings.xml │ ├── 05 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── files │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ └── translations │ │ │ └── errors │ │ │ │ └── test_job.txt │ │ └── resources │ │ │ └── strings1.xml │ ├── 09-xslt-params │ │ ├── README.md │ │ └── reference-output │ │ │ ├── database │ │ │ ├── files │ │ │ └── translations │ │ │ └── localized-resources │ │ │ └── test │ │ │ ├── strings2.xml │ │ │ └── strings.xml │ ├── 03 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── files │ │ │ │ ├── translations │ │ │ │ └── strings │ │ │ └── localized-resources │ │ │ │ └── test │ │ │ │ ├── strings2.xml │ │ │ │ └── strings1.xml │ │ └── resources │ │ │ └── strings1.xml │ ├── 07-xliff-firstnote-to-resname │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── translations │ │ │ │ ├── files │ │ │ │ ├── strings │ │ │ │ └── items │ │ │ └── localized-resources │ │ │ │ └── de │ │ │ │ └── StripesResources.properties │ │ ├── README.md │ │ └── resources │ │ │ └── StripesResources.properties │ ├── 01 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ ├── translations │ │ │ └── strings │ ├── 02 │ │ ├── README.md │ │ └── reference-output │ │ │ ├── database │ │ │ ├── files │ │ │ ├── translations │ │ │ └── strings │ │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings.xml │ ├── 04 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── errors │ │ │ │ └── test_job.txt │ │ │ └── database │ │ │ │ ├── files │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ └── translations │ │ └── resources │ │ │ └── invalid_strings.xml │ ├── 06-xliff-context-to-resname │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ ├── items │ │ │ ├── strings │ │ │ └── translations │ ├── 06 │ │ ├── reference-output │ │ │ └── database │ │ │ │ └── files │ │ └── README.md │ ├── 08-xliff-filter-untranslated │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ ├── strings │ │ │ ├── items │ │ │ └── translations │ └── 10-xliff-unique-resname │ │ ├── README.md │ │ ├── resources │ │ └── second │ │ │ └── alpha.xml │ │ └── reference-output │ │ ├── localized-resources │ │ └── test │ │ │ └── second │ │ │ └── alpha.xml │ │ └── database │ │ └── files │ ├── limit_languages │ ├── 00 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── strings │ │ │ │ ├── items │ │ │ │ ├── translations │ │ │ │ └── files │ │ │ └── localized-resources │ │ │ │ ├── de │ │ │ │ ├── strings.xml │ │ │ │ └── strings5.xml │ │ │ │ ├── es │ │ │ │ ├── strings.xml │ │ │ │ └── strings5.xml │ │ │ │ ├── fr │ │ │ │ ├── strings.xml │ │ │ │ └── strings5.xml │ │ │ │ └── test │ │ │ │ ├── strings.xml │ │ │ │ └── strings3.xml │ │ └── resources │ │ │ ├── strings.xml │ │ │ ├── strings4.xml │ │ │ ├── strings2.xml │ │ │ ├── strings3.xml │ │ │ └── strings5.xml │ ├── 01 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── strings │ │ │ │ ├── items │ │ │ │ ├── files │ │ │ │ └── translations │ │ │ └── localized-resources │ │ │ │ └── test │ │ │ │ └── strings3.xml │ │ └── resources │ │ │ ├── strings.xml │ │ │ ├── strings3.xml │ │ │ └── strings2.xml │ └── 02 │ │ ├── README.md │ │ ├── reference-output │ │ ├── database │ │ │ ├── strings │ │ │ ├── items │ │ │ ├── translations │ │ │ └── files │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings2.localizable.xml │ │ └── resources │ │ ├── strings.xml │ │ ├── strings2.xml │ │ └── strings2.localizable.xml │ ├── parse_js │ ├── 01 │ │ └── reference-output │ │ │ └── database │ │ │ ├── translations │ │ │ └── files │ ├── 02 │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── translations │ │ │ │ ├── files │ │ │ │ ├── strings │ │ │ │ └── items │ │ │ └── localized-resources │ │ │ │ └── strings_test.js │ │ ├── README.md │ │ └── resources │ │ │ └── strings.js │ ├── 04 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── files │ │ │ │ ├── strings │ │ │ │ ├── items │ │ │ │ └── translations │ │ │ └── localized-resources │ │ │ │ └── strings_test.js │ │ └── resources │ │ │ └── strings.js │ ├── 00 │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ └── 03 │ │ ├── reference-output │ │ └── database │ │ │ ├── files │ │ │ └── strings │ │ └── README.md │ ├── completeness │ ├── 01 │ │ ├── reference-output │ │ │ └── database │ │ │ │ ├── translations │ │ │ │ ├── files │ │ │ │ ├── items │ │ │ │ └── strings │ │ ├── README.md │ │ └── resources │ │ │ └── strings.xml │ ├── 04 │ │ ├── reference-output │ │ │ └── database │ │ │ │ ├── translations │ │ │ │ ├── files │ │ │ │ ├── items │ │ │ │ └── strings │ │ ├── README.md │ │ └── resources │ │ │ └── strings.xml │ ├── 00 │ │ ├── reference-output │ │ │ └── database │ │ │ │ ├── files │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ └── translations │ │ ├── README.md │ │ └── resources │ │ │ └── strings.xml │ ├── 03 │ │ ├── resources │ │ │ ├── strings2.xml │ │ │ ├── strings3.xml │ │ │ ├── strings1.xml │ │ │ └── strings4.xml │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── strings │ │ │ │ └── files │ │ │ ├── localized-resources │ │ │ │ └── test │ │ │ │ │ ├── strings2.xml │ │ │ │ │ ├── strings3.xml │ │ │ │ │ └── strings1.xml │ │ │ └── po │ │ │ │ └── test │ │ │ │ └── strings2.xml.po │ │ └── README.md │ └── 02 │ │ ├── resources │ │ └── strings1.xml │ │ └── reference-output │ │ └── localized-resources │ │ └── test │ │ └── strings1.xml │ ├── segmenter │ ├── 00 │ │ ├── README.md │ │ ├── reference-output │ │ │ └── database │ │ │ │ ├── files │ │ │ │ └── items │ │ └── resources │ │ │ └── strings.txt │ ├── 01 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── files │ │ │ │ └── items │ │ │ └── localized-resources │ │ │ │ └── test │ │ │ │ └── strings.txt │ │ └── resources │ │ │ └── strings.txt │ ├── 02 │ │ ├── README.md │ │ ├── reference-output │ │ │ └── database │ │ │ │ ├── files │ │ │ │ └── items │ │ └── resources │ │ │ └── strings.txt │ ├── 03 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── files │ │ │ │ ├── strings │ │ │ │ ├── items │ │ │ │ └── translations │ │ │ └── localized-resources │ │ │ │ └── test │ │ │ │ └── strings.xml │ │ └── resources │ │ │ └── strings.xml │ └── 04 │ │ ├── resources │ │ └── strings.txt │ │ ├── reference-output │ │ ├── database │ │ │ ├── files │ │ │ ├── items │ │ │ ├── strings │ │ │ └── translations │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings.txt │ │ └── README.md │ ├── feature_branch │ ├── 00 │ │ ├── resources │ │ │ ├── feature2 │ │ │ │ └── strings.ini │ │ │ ├── master │ │ │ │ └── strings.ini │ │ │ └── feature1 │ │ │ │ └── strings.ini │ │ ├── reference-output │ │ │ ├── localized-resources │ │ │ │ ├── feature2 │ │ │ │ │ └── test │ │ │ │ │ │ └── strings.ini │ │ │ │ ├── test │ │ │ │ │ └── strings.ini │ │ │ │ └── feature1 │ │ │ │ │ └── test │ │ │ │ │ └── strings.ini │ │ │ └── database │ │ │ │ └── files │ │ └── README.md │ ├── 02-use-keys-as-context │ │ ├── resources │ │ │ ├── master │ │ │ │ └── strings.ini │ │ │ └── feature1 │ │ │ │ └── strings.ini │ │ ├── reference-output │ │ │ ├── localized-resources │ │ │ │ ├── test │ │ │ │ │ └── strings.ini │ │ │ │ └── feature1 │ │ │ │ │ └── test │ │ │ │ │ └── strings.ini │ │ │ └── database │ │ │ │ ├── strings │ │ │ │ ├── items │ │ │ │ ├── translations │ │ │ │ └── files │ │ └── README.md │ └── 01-dont-use-keys-as-context │ │ ├── resources │ │ ├── master │ │ │ └── strings.ini │ │ └── feature1 │ │ │ └── strings.ini │ │ ├── reference-output │ │ ├── localized-resources │ │ │ ├── test │ │ │ │ └── strings.ini │ │ │ └── feature1 │ │ │ │ └── test │ │ │ │ └── strings.ini │ │ └── database │ │ │ ├── strings │ │ │ ├── items │ │ │ ├── files │ │ │ └── translations │ │ └── README.md │ ├── parse_properties │ ├── 01 │ │ └── reference-output │ │ │ └── database │ │ │ ├── translations │ │ │ ├── files │ │ │ └── strings │ └── 00 │ │ └── reference-output │ │ └── database │ │ ├── files │ │ ├── strings │ │ └── translations │ ├── parse_xml │ ├── 03 │ │ ├── README.md │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── files │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ └── translations │ │ │ └── localized-resources │ │ │ │ └── test │ │ │ │ └── strings.xml │ │ └── resources │ │ │ └── strings.xml │ ├── 04 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ ├── 01 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ ├── 02 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ └── 00 │ │ └── reference-output │ │ └── database │ │ └── files │ ├── test_language │ └── 00 │ │ ├── README.md │ │ └── reference-output │ │ └── database │ │ └── files │ ├── parse_csv │ ├── 01 │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── items │ │ │ │ ├── strings │ │ │ │ ├── translations │ │ │ │ └── files │ │ │ └── localized-resources │ │ │ │ └── test │ │ │ │ └── strings.csv │ │ └── resources │ │ │ └── strings.csv │ └── 00 │ │ ├── reference-output │ │ ├── database │ │ │ ├── files │ │ │ ├── items │ │ │ └── strings │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings.csv │ │ └── resources │ │ └── strings.csv │ ├── parse_locjson │ ├── 02 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ └── items │ ├── 00 │ │ ├── reference-output │ │ │ └── database │ │ │ │ ├── files │ │ │ │ └── items │ │ └── README.md │ └── 01 │ │ ├── reference-output │ │ └── database │ │ │ ├── files │ │ │ └── items │ │ └── README.md │ ├── parse_wxl │ └── 00 │ │ ├── reference-output │ │ ├── database │ │ │ ├── items │ │ │ ├── files │ │ │ ├── strings │ │ │ └── translations │ │ └── localized-resources │ │ │ └── strings.test-TEST.wxl │ │ └── resources │ │ └── strings_en-us.wxl │ ├── parse_master │ ├── 01 │ │ ├── README.md │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ └── 00 │ │ └── reference-output │ │ └── database │ │ └── files │ ├── parse_go │ └── 00 │ │ └── reference-output │ │ └── database │ │ └── files │ ├── parse_ts │ └── 00 │ │ └── reference-output │ │ └── database │ │ ├── files │ │ ├── items │ │ ├── translations │ │ └── strings │ ├── parse_dtd │ └── 00 │ │ ├── reference-output │ │ ├── database │ │ │ ├── files │ │ │ ├── items │ │ │ ├── strings │ │ │ └── translations │ │ └── localized-resources │ │ │ └── test-TEST │ │ │ └── strings.dtd │ │ └── resources │ │ └── strings.dtd │ ├── parse_pot │ ├── 01 │ │ └── reference-output │ │ │ ├── database │ │ │ ├── files │ │ │ ├── items │ │ │ ├── strings │ │ │ └── translations │ │ │ └── localized-resources │ │ │ └── test │ │ │ └── template.mo │ └── 00 │ │ ├── resources │ │ └── non-standard.pot │ │ └── reference-output │ │ ├── database │ │ └── files │ │ └── localized-resources │ │ └── test │ │ └── non-standard.pot │ ├── parse_rc │ └── 00 │ │ └── reference-output │ │ └── database │ │ └── files │ ├── parse_rrc │ └── 00 │ │ ├── reference-output │ │ ├── database │ │ │ ├── files │ │ │ ├── items │ │ │ ├── strings │ │ │ └── translations │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings.rrc │ │ └── resources │ │ └── strings.rrc │ ├── metaparser │ ├── 00-ini │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ ├── strings │ │ │ └── translations │ ├── 01-inc │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ ├── strings │ │ │ └── translations │ └── 02-php-defines │ │ ├── reference-output │ │ ├── database │ │ │ ├── files │ │ │ ├── strings │ │ │ ├── translations │ │ │ └── items │ │ └── localized-resources │ │ │ └── test │ │ │ └── sample.php │ │ └── resources │ │ └── sample.php │ ├── parse_android │ ├── 00 │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ ├── 02-use-keys-as-context │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ └── 01-cleanup-untranslated │ │ └── reference-output │ │ ├── localized-resources │ │ └── de │ │ │ └── strings2.xml │ │ └── database │ │ └── files │ ├── parse_keyvalue │ └── 00 │ │ ├── reference-output │ │ ├── database │ │ │ ├── files │ │ │ ├── strings │ │ │ ├── items │ │ │ └── translations │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings.txt │ │ └── resources │ │ └── strings.txt │ ├── parse_plist │ └── 00 │ │ └── reference-output │ │ └── database │ │ ├── files │ │ ├── strings │ │ ├── items │ │ └── translations │ ├── parse_resx │ └── 00 │ │ └── reference-output │ │ └── database │ │ ├── files │ │ ├── items │ │ ├── strings │ │ └── translations │ ├── serialize_xliff │ ├── 00 │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ ├── translations │ │ │ ├── strings │ │ │ └── items │ ├── 01 │ │ └── reference-output │ │ │ └── database │ │ │ ├── files │ │ │ └── strings │ ├── 02-deserialize-comment │ │ ├── reference-output │ │ │ ├── database │ │ │ │ ├── files │ │ │ │ ├── strings │ │ │ │ ├── translations │ │ │ │ └── items │ │ │ └── localized-resources │ │ │ │ └── de │ │ │ │ └── StripesResources.properties │ │ └── resources │ │ │ └── StripesResources.properties │ └── 03-deserialize-context │ │ ├── reference-output │ │ └── database │ │ │ ├── files │ │ │ ├── strings │ │ │ └── translations │ │ └── resources │ │ └── StripesResources.properties │ ├── transform │ └── 00 │ │ ├── reference-output │ │ ├── database │ │ │ ├── files │ │ │ └── items │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings.properties │ │ ├── README.md │ │ └── resources │ │ └── strings.properties │ ├── parse_chrome_json │ └── 00 │ │ └── reference-output │ │ └── database │ │ └── files │ ├── parse_json_keyvalue │ └── 00 │ │ ├── reference-output │ │ ├── database │ │ │ ├── files │ │ │ ├── strings │ │ │ ├── items │ │ │ └── translations │ │ └── localized-resources │ │ │ └── test │ │ │ └── strings.json │ │ └── resources │ │ └── strings.json │ ├── parse_strings │ └── 00 │ │ └── reference-output │ │ ├── database │ │ └── files │ │ └── localized-resources │ │ └── test.lproj │ │ └── Localizable.strings │ ├── serialize_csv │ ├── 00 │ │ └── reference-output │ │ │ └── database │ │ │ └── files │ └── 01-deserialize │ │ └── reference-output │ │ └── database │ │ └── files │ ├── serialize_po │ └── 00-deserialize │ │ ├── reference-output │ │ ├── database │ │ │ ├── files │ │ │ ├── strings │ │ │ ├── translations │ │ │ └── items │ │ └── localized-resources │ │ │ └── de │ │ │ └── StripesResources.properties │ │ └── resources │ │ └── StripesResources.properties │ ├── md5.pl │ ├── cp.pl │ └── parse_xliff │ └── 00 │ └── reference-output │ └── database │ └── strings ├── bin ├── serge.bat └── tools │ ├── generate-cldr-plurals-package │ └── .gitignore │ └── README ├── doc └── html │ └── media │ └── favicon.ico ├── LICENSE ├── MANIFEST.SKIP └── .gitignore /.gitattributes: -------------------------------------------------------------------------------- 1 | * -text -------------------------------------------------------------------------------- /t/.gitignore: -------------------------------------------------------------------------------- 1 | test-output -------------------------------------------------------------------------------- /bin/serge.bat: -------------------------------------------------------------------------------- 1 | @perl %~dp0serge %* -------------------------------------------------------------------------------- /t/data/engine/issues/5/resources/strings.txt: -------------------------------------------------------------------------------- 1 | foo=Foo -------------------------------------------------------------------------------- /t/data/engine/validation/01/resources/empty_directory: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/resources/1.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/04/README.md: -------------------------------------------------------------------------------- 1 | Test for arrays. 2 | -------------------------------------------------------------------------------- /bin/tools/generate-cldr-plurals-package/.gitignore: -------------------------------------------------------------------------------- 1 | plurals.xml -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/00/resources/broken_02.html: -------------------------------------------------------------------------------- 1 |

foo -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/resources/2.php: -------------------------------------------------------------------------------- 1 | foo2 -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/05/README.md: -------------------------------------------------------------------------------- 1 | Test for boolean values. -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/00/resources/broken_01.html: -------------------------------------------------------------------------------- 1 | foo&bar -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/00/resources/broken_03.html: -------------------------------------------------------------------------------- 1 | foo

-------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/01/resources/strings.php: -------------------------------------------------------------------------------- 1 |

bar

-------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/02/resources/strings.php: -------------------------------------------------------------------------------- 1 |

bar

-------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/03/README.md: -------------------------------------------------------------------------------- 1 | Test for self-closing tags -------------------------------------------------------------------------------- /t/data/engine/trademarks/00/README.md: -------------------------------------------------------------------------------- 1 | Test for `trademarks` plugin -------------------------------------------------------------------------------- /t/data/engine/validation/00/README.md: -------------------------------------------------------------------------------- 1 | Fail wheb db_source is empty -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/04/resources/1.html: -------------------------------------------------------------------------------- 1 | Test message -------------------------------------------------------------------------------- /t/data/engine/placeholders/00/README.md: -------------------------------------------------------------------------------- 1 | Test for `placeholders` plugin -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/00/README.md: -------------------------------------------------------------------------------- 1 | Test for 'append_hint' plugin -------------------------------------------------------------------------------- /t/data/engine/keys_language/00/README.md: -------------------------------------------------------------------------------- 1 | Test for `keys_language` plugin 2 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/resources/5.php: -------------------------------------------------------------------------------- 1 | foo5 -------------------------------------------------------------------------------- /t/data/engine/replace_strings/07/resources/strings.txt: -------------------------------------------------------------------------------- 1 | foo=Foo! 2 | bar=Bar? -------------------------------------------------------------------------------- /t/data/engine/parse_json/02/README.md: -------------------------------------------------------------------------------- 1 | Test for blank, whitespace-only and "0" values -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/04/README.md: -------------------------------------------------------------------------------- 1 | Test for bare HTML without enclosing tags -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/05/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/04/resources/strings.txt: -------------------------------------------------------------------------------- 1 | first=First 2 | second=Second -------------------------------------------------------------------------------- /t/data/engine/replace_strings/05/resources/strings.txt: -------------------------------------------------------------------------------- 1 | first=First 2 | second=Second -------------------------------------------------------------------------------- /t/data/engine/reuse_options/00/resources/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/00/resources/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/01/resources/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/01/resources/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/02/resources/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/02/resources/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/03/resources/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/03/resources/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/03/resources/3.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/04/resources/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/04/resources/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/04/resources/3.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/05/resources/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/05/resources/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/05/resources/3.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/06/resources/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/06/resources/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/06/resources/3.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/07/resources/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/07/resources/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/similar_languages/00/resources/test.txt.master: -------------------------------------------------------------------------------- 1 | foo = <%foo%> 2 | -------------------------------------------------------------------------------- /t/data/engine/validation/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/validation/01/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/04/resources/test.json: -------------------------------------------------------------------------------- 1 | loadData({ 2 | "key": "value" 3 | }); -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/03/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/04/resources/2.html: -------------------------------------------------------------------------------- 1 | Test message 2 |

Test 2

-------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/reference-output/localized-resources/test/1.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/resources/4.php: -------------------------------------------------------------------------------- 1 | foo4 -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/05/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/05/resources/strings.yml: -------------------------------------------------------------------------------- 1 | test1: true 2 | test2: [true, false] -------------------------------------------------------------------------------- /t/data/engine/process_if/00/README.md: -------------------------------------------------------------------------------- 1 | Test for 'process_if' plugin, 'can_extract' phase -------------------------------------------------------------------------------- /t/data/engine/replace_strings/08/resources/my strings.txt: -------------------------------------------------------------------------------- 1 | first=First 2 | second=Second -------------------------------------------------------------------------------- /t/data/engine/run_command/02/README.md: -------------------------------------------------------------------------------- 1 | Test for 'run_command' plugin, multiple commands -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/.txt: -------------------------------------------------------------------------------- 1 | job has an empty 'id' property -------------------------------------------------------------------------------- /t/data/engine/validation/01/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/00/README.md: -------------------------------------------------------------------------------- 1 | Test for 'apply_xslt' plugin, 'after_load_file' phase -------------------------------------------------------------------------------- /t/data/engine/issues/5/reference-output/localized-resources/ru_RU/strings.txt: -------------------------------------------------------------------------------- 1 | foo=Translation -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/README.md: -------------------------------------------------------------------------------- 1 | Test for 'limit_languages' plugin, default mode -------------------------------------------------------------------------------- /t/data/engine/limit_languages/01/README.md: -------------------------------------------------------------------------------- 1 | Test for 'limit_languages' plugin, custom rules -------------------------------------------------------------------------------- /t/data/engine/parse_js/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/02/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/04/README.md: -------------------------------------------------------------------------------- 1 | Test for backtick quotes (aka template literals). 2 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/03/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/README.md: -------------------------------------------------------------------------------- 1 | Test for bare HTML without enclosing tags + PHP -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/reference-output/localized-resources/test/2.php: -------------------------------------------------------------------------------- 1 | foo2 -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/00/README.md: -------------------------------------------------------------------------------- 1 | Test for default plugin settings (`expand_aliases NO`) -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/01/README.md: -------------------------------------------------------------------------------- 1 | Test for custom plugin settings (`expand_aliases YES`) -------------------------------------------------------------------------------- /t/data/engine/validation/01/README.md: -------------------------------------------------------------------------------- 1 | Test for a job that doesn't have any matching files. -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/04/README.md: -------------------------------------------------------------------------------- 1 | Test for 'append_hint' plugin, multiple messages -------------------------------------------------------------------------------- /t/data/engine/completeness/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/completeness/04/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/01/README.md: -------------------------------------------------------------------------------- 1 | Test for `path_html` plugin option (HTML inside JSON values) -------------------------------------------------------------------------------- /t/data/engine/parse_json/06/README.md: -------------------------------------------------------------------------------- 1 | Test for streaming_mode parsing with arrays of mixed values. -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/01/reference-output/localized-resources/test/strings.php: -------------------------------------------------------------------------------- 1 |

ba -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/05/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/07/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/00/README.md: -------------------------------------------------------------------------------- 1 | Test for the `segmenter` plugin with default settings. 2 | -------------------------------------------------------------------------------- /t/data/engine/similar_languages/00/reference-output/localized-resources/test_es.txt: -------------------------------------------------------------------------------- 1 | foo = ḟőő 2 | -------------------------------------------------------------------------------- /t/data/engine/validation/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/00/resources/feature2/strings.ini: -------------------------------------------------------------------------------- 1 | string6=qaz wsx 2 | string7=QAZ WSX 3 | -------------------------------------------------------------------------------- /t/data/engine/keys_language/03/README.md: -------------------------------------------------------------------------------- 1 | Test for `keys_language` plugin with a custom language 2 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/02/README.md: -------------------------------------------------------------------------------- 1 | Test for 'limit_languages' plugin, custom negative rules 2 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/03/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/04/reference-output/localized-resources/test/1.html: -------------------------------------------------------------------------------- 1 | Ŧēšţ ḿēššáğē -------------------------------------------------------------------------------- /t/data/engine/parse_properties/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_xml/03/README.md: -------------------------------------------------------------------------------- 1 | Test for 'parse_xml' plugin with `node_html` option enabled. 2 | -------------------------------------------------------------------------------- /t/data/engine/parse_xml/04/README.md: -------------------------------------------------------------------------------- 1 | Test for 'parse_xml' plugin with attribute localization rules. 2 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/02/README.md: -------------------------------------------------------------------------------- 1 | Test for Ruby-on-Rails-specific YAML files (`yaml_kind rails`) -------------------------------------------------------------------------------- /t/data/engine/replace_strings/02/README.md: -------------------------------------------------------------------------------- 1 | Test for 'replace_strings' plugin, 'rewrite_source' phase -------------------------------------------------------------------------------- /t/data/engine/replace_strings/05/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/06/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/06/resources/strings.txt: -------------------------------------------------------------------------------- 1 | # header 2 | 3 | first=First 4 | second=Second -------------------------------------------------------------------------------- /t/data/engine/replace_strings/07/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/08/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/similar_languages/00/reference-output/localized-resources/test_es_419.txt: -------------------------------------------------------------------------------- 1 | foo = ḟőő 2 | -------------------------------------------------------------------------------- /t/data/engine/completeness/04/README.md: -------------------------------------------------------------------------------- 1 | This is a test for 'completeness' plugin, `bypass_languages` option. -------------------------------------------------------------------------------- /t/data/engine/feature_branch/02-use-keys-as-context/resources/master/strings.ini: -------------------------------------------------------------------------------- 1 | key1=foo 2 | key2=foo 3 | -------------------------------------------------------------------------------- /t/data/engine/issues/5/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 foo NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/issues/5/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 Foo NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/reference-output/localized-resources/test/4.php: -------------------------------------------------------------------------------- 1 | ḟőő4 -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/reference-output/localized-resources/test/5.php: -------------------------------------------------------------------------------- 1 | foo5 -------------------------------------------------------------------------------- /t/data/engine/parse_xml/01/README.md: -------------------------------------------------------------------------------- 1 | Test for 'parse_xml' plugin with `autodetect_html` option enabled. 2 | -------------------------------------------------------------------------------- /t/data/engine/parse_xml/02/README.md: -------------------------------------------------------------------------------- 1 | Test for 'parse_xml' plugin with `comment_attrs` option enabled. 2 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/00/README.md: -------------------------------------------------------------------------------- 1 | Test for 'replace_strings' plugin, 'rewrite_translation' phase -------------------------------------------------------------------------------- /t/data/engine/replace_strings/04/reference-output/localized-resources/de/strings.txt: -------------------------------------------------------------------------------- 1 | first=1 2 | second=zwei -------------------------------------------------------------------------------- /t/data/engine/replace_strings/05/README.md: -------------------------------------------------------------------------------- 1 | Test for 'replace_strings' plugin, 'after_serialize_ts_file' phase -------------------------------------------------------------------------------- /t/data/engine/replace_strings/06/README.md: -------------------------------------------------------------------------------- 1 | Test for 'replace_strings' plugin with language/locale macros 2 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/07/reference-output/localized-resources/pt/strings.txt: -------------------------------------------------------------------------------- 1 | foo=Foo! 2 | bar=Bar? -------------------------------------------------------------------------------- /t/data/engine/replace_strings/07/reference-output/localized-resources/pt_BR/strings.txt: -------------------------------------------------------------------------------- 1 | foo=Foo! 2 | bar=Bar? -------------------------------------------------------------------------------- /t/data/engine/segmenter/01/README.md: -------------------------------------------------------------------------------- 1 | Test for the `segmenter` plugin with `split_sentences` turned on. 2 | -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/no_db_source.txt: -------------------------------------------------------------------------------- 1 | job has an empty 'db_source' property -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/plugin_parameter_missing.txt: -------------------------------------------------------------------------------- 1 | 'plugin' parameter missing -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/plugin_parameter_missing_2.txt: -------------------------------------------------------------------------------- 1 | 'plugin' parameter missing -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/plugin_parameter_missing_3.txt: -------------------------------------------------------------------------------- 1 | 'plugin' parameter missing -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/plugin_parameter_missing_4.txt: -------------------------------------------------------------------------------- 1 | 'plugin' parameter missing -------------------------------------------------------------------------------- /doc/html/media/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serge-community/serge/HEAD/doc/html/media/favicon.ico -------------------------------------------------------------------------------- /t/data/engine/feature_branch/01-dont-use-keys-as-context/resources/master/strings.ini: -------------------------------------------------------------------------------- 1 | key1=foo 2 | key2=foo 3 | -------------------------------------------------------------------------------- /t/data/engine/keys_language/01/README.md: -------------------------------------------------------------------------------- 1 | Test for `keys_language` plugin with a non-empty `seed` parameter 2 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/02/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 /zero NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/02/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 0 NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/04/README.md: -------------------------------------------------------------------------------- 1 | Test for `jsonp` mode (preserve wrapper code around the JSON object). 2 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/04/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 /key NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/04/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 value NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/04/README.md: -------------------------------------------------------------------------------- 1 | Test for 'replace_strings' plugin, 'before_deserialize_ts_file' phase -------------------------------------------------------------------------------- /t/data/engine/replace_strings/05/reference-output/localized-resources/de/strings.txt: -------------------------------------------------------------------------------- 1 | first=First 2 | second=Second -------------------------------------------------------------------------------- /t/data/engine/reuse_options/00/reference-output/localized-resources/test/1.properties: -------------------------------------------------------------------------------- 1 | string1 = zaB raB ooF 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/00/reference-output/localized-resources/test/2.properties: -------------------------------------------------------------------------------- 1 | string1 = zaB raB ooF 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/01/reference-output/localized-resources/test/1.properties: -------------------------------------------------------------------------------- 1 | string1 = zaB raB ooF 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/01/reference-output/localized-resources/test/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/02/reference-output/localized-resources/test/1.properties: -------------------------------------------------------------------------------- 1 | string1 = zaB raB ooF 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/02/reference-output/localized-resources/test/2.properties: -------------------------------------------------------------------------------- 1 | string1 = zaB raB ooF 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/03/reference-output/localized-resources/test/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Translation A 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/03/reference-output/localized-resources/test/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Translation B 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/03/reference-output/localized-resources/test/3.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/04/reference-output/localized-resources/test/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Translation A 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/04/reference-output/localized-resources/test/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Translation B 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/04/reference-output/localized-resources/test/3.properties: -------------------------------------------------------------------------------- 1 | string1 = Translation A 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/05/reference-output/localized-resources/test/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Translation A 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/05/reference-output/localized-resources/test/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Translation B 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/05/reference-output/localized-resources/test/3.properties: -------------------------------------------------------------------------------- 1 | string1 = Translation A 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/06/reference-output/localized-resources/test/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Translation A 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/06/reference-output/localized-resources/test/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Translation B 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/06/reference-output/localized-resources/test/3.properties: -------------------------------------------------------------------------------- 1 | string1 = Translation B 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/07/reference-output/localized-resources/test/1.properties: -------------------------------------------------------------------------------- 1 | string1 = Translation A 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/07/reference-output/localized-resources/test/2.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/02/README.md: -------------------------------------------------------------------------------- 1 | Test for the `segmenter` plugin with `split_single_breaks` turned on. 2 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/03/README.md: -------------------------------------------------------------------------------- 1 | Test for the `segmenter` plugin with custom splitting via `split_regex`. 2 | -------------------------------------------------------------------------------- /t/data/engine/test_language/00/README.md: -------------------------------------------------------------------------------- 1 | Test for `test_language` plugin with `expand_length` option turned on -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/no_db_namespace.txt: -------------------------------------------------------------------------------- 1 | job has an empty 'db_namespace' property -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/05/README.md: -------------------------------------------------------------------------------- 1 | Test for 'apply_xslt' plugin, 'before_save_localized_file' phase, invalid xslt -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/09-xslt-params/README.md: -------------------------------------------------------------------------------- 1 | Test for 'apply_xslt' plugin with params, 'after_load_file' phase -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 Value NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/01/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 Value NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/02/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 Value NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_csv/01/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 comment1 NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_locjson/02/README.md: -------------------------------------------------------------------------------- 1 | Test for 'parse_locjson' plugin with `remove_properties` option enabled. 2 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/01/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 NO NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/01/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 bar NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/02/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 NO NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/02/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 bar NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/06/README.md: -------------------------------------------------------------------------------- 1 | Test for `include_tags` and `exclude_tags` plugin configuration options 2 | -------------------------------------------------------------------------------- /t/data/engine/process_if/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string2 NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/process_if/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 2` NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/08/reference-output/localized-resources/de/my strings.txt: -------------------------------------------------------------------------------- 1 | first=First 2 | second=Second -------------------------------------------------------------------------------- /t/data/engine/run_command/00/reference-output/localized-resources/test/strings.xml.md5: -------------------------------------------------------------------------------- 1 | 7653e40308083bf22e6b5cd626c29a2b -------------------------------------------------------------------------------- /t/data/engine/run_command/01/reference-output/localized-resources/test/strings.xml.md5: -------------------------------------------------------------------------------- 1 | 7653e40308083bf22e6b5cd626c29a2b -------------------------------------------------------------------------------- /t/data/engine/run_command/02/reference-output/localized-resources/test/strings.xml.md5: -------------------------------------------------------------------------------- 1 | 7653e40308083bf22e6b5cd626c29a2b -------------------------------------------------------------------------------- /t/data/engine/segmenter/04/resources/strings.txt: -------------------------------------------------------------------------------- 1 | <%line 1 2 | 3 | line 2 4 | 5 | line 3 6 | 7 | line 4 8 | %> -------------------------------------------------------------------------------- /t/data/engine/similar_languages/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 NO NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/similar_languages/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 foo NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/unknown_dbi_driver.txt: -------------------------------------------------------------------------------- 1 | Unknown database driver: 'unknown_driver' -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/03/README.md: -------------------------------------------------------------------------------- 1 | Test for 'apply_xslt' plugin, 'before_save_localized_file' phase, multiple resources -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/07-xliff-firstnote-to-resname/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/02-use-keys-as-context/resources/feature1/strings.ini: -------------------------------------------------------------------------------- 1 | key0=foo 2 | key1=foo 3 | key2=foo 4 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/01/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/02/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_csv/01/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 string1 context1 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_csv/01/resources/strings.csv: -------------------------------------------------------------------------------- 1 | TheKey-TheString-TheContext-TheComment 2 | key1-string1-context1-comment1 -------------------------------------------------------------------------------- /t/data/engine/parse_json/04/reference-output/localized-resources/test/test.json: -------------------------------------------------------------------------------- 1 | loadData({ 2 | "key" : "ṽáļũē" 3 | }); -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/04/reference-output/localized-resources/test/2.html: -------------------------------------------------------------------------------- 1 | Test message 2 |

Ŧēšţ 2

-------------------------------------------------------------------------------- /t/data/engine/parse_wxl/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 Custom_Welcome NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/process_if/01/README.md: -------------------------------------------------------------------------------- 1 | Skip strings that start with '!!' (and strings with comments that start with '!!') -------------------------------------------------------------------------------- /t/data/engine/run_command/02/reference-output/localized-resources/test/strings.xml.md5.copy: -------------------------------------------------------------------------------- 1 | 7653e40308083bf22e6b5cd626c29a2b -------------------------------------------------------------------------------- /t/data/engine/feature_branch/01-dont-use-keys-as-context/resources/feature1/strings.ini: -------------------------------------------------------------------------------- 1 | key0=foo 2 | key1=foo 3 | key2=foo 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/02/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test 0 NO 0 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_master/01/README.md: -------------------------------------------------------------------------------- 1 | Test for 'parse_master' plugin with custom opening/closing markers and delimiters 2 | -------------------------------------------------------------------------------- /t/data/engine/process_if/01/resources/sample.ini: -------------------------------------------------------------------------------- 1 | foo=Foo 2 | bar=!!Bar 3 | baz=Baz 4 | 5 | #!!skip 6 | etc=Etc\nEtc2\nEtc3 7 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/07/README.md: -------------------------------------------------------------------------------- 1 | Test for 'replace_strings' plugin with `rewrite_relative_ts_file_path` phase. 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Foo Bar Baz` NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/01/README.md: -------------------------------------------------------------------------------- 1 | Test for the 'reuse_translations' option set to NO (translations are not reused). 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/01/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Foo Bar Baz` NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/02/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Foo Bar Baz` NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/03/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Foo Bar Baz` NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/04/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Foo Bar Baz` NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/05/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Foo Bar Baz` NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/06/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Foo Bar Baz` NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/07/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Foo Bar Baz` NO 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/destination_languages_empty.txt: -------------------------------------------------------------------------------- 1 | the list of destination languages is empty -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/01/README.md: -------------------------------------------------------------------------------- 1 | Test for 'apply_xslt' plugin, 'before_save_localized_file' phase, another XSLT transformation -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/02/README.md: -------------------------------------------------------------------------------- 1 | Test for 'apply_xslt' plugin, 'before_save_localized_file' phase, multiple XSLT transformations -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/04/README.md: -------------------------------------------------------------------------------- 1 | Test for 'apply_xslt' plugin, 'before_save_localized_file' phase, invalid resource (non-xml) -------------------------------------------------------------------------------- /t/data/engine/feature_branch/02-use-keys-as-context/reference-output/localized-resources/test/strings.ini: -------------------------------------------------------------------------------- 1 | key1=ḟőő 2 | key2=ḟőő 3 | -------------------------------------------------------------------------------- /t/data/engine/issues/5/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.txt 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_csv/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test šţŕĩŋğ1 NO 0 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_go/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.go 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.js 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.js 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/02/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.js 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/03/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.js 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/04/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.js 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/04/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test ṽáļũē NO 0 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_ts/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.ts 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/00/README.md: -------------------------------------------------------------------------------- 1 | Test for the 'reuse_translations' option, default settings (translations are reused). 2 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/04/README.md: -------------------------------------------------------------------------------- 1 | Test for the 'reuse_uncertain' option set to YES (uncertain translations are reused). 2 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/02/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/05/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings1.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/06-xliff-context-to-resname/README.md: -------------------------------------------------------------------------------- 1 | Test for 'apply_xslt' plugin for the xliff serializer, context to resname -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/06/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/08-xliff-filter-untranslated/README.md: -------------------------------------------------------------------------------- 1 | Test for 'apply_xslt' plugin for the xliff serializer, filter untranslated -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/10-xliff-unique-resname/README.md: -------------------------------------------------------------------------------- 1 | Test for 'apply_xslt' plugin for the xliff serializer, first note to resname -------------------------------------------------------------------------------- /t/data/engine/completeness/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/completeness/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/completeness/04/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/00/reference-output/localized-resources/feature2/test/strings.ini: -------------------------------------------------------------------------------- 1 | string6=ǫáž ŵšҳ 2 | string7=ΩĀŽ ŴŠҲ 3 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/01-dont-use-keys-as-context/reference-output/localized-resources/test/strings.ini: -------------------------------------------------------------------------------- 1 | key1=ḟőő 2 | key2=ḟőő 3 | -------------------------------------------------------------------------------- /t/data/engine/issues/5/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 ru-RU Translation NO 0 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/keys_language/04/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace page.html 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_dtd/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.dtd 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace mixed.json 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/02/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace blanks.json 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/03/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace mixed.json 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/04/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace test.json 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/05/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace test.json 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/06/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace test.json 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test ba 2 | string2=&foo; 3 | string3=%foo% 4 | string4={1} 5 | string5=${foo} -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/04/reference-output/errors/test_job.txt: -------------------------------------------------------------------------------- 1 | :7: parser error : Premature end of data in tag resources line 2 2 | 3 | ^ -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/07-xliff-firstnote-to-resname/README.md: -------------------------------------------------------------------------------- 1 | Test for 'apply_xslt' plugin for the xliff serializer, first note to resname -------------------------------------------------------------------------------- /t/data/engine/keys_language/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.ini 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/keys_language/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.ini 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/keys_language/02/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.ini 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/keys_language/03/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.ini 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/keys_language/04/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 NO NO 0 4 | 1 2 5 1 2 NO NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings3.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/metaparser/00-ini/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace sample.ini 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/metaparser/01-inc/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace sample.inc 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_android/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_csv/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 parse_csv_00 test_namespace strings.csv 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_csv/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 parse_csv_02 test_namespace strings.csv 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_keyvalue/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.txt 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_locjson/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.locjson 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_locjson/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.locjson 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_locjson/02/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.locjson 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.php 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/02/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.php 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/03/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.php 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_plist/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.plist 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_resx/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace Resources.resx 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_wxl/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings_en-us.wxl 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/04/resources/strings.yml: -------------------------------------------------------------------------------- 1 | - foo 2 | - bar 3 | - baz 4 | - some_list: 5 | - item 1 6 | - item 2 7 | - item 3 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/05/reference-output/localized-resources/test/strings.yml: -------------------------------------------------------------------------------- 1 | --- 2 | test1: true 3 | test2: 4 | - true 5 | - false 6 | -------------------------------------------------------------------------------- /t/data/engine/process_if/01/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 foo NO 0 4 | 1 2 5 1 2 baz NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/02/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/04/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.txt 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/05/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.txt 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/06/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.txt 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/07/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.txt 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test `zaB raB ooF` NO 0 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/04/reference-output/localized-resources/test/strings.txt: -------------------------------------------------------------------------------- 1 | ļĩŋē 1 2 | 3 | ļĩŋē 2 4 | 5 | ļĩŋē 3 6 | 7 | ļĩŋē 4 8 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace messages.json 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/test_language/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.ini 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/transform/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.properties 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/02/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.ini 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/04/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 6 1 test `Test Translation 3` NO 0 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/04/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace invalid_strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/metaparser/02-php-defines/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace sample.php 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_chrome_json/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace messages.json 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_dtd/00/resources/strings.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/04/resources/strings.js: -------------------------------------------------------------------------------- 1 | foo({ 2 | key1: `foo bar 1`, // comment 1 3 | key2: `foo bar 2`, // comment 2 4 | }); 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_json_keyvalue/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.json 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/04/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 NO NO 0 4 | 1 2 6 2 2 NO NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_strings/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace Localizable.strings 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/process_if/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test `Test Translation 2` NO 0 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/03/README.md: -------------------------------------------------------------------------------- 1 | Test for 'replace_strings' plugin + 'rewrite_absolute_ts_file_path'/'rewrite_relative_ts_file_path' phases -------------------------------------------------------------------------------- /t/data/engine/replace_strings/04/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 First NO 0 4 | 1 2 4 Second NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/05/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 First NO 0 4 | 1 2 4 Second NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/06/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 First NO 0 4 | 1 2 4 Second NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/07/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 foo NO 0 4 | 1 2 5 1 2 bar NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/07/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 Foo! NO 0 4 | 1 2 4 Bar? NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/08/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace `my strings.txt` 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/08/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 First NO 0 4 | 1 2 4 Second NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/similar_languages/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace test.txt.master 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string3 NO 0 4 | 1 2 5 1 2 string6 NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 3` NO 0 4 | 1 2 4 `Value 6` NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/completeness/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 1 2 string2 NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/completeness/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `Value 2` NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/completeness/01/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 1 2 string2 NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/completeness/01/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `Value 2` NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/completeness/04/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 1 2 string2 NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/completeness/04/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `Value 2` NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/02-use-keys-as-context/reference-output/localized-resources/feature1/test/strings.ini: -------------------------------------------------------------------------------- 1 | key0=ḟőő 2 | key1=ḟőő 3 | key2=ḟőő 4 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test `Test Translation` NO 0 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/02/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test `Test Translation` NO 0 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/04/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `foo bar 1` NO 0 4 | 1 2 4 `foo bar 2` NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_keyvalue/00/resources/strings.txt: -------------------------------------------------------------------------------- 1 | string1 = Value 1 2 | string2 =Value 2 3 | string3= Value 3 4 | string4=Value 4 5 | string5=0 -------------------------------------------------------------------------------- /t/data/engine/parse_master/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace email_template.xml.master 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_master/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace email_template.xml.master 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/04/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 first NO 0 4 | 1 2 5 1 2 second NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/05/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 first NO 0 4 | 1 2 5 1 2 second NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/06/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 first NO 0 4 | 1 2 5 1 2 second NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/08/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 first NO 0 4 | 1 2 5 1 2 second NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 6 2 1 string1 NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/01/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 6 2 1 string1 NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/02/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 6 2 1 string1 NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/07/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 2 1 string1 NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/serialize_csv/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace email_template.xml.master 0 4 | } 5 | -------------------------------------------------------------------------------- /bin/tools/README: -------------------------------------------------------------------------------- 1 | This directory contains miscellaneous tools that work with Serge database directly. 2 | See each script source for the embedded documentation. -------------------------------------------------------------------------------- /t/data/engine/feature_branch/01-dont-use-keys-as-context/reference-output/localized-resources/feature1/test/strings.ini: -------------------------------------------------------------------------------- 1 | key0=ḟőő 2 | key1=ḟőő 3 | key2=ḟőő 4 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/02/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings2.localizable.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/02/README.md: -------------------------------------------------------------------------------- 1 | Test for Javascript strings with escaped forward slash 2 | (see ) 3 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/03/README.md: -------------------------------------------------------------------------------- 1 | Test for `path_html` and `html_parser` plugin options 2 | (HTML inside JSON values, with custom HTML parser settings) -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/resources/3.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | test3 -------------------------------------------------------------------------------- /t/data/engine/parse_properties/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace StripesResources.properties 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_properties/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace StripesResources.properties 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/process_if/01/reference-output/localized-resources/test/sample.ini: -------------------------------------------------------------------------------- 1 | foo=Ḟőő 2 | bar=!!Bar 3 | baz=Ḃáž 4 | 5 | #!!skip 6 | etc=Etc\nEtc2\nEtc3 -------------------------------------------------------------------------------- /t/data/engine/replace_strings/01/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 6 2 2 string2 NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/01/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 5 `Value 2` NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/03/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 6 2 2 string2 NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/03/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 5 `Value 2` NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/03/README.md: -------------------------------------------------------------------------------- 1 | Test for the 'reuse_uncertain' option default behavior 2 | (uncertain translations are not reused by default). 3 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/04/README.md: -------------------------------------------------------------------------------- 1 | Test for `segmenter` plugin with a combination of 2 | `split_single_breaks` + `split_sentences` + hanging spaces. 3 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 2 test `Test Translation Two` NO 0 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace StripesResources.properties 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/06-xliff-context-to-resname/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace messages.json 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/issues/5/README.md: -------------------------------------------------------------------------------- 1 | Make sure Serge can work with languages containing uppercase symbols 2 | 3 | -------------------------------------------------------------------------------- /t/data/engine/parse_android/02-use-keys-as-context/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_csv/01/reference-output/localized-resources/test/strings.csv: -------------------------------------------------------------------------------- 1 | TheKey-TheString-TheContext-TheComment 2 | key1-"šţŕĩŋğ1"-context1-comment1 3 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/03/README.md: -------------------------------------------------------------------------------- 1 | Test for single quotes (and mixed single and double quotes) 2 | (see ) 3 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/02/resources/blanks.json: -------------------------------------------------------------------------------- 1 | { 2 | "blank": "", 3 | "whitespace": " ", 4 | "another_whitespace": "\n\n \n\n", 5 | "zero": "0" 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_locjson/01/README.md: -------------------------------------------------------------------------------- 1 | Test for 'parse_locjson' plugin with default parameters 2 | and a source file that has file- and unit-level comments. 3 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/03/resources/strings.php: -------------------------------------------------------------------------------- 1 |

2 |

3 |
4 | 5 |

6 | 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/08-xliff-filter-untranslated/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace messages.json 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/completeness/03/resources/strings2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Baz 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/keys_language/04/README.md: -------------------------------------------------------------------------------- 1 | Test for `keys_language` plugin with `string_format` set to `preview` 2 | (special format for static preview page generation). -------------------------------------------------------------------------------- /t/data/engine/parse_locjson/00/README.md: -------------------------------------------------------------------------------- 1 | Test for 'parse_locjson' plugin with default parameters 2 | and a basic source file structure (no properties / comments). 3 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/04/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Test message` NO 0 4 | 1 2 5 `Test 2` NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_pot/01/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 NO NO 0 4 | 1 2 5 1 2 NO NO 0 5 | 2 3 7 1 3 NO NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/process_if/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 6 1 test Ḟőő NO 0 0 4 | 1 2 7 2 test Ḃáž NO 0 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/04/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 6 1 de 1 NO 0 0 4 | 1 2 7 2 de zwei NO 0 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/08/README.md: -------------------------------------------------------------------------------- 1 | Test for a custom function plugged from an external module, used 2 | in a replacement rule in 'after_serialize_ts_file' phase -------------------------------------------------------------------------------- /t/data/engine/serialize_csv/01-deserialize/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace email_template.xml.master 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/serialize_po/00-deserialize/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace StripesResources.properties 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/trademarks/00/resources/strings.ini: -------------------------------------------------------------------------------- 1 | string1=foo FooTM foo 2 | string2=BarTM BarTM 3 | string3=etc Baz T M BarTM 4 | string4=BarTM FooTM 5 | string5=foo bar -------------------------------------------------------------------------------- /t/data/engine/parse_js/04/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `key1 4 | comment 1` NO 0 5 | 1 2 5 1 2 `key2 6 | comment 2` NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_locjson/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 NO NO 0 4 | 1 2 5 1 2 NO NO 0 5 | 2 3 7 1 3 NO NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/02/resources/strings.yml: -------------------------------------------------------------------------------- 1 | en: 2 | messages: 3 | foo: bar1 4 | baz: etc1 5 | subsection: 6 | foo: bar2 7 | baz: etc2 8 | -------------------------------------------------------------------------------- /t/data/engine/placeholders/00/resources/strings.ini: -------------------------------------------------------------------------------- 1 | string1=foo bar baz 2 | string2=Hello, ${USERNAME}! 3 | string3=foo bar and baz> 4 | -------------------------------------------------------------------------------- /t/data/engine/similar_languages/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 es ḟőő NO 0 0 4 | 1 2 5 1 es-419 ḟőő NO 0 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/02/reference-output/localized-resources/test/strings.ini: -------------------------------------------------------------------------------- 1 | string1= 2 | string2=&foo; 3 | string3=%foo% 4 | string4={1} 5 | string5=${foo} -------------------------------------------------------------------------------- /t/data/engine/keys_language/04/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `This is a heading` NO 0 4 | 1 2 4 `This is a paragraph.` NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/keys_language/04/resources/page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |

This is a heading

4 |

This is a paragraph.

5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/resources/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/01/resources/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/02/resources/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/02/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 foo/bar NO 0 4 | 1 2 4 foo\/bar NO 0 5 | 2 3 6 foo\/bar key3 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/04/reference-output/localized-resources/strings_test.js: -------------------------------------------------------------------------------- 1 | foo({ 2 | key1: `ḟőő ḃáŕ 1`, // comment 1 3 | key2: `ḟőő ḃáŕ 2`, // comment 2 4 | }); 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `test 1` NO 0 4 | 1 2 4 `test 2` NO 0 5 | 2 3 6 `test 3` NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_keyvalue/00/reference-output/localized-resources/test/strings.txt: -------------------------------------------------------------------------------- 1 | string1 = Ṽáļũē 1 2 | string2 =Ṽáļũē 2 3 | string3= Ṽáļũē 3 4 | string4=Ṽáļũē 4 5 | string5=0 -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/reference-output/localized-resources/test/3.php: -------------------------------------------------------------------------------- 1 | 10 | 11 | test3 -------------------------------------------------------------------------------- /t/data/engine/parse_resx/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 Key1 NO 0 4 | 1 2 5 1 2 Key2 NO 0 5 | 2 3 7 1 3 Key3 NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_wxl/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Welcome to the "[ProductName]" installation & setup.` 4 | NO 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_xml/03/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 /item/name NO 0 4 | 1 2 5 1 2 NO NO 0 5 | 2 3 7 1 3 NO NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/02-deserialize-comment/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace StripesResources.properties 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/03-deserialize-context/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace StripesResources.properties 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/04/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 1 2 string2 NO 0 5 | 2 3 7 1 3 string7 NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/04/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `Value 2` NO 0 5 | 2 3 6 `Value 7` NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/05/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 1 2 string2 NO 0 5 | 2 3 7 1 3 string7 NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/05/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `Value 2` NO 0 5 | 2 3 6 `Value 7` NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/07-xliff-firstnote-to-resname/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace StripesResources.properties 0 4 | } 5 | -------------------------------------------------------------------------------- /t/data/engine/completeness/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 6 1 test `Ṽáļũē 1` NO 0 0 4 | 1 2 7 2 test `Ṽáļũē 2` NO 0 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/00/resources/master/strings.ini: -------------------------------------------------------------------------------- 1 | string1=foo FooTM foo 2 | string2=BarTM BarTM 3 | string3=etc Baz T M BarTM 4 | string4=BarTM FooTM 5 | string5=foo bar -------------------------------------------------------------------------------- /t/data/engine/metaparser/02-php-defines/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 Foo NO 0 4 | 1 2 4 Bar NO 0 5 | 2 3 6 new_baz NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_android/01-cleanup-untranslated/reference-output/localized-resources/de/strings2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_dtd/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 1 2 string2 NO 0 5 | 2 3 7 1 3 string3 NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_dtd/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `Value 2` NO 0 5 | 2 3 6 `Value 3` NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_dtd/00/reference-output/localized-resources/test-TEST/strings.dtd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/04/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 6 1 test `ḟőő ḃáŕ 1` NO 0 0 4 | 1 2 7 2 test `ḟőő ḃáŕ 2` NO 0 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/03/reference-output/localized-resources/test/strings.php: -------------------------------------------------------------------------------- 1 |

2 |

3 |
4 | 5 |

6 | 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_resx/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `Value 2` NO 0 5 | 2 3 6 `Value 3` NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_rrc/00/resources/strings.rrc: -------------------------------------------------------------------------------- 1 | TITLE#0="Sample title"; 2 | STRING0#0="String 0"; 3 | STRING_0_0#0="String 0 0"; 4 | USERNAME#0="Username:"; 5 | EXIT#0="Exit"; 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/04/reference-output/localized-resources/test/strings.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - ḟőő 3 | - ḃáŕ 4 | - ḃáž 5 | - some_list: 6 | - ĩţēḿ 1 7 | - ĩţēḿ 2 8 | - ĩţēḿ 3 9 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/01/resources/strings2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 2 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/03/resources/strings2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 2 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/plugin_not_found_2.txt: -------------------------------------------------------------------------------- 1 | Can't create instance for plugin 'Some::Nonexistent::Plugin': Can't locate Some/Nonexistent/Plugin.pm in @INC -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string NO 0 4 | 1 2 5 2 1 string NO 0 5 | 2 3 7 3 1 string NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/04/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace 1.html 0 4 | 1 2 4 test_job test_namespace 2.html 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_xml/03/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 Foo NO 0 4 | 1 2 4 `Paragraph one.` NO 0 5 | 2 3 6 `Paragraph two.` NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/06/reference-output/localized-resources/pt/strings.txt: -------------------------------------------------------------------------------- 1 | # LANG=pt 2 | # LOCALE=pt 3 | # LOCALE:LC=pt 4 | # LOCALE:UC=PT 5 | 6 | first=First 7 | second=Second -------------------------------------------------------------------------------- /t/data/engine/reuse_options/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test `zaB raB ooF` NO 0 0 4 | 1 2 7 2 test `zaB raB ooF` NO 1 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/02/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test `zaB raB ooF` NO 0 0 4 | 1 2 7 2 test `zaB raB ooF` NO 0 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/03/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 6 2 1 string1 NO 0 5 | 2 3 9 3 1 string1 NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/04/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 6 2 1 string1 NO 0 5 | 2 3 9 3 1 string1 NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/05/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 6 2 1 string1 NO 0 5 | 2 3 9 3 1 string1 NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/06/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 2 1 string1 NO 0 5 | 2 3 8 3 1 string1 NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/03/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Line one` NO 0 4 | 1 2 4 `Line two` NO 0 5 | 2 3 6 `line three` NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/serialize_po/00-deserialize/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 first NO 0 4 | 1 2 4 second NO 0 5 | 2 3 6 third NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/plugin_not_defined.txt: -------------------------------------------------------------------------------- 1 | Can't create instance for plugin 'Serge::Engine::Plugin::YES': Can't locate Serge/Engine/Plugin/YES.pm in @INC -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/03/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings1.xml 0 4 | 1 2 8 test_job test_namespace strings2.xml 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/completeness/03/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 Foo NO 0 4 | 1 2 4 Bar NO 0 5 | 2 3 6 Baz NO 0 6 | 3 4 17 Etc NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/02-use-keys-as-context/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 foo key1 0 4 | 1 2 4 foo key2 0 5 | 2 3 9 foo key0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/keys_language/02/README.md: -------------------------------------------------------------------------------- 1 | Test for `key_language` plugin with a non-empty `prefix` parameter 2 | and enabled `add_hint` phase to append the generated key as a hint message 3 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace relaxed.json 0 4 | 1 2 8 test_job test_namespace strings.json 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 etc1 NO 0 4 | 1 2 4 bar1 NO 0 5 | 2 3 6 etc2 NO 0 6 | 3 4 8 bar2 NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/02/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 etc1 NO 0 4 | 1 2 4 bar1 NO 0 5 | 2 3 6 etc2 NO 0 6 | 3 4 8 bar2 NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 step1 test_namespace 1.properties 0 4 | 1 2 5 step2 test_namespace 2.properties 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 step1 test_namespace 1.properties 0 4 | 1 2 5 step2 test_namespace 2.properties 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/02/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 step1 test_namespace 1.properties 0 4 | 1 2 5 step2 test_namespace 2.properties 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/03/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test `Translation A` NO 0 0 4 | 1 2 7 2 test `Translation B` NO 0 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/06/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 6 2 test `Translation B` NO 0 0 4 | 1 2 9 3 test `Translation B` NO 1 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/07/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 step1 test_namespace 1.properties 0 4 | 1 2 4 step2 test_namespace 2.properties 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/serialize_po/00-deserialize/resources/StripesResources.properties: -------------------------------------------------------------------------------- 1 | #.comment=1st 2 | foo=first 3 | foo2=second 4 | #.comment=3rd line 1 5 | #.comment=3rd line 2 6 | foo3=third 7 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/01-dont-use-keys-as-context/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 foo NO 0 4 | 1 2 4 foo key2 0 5 | 2 3 10 foo key1 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/04/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 7 1 test `Ŧēšţ ḿēššáğē` NO 0 0 4 | 1 2 8 2 test `Ŧēšţ 2` NO 0 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/01/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings1.xml 0 4 | 1 2 4 test_job test_namespace strings2.xml 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/03/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings1.xml 0 4 | 1 2 4 test_job test_namespace strings2.xml 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/05/README.md: -------------------------------------------------------------------------------- 1 | Test for the 'reuse_uncertain' option set to YES combined with 2 | 'reuse_as_fuzzy_default' set to NO (uncertain translations are reused as NOT fuzzy) 3 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/07/README.md: -------------------------------------------------------------------------------- 1 | Test for the 'reuse_fuzzy' option set to NO: the single translation 2 | that is defined in the first job as fuzzy will not be reused in the second job 3 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/02/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 NO NO 0 4 | 1 2 5 1 2 NO NO 0 5 | 2 3 7 1 3 NO NO 0 6 | 3 4 9 1 4 NO NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/03/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | 1 2 16 test_job test_namespace strings2.xml 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/05/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | 1 2 16 test_job test_namespace strings2.xml 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/10-xliff-unique-resname/resources/second/alpha.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 8 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/completeness/03/reference-output/localized-resources/test/strings2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Baz 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/00/resources/feature1/strings.ini: -------------------------------------------------------------------------------- 1 | string1=foo FooTM foo 2 | string2=BarTM BarTM 3 | string4=BarTM FooTM 4 | string5=foo bar feature 1 5 | string6=abc def 6 | string7=ABC DEF -------------------------------------------------------------------------------- /t/data/engine/feature_branch/02-use-keys-as-context/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 key1 NO 0 4 | 1 2 5 1 2 key2 NO 0 5 | 2 3 10 2 3 key0 NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 1 test `Test Translation` NO 0 0 4 | 1 2 9 2 test `Test Translation` NO 0 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/01/resources/strings3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_csv/00/resources/strings.csv: -------------------------------------------------------------------------------- 1 | Key,String 2 | "string1",value1 3 | string2,"value,2" 4 | string3,"''" 5 | string4,"line1 6 | line2" 7 | string5,"""" 8 | string6, 9 | string7, -------------------------------------------------------------------------------- /t/data/engine/parse_json_keyvalue/00/resources/strings.json: -------------------------------------------------------------------------------- 1 | { 2 | "string1" : "Value 1", 3 | "string2" : "\"Value 2\"", 4 | "string3" : "''", 5 | "string4" : "[]{}()" 6 | } -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 5 3 1 NO NO 0 4 | 1 2 7 3 2 NO NO 0 5 | 2 3 9 3 3 NO NO 0 6 | 3 4 12 4 4 NO NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/placeholders/00/reference-output/localized-resources/test/strings.ini: -------------------------------------------------------------------------------- 1 | string1=ḟőő ḃáŕ ḃáž 2 | string2=Ĥēļļő, ${USERNAME}! 3 | string3=ḟőő ḃáŕ áŋđ ḃáž> 4 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/06/reference-output/localized-resources/pt_BR/strings.txt: -------------------------------------------------------------------------------- 1 | # LANG=pt-br 2 | # LOCALE=pt_BR 3 | # LOCALE:LC=pt_br 4 | # LOCALE:UC=PT_BR 5 | 6 | first=First 7 | second=Second -------------------------------------------------------------------------------- /t/data/engine/segmenter/03/resources/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Line one\nLine two\nline three 4 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` string1 0 4 | 1 2 4 `Value 2` string2 0 5 | 2 3 6 `Value 3` string3 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/trademarks/00/reference-output/localized-resources/test/strings.ini: -------------------------------------------------------------------------------- 1 | string1=ḟőő ḞőőŦḾ ḟőő 2 | string2=ḂáŕŦḾ ḂáŕŦḾ 3 | string3=ēţç Ḃáž Ŧ Ḿ ḂáŕŦḾ 4 | string4=ḂáŕŦḾ ḞőőŦḾ 5 | string5=ḟőő ḃáŕ -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/09-xslt-params/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | 1 2 10 test_job test_namespace strings2.xml 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/completeness/03/resources/strings3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Foo 4 | Bar 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/00/reference-output/localized-resources/test/strings.ini: -------------------------------------------------------------------------------- 1 | string1=ḟőő ḞőőŦḾ ḟőő 2 | string2=ḂáŕŦḾ ḂáŕŦḾ 3 | string3=ēţç Ḃáž Ŧ Ḿ ḂáŕŦḾ 4 | string4=ḂáŕŦḾ ḞőőŦḾ 5 | string5=ḟőő ḃáŕ -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/reference-output/localized-resources/de/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/reference-output/localized-resources/es/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/reference-output/localized-resources/fr/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/01/resources/strings2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/02/resources/strings2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/metaparser/00-ini/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 Foo NO 0 4 | 1 2 4 Bar NO 0 5 | 2 3 6 Baz NO 0 6 | 3 4 8 Etc\nEtc2\nEtc3 NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/02/reference-output/localized-resources/test/blanks.json: -------------------------------------------------------------------------------- 1 | { 2 | "another_whitespace" : "\n\n \n\n", 3 | "blank" : "", 4 | "whitespace" : " ", 5 | "zero" : "0" 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/01/README.md: -------------------------------------------------------------------------------- 1 | Test for 'broken' translation; since plugin is not instructed to validate 2 | the translated content before saving file, the file with broken HTML 3 | will be saved. -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/02/README.md: -------------------------------------------------------------------------------- 1 | Test for 'broken' translation; since plugin is instructed to validate 2 | the translated content before saving file, the file with broken HTML 3 | will not be saved. -------------------------------------------------------------------------------- /t/data/engine/parse_wxl/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test 4 | `Ŵēļçőḿē ţő ţĥē "[ṔŕőđũçţŅáḿē]" ĩŋšţáļļáţĩőŋ & šēţũṕ.` NO 0 5 | 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 7 1 test `Test Translation 1` NO 0 0 4 | 1 2 8 2 test `Test Translation 2` NO 0 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/03/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 7 1 test `Test Translation 1` NO 0 0 4 | 1 2 8 2 test `Test Translation 2` NO 0 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/run_command/00/README.md: -------------------------------------------------------------------------------- 1 | Test for 'run_command' plugin which calculates an MD5 hash 2 | of the localized file and saves it as a side file with '.md5' extension 3 | (test for %OUTFILE% macro) 4 | -------------------------------------------------------------------------------- /t/data/engine/run_command/01/README.md: -------------------------------------------------------------------------------- 1 | Test for 'run_command' plugin which calculates an MD5 hash 2 | of the localized file and saves it as a side file with '.md5' extension 3 | (test for %OUTPATH% macro) 4 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/03/reference-output/localized-resources/test/strings2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Translation 3 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/05/reference-output/errors/test_job.txt: -------------------------------------------------------------------------------- 1 | ./invalid.xslt:5: parser error : Specification mandates value for attribute invalid 2 | 3 | ^ -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 4 foo3 NO 0 4 | 1 2 6 bar3 NO 0 5 | 2 3 8 baz3 NO 0 6 | 3 4 11 ` foo4` NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_pot/01/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `Value 2` context 0 5 | 2 3 6 `Value 3 - SingularValue 3 - Plural` NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_rrc/00/reference-output/localized-resources/test/strings.rrc: -------------------------------------------------------------------------------- 1 | TITLE#0="Šáḿṕļē ţĩţļē"; 2 | STRING0#0="Šţŕĩŋğ 0"; 3 | STRING_0_0#0="Šţŕĩŋğ 0 0"; 4 | USERNAME#0="Ůšēŕŋáḿē:"; 5 | EXIT#0="Ēҳĩţ"; 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/02/reference-output/localized-resources/test/strings.yml: -------------------------------------------------------------------------------- 1 | --- 2 | test: 3 | messages: 4 | baz: ēţç1 5 | foo: ḃáŕ1 6 | subsection: 7 | baz: ēţç2 8 | foo: ḃáŕ2 9 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/01/resources/strings1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 1 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/03/resources/strings1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 1 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/03/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 multiline-string NO 0 4 | 1 2 5 1 2 multiline-string NO 0 5 | 2 3 7 1 3 multiline-string NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `Description 1` NO 0 4 | 1 2 5 1 2 `Description 2` NO 0 5 | 2 3 7 1 3 `Description 3` NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/plugin_not_found.txt: -------------------------------------------------------------------------------- 1 | Can't create instance for plugin 'Serge::Engine::Plugin::nonexistent_plugin': Can't locate Serge/Engine/Plugin/nonexistent_plugin.pm in @INC -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | LICENSE INFORMATION 2 | 3 | This program is free software; you can redistribute it and/or modify it 4 | under the same terms as Perl 5.10.0. 5 | 6 | For more details, see 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/07-xliff-firstnote-to-resname/resources/StripesResources.properties: -------------------------------------------------------------------------------- 1 | #.comment=1st 2 | foo=first 3 | foo2=second 4 | #.comment=3rd line 1 5 | #.comment=3rd line 2 6 | foo3=third 7 | foo4=fourth -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/reference-output/localized-resources/test/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test Translation 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/02/resources/strings2.localizable.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/md5.pl: -------------------------------------------------------------------------------- 1 | # Helper platform-independent MD5 hash calculation tool 2 | # Usage: `perl md5.pl )); 8 | -------------------------------------------------------------------------------- /t/data/engine/metaparser/01-inc/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 Foo NO 0 4 | 1 2 4 Bar NO 0 5 | 2 3 6 `Baz baz BAz` NO 0 6 | 3 4 8 Etc\nEtc2\nEtc3 NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/metaparser/02-php-defines/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 1 test Ḟőő NO 0 0 4 | 1 2 9 2 test Ḃáŕ NO 0 0 5 | 2 3 10 3 test ŋēŵ_ḃáž NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_android/01-cleanup-untranslated/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | 1 2 12 test_job test_namespace strings2.xml 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_dtd/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 1 test `Ṽáļũē 1` NO 0 0 4 | 1 2 9 2 test `Ṽáļũē 2` NO 0 0 5 | 2 3 10 3 test `Ṽáļũē 3` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_json_keyvalue/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `"Value 2"` NO 0 5 | 2 3 6 '' NO 0 6 | 3 4 8 []{}() NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_pot/01/reference-output/localized-resources/test/template.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serge-community/serge/HEAD/t/data/engine/parse_pot/01/reference-output/localized-resources/test/template.mo -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/02-deserialize-comment/resources/StripesResources.properties: -------------------------------------------------------------------------------- 1 | #.comment=1st 2 | foo=first 3 | foo2=second 4 | #.comment=3rd line 1 5 | #.comment=3rd line 2 6 | foo3=third 7 | foo4=fourth -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/03-deserialize-context/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 bar NO 0 4 | 1 2 4 bar2 NO 0 5 | 2 3 6 bar3 etc 0 6 | 3 4 8 bar bar 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/ts_file_path_missing.txt: -------------------------------------------------------------------------------- 1 | when there's more than one destination language, 'ts_file_path' should have %LANG%, %LOCALE%, %CULTURE%, %LANGNAME%, or %LANGID% macro defined -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/04/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 1 test `Ṽáļũē 1` NO 0 0 4 | 1 2 9 2 test `Ṽáļũē 2` NO 0 0 5 | 2 3 10 3 test `Ṽáļũē 7` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/05/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 1 test `Ṽáļũē 1` NO 0 0 4 | 1 2 9 2 test `Ṽáļũē 2` NO 0 0 5 | 2 3 10 3 test `Ṽáļũē 7` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/06-xliff-context-to-resname/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `Description 1` NO 0 4 | 1 2 5 1 2 `Description 2` NO 0 5 | 2 3 7 1 3 NO NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/06-xliff-context-to-resname/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` string1 0 4 | 1 2 4 `Value 2` string2 0 5 | 2 3 6 `Value 3` string3 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/09-xslt-params/reference-output/localized-resources/test/strings2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 6 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/resources/strings4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_resx/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 1 test `Ṽáļũē 1` NO 0 0 4 | 1 2 9 2 test `Ṽáļũē 2` NO 0 0 5 | 2 3 10 3 test `Ṽáļũē 3` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/00/resources/strings.yml: -------------------------------------------------------------------------------- 1 | foo: &foo_anchor bar1 2 | baz: &baz_anchor etc1 3 | subsection1: 4 | foo: bar2 5 | baz: etc2 6 | subsection2: 7 | foo: *foo_anchor 8 | baz: *baz_anchor 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/01/resources/strings.yml: -------------------------------------------------------------------------------- 1 | foo: &foo_anchor bar1 2 | baz: &baz_anchor etc1 3 | subsection1: 4 | foo: bar2 5 | baz: etc2 6 | subsection2: 7 | foo: *foo_anchor 8 | baz: *baz_anchor 9 | -------------------------------------------------------------------------------- /t/data/engine/placeholders/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `foo <1>bar<2> baz<3>` NO 0 4 | 1 2 4 `Hello, <1>!` NO 0 5 | 2 3 6 `foo <1>bar<2> and <1>baz><2>` NO 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/01/reference-output/localized-resources/test/strings2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test Translation 2 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/03/reference-output/localized-resources/test/strings2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test Translation 2 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/03/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 1 test `Łĩŋē őŋē` NO 0 0 4 | 1 2 9 2 test `Łĩŋē ţŵő` NO 0 0 5 | 2 3 10 3 test `ļĩŋē ţĥŕēē` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/serialize_po/00-deserialize/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 1 de ersten NO 0 0 4 | 1 2 9 2 de zweite NO 0 0 5 | 2 3 10 3 de dritten NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/ts_file_path_no_macros.txt: -------------------------------------------------------------------------------- 1 | when there's more than one destination language, 'ts_file_path' should have %LANG%, %LOCALE%, %CULTURE%, %LANGNAME%, or %LANGID% macro defined -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/07-xliff-firstnote-to-resname/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 first NO 0 4 | 1 2 4 second NO 0 5 | 2 3 6 third NO 0 6 | 3 4 8 fourth NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/completeness/02/resources/strings1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 1 4 | Value 2 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/02-use-keys-as-context/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 6 1 test ḟőő NO 0 0 4 | 1 2 7 2 test ḟőő NO 0 0 5 | 2 3 11 3 test ḟőő NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/resources/strings2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/resources/strings3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_json_keyvalue/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 1 2 string2 NO 0 5 | 2 3 7 1 3 string3 NO 0 6 | 3 4 9 1 4 string4 NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_plist/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 value1 NO 0 4 | 1 2 4 value2 NO 0 5 | 2 3 6 one NO 0 6 | 3 4 8 two NO 0 7 | 4 5 10 three NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_pot/00/resources/non-standard.pot: -------------------------------------------------------------------------------- 1 | # translator-comments 2 | #. automatic-comments 3 | #: reference 4 | #, flag 5 | #| extra unsupported line 6 | #~ extra unsupported line 7 | msgid "foo" 8 | msgstr "" 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_properties/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 bar NO 0 4 | 1 2 4 bar2 NO 0 5 | 2 3 6 bar3 NO 0 6 | 3 4 8 bar4 NO 0 7 | 4 5 10 bar5 etc 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_properties/01/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 bar NO 0 4 | 1 2 4 bar2 NO 0 5 | 2 3 6 bar3 NO 0 6 | 3 4 8 bar4 NO 0 7 | 4 5 10 bar5 etc 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_ts/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `This is a comment for Value 1` NO 0 4 | 1 2 5 1 2 NO NO 0 5 | 2 3 7 1 3 NO NO 0 6 | 3 4 9 1 4 NO NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_xml/03/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 1 test Ḟőő NO 0 0 4 | 1 2 9 2 test `Ṕáŕáğŕáṕĥ őŋē.` NO 0 0 5 | 2 3 10 3 test `Ṕáŕáğŕáṕĥ ţŵő.` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/01/reference-output/localized-resources/test/strings.yml: -------------------------------------------------------------------------------- 1 | --- 2 | baz: ēţç1 3 | foo: ḃáŕ1 4 | subsection1: 5 | baz: ēţç2 6 | foo: ḃáŕ2 7 | subsection2: 8 | baz: ēţç1 9 | foo: ḃáŕ1 10 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/01/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 NO NO 0 4 | 1 2 5 1 2 NO NO 0 5 | 2 3 7 1 3 NO NO 0 6 | 3 4 9 1 4 NO NO 0 7 | 4 5 11 1 5 NO NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/04/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 NO NO 0 4 | 1 2 5 1 2 NO NO 0 5 | 2 3 7 1 3 NO NO 0 6 | 3 4 9 1 4 NO NO 0 7 | 4 5 11 1 5 NO NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/serialize_po/00-deserialize/reference-output/localized-resources/de/StripesResources.properties: -------------------------------------------------------------------------------- 1 | #.comment=1st 2 | foo=ersten 3 | foo2=zweite 4 | #.comment=3rd line 1 5 | #.comment=3rd line 2 6 | foo3=dritten 7 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/02-deserialize-comment/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 first NO 0 4 | 1 2 4 second NO 0 5 | 2 3 6 third NO 0 6 | 3 4 8 fourth NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/output_file_path_missing.txt: -------------------------------------------------------------------------------- 1 | when there's more than one destination language, 'output_file_path' should have %LANG%, %LOCALE%, %CULTURE%, %LANGNAME%, or %LANGID% macro defined -------------------------------------------------------------------------------- /t/data/engine/validation/00/reference-output/errors/output_file_path_no_macros.txt: -------------------------------------------------------------------------------- 1 | when there's more than one destination language, 'output_file_path' should have %LANG%, %LOCALE%, %CULTURE%, %LANGNAME%, or %LANGID% macro defined -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/09-xslt-params/reference-output/localized-resources/test/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test Translation 3 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/10-xliff-unique-resname/reference-output/localized-resources/test/second/alpha.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Ṽáļũē 8 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/00/reference-output/localized-resources/feature1/test/strings.ini: -------------------------------------------------------------------------------- 1 | string1=ḟőő ḞőőŦḾ ḟőő 2 | string2=ḂáŕŦḾ ḂáŕŦḾ 3 | string4=ḂáŕŦḾ ḞőőŦḾ 4 | string5=ḟőő ḃáŕ ḟēáţũŕē 1 5 | string6=áḃç đēḟ 6 | string7=ĀḂĆ ĐĒḞ -------------------------------------------------------------------------------- /t/data/engine/parse_json/05/README.md: -------------------------------------------------------------------------------- 1 | Test for `streaming_mode` option (an alternative parsing method that allows 2 | to preserve original key ordering in dictionaries, ant the expense of not 3 | supporting relaxed JSON syntax). 4 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/03/reference-output/localized-resources/test/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Łĩŋē őŋē\nŁĩŋē ţŵő\nļĩŋē ţĥŕēē 4 | -------------------------------------------------------------------------------- /t/data/engine/transform/00/README.md: -------------------------------------------------------------------------------- 1 | Test for the 'transform' plugin. Only the first string, "Foo Bar Baz", 2 | has an explicit translation; other strings' translations should be 3 | populated based on the transformation rules. 4 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/02/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 NO 0 4 | 1 2 4 &foo; NO 0 5 | 2 3 6 %foo% NO 0 6 | 3 4 8 {1} NO 0 7 | 4 5 10 ${foo} NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/01-dont-use-keys-as-context/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 key1 NO 0 4 | 1 2 5 1 2 key2 NO 0 5 | 2 3 9 2 1 key0 NO 0 6 | 3 4 11 2 3 key1 NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/resources/strings5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/reference-output/po/test/1.php.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Content-Type: text/plain; charset=UTF-8\n" 4 | "Content-Transfer-Encoding: 8bit\n" 5 | "Language: test\n" 6 | "Generated-By: Serge 1.4\n" 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/reference-output/po/test/2.php.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Content-Type: text/plain; charset=UTF-8\n" 4 | "Content-Transfer-Encoding: 8bit\n" 5 | "Language: test\n" 6 | "Generated-By: Serge 1.4\n" 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/reference-output/po/test/5.php.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Content-Type: text/plain; charset=UTF-8\n" 4 | "Content-Transfer-Encoding: 8bit\n" 5 | "Language: test\n" 6 | "Generated-By: Serge 1.4\n" 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_wxl/00/resources/strings_en-us.wxl: -------------------------------------------------------------------------------- 1 | 2 | 3 | Welcome to the "[ProductName]" installation & setup. 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/05/reference-output/po/test/strings.yml.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Content-Type: text/plain; charset=UTF-8\n" 4 | "Content-Transfer-Encoding: 8bit\n" 5 | "Language: test\n" 6 | "Generated-By: Serge 1.4\n" 7 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/04/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `line 1` NO 0 4 | 1 2 4 `line 2` NO 0 5 | 2 3 6 ` ` NO 0 6 | 3 4 8 `line 3` NO 0 7 | 4 5 10 `line 4` NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/03-deserialize-context/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 10 1 de bar-one NO 0 0 4 | 1 2 11 2 de bar-two NO 0 0 5 | 2 3 12 4 de bar-new NO 1 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/05/README.md: -------------------------------------------------------------------------------- 1 | Append hint message to all units in the file from a global capture 2 | (this also tests passing captures between `if` and `append_hint_message` plugins 3 | in the context of the current file). 4 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/00/reference-output/localized-resources/test/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test Translation 3 4 | Value 6 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/02/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 16 1 test `Translation 1` NO 0 0 4 | 1 2 17 2 test `Translation 2` NO 0 0 5 | 2 3 18 3 test `Translation 3` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/03/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 17 1 test `Translation 1` NO 0 0 4 | 1 2 18 2 test `Translation 2` NO 0 0 5 | 2 3 19 4 test `Translation 3` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/completeness/03/reference-output/po/test/strings2.xml.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Content-Type: text/plain; charset=UTF-8\n" 4 | "Content-Transfer-Encoding: 8bit\n" 5 | "Language: test\n" 6 | "Generated-By: Serge 1.4\n" 7 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/02-use-keys-as-context/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job.master test_namespace strings.ini 0 4 | 1 2 8 test_job.feature1 test_namespace feature1/strings.ini 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/metaparser/02-php-defines/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `FOO 4 | comment for FOO message` NO 0 5 | 1 2 5 1 2 `BAR 6 | comment for BAR message` NO 0 7 | 2 3 7 1 3 BAZ NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_csv/00/reference-output/localized-resources/test/strings.csv: -------------------------------------------------------------------------------- 1 | Key,String 2 | string1,"ṽáļũē1" 3 | string2,"ṽáļũē,2" 4 | string3,'' 5 | string4,"ļĩŋē1 6 | ļĩŋē2" 7 | string5,"""" 8 | string6, 9 | string7," " 10 | -------------------------------------------------------------------------------- /t/data/engine/parse_keyvalue/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `Value 2` NO 0 5 | 2 3 6 `Value 3` NO 0 6 | 3 4 8 `Value 4` NO 0 7 | 4 5 10 0 NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/03/reference-output/po/test/strings.php.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Content-Type: text/plain; charset=UTF-8\n" 4 | "Content-Transfer-Encoding: 8bit\n" 5 | "Language: test\n" 6 | "Generated-By: Serge 1.4\n" 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 10 1 test ēţç1 NO 0 0 4 | 1 2 11 2 test ḃáŕ1 NO 0 0 5 | 2 3 12 3 test ēţç2 NO 0 0 6 | 3 4 13 4 test ḃáŕ2 NO 0 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/02/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 10 1 test ēţç1 NO 0 0 4 | 1 2 11 2 test ḃáŕ1 NO 0 0 5 | 2 3 12 3 test ēţç2 NO 0 0 6 | 3 4 13 4 test ḃáŕ2 NO 0 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/03/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 step1 test_namespace 1.properties 0 4 | 1 2 5 step2 test_namespace 2.properties 0 5 | 2 3 8 step3 test_namespace 3.properties 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/04/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 step1 test_namespace 1.properties 0 4 | 1 2 5 step2 test_namespace 2.properties 0 5 | 2 3 8 step3 test_namespace 3.properties 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/04/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test `Translation A` NO 0 0 4 | 1 2 7 2 test `Translation B` NO 0 0 5 | 2 3 10 3 test `Translation A` NO 1 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/05/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 step1 test_namespace 1.properties 0 4 | 1 2 5 step2 test_namespace 2.properties 0 5 | 2 3 8 step3 test_namespace 3.properties 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/05/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 4 1 test `Translation A` NO 0 0 4 | 1 2 7 2 test `Translation B` NO 0 0 5 | 2 3 10 3 test `Translation A` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/reuse_options/06/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 step1 test_namespace 1.properties 0 4 | 1 2 4 step2 test_namespace 2.properties 0 5 | 2 3 7 step3 test_namespace 3.properties 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/serialize_po/00-deserialize/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `foo 4 | 1st` NO 0 5 | 1 2 5 1 2 foo2 NO 0 6 | 2 3 7 1 3 `foo3 7 | 3rd line 1 8 | 3rd line 2` NO 0 9 | } 10 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/02-deserialize-comment/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 10 1 de ersten NO 0 0 4 | 1 2 11 2 de zweite NO 0 0 5 | 2 3 12 3 de dritten `not clear` 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/03/reference-output/localized-resources/test/strings1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Translation 1 4 | Translation 2 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/06-xliff-context-to-resname/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 1 de `Wert eins` NO 0 0 4 | 1 2 9 2 de `Wert zwei` NO 0 0 5 | 2 3 10 3 de `Wert drei` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/completeness/01/README.md: -------------------------------------------------------------------------------- 1 | This test plugs in the 'completeness' plugin with default paramaters. 2 | 'test_language' plugin is not used here, so the resulting file 3 | will be 0% translated and, thus, will not be not generated. 4 | -------------------------------------------------------------------------------- /t/data/engine/completeness/03/resources/strings1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Foo 4 | Bar 5 | Baz 6 | 7 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/01-dont-use-keys-as-context/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job.master test_namespace strings.ini 0 4 | 1 2 8 test_job.feature1 test_namespace feature1/strings.ini 0 5 | } 6 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/01/reference-output/localized-resources/test/strings3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Translation 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/02/resources/strings.js: -------------------------------------------------------------------------------- 1 | foo({ 2 | "key1" : "foo\/bar", // unnecessary escaping of the forward slash 3 | "key2" : "foo\\/bar", 4 | "key3" : "foo\\\/bar", // unnecessary escaping of the forward slash 5 | }); 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_pot/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 1 test `Ṽáļũē 1` NO 0 0 4 | 1 2 9 2 test `Ṽáļũē 2` NO 0 0 5 | 2 3 10 3 test `Ṽáļũē 3 - ŠĩŋğũļáŕṼáļũē 3 - Ṕļũŕáļ` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/03/README.md: -------------------------------------------------------------------------------- 1 | Append hint message to all units in the file if it contains a special 'FOO' marker 2 | (this also tests passing flags between `if` and `append_hint_message` plugins 3 | in the context of the current file). -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/07-xliff-firstnote-to-resname/reference-output/localized-resources/de/StripesResources.properties: -------------------------------------------------------------------------------- 1 | #.comment=1st 2 | foo=first 3 | foo2=second 4 | #.comment=3rd line 1 5 | #.comment=3rd line 2 6 | foo3=third 7 | foo4=fourth 8 | -------------------------------------------------------------------------------- /t/data/engine/completeness/00/README.md: -------------------------------------------------------------------------------- 1 | This test plugs in the 'completeness' plugin with default paramaters, 2 | but since all strings are being translated by a test_language plugin, 3 | the resulting file will be 100% translated and, thus, generated. -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings.xml 0 4 | 1 2 4 test_job test_namespace strings3.xml 0 5 | 2 3 6 test_job test_namespace strings5.xml 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/00/reference-output/localized-resources/test/relaxed.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "title" : "ţēšţ 1" 4 | }, 5 | { 6 | "title" : "ţēšţ 2" 7 | }, 8 | { 9 | "title" : "ţēšţ 3" 10 | } 11 | ] 12 | -------------------------------------------------------------------------------- /t/data/engine/parse_plist/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string_key1 NO 0 4 | 1 2 5 1 2 string_key2 NO 0 5 | 2 3 7 1 3 list NO 0 6 | 3 4 9 1 4 list NO 0 7 | 4 5 11 1 5 list NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_rrc/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 TITLE NO 0 4 | 1 2 5 1 2 STRING0 NO 0 5 | 2 3 7 1 3 STRING_0_0 NO 0 6 | 3 4 9 1 4 USERNAME NO 0 7 | 4 5 11 1 5 EXIT NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_rrc/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Sample title` NO 0 4 | 1 2 4 `String 0` NO 0 5 | 2 3 6 `String 0 0` NO 0 6 | 3 4 8 Username: NO 0 7 | 4 5 10 Exit NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_strings/00/reference-output/localized-resources/test.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/serge-community/serge/HEAD/t/data/engine/parse_strings/00/reference-output/localized-resources/test.lproj/Localizable.strings -------------------------------------------------------------------------------- /t/data/engine/replace_strings/01/README.md: -------------------------------------------------------------------------------- 1 | Test for 'replace_strings'+'if' plugins: 2 | 1) 'if' plugin raises the flag in 'after_load_source_file_for_processing' phase 3 | 2) 'replace_strings' checks this flag in 'rewrite_absolute_output_file_path' phase -------------------------------------------------------------------------------- /t/data/engine/replace_strings/03/reference-output/localized-resources/test/strings1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Translation 1 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/02-deserialize-comment/reference-output/localized-resources/de/StripesResources.properties: -------------------------------------------------------------------------------- 1 | #.comment=1st 2 | foo=ersten 3 | foo2=zweite 4 | #.comment=3rd line 1 5 | #.comment=3rd line 2 6 | foo3=dritten 7 | foo4=fourth 8 | -------------------------------------------------------------------------------- /t/data/engine/trademarks/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 1 2 string2 NO 0 5 | 2 3 7 1 3 string3 NO 0 6 | 3 4 9 1 4 string4 NO 0 7 | 4 5 11 1 5 string5 NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 16 1 test `Test Translation 1` NO 0 0 4 | 1 2 17 2 test `Test Translation 2` NO 0 0 5 | 2 3 18 3 test `Test Translation 3` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/metaparser/00-ini/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 10 1 test Ḟőő NO 0 0 4 | 1 2 11 2 test Ḃáŕ NO 0 0 5 | 2 3 12 3 test Ḃáž NO 0 0 6 | 3 4 13 4 test Ēţç\nĒţç2\nĒţç3 NO 0 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_keyvalue/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 1 2 string2 NO 0 5 | 2 3 7 1 3 string3 NO 0 6 | 3 4 9 1 4 string4 NO 0 7 | 4 5 11 1 5 string5 NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_pot/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace non-standard.pot 0 4 | 1 2 4 test_job test_namespace template.pot 0 5 | 2 3 19 test_job test_namespace translated.po 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_pot/00/reference-output/localized-resources/test/non-standard.pot: -------------------------------------------------------------------------------- 1 | # translator-comments 2 | #. automatic-comments 3 | #: reference 4 | #, flag 5 | #| extra unsupported line 6 | #~ extra unsupported line 7 | msgid "foo" 8 | msgstr "ḟőő" -------------------------------------------------------------------------------- /MANIFEST.SKIP: -------------------------------------------------------------------------------- 1 | ^~ 2 | \/~ 3 | \.git\/ 4 | \.gitignore 5 | _build\/ 6 | cpanfile 7 | MANIFEST.SKIP 8 | MANIFEST.bak 9 | \/test-output\/ 10 | ^vendor\/ 11 | setup.pl^MYMETA\.yml$ 12 | ^MYMETA\.json$ 13 | ^MYMETA\.yml$ 14 | \.tar\.gz$ 15 | ^docker\/ 16 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 16 1 test `Test Translation 1` NO 0 0 4 | 1 2 17 2 test `Test Translation 2` NO 0 0 5 | 2 3 18 3 test `Test Translation 3` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/01/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 16 1 test `Test Translation 1` NO 0 0 4 | 1 2 17 2 test `Test Translation 2` NO 0 0 5 | 2 3 18 3 test `Test Translation 3` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/02/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 1 2 string2 NO 0 5 | 2 3 7 1 3 string3 NO 0 6 | 3 4 9 1 4 string4 NO 0 7 | 4 5 11 1 5 string5 NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/04/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 16 1 test `Test Translation 1` NO 0 0 4 | 1 2 17 2 test `Test Translation 2` NO 0 0 5 | 2 3 18 3 test `Test Translation 3` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/08-xliff-filter-untranslated/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` string1 0 4 | 1 2 4 `Value 2` string2 0 5 | 2 3 6 `Value 3` string3 0 6 | 3 4 8 `Value 4` string4 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/02/reference-output/localized-resources/test/strings2.localizable.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Translation 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/05/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 14 1 test ḟőő3 NO 0 0 4 | 1 2 15 2 test ḃáŕ3 NO 0 0 5 | 2 3 16 3 test ḃáž3 NO 0 0 6 | 3 4 17 4 test ` ḟőő4` NO 0 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/00/reference-output/localized-resources/test/strings.yml: -------------------------------------------------------------------------------- 1 | --- 2 | baz: &baz_anchor ēţç1 3 | foo: &foo_anchor ḃáŕ1 4 | subsection1: 5 | baz: ēţç2 6 | foo: ḃáŕ2 7 | subsection2: 8 | baz: *baz_anchor 9 | foo: *foo_anchor 10 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/02/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 /messages/baz NO 0 4 | 1 2 5 1 2 /messages/foo NO 0 5 | 2 3 7 1 3 /messages/subsection/baz NO 0 6 | 3 4 9 1 4 /messages/subsection/foo NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/placeholders/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 8 1 test `ḟőő <1>ḃáŕ<2> ḃáž<3>` NO 0 0 4 | 1 2 9 2 test `Ĥēļļő, <1>!` NO 0 0 5 | 2 3 10 3 test `ḟőő <1>ḃáŕ<2> áŋđ <1>ḃáž><2>` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 16 1 test `Test Translation 1` NO 0 0 4 | 1 2 17 2 test `Test Translation 2` NO 0 0 5 | 2 3 18 3 test `Test Translation 3` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/01/reference-output/localized-resources/test/strings1.special.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Translation 1 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/replace_strings/02/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 16 1 test `Test Translation 1` NO 0 0 4 | 1 2 17 2 test `Test Translation 2` NO 0 0 5 | 2 3 18 3 test `Test Translation 3` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/09-xslt-params/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 17 1 test `Test Translation 1` NO 0 0 4 | 1 2 18 2 test `Test Translation 2` NO 0 0 5 | 2 3 19 3 test `Test Translation 3` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/01-dont-use-keys-as-context/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 6 1 test ḟőő NO 0 0 4 | 1 2 7 2 test ḟőő NO 0 0 5 | 2 3 12 3 test ḟőő NO 0 0 6 | 3 4 13 4 test ḟőő NO 0 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/reference-output/localized-resources/de/strings5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/reference-output/localized-resources/es/strings5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/reference-output/localized-resources/fr/strings5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/metaparser/01-inc/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 10 1 test Ḟőő NO 0 0 4 | 1 2 11 2 test Ḃáŕ NO 0 0 5 | 2 3 12 3 test `Ḃáž ḃáž ḂĀž` NO 0 0 6 | 3 4 13 4 test Ēţç\nĒţç2\nĒţç3 NO 0 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_csv/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 NO NO 0 4 | 1 2 5 1 2 NO NO 0 5 | 2 3 7 1 3 NO NO 0 6 | 3 4 9 1 4 NO NO 0 7 | 4 5 11 1 5 NO NO 0 8 | 5 6 13 1 6 NO NO 0 9 | } 10 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 [0]/title NO 0 4 | 1 2 5 1 2 [1]/title NO 0 5 | 2 3 7 1 3 [2]/title NO 0 6 | 3 4 9 2 1 /item1/title NO 0 7 | 4 5 10 2 2 /item2/title NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/00/resources/relaxed.json: -------------------------------------------------------------------------------- 1 | # an example of a relaxed JSON format with trailing comma 2 | # and comments 3 | [ 4 | {"title": "test 1"}, 5 | {"title": "test 2"}, 6 | {"title": "test 3"}, # this comma is not allowed in strict JSON 7 | ] -------------------------------------------------------------------------------- /t/data/engine/parse_json_keyvalue/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 10 1 test `Ṽáļũē 1` NO 0 0 4 | 1 2 11 2 test `"Ṽáļũē 2"` NO 0 0 5 | 2 3 12 3 test '' NO 0 0 6 | 3 4 13 4 test []{}() NO 0 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_wxl/00/reference-output/localized-resources/strings.test-TEST.wxl: -------------------------------------------------------------------------------- 1 | 2 | 3 | Ŵēļçőḿē ţő ţĥē "[ṔŕőđũçţŅáḿē]" ĩŋšţáļļáţĩőŋ & šēţũṕ. 4 | 5 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/04/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 foo NO 0 4 | 1 2 4 bar NO 0 5 | 2 3 6 baz NO 0 6 | 3 4 8 `item 1` NO 0 7 | 4 5 10 `item 2` NO 0 8 | 5 6 12 `item 3` NO 0 9 | } 10 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/01/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 bar NO 0 4 | 1 2 4 bar2 NO 0 5 | 2 3 6 bar3 NO 0 6 | 3 4 8 bar4 NO 0 7 | 4 5 10 bar5 etc 0 8 | 5 6 12 bar bar 0 9 | } 10 | -------------------------------------------------------------------------------- /t/data/engine/transform/00/resources/strings.properties: -------------------------------------------------------------------------------- 1 | string1 = Foo Bar Baz 2 | string2 = FOO BAR BAZ. 3 | string3 = foo bar baz! 4 | string4 = Foo Bar Baz 5 | string5 = FOO BAR BAZ. 6 | string6 = foo bar baz! 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ~* 2 | cover_db/* 3 | vendor/* 4 | *.bak 5 | MANIFEST 6 | _build 7 | blib 8 | META.* 9 | MYMETA.* 10 | Makefile.PL 11 | *.gz 12 | Build 13 | Build.bat 14 | .idea 15 | *.iml 16 | *.sw[op] 17 | .DS_Store 18 | !t/data/engine/**/reference-output/** 19 | -------------------------------------------------------------------------------- /t/data/engine/completeness/03/README.md: -------------------------------------------------------------------------------- 1 | This test plugs in the 'completeness' plugin with default paramaters, 2 | and uses `process_if` to exclude one string from translation (but not from extraction), 3 | and tests if completeness is calculated properly in this setup. -------------------------------------------------------------------------------- /t/data/engine/completeness/03/reference-output/localized-resources/test/strings3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test Translation 1 4 | Test Translation 2 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/limit_languages/00/reference-output/localized-resources/test/strings3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test Translation 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_json_keyvalue/00/reference-output/localized-resources/test/strings.json: -------------------------------------------------------------------------------- 1 | { 2 | "string1" : "\u1e7c\u00e1\u013c\u0169\u0113 1", 3 | "string2" : "\"\u1e7c\u00e1\u013c\u0169\u0113 2\"", 4 | "string3" : "''", 5 | "string4" : "[]{}()" 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_locjson/01/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `Key 1 - comment line 1 4 | Key 1 - comment line 2` NO 0 5 | 1 2 5 1 2 `Key 2 - comment line 1 6 | Key 2 - comment line 2` NO 0 7 | 2 3 7 1 3 NO NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_locjson/02/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `Key 1 - comment line 1 4 | Key 1 - comment line 2` NO 0 5 | 1 2 5 1 2 `Key 2 - comment line 1 6 | Key 2 - comment line 2` NO 0 7 | 2 3 7 1 3 NO NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/trademarks/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `foo FooTM foo` NO 0 4 | 1 2 4 `BarTM BarTM` NO 0 5 | 2 3 6 `etc Baz T M BarTM` NO 0 6 | 3 4 8 `BarTM FooTM` NO 0 7 | 4 5 10 `foo bar` NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/06/README.md: -------------------------------------------------------------------------------- 1 | Test for 'apply_xslt' plugin, 'before_save_localized_file' phase for XML-unsafe chars 2 | 3 | Uses an identity transform (copies the source data into the destination data without change), so that only xml parsing issues should be visible. -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/08-xliff-filter-untranslated/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `Description 1` NO 0 4 | 1 2 5 1 2 `Description 2` NO 0 5 | 2 3 7 1 3 `Description 3` NO 0 6 | 3 4 9 1 4 `Description 4` NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/08-xliff-filter-untranslated/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 10 1 test 翻译 NO 0 0 4 | 1 2 11 2 test `Übersetzung über Straße ` NO 0 0 5 | 2 3 12 4 test `Là récente et la plus sûre` NO 0 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/completeness/02/reference-output/localized-resources/test/strings1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test Translation 1 4 | Test Translation 2 5 | 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/02/reference-output/localized-resources/strings_test.js: -------------------------------------------------------------------------------- 1 | foo({ 2 | "key1" : "foo/bar", // unnecessary escaping of the forward slash 3 | "key2" : "foo\\/bar", 4 | "key3" : "foo\\/bar", // unnecessary escaping of the forward slash 5 | }); 6 | -------------------------------------------------------------------------------- /t/data/engine/parse_ts/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 10 1 test `Ṽáļũē 1` NO 0 0 4 | 1 2 11 2 test `Ṽáļũē 2` NO 0 0 5 | 2 3 12 3 test `"Ṽáļũē1" <> "&Ṽáļũē2"` NO 0 0 6 | 3 4 13 4 test `Ṽáļũē 3` NO 0 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/03/resources/strings.yml: -------------------------------------------------------------------------------- 1 | true: this one is true 2 | false: this one is false 3 | true_key: true 4 | false_key: false 5 | more_tests: 6 | false: false 7 | true: true 8 | quoted_keys: 9 | 'false': 'false' 10 | 'true': 'true' 11 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/04/resources/invalid_strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 1 4 | Value 2 5 | Value 7 6 | 7 | -------------------------------------------------------------------------------- /t/data/engine/metaparser/02-php-defines/resources/sample.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/02-deserialize-comment/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `foo 4 | 1st` NO 0 5 | 1 2 5 1 2 foo2 NO 0 6 | 2 3 7 1 3 `foo3 7 | 3rd line 1 8 | 3rd line 2` NO 0 9 | 3 4 9 1 4 foo4 NO 0 10 | } 11 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/03/resources/strings1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 1 4 | Value 2 5 | Value 7 6 | 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/05/resources/strings1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 1 4 | Value 2 5 | Value 7 6 | 7 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/07-xliff-firstnote-to-resname/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `foo 4 | 1st` NO 0 5 | 1 2 5 1 2 foo2 NO 0 6 | 2 3 7 1 3 `foo3 7 | 3rd line 1 8 | 3rd line 2` NO 0 9 | 3 4 9 1 4 foo4 NO 0 10 | } 11 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/10-xliff-unique-resname/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace first/strings.xml 0 4 | 1 2 10 test_job test_namespace second/alpha.xml 0 5 | 2 3 13 test_job test_namespace second/strings.xml 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/completeness/03/resources/strings4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Foo 4 | Bar 5 | Baz 6 | Etc 7 | 8 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/02-use-keys-as-context/README.md: -------------------------------------------------------------------------------- 1 | Test for `feature_branch` plugin with `use_keys_as_context` turned ON. 2 | The test shows how the plugin behaves when translating identical strings 3 | in the file (see ) 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/03/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 foo'bar NO 0 4 | 1 2 4 foo'bar key2 0 5 | 2 3 6 foo"bar NO 0 6 | 3 4 8 foo"bar key4 0 7 | 4 5 10 `foo bar 5` NO 0 8 | 5 6 12 `foo bar 6` NO 0 9 | } 10 | -------------------------------------------------------------------------------- /t/data/engine/parse_plist/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 12 1 test ṽáļũē1 NO 0 0 4 | 1 2 13 2 test ṽáļũē2 NO 0 0 5 | 2 3 14 3 test őŋē NO 0 0 6 | 3 4 15 4 test ţŵő NO 0 0 7 | 4 5 16 5 test ţĥŕēē NO 0 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_properties/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 12 1 test ḃáŕ NO 0 0 4 | 1 2 13 2 test ḃáŕ2 NO 0 0 5 | 2 3 14 3 test ḃáŕ3 NO 0 0 6 | 3 4 15 4 test ḃáŕ4 NO 0 0 7 | 4 5 16 5 test ḃáŕ5 NO 0 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 /baz__PRESERVE_ANCHOR__baz_anchor NO 0 4 | 1 2 5 1 2 /foo__PRESERVE_ANCHOR__foo_anchor NO 0 5 | 2 3 7 1 3 /subsection1/baz NO 0 6 | 3 4 9 1 4 /subsection1/foo NO 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/01/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 etc1 NO 0 4 | 1 2 4 bar1 NO 0 5 | 2 3 6 etc2 NO 0 6 | 3 4 8 bar2 NO 0 7 | 4 5 10 etc1 /subsection2/baz 0 8 | 5 6 12 bar1 /subsection2/foo 0 9 | } 10 | -------------------------------------------------------------------------------- /t/data/engine/append_hint_message/02/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 12 1 test NO 0 0 4 | 1 2 13 2 test &foo; NO 0 0 5 | 2 3 14 3 test %foo% NO 0 0 6 | 3 4 15 4 test {1} NO 0 0 7 | 4 5 16 5 test ${foo} NO 0 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/completeness/00/resources/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 1 4 | Value 2 5 | Value 3 6 | 7 | -------------------------------------------------------------------------------- /t/data/engine/completeness/01/resources/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 1 4 | Value 2 5 | Value 3 6 | 7 | -------------------------------------------------------------------------------- /t/data/engine/completeness/04/resources/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Value 1 4 | Value 2 5 | Value 3 6 | 7 | -------------------------------------------------------------------------------- /t/data/engine/cp.pl: -------------------------------------------------------------------------------- 1 | # Helper platform-independent copy tool 2 | # Usage: `perl cp.pl source_file destination_file` 3 | 4 | use strict; 5 | use File::Copy; 6 | 7 | my ($src, $dst) = @ARGV; 8 | die "Source file '$src' not found" unless -f $src; 9 | copy($src, $dst) or die "Copy failed: $!"; -------------------------------------------------------------------------------- /t/data/engine/feature_branch/00/README.md: -------------------------------------------------------------------------------- 1 | Test for `feature_branch` plugin. It treats resource files in 'master' folder 2 | as main ones, and resources in 'feature1' and 'feature2' folders as additional ones, 3 | from which only the strings that are missing in 'master' job should be extracted -------------------------------------------------------------------------------- /t/data/engine/segmenter/00/resources/strings.txt: -------------------------------------------------------------------------------- 1 | <%Lorem ipsum dolor sit amet, consectetur adipiscing elit. 2 | Sed vel enim felis. 3 | 4 | Ut est orci, bibendum ut mi ut, feugiat gravida ligula. 5 | Curabitur auctor eget leo a rutrum. Suspendisse tempor velit id dui volutpat condimentum.%> -------------------------------------------------------------------------------- /t/data/engine/segmenter/01/resources/strings.txt: -------------------------------------------------------------------------------- 1 | <%Lorem ipsum dolor sit amet, consectetur adipiscing elit. 2 | Sed vel enim felis. 3 | 4 | Ut est orci, bibendum ut mi ut, feugiat gravida ligula. 5 | Curabitur auctor eget leo a rutrum. Suspendisse tempor velit id dui volutpat condimentum.%> -------------------------------------------------------------------------------- /t/data/engine/segmenter/02/resources/strings.txt: -------------------------------------------------------------------------------- 1 | <%Lorem ipsum dolor sit amet, consectetur adipiscing elit. 2 | Sed vel enim felis. 3 | 4 | Ut est orci, bibendum ut mi ut, feugiat gravida ligula. 5 | Curabitur auctor eget leo a rutrum. Suspendisse tempor velit id dui volutpat condimentum.%> -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/02/reference-output/localized-resources/test/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Translation 1 4 | Translation 2 5 | Translation 3 6 | 7 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job.master test_namespace strings.ini 0 4 | 1 2 17 test_job.feature1 test_namespace feature1/strings.ini 0 5 | 2 3 27 test_job.feature2 test_namespace feature2/strings.ini 0 6 | } 7 | -------------------------------------------------------------------------------- /t/data/engine/feature_branch/01-dont-use-keys-as-context/README.md: -------------------------------------------------------------------------------- 1 | Test for `feature_branch` plugin with `use_keys_as_context` turned OFF. 2 | The test shows how the plugin behaves when translating identical strings 3 | in the file (see ) 4 | -------------------------------------------------------------------------------- /t/data/engine/parse_xml/03/resources/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | foo 4 | Foo 5 | Paragraph one.

7 |

Paragraph two.

8 | ]]>
9 |
-------------------------------------------------------------------------------- /t/data/engine/segmenter/04/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 12 1 test `ļĩŋē 1` NO 0 0 4 | 1 2 13 2 test `ļĩŋē 2` NO 0 0 5 | 2 3 14 3 test ` ` NO 0 0 6 | 3 4 15 4 test `ļĩŋē 3` NO 0 0 7 | 4 5 16 5 test `ļĩŋē 4` NO 0 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/transform/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 string1 NO 0 4 | 1 2 5 1 2 string2 NO 0 5 | 2 3 7 1 3 string3 NO 0 6 | 3 4 9 1 4 string4 NO 0 7 | 4 5 11 1 5 string5 NO 0 8 | 5 6 13 1 6 string6 NO 0 9 | } 10 | -------------------------------------------------------------------------------- /t/data/engine/transform/00/reference-output/localized-resources/test/strings.properties: -------------------------------------------------------------------------------- 1 | string1 = zaB raB ooF 2 | string2 = ZAB RAB OOF. 3 | string3 = zab rab oof! 4 | string4 = zaB raB ooF 5 | string5 = ZAB RAB OOF. 6 | string6 = zab rab oof! 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_csv/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 value1 string1 0 4 | 1 2 4 value,2 string2 0 5 | 2 3 6 '' string3 0 6 | 3 4 8 `line1 7 | line2` string4 0 8 | 4 5 10 " string5 0 9 | 5 6 12 ` ` string7 0 10 | } 11 | -------------------------------------------------------------------------------- /t/data/engine/parse_json/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 11 1 test `ţēšţ 1` NO 0 0 4 | 1 2 12 2 test `ţēšţ 2` NO 0 0 5 | 2 3 13 3 test `ţēšţ 3` NO 0 0 6 | 3 4 14 4 test `ţēšţ 1` NO 0 0 7 | 4 5 15 5 test `ţēšţ 2` NO 0 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_keyvalue/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 12 1 test `Ṽáļũē 1` NO 0 0 4 | 1 2 13 2 test `Ṽáļũē 2` NO 0 0 5 | 2 3 14 3 test `Ṽáļũē 3` NO 0 0 6 | 3 4 15 4 test `Ṽáļũē 4` NO 0 0 7 | 4 5 16 5 test 0 NO 0 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/03/reference-output/localized-resources/test/strings.yml: -------------------------------------------------------------------------------- 1 | --- 2 | false: ţĥĩš őŋē ĩš ḟáļšē 3 | true: ţĥĩš őŋē ĩš ţŕũē 4 | false_key: ḟáļšē 5 | more_tests: 6 | false: ḟáļšē 7 | true: ţŕũē 8 | quoted_keys: 9 | false: ḟáļšē 10 | true: ţŕũē 11 | true_key: ţŕũē 12 | -------------------------------------------------------------------------------- /t/data/engine/parse_js/02/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `key1 4 | unnecessary escaping of the forward slash` NO 5 | 0 6 | 1 2 5 1 2 key2 NO 0 7 | 2 3 7 1 3 `key3 8 | unnecessary escaping of the forward slash` NO 9 | 0 10 | } 11 | -------------------------------------------------------------------------------- /t/data/engine/parse_rrc/00/reference-output/database/translations: -------------------------------------------------------------------------------- 1 | translations 2 | { 3 | 0 1 12 1 test `Šáḿṕļē ţĩţļē` NO 0 0 4 | 1 2 13 2 test `Šţŕĩŋğ 0` NO 0 0 5 | 2 3 14 3 test `Šţŕĩŋğ 0 0` NO 0 0 6 | 3 4 15 4 test Ůšēŕŋáḿē: NO 0 0 7 | 4 5 16 5 test Ēҳĩţ NO 0 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_ts/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` `block-level context 4 | message-level context` 0 5 | 1 2 4 `Value 2` `block-level context` 0 6 | 2 3 6 `"Value1" <> "&Value2"` `block-level context` 0 7 | 3 4 8 `Value 3` NO 0 8 | } 9 | -------------------------------------------------------------------------------- /t/data/engine/parse_xliff/00/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 Foo NO 0 4 | 1 2 4 Bar NO 0 5 | 2 3 6 `Foo2 ` NO 0 6 | 3 4 8 Bar2 NO 0 7 | 4 5 18 `Foo2 ` NO 0 8 | 5 6 21 Etc2 NO 0 9 | } 10 | -------------------------------------------------------------------------------- /t/data/engine/parse_xml/03/reference-output/localized-resources/test/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | foo 4 | Ḟőő 5 | Ṕáŕáğŕáṕĥ őŋē.

6 |

Ṕáŕáğŕáṕĥ ţŵő.

]]>
7 |
-------------------------------------------------------------------------------- /t/data/engine/placeholders/00/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 `string1 4 | <1> = 5 | <2> = 6 | <3> = ` NO 0 7 | 1 2 5 1 2 `string2 8 | <1> = ${USERNAME}` NO 0 9 | 2 3 7 1 3 `string3 10 | <1> = 11 | <2> = ` NO 0 12 | } 13 | -------------------------------------------------------------------------------- /t/data/engine/completeness/03/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace strings1.xml 0 4 | 1 2 8 test_job test_namespace strings2.xml 0 5 | 2 3 10 test_job test_namespace strings3.xml 0 6 | 3 4 13 test_job test_namespace strings4.xml 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/completeness/03/reference-output/localized-resources/test/strings1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test Translation 1 4 | Test Translation 2 5 | Baz 6 | 7 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/00/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test_job test_namespace broken_01.html 0 4 | 1 2 2 test_job test_namespace broken_02.html 0 5 | 2 3 3 test_job test_namespace broken_03.html 0 6 | 3 4 4 test_job test_namespace index.php 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_php_xhtml/06/reference-output/database/files: -------------------------------------------------------------------------------- 1 | files 2 | { 3 | 0 1 1 test1 test_namespace test1/test.html 0 4 | 1 2 11 test2 test_namespace test2/test.html 0 5 | 2 3 30 test3 test_namespace test3/test.html 0 6 | 3 4 33 test4 test_namespace test4/test.html 0 7 | } 8 | -------------------------------------------------------------------------------- /t/data/engine/parse_yaml/04/reference-output/database/items: -------------------------------------------------------------------------------- 1 | items 2 | { 3 | 0 1 3 1 1 [0] NO 0 4 | 1 2 5 1 2 [1] NO 0 5 | 2 3 7 1 3 [2] NO 0 6 | 3 4 9 1 4 [3]/some_list[0] NO 0 7 | 4 5 11 1 5 [3]/some_list[1] NO 0 8 | 5 6 13 1 6 [3]/some_list[2] NO 0 9 | } 10 | -------------------------------------------------------------------------------- /t/data/engine/segmenter/01/reference-output/localized-resources/test/strings.txt: -------------------------------------------------------------------------------- 1 | Łőŕēḿ ĩṕšũḿ đőļőŕ šĩţ áḿēţ, çőŋšēçţēţũŕ áđĩṕĩšçĩŋğ ēļĩţ. Šēđ ṽēļ ēŋĩḿ ḟēļĩš. 2 | 3 | Ůţ ēšţ őŕçĩ, ḃĩḃēŋđũḿ ũţ ḿĩ ũţ, ḟēũğĩáţ ğŕáṽĩđá ļĩğũļá. Ćũŕáḃĩţũŕ áũçţőŕ ēğēţ ļēő á ŕũţŕũḿ. Šũšṕēŋđĩššē ţēḿṕőŕ ṽēļĩţ ĩđ đũĩ ṽőļũţṕáţ çőŋđĩḿēŋţũḿ. -------------------------------------------------------------------------------- /t/data/engine/serialize_xliff/03-deserialize-context/resources/StripesResources.properties: -------------------------------------------------------------------------------- 1 | #.comment=this is a comment for foo 2 | foo=bar 3 | #.comment=this is a comment for foo2 4 | #.specialFlag 5 | foo2=bar2 6 | #.context=etc 7 | foo3=bar3 8 | #.comment=this is a comment for bar 9 | bar=bar 10 | -------------------------------------------------------------------------------- /t/data/engine/metaparser/02-php-defines/reference-output/localized-resources/test/sample.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/01/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `Value 2` NO 0 5 | 2 3 6 `Value 3` NO 0 6 | 3 4 8 `Value 4` NO 0 7 | 4 5 10 `Value 5` NO 0 8 | 5 6 12 `Value 6` NO 0 9 | 6 7 14 `Value 7` NO 0 10 | } 11 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/02/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `Value 2` NO 0 5 | 2 3 6 `Value 3` NO 0 6 | 3 4 8 `Value 4` NO 0 7 | 4 5 10 `Value 5` NO 0 8 | 5 6 12 `Value 6` NO 0 9 | 6 7 14 `Value 7` NO 0 10 | } 11 | -------------------------------------------------------------------------------- /t/data/engine/apply_xslt/03/reference-output/database/strings: -------------------------------------------------------------------------------- 1 | strings 2 | { 3 | 0 1 2 `Value 1` NO 0 4 | 1 2 4 `Value 2` NO 0 5 | 2 3 6 `Value 7` NO 0 6 | 3 4 9 `Value 3` NO 0 7 | 4 5 11 `Value 4` NO 0 8 | 5 6 13 `Value 5` NO 0 9 | 6 7 15 `Value 6` NO 0 10 | } 11 | --------------------------------------------------------------------------------