mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-23 19:31:44 +00:00
4ce17cfddb
Normalization can be turned off via the `--normalize-language-ietf off` command line arguments. Part of the implementation of #3307.
16 lines
628 B
Ruby
Executable File
16 lines
628 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_735normalize_language_ietf_chapters
|
|
describe "mkvmerge / normalize language IETF in chapters"
|
|
|
|
src = "--chapters data/chapters/ietf-normalization-test.xml"
|
|
|
|
test_merge src, :args => "--normalize-language-ietf off", :keep_tmp => true
|
|
compare_languages_chapters [ "fre", "fr-FX" ], [ "chi", "zh-yue" ], [ "chi", "yue" ]
|
|
|
|
test_merge src, :keep_tmp => true
|
|
compare_languages_chapters [ "fre", "fr-FR" ], [ "chi", "yue" ], [ "chi", "yue" ]
|
|
|
|
test_merge src, :args => "--normalize-language-ietf extlang", :keep_tmp => true
|
|
compare_languages_chapters [ "fre", "fr-FR" ], [ "chi", "zh-yue" ], [ "chi", "zh-yue" ]
|