mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 10:02:17 +00:00
configure: use LINGUAS environment variable for messages
Previously the default with --enable-translation was to install all language files if --language-msg was not explicitly specified. Change the default to the languages set with the --language option or LINGUAS environment variable if those are set; if neither is set then the default is still to install all message languages.
This commit is contained in:
parent
685bbb5734
commit
ac443f6fd5
1
configure
vendored
1
configure
vendored
@ -2764,6 +2764,7 @@ echocheck "language"
|
||||
test -z "$language" && language=$LINGUAS
|
||||
test -z "$language_doc" && language_doc=$language
|
||||
test -z "$language_man" && language_man=$language
|
||||
test -z "$language_msg" && language_msg=$language
|
||||
test -z "$language_msg" && language_msg="all"
|
||||
language_doc=$(echo $language_doc | tr , " ")
|
||||
language_man=$(echo $language_man | tr , " ")
|
||||
|
Loading…
Reference in New Issue
Block a user