rubberduck-vba / Rubberduck

Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
https://rubberduckvba.com
GNU General Public License v3.0
1.91k stars 299 forks source link

Code Inspection Settings Severity Filter behaves unexpected #5715

Open awb95 opened 3 years ago

awb95 commented 3 years ago

Rubberduck version information Version 2.5.1.5767 OS: Microsoft Windows NT 6.2.9200.0, x64 Host Product: 2007 Microsoft Office system x86 Host Version: 12.0.4518.1014 Host Executable: EXCEL.EXE

Description The Severity Filter is not working as Expected and behaves differently dependend on the Selected Display Language.

To Reproduce With English selected as Display Language:

No Initial Value at the ComboBox -> All Entries inside the ListBox are visible. RD-3

If 'All' is selected at the ComboBox -> All Entries are removed from the ListBox. RD-4

Selecting for example 'Error' works as expected. RD-5

With German selected as Display Language:

Initial Value 'Alle' -> All Entries are visible RD-1

If for Example 'Fehler' is selected -> Alle Entries are Removed from the ListBox RD-2

Expected behavior The Severity ComboBox should contain 'All' resp. its translations as Initial value. If any Severity gets selected, only Entries with that Severity should be visible.

Feature-Note While writing this Issue I thought it would be nice if the Group Headers of the ListBox would also get translated like the Sub-Entries

retailcoder commented 3 years ago

It looks like the group headings are the internal enum types' ToString representation - indeed, these should be localized!

Tanarri commented 2 years ago

Hi,

Selecting a "severity" in the German localization does not work as expected. Selecting "Alle" (or any other in the Combobox) shows no entries grafik

Version 2.5.2.6001 Betriebssystem: Microsoft Windows NT 10.0.19043.0, x64 Hostprodukt: Microsoft Office 2013 x86 Hostversion: 15.0.5349.1000 Hostprogramm: MSACCESS.EXE