diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-02-15 16:33:27 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2011-02-15 16:33:27 +0200 |
commit | ac443f6fd5400cd38592d2c55b03540f8b8f7144 (patch) | |
tree | e9bb7441ab42cd543be8b39117f61b235aef2997 | |
parent | 685bbb5734014ac6efece02d7df757fb4a942cbb (diff) | |
download | mpv-ac443f6fd5400cd38592d2c55b03540f8b8f7144.tar.bz2 mpv-ac443f6fd5400cd38592d2c55b03540f8b8f7144.tar.xz |
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.
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 , " ") |