]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make translatable minigame names
authorterencehill <piuntn@gmail.com>
Tue, 23 Apr 2019 18:40:07 +0000 (20:40 +0200)
committerterencehill <piuntn@gmail.com>
Tue, 23 Apr 2019 18:40:07 +0000 (20:40 +0200)
qcsrc/common/minigames/minigame/bd.qc
qcsrc/common/minigames/minigame/c4.qc
qcsrc/common/minigames/minigame/nmm.qc
qcsrc/common/minigames/minigame/pong.qc
qcsrc/common/minigames/minigame/pp.qc
qcsrc/common/minigames/minigame/ps.qc
qcsrc/common/minigames/minigame/ttt.qc

index 16e56e8c51000796245640a7e8c2282d6ebdfb8f..84e43709c5c3adb9364c903ae08c27b1869a65e9 100644 (file)
@@ -1,5 +1,5 @@
 #include "bd.qh"
-REGISTER_MINIGAME(bd, "Bulldozer");
+REGISTER_MINIGAME(bd, _("Bulldozer"));
 
 REGISTER_NET_LINKED(ENT_CLIENT_BD_CONTROLLER)
 
index e29e7a5e97736ea51af3381f02da66ec3335bc2b..a35ada8cdffcb90a1bbea8ce09e88277ea068a30 100644 (file)
@@ -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
index e1377c6a665c3020d9d4c771df8371a0248f54b6..fbb6f4b727e762c39e563e0eeb22420846cdb845 100644 (file)
@@ -4,7 +4,7 @@
 #include <client/miscfunctions.qh>
 #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
index 3cfee03b5f5cce0536759e307f80c2b8425d2a40..3f4810078ac243d43f21705efdbc6340df81fb18 100644 (file)
@@ -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
index e59318f0d6607f86621818ad6894dd6486f83d08..269d39583926dcb3632a343be3a296c567d0fac1 100644 (file)
@@ -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
index 540d0a16036f166cdb6c846832aebccc29757f3f..8bf8cabe75738713164856171a1bc75b98817aa0 100644 (file)
@@ -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
index 7cb4a2f75bff7df3ce8e85f2b321bd95a6595b3e..0c7c6fb5d31df48d78b37ea90bb15498b98784f5 100644 (file)
@@ -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