From f77dfdb7d712eb10f357fcdd79a92ebe47d4dccb Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Thu, 29 Feb 2024 18:41:59 +0200 Subject: [PATCH] fluffychat & nheko: specify LANGUAGE --- bash/usr-local-bin/fluffychat | 3 +++ bash/usr-local-bin/nheko | 2 +- bash/usr-local-bin/nheko-tor | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/bash/usr-local-bin/fluffychat b/bash/usr-local-bin/fluffychat index b37afe8..e11700d 100755 --- a/bash/usr-local-bin/fluffychat +++ b/bash/usr-local-bin/fluffychat @@ -6,6 +6,9 @@ set -x if [ -f /snap/bin/fluffychat ]; then # https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104 unset DBUS_SESSION_BUS_ADDRESS + # I am supposed to be a Finnish localizer so my eo over fi as protest + # doesn't work here! + export LANGUAGE=fi:eo:en snap run fluffychat $@ else /usr/bin/fluffychat diff --git a/bash/usr-local-bin/nheko b/bash/usr-local-bin/nheko index 25870d0..afe5f4d 100755 --- a/bash/usr-local-bin/nheko +++ b/bash/usr-local-bin/nheko @@ -5,5 +5,5 @@ # TODO: Handle --help & --version flags set -x -flatpak run im.nheko.Nheko//master --profile $@ +flatpak run --env=LANGUAGE=fi:eo:en im.nheko.Nheko//master --profile $@ set +x diff --git a/bash/usr-local-bin/nheko-tor b/bash/usr-local-bin/nheko-tor index 6eb1814..37f098d 100755 --- a/bash/usr-local-bin/nheko-tor +++ b/bash/usr-local-bin/nheko-tor @@ -6,5 +6,5 @@ # TODO: Handle --help & --version flags set -x -flatpak run --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master --profile $@ +flatpak run LANGUAGE=en --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master --profile $@ set +x