[four-in-a-row] Clean up translation of player "name"



commit 03a4e8c9bd098829625c733a3441abb1a98def34
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Sep 1 11:09:51 2014 -0500

    Clean up translation of player "name"
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723511

 src/main.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 5c1343c..c1df1de 100644
--- a/src/main.c
+++ b/src/main.c
@@ -531,10 +531,10 @@ prompt_player (void)
 
     if (gameover) {
        if (player == PLAYER1)
-         who = _(theme_get_player_win (PLAYER1));
+         who = theme_get_player_win (PLAYER1);
        else
-         who = _(theme_get_player_win (PLAYER2));
-       str = g_strdup_printf (_("%s"), who);
+         who = theme_get_player_win (PLAYER2);
+       str = g_strdup_printf ("%s", _(who));
       }
     else if (player_active) {
       set_status_message (_("Your Turn"));
@@ -542,10 +542,10 @@ prompt_player (void)
 
     } else {
        if (player == PLAYER1)
-         who = _(theme_get_player_turn (PLAYER1));
+         who = theme_get_player_turn (PLAYER1);
        else
-         who = _(theme_get_player_turn (PLAYER2));
-        str = g_strdup_printf (_("%s"), who);
+         who = theme_get_player_turn (PLAYER2);
+        str = g_strdup_printf ("%s", _(who));
     }
 
     set_status_message (str);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]