Cockatrice/tests/carddatabase
ebbit1q 4b224f7fe5
Translate the filter string error at display time (#5283)
Keep the parser message untranslated so FilterStringLog stays in the source
language, and format the user-facing text in error() instead. That gives both
consumers what they need without localizing the log.

Q_DECLARE_TR_FUNCTIONS provides the tr() context without deriving from QObject,
which would have deleted copy/move assignment and broken the by-value uses in
PlayerActions and ViewZone. Drop the unreachable line-number branch; peglib
reports 1-based lines, so every message keeps master's "position" wording.

Co-authored-by: Lukas Brübach <44814898+BruebachL@users.noreply.github.com>
2026-11-07 16:26:31 +01:00
..
data Fix multi-word type matching in card filters (#6060) 2025-08-24 12:37:25 -04:00
carddatabase_test.cpp [DlgCreateGame] Heap-allocate create game dialog to prevent crash on parent deletion (#7777) 2026-11-05 07:49:20 +01:00
CMakeLists.txt [Client] Added an exclude and color identity filter for the visual database display (#7587) 2026-11-05 12:40:32 +01:00
filter_mode_test.cpp [Client] Added an exclude and color identity filter for the visual database display (#7587) 2026-11-05 12:40:32 +01:00
filter_string_test.cpp Translate the filter string error at display time (#5283) 2026-11-07 16:26:31 +01:00
filter_tree_test.cpp [Client] Added an exclude and color identity filter for the visual database display (#7587) 2026-11-05 12:40:32 +01:00
load_benchmark.cpp [CardDB] Stream card properties from blobs (#7608) 2026-10-24 00:17:31 +02:00
mocks.cpp Clean up inter-library dependencies with interfaces (#6280) 2025-11-08 22:19:40 +01:00
mocks.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
test_card_database_path_provider.h Clean up inter-library dependencies with interfaces (#6280) 2025-11-08 22:19:40 +01:00
visual_display_model_test.cpp [VisualDatabase] Draw the card grid with a model/view (#7701) 2026-11-02 08:35:58 +01:00