]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make "No Terms of Service specified" string translatable
authorFreddy <schro.sb@gmail.com>
Fri, 17 Apr 2020 13:46:15 +0000 (13:46 +0000)
committerFreddy <schro.sb@gmail.com>
Fri, 17 Apr 2020 13:46:15 +0000 (13:46 +0000)
qcsrc/menu/xonotic/dialog_multiplayer_join_serverinfo.qc

index 24f442ab0d3cc4146f02db72d4e2a33540797da5..8d1b055af2ad254564210dce795b1687ba9db8f9 100644 (file)
@@ -89,7 +89,7 @@ void XonoticServerInfoDialog_loadServerInfo(entity me, float i)
             string downloadurl = v;
             if (downloadurl == "INVALID")
             {
-                me.ToSTab.textBox.setText(me.ToSTab.textBox, "No Terms of Service specified");
+                me.ToSTab.textBox.setText(me.ToSTab.textBox, _("No Terms of Service specified"));
             }
             else
             {
@@ -106,7 +106,7 @@ void XonoticServerInfoDialog_loadServerInfo(entity me, float i)
 
     if (!ToSSpecified)
     {
-        me.ToSTab.textBox.setText(me.ToSTab.textBox, "No Terms of Service specified");
+        me.ToSTab.textBox.setText(me.ToSTab.textBox, _("No Terms of Service specified"));
     }
 
 #ifdef COMPAT_NO_MOD_IS_XONOTIC