aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtrayfreq2
-rwxr-xr-xtrayfreq-set2
2 files changed, 2 insertions, 2 deletions
diff --git a/trayfreq b/trayfreq
index 8686b41..b193049 100755
--- a/trayfreq
+++ b/trayfreq
@@ -1,6 +1,6 @@
#!/usr/bin/bash
-lang=$(locale | grep LANGUAGE | cut -d= -f2 | cut -d_ -f1)
+lang=$(locale | grep LANG | cut -d= -f2 | cut -d_ -f1)
if [ lang = "fr" ]; then
trayfreq-fr $@
diff --git a/trayfreq-set b/trayfreq-set
index f4099c6..c8a94f7 100755
--- a/trayfreq-set
+++ b/trayfreq-set
@@ -1,6 +1,6 @@
#!/usr/bin/bash
-lang=$(locale | grep LANGUAGE | cut -d= -f2 | cut -d_ -f1)
+lang=$(locale | grep LANG | cut -d= -f2 | cut -d_ -f1)
if [ lang = "fr" ]; then
trayfreq-set-fr $@