From: z411 Date: Fri, 26 Nov 2021 04:59:03 +0000 (-0300) Subject: ToS: Change the subtitle to reflect a ToS update X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9b6343d7065ff29a6bac674c29455cc464d8563c;p=xonotic%2Fxonotic-data.pk3dir.git ToS: Change the subtitle to reflect a ToS update --- diff --git a/qcsrc/menu/xonotic/dialog_termsofservice.qc b/qcsrc/menu/xonotic/dialog_termsofservice.qc index c23cc2747..0c28fddf2 100644 --- a/qcsrc/menu/xonotic/dialog_termsofservice.qc +++ b/qcsrc/menu/xonotic/dialog_termsofservice.qc @@ -77,9 +77,15 @@ bool XonoticToSDialog_shouldShow() void XonoticToSDialog_fill(entity me) { entity e; + string subtitle; + + if (autocvar__termsofservice_accepted > 0) + subtitle = _("Terms of Service have been updated. Please read them before continuing:"); + else + subtitle = _("Welcome to Xonotic! Please read the following Terms of Service:"); me.TR(me); - me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("Welcome to Xonotic! Please read the following Terms of Service"))); + me.TD(me, 1, 5, e = makeXonoticTextLabel(0, subtitle)); e.allowWrap = 1; me.TR(me);