fluffychat & nheko: specify LANGUAGE

This commit is contained in:
Aminda Suomalainen 2024-02-29 18:41:59 +02:00
parent 485e3711b8
commit f77dfdb7d7
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
3 changed files with 5 additions and 2 deletions

View File

@ -6,6 +6,9 @@ set -x
if [ -f /snap/bin/fluffychat ]; then if [ -f /snap/bin/fluffychat ]; then
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104 # https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
unset DBUS_SESSION_BUS_ADDRESS 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 $@ snap run fluffychat $@
else else
/usr/bin/fluffychat /usr/bin/fluffychat

View File

@ -5,5 +5,5 @@
# TODO: Handle --help & --version flags # TODO: Handle --help & --version flags
set -x set -x
flatpak run im.nheko.Nheko//master --profile $@ flatpak run --env=LANGUAGE=fi:eo:en im.nheko.Nheko//master --profile $@
set +x set +x

View File

@ -6,5 +6,5 @@
# TODO: Handle --help & --version flags # TODO: Handle --help & --version flags
set -x 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 set +x