"Inactive layers (H):" title doesn't follow set languate in preferences, both 6.0.4 and 6.99
Description
In both 6.0.4 and 6.99, when changing language with menu "Preferences" -> "Set language", the title of the "Inactive layers (H):" multiple choice under "Layer display options" in the lower right hand corner of the pcb editor doesn't change, but retains the language that was chosen at startup of the application.
Steps to reproduce
Screenshots are from 6.99 but 6.0.4 behaves the same on this particular issue.
1A. Started up with default swedish language: (Inactive layers = Inaktiva lager)
2A. Changed to english language in Preferences -> Set language.
"Inaktiva lager" is still in swedish:
1B. If pcb editor is closed while english language is chosen, and then restarted, "Inactive layers" will be shown in english:
2B. Set language back to swedish and "Inactive layers" stays in english:
KiCad Version
Application: KiCad PCB Editor
Version: 6.99.0-1.20220421gitb423651.fc35, release build
Libraries:
wxWidgets 3.0.5
FreeType 2.11.0
HarfBuzz 2.9.1
FontConfig 2.13.94
libcurl/7.79.1 OpenSSL/1.1.1n-fips zlib/1.2.11 brotli/1.0.9 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.45.1 OpenLDAP/2.4.59
Platform: Linux 5.16.19-200.fc35.x86_64 x86_64, 64 bit, Little endian, wxGTK, KDE, wayland
Build Info:
Date: Apr 21 2022 17:16:53
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.76.0
OCC: 7.5.0
Curl: 7.79.1
ngspice: 36
Compiler: GCC 11.2.1 with C++ ABI 1016
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON
Application: KiCad PCB Editor
Version: 6.0.4-1.fc35, release build
Libraries:
wxWidgets 3.0.5
libcurl/7.79.1 OpenSSL/1.1.1n-fips zlib/1.2.11 brotli/1.0.9 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.45.1 OpenLDAP/2.4.59
Platform: Linux 5.16.19-200.fc35.x86_64 x86_64, 64 bit, Little endian, wxGTK, KDE, wayland
Build Info:
Date: Mar 19 2022 00:00:00
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.76.0
OCC: 7.5.0
Curl: 7.79.1
ngspice: 36
Compiler: GCC 11.2.1 with C++ ABI 1016
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON