Commit MetaInfo

Revision52d333861dbdeee3dae77df14253d3c79eaed9b0 (tree)
Zeit2021-05-07 08:30:19
AutorJoshua Surace
CommiterJoshua Surace

Log Message

Added the LANGUAGE strings "GM_YOUFRAGGED" and "GM_YOUWEREFRAGGED" for large frag messages.

Ändern Zusammenfassung

Diff

diff -r 2da9db50bfa3 -r 52d333861dbd src/scoreboard.cpp
--- a/src/scoreboard.cpp Thu May 06 15:41:45 2021 -0400
+++ b/src/scoreboard.cpp Fri May 07 09:30:19 2021 +1000
@@ -1811,7 +1811,7 @@
18111811 char szString[128];
18121812 DHUDMessageFadeOut *pMsg;
18131813
1814- sprintf( szString, "You fragged %s!\n", pFraggedPlayer->userinfo.GetName() );
1814+ sprintf( szString, "%s %s!\n", GStrings( "GM_YOUFRAGGED" ), pFraggedPlayer->userinfo.GetName() );
18151815
18161816 // Print the frag message out in the console.
18171817 Printf( "%s", szString );
@@ -1881,7 +1881,7 @@
18811881 char szString[128];
18821882 DHUDMessageFadeOut *pMsg;
18831883
1884- sprintf( szString, "You were fragged by %s.\n", pFraggingPlayer->userinfo.GetName() );
1884+ sprintf( szString, "%s %s.\n", GStrings( "GM_YOUWEREFRAGGED" ), pFraggingPlayer->userinfo.GetName() );
18851885
18861886 // Print the frag message out in the console.
18871887 Printf( "%s", szString );
diff -r 2da9db50bfa3 -r 52d333861dbd wadsrc/static/language.enu
--- a/wadsrc/static/language.enu Thu May 06 15:41:45 2021 -0400
+++ b/wadsrc/static/language.enu Fri May 07 09:30:19 2021 +1000
@@ -1124,6 +1124,9 @@
11241124 MEDALSTRING_LLAMA = "Llama!";
11251125 MEDALSTRING_YOUFAILIT = "You Fail It!";
11261126
1127+// [JS] Game Mode strings.
1128+GM_YOUFRAGGED = "You fragged";
1129+GM_YOUWEREFRAGGED = "You were fragged by";
11271130
11281131 // Heretic strings
11291132 HE1TEXT =
Show on old repository browser