mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-01 15:49:40 +01:00
fluffychat & nheko: specify LANGUAGE
This commit is contained in:
parent
485e3711b8
commit
f77dfdb7d7
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user