From 79fd36d2f6cad6820803332b88af7ccba7709a34 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 30 Jul 2018 22:25:35 -0400 Subject: [PATCH] Beginnings of multi-language support. --- bashtuner.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bashtuner.sh b/bashtuner.sh index 31f2803..ca9b3e4 100755 --- a/bashtuner.sh +++ b/bashtuner.sh @@ -33,6 +33,12 @@ declare -A tuning=( #banjo [banjo]="G4 D3 G3 B3 D4" ) + +# For multi-language support +export TEXTDOMAIN=bashtuner +export TEXTDOMAINDIR=/usr/share/locale +source gettext.sh + export DIALOGOPTS='--insecure --no-lines --visit-items' flush_keys() {