Also checking for gettext catalogs to be installed before enabling l10n.
This commit is contained in:
parent
f070302f58
commit
d0276d0b16
|
@ -7,7 +7,7 @@
|
|||
# This is free software, and you are welcome to redistribute it
|
||||
# under certain conditions; see COPYING for details.
|
||||
|
||||
if [ -x "$(which gettext.sh 2>/dev/null)" ]
|
||||
if [ -x "$(which gettext.sh 2>/dev/null)" ] && Find_files /usr/share/locale/*/LC_MESSAGES/${PROGRAM}.mo
|
||||
then
|
||||
_L10N="enabled"
|
||||
|
||||
|
|
Loading…
Reference in New Issue