[gnome-chess] Add translator comments for en passant captures
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Add translator comments for en passant captures
- Date: Fri, 4 Dec 2020 21:48:53 +0000 (UTC)
commit ef1fe371bba1a5b56b7920e7f0ea8cea2625b296
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Fri Dec 4 15:44:57 2020 -0600
Add translator comments for en passant captures
src/gnome-chess.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 07f0d4f..e249a03 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1266,8 +1266,10 @@ Copyright © 2015–2016 Sahil Sareen""";
game.current_state.last_move.en_passant)
{
if (game.current_player.color == Color.WHITE)
+ /* Window title when Black captures White's pawn en passant */
headerbar.set_title (_("Black captured en passant"));
else
+ /* Window title when White captures Black's pawn en passant */
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]