Properties panel: some subsection titles don't follow set language in preferences, 6.99
Description
In the properties panel of the PCB editor, the first subsection title "Basic properties" changes language when a new language is set in menu Preferences -> Set Language. The second, third etc. subsection titles do not change, but are expected to, just like the first one.
If the PCB editor is closed and restarted, there is no change.
If the Project manager is closed and restarted (which will automatically close the PCB editor), the language will change, which indicates that a translation does exist and works, it is just not updated "on the fly" when a new language is chosen while the PCB editor is open.
Here a screenshot with swedish language at startup (properties for one THT pad are shown):
After the language has been changed to english in Properties -> Set Language, it looks like this:
The subtitles "Lödyteegenskaper" (Pad properties) and "Åsidosättanden" (Overrides) are still in swedish, the first one "Basic Properties" changed to english on the fly.
If KiCad is restarted with english language set, it looks like this:
Now the subtitles are correctly shown in english.
Steps to reproduce
- Start KiCad and PCB editor with default language Swedish or another language which is not English (I have tried German; if you start with language set to English, which is not default on my system, the issue does not appear).
- Klick on a pad or other object in the PCB.
- Change the language of the user interface in top menu "Properties" -> "Set Language" to English, or another not default language (tried finnish, danish).
- Notice the subtitles in the properties editor, only the first one "Basic Properties" changed the language, not the other ones.
KiCad Version
Version: 6.99.0-1.20221225gitb85fab9.fc36, release build
Libraries:
wxWidgets 3.0.5
FreeType 2.12.1
HarfBuzz 4.0.0
FontConfig 2.14.1
libcurl/7.82.0 OpenSSL/3.0.5 zlib/1.2.11 brotli/1.0.9 libidn2/2.3.4 libpsl/0.21.1 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.51.0 OpenLDAP/2.6.3
Platform: , 64 bit, Little endian, wxGTK, KDE, wayland
Build Info:
Date: Dec 25 2022 18:18:26
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.82.0
ngspice: 38
Compiler: GCC 12.2.1 with C++ ABI 1017
Build settings:
KICAD_SPICE=ON