Made terms&conditions translatable (but hard-coded the URL).
This commit is contained in:
parent
cab6149193
commit
a5d800d8d6
@ -39,11 +39,14 @@ RegistrationDialog::RegistrationDialog() :
|
||||
loadFromFile("online/registration_terms.stkgui");
|
||||
LabelWidget* terms_widget = getWidget<LabelWidget>("terms");
|
||||
|
||||
core::stringw terms = core::stringw(L"You must agree to these terms in order to register an account for STK."
|
||||
L"Still needs actual content. Preferably in an XML document which can then be parsed to be put here."
|
||||
L"By checking the box below, you are confirming that you understand these terms."
|
||||
L"If you have any questions or comments regarding these terms,"
|
||||
L"one of the members of the development team would gladly assist you.");
|
||||
core::stringw terms = _(L"Please read the terms and conditions "
|
||||
L"for SuperTuxKart at '%s'. You must agree "
|
||||
L"to these terms in order to register an account for STK. "
|
||||
L"By checking the box below, you are confirming that you understand "
|
||||
L"these terms. If you have any questions or comments regarding these "
|
||||
L"terms, one of the members of the development team would gladly "
|
||||
L"assist you.",
|
||||
L"http://supertuxkart.net/terms");
|
||||
terms_widget->setText(terms, false);
|
||||
|
||||
// showRegistrationTerms();
|
||||
|
Loading…
x
Reference in New Issue
Block a user