-
- Downloads
Add checks for locales and locale-related issues
Some Steam games assume that the en_US.UTF-8 locale is available, and
it's reasonably likely that others assume that the C.UTF-8 locale is
available, or that the locale environment variables are set to usable
values.
Having checks for locale properties will also help us when experimenting
with containers: we can check whether the locale that was set outside
the container is available inside the container.
Signed-off-by:
Simon McVittie <smcv@collabora.com>
parent
fe24a7cc
No related branches found
No related tags found
Showing
- bin/system-info.c 109 additions, 0 deletionsbin/system-info.c
- helpers/check-locale.c 269 additions, 0 deletionshelpers/check-locale.c
- helpers/meson.build 12 additions, 0 deletionshelpers/meson.build
- steam-runtime-tools/glib-compat.h 8 additions, 0 deletionssteam-runtime-tools/glib-compat.h
- steam-runtime-tools/locale-internal.h 60 additions, 0 deletionssteam-runtime-tools/locale-internal.h
- steam-runtime-tools/locale.c 422 additions, 0 deletionssteam-runtime-tools/locale.c
- steam-runtime-tools/locale.h 107 additions, 0 deletionssteam-runtime-tools/locale.h
- steam-runtime-tools/meson.build 3 additions, 0 deletionssteam-runtime-tools/meson.build
- steam-runtime-tools/steam-runtime-tools.h 1 addition, 0 deletionssteam-runtime-tools/steam-runtime-tools.h
- steam-runtime-tools/system-info.c 245 additions, 0 deletionssteam-runtime-tools/system-info.c
- steam-runtime-tools/system-info.h 9 additions, 0 deletionssteam-runtime-tools/system-info.h
- tests/locale.c 396 additions, 0 deletionstests/locale.c
- tests/meson.build 44 additions, 0 deletionstests/meson.build
- tests/system-info-cli.c 2 additions, 1 deletiontests/system-info-cli.c
Loading
Please register or sign in to comment