From 629fea5fdb8cb26d8baabe00ee77dc600a5ee655 Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 23 Apr 2019 20:40:07 +0200 Subject: [PATCH] Make translatable minigame names --- qcsrc/common/minigames/minigame/bd.qc | 2 +- qcsrc/common/minigames/minigame/c4.qc | 2 +- qcsrc/common/minigames/minigame/nmm.qc | 2 +- qcsrc/common/minigames/minigame/pong.qc | 2 +- qcsrc/common/minigames/minigame/pp.qc | 2 +- qcsrc/common/minigames/minigame/ps.qc | 2 +- qcsrc/common/minigames/minigame/ttt.qc | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/qcsrc/common/minigames/minigame/bd.qc b/qcsrc/common/minigames/minigame/bd.qc index 16e56e8c5..84e43709c 100644 --- a/qcsrc/common/minigames/minigame/bd.qc +++ b/qcsrc/common/minigames/minigame/bd.qc @@ -1,5 +1,5 @@ #include "bd.qh" -REGISTER_MINIGAME(bd, "Bulldozer"); +REGISTER_MINIGAME(bd, _("Bulldozer")); REGISTER_NET_LINKED(ENT_CLIENT_BD_CONTROLLER) diff --git a/qcsrc/common/minigames/minigame/c4.qc b/qcsrc/common/minigames/minigame/c4.qc index e29e7a5e9..a35ada8cd 100644 --- a/qcsrc/common/minigames/minigame/c4.qc +++ b/qcsrc/common/minigames/minigame/c4.qc @@ -1,5 +1,5 @@ #include "c4.qh" -REGISTER_MINIGAME(c4, "Connect Four"); +REGISTER_MINIGAME(c4, _("Connect Four")); const float C4_TURN_PLACE = 0x0100; // player has to place a piece on the board const float C4_TURN_WIN = 0x0200; // player has won diff --git a/qcsrc/common/minigames/minigame/nmm.qc b/qcsrc/common/minigames/minigame/nmm.qc index e1377c6a6..fbb6f4b72 100644 --- a/qcsrc/common/minigames/minigame/nmm.qc +++ b/qcsrc/common/minigames/minigame/nmm.qc @@ -4,7 +4,7 @@ #include #endif -REGISTER_MINIGAME(nmm, "Nine Men's Morris"); +REGISTER_MINIGAME(nmm, _("Nine Men's Morris")); const int NMM_TURN_PLACE = 0x0100; // player has to place a piece on the board const int NMM_TURN_MOVE = 0x0200; // player has to move a piece by one tile diff --git a/qcsrc/common/minigames/minigame/pong.qc b/qcsrc/common/minigames/minigame/pong.qc index 3cfee03b5..3f4810078 100644 --- a/qcsrc/common/minigames/minigame/pong.qc +++ b/qcsrc/common/minigames/minigame/pong.qc @@ -1,5 +1,5 @@ #include "pong.qh" -REGISTER_MINIGAME(pong, "Pong"); +REGISTER_MINIGAME(pong, _("Pong")); // minigame flags const int PONG_STATUS_WAIT = 0x0010; // waiting for players to join diff --git a/qcsrc/common/minigames/minigame/pp.qc b/qcsrc/common/minigames/minigame/pp.qc index e59318f0d..269d39583 100644 --- a/qcsrc/common/minigames/minigame/pp.qc +++ b/qcsrc/common/minigames/minigame/pp.qc @@ -1,5 +1,5 @@ #include "pp.qh" -REGISTER_MINIGAME(pp, "Push-Pull"); +REGISTER_MINIGAME(pp, _("Push-Pull")); const int PP_TURN_PLACE = 0x0100; // player has to place a piece on the board const int PP_TURN_WIN = 0x0200; // player has won diff --git a/qcsrc/common/minigames/minigame/ps.qc b/qcsrc/common/minigames/minigame/ps.qc index 540d0a160..8bf8cabe7 100644 --- a/qcsrc/common/minigames/minigame/ps.qc +++ b/qcsrc/common/minigames/minigame/ps.qc @@ -1,5 +1,5 @@ #include "ps.qh" -REGISTER_MINIGAME(ps, "Peg Solitaire"); +REGISTER_MINIGAME(ps, _("Peg Solitaire")); const float PS_TURN_MOVE = 0x0100; // player has to click on a piece on the board const float PS_TURN_WIN = 0x0200; // player has won diff --git a/qcsrc/common/minigames/minigame/ttt.qc b/qcsrc/common/minigames/minigame/ttt.qc index 7cb4a2f75..0c7c6fb5d 100644 --- a/qcsrc/common/minigames/minigame/ttt.qc +++ b/qcsrc/common/minigames/minigame/ttt.qc @@ -1,5 +1,5 @@ #include "ttt.qh" -REGISTER_MINIGAME(ttt, "Tic Tac Toe"); +REGISTER_MINIGAME(ttt, _("Tic Tac Toe")); const int TTT_TURN_PLACE = 0x0100; // player has to place a piece on the board const int TTT_TURN_WIN = 0x0200; // player has won -- 2.39.2