Mercurial > mplayer.hg
comparison configure @ 29322:432719ffdaa0
100l: Add missing $s to default language variable checks, which prevented
fallback language settings from taking effect.
patch by Francesco Lavra, francescolavra interfree it
author | diego |
---|---|
date | Sun, 14 Jun 2009 18:51:36 +0000 |
parents | e98825540790 |
children | b2492a568a50 |
comparison
equal
deleted
inserted
replaced
29321:e98825540790 | 29322:432719ffdaa0 |
---|---|
2825 # Fall back on English. | 2825 # Fall back on English. |
2826 for lang in $language_doc ; do | 2826 for lang in $language_doc ; do |
2827 test -d DOCS/xml/$lang && tmp_language_doc="$tmp_language_doc $lang" | 2827 test -d DOCS/xml/$lang && tmp_language_doc="$tmp_language_doc $lang" |
2828 done | 2828 done |
2829 language_doc=$tmp_language_doc | 2829 language_doc=$tmp_language_doc |
2830 test -z "language_doc" && language_doc=en | 2830 test -z "$language_doc" && language_doc=en |
2831 | 2831 |
2832 for lang in $language_man ; do | 2832 for lang in $language_man ; do |
2833 test -d DOCS/man/$lang && tmp_language_man="$tmp_language_man $lang" | 2833 test -d DOCS/man/$lang && tmp_language_man="$tmp_language_man $lang" |
2834 done | 2834 done |
2835 language_man=$tmp_language_man | 2835 language_man=$tmp_language_man |
2836 test -z "language_man" && language_man=en | 2836 test -z "$language_man" && language_man=en |
2837 | 2837 |
2838 for lang in $language_msg ; do | 2838 for lang in $language_msg ; do |
2839 test -f "help/help_mp-${lang}.h" && language_msg=$lang && break | 2839 test -f "help/help_mp-${lang}.h" && language_msg=$lang && break |
2840 done | 2840 done |
2841 test -z "language_msg" && language_msg=en | 2841 test -z "$language_msg" && language_msg=en |
2842 _mp_help="help/help_mp-${language_msg}.h" | 2842 _mp_help="help/help_mp-${language_msg}.h" |
2843 echores "messages: $language_msg - man pages: $language_man - documentation: $language_doc" | 2843 echores "messages: $language_msg - man pages: $language_man - documentation: $language_doc" |
2844 | 2844 |
2845 | 2845 |
2846 echocheck "enable sighandler" | 2846 echocheck "enable sighandler" |