mirror of
https://github.com/nicolargo/glances.git
synced 2024-09-11 12:47:14 +03:00
Fix locale error due to missing compiled data
This patch hardcoded the locale variables to use the `C.UTF-8` locale which is the only locale that is available in the Ubuntu Core. Additional information: * The gettext-launch remote part - doc - snapcraft.io https://forum.snapcraft.io/t/the-gettext-launch-remote-part/9111 * The locales-launch remote part - doc - snapcraft.io https://forum.snapcraft.io/t/the-locales-launch-remote-part/8729 * Python cannot determine the locale used when inside a snap - snapcraft - snapcraft.io https://forum.snapcraft.io/t/python-cannot-determine-the-locale-used-when-inside-a-snap/9492 Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
This commit is contained in:
parent
2529c66fe4
commit
cd096cc8a8
@ -24,6 +24,9 @@ apps:
|
||||
- upower-observe
|
||||
- system-files
|
||||
- home
|
||||
environment:
|
||||
LANG: C.UTF-8
|
||||
LC_ALL: C.UTF-8
|
||||
|
||||
plugs:
|
||||
system-files:
|
||||
|
Loading…
Reference in New Issue
Block a user