mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-07 10:33:24 -08:00
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> |
||
|---|---|---|
| .. | ||
| data | ||
| carddatabase_test.cpp | ||
| CMakeLists.txt | ||
| filter_mode_test.cpp | ||
| filter_string_test.cpp | ||
| filter_tree_test.cpp | ||
| load_benchmark.cpp | ||
| mocks.cpp | ||
| mocks.h | ||
| test_card_database_path_provider.h | ||
| visual_display_model_test.cpp | ||