[gnome-chess] Reduce length of en passant capture notice
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Reduce length of en passant capture notice
- Date: Fri, 4 Dec 2020 21:48:53 +0000 (UTC)
commit 73a3af2e3eded07310c61ccb01e187b5995aa4fb
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Fri Dec 4 15:43:39 2020 -0600
Reduce length of en passant capture notice
There is not much space in the header bar, so let's keep the text as
short as possible.
src/gnome-chess.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index bfbcad5..07f0d4f 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1266,9 +1266,9 @@ Copyright © 2015–2016 Sahil Sareen""";
game.current_state.last_move.en_passant)
{
if (game.current_player.color == Color.WHITE)
- headerbar.set_title (_("Black performed an en passant capture"));
+ headerbar.set_title (_("Black captured en passant"));
else
- headerbar.set_title (_("White performed an en passant capture"));
+ headerbar.set_title (_("White captured en passant"));
}
else if (game.current_player.color == Color.WHITE)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]