diff options
Diffstat (limited to 'usr/lib/vdr/inc/language-functions.sh')
-rw-r--r-- | usr/lib/vdr/inc/language-functions.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/lib/vdr/inc/language-functions.sh b/usr/lib/vdr/inc/language-functions.sh new file mode 100644 index 0000000..03165c0 --- /dev/null +++ b/usr/lib/vdr/inc/language-functions.sh @@ -0,0 +1,8 @@ +read_vdr_language() { + local OSDLANG + local LANG_TAB + OSDLANG=$(awk -F= '/^OSDLanguage/ { print $2 }' /etc/vdr/setup.conf) + LANG_TAB=("en" "de") + VDR_LANGUAGE=${LANG_TAB[OSDLANG]} +} + |