Cockatrice/cockatrice/src/game_graphics
tooomm dec5e217a2
Remove leading spaces from message log zone strings (#4945)
The "from …" fragments built by getFromStr() carried a leading space so
the sentence templates could concatenate them directly (%2%3). That blank
is invisible on Transifex and most translations dropped it, merging the
card name and the zone phrase in the log (#4943).

Drop the blank from the tr() strings and add the separator in code where
the fragment is built. The space is only prepended when the fragment is
non-empty, so messages that put the zone in the card name instead — "the
top card of their library." — keep their punctuation tight.

The templates stay at %2%3, since %3 is empty on those paths.
2026-11-06 21:43:14 +01:00
..
board [Fonts] Migrate CardText surfaces to theme font role (#7538) 2026-11-04 07:57:54 +01:00
deckview [Fonts] Restore DeckList Serif default and live-update all role readers (#7541) 2026-11-04 07:57:55 +01:00
dialogs [Refactor] Move game logic into libcockatrice_game (#7437) 2026-10-31 18:44:15 +01:00
log Remove leading spaces from message log zone strings (#4945) 2026-11-06 21:43:14 +01:00
player [Translations] Give translators context for separator-bearing tr() strings (#6487) 2026-11-06 21:12:07 +01:00
tally [Refactor] Move card selection actions to GameScene and p/t parsing to CardState (#7426) 2026-10-31 18:44:12 +01:00
zones [Icons] Migrate UI glyphs to palette-token SVGs (#7595) 2026-11-04 18:39:41 +01:00
animated_item.h [Game] Generic Animation Interface (#7098) 2026-08-12 20:36:33 +02:00
card_dimensions.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
game_scene.cpp [Server/Client/Protocol] Shuffle or reorder player seats before a game starts (#7398) 2026-11-04 15:44:50 +01:00
game_scene.h [Refactor] Move game logic into libcockatrice_game (#7437) 2026-10-31 18:44:15 +01:00
game_view.cpp [Fonts] Migrate DeckList and InterfaceDefault surfaces to theme roles (#7539) 2026-11-04 07:57:54 +01:00
game_view.h [Fonts] Migrate DeckList and InterfaceDefault surfaces to theme roles (#7539) 2026-11-04 07:57:54 +01:00
hand_counter.cpp [Refactor] Move game logic into libcockatrice_game (#7437) 2026-10-31 18:44:15 +01:00
hand_counter.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
phases_toolbar.cpp [Refactor] Emit phase toolbar intent instead of protobuf commands (#7419) 2026-10-31 18:44:10 +01:00
phases_toolbar.h [Refactor] Emit phase toolbar intent instead of protobuf commands (#7419) 2026-10-31 18:44:10 +01:00
pq_cockatrice_event_player.cpp [Tests] Play card interactions through a Cockatrice event player (#7697) 2026-11-04 06:23:45 +01:00
pq_cockatrice_event_player.h [Tests] Play card interactions through a Cockatrice event player (#7697) 2026-11-04 06:23:45 +01:00
z_value_layer_manager.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00
z_values.h [Game] Move graphics out of game and into game_graphics (#6928) 2026-06-09 09:51:13 +02:00