mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
Added the interface language to mkvmerge's command line
The interface language selected in mmg must be inserted into mkvmerge's command line. Otherwise it will use the environment's default language.
This commit is contained in:
parent
bdacad95bf
commit
154c5b0503
@ -1309,6 +1309,14 @@ mmg_dialog::update_command_line() {
|
||||
clargs.Add(wxT("UTF-8"));
|
||||
clargs.Add(wxT("-o"));
|
||||
clargs.Add(tc_output->GetValue());
|
||||
|
||||
#if defined(HAVE_LIBINTL_H)
|
||||
if (!app->m_ui_locale.empty()) {
|
||||
clargs.Add(wxT("--ui-language"));
|
||||
clargs.Add(wxCS2WS(app->m_ui_locale));
|
||||
}
|
||||
#endif // HAVE_LIBINTL_H
|
||||
|
||||
args_start = clargs.Count();
|
||||
|
||||
if (options.priority != wxT("normal")) {
|
||||
|
Loading…
Reference in New Issue
Block a user