parent
b34979fca3
commit
c6dc8b2908
|
@ -52,7 +52,8 @@ object show {
|
|||
"Discuss this blog post in the forum"
|
||||
)
|
||||
} else p("This is a preview."),
|
||||
views.html.base.bits.connectLinks
|
||||
views.html.base.bits.connectLinks,
|
||||
p(cls := "patron-info")(a(href := routes.Plan.index)(trans.lichessPatronInfo()))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
|
@ -708,7 +708,8 @@ val `refundXpointsTimeControlY` = new I18nKey("refundXpointsTimeControlY")
|
|||
val `timeAlmostUp` = new I18nKey("timeAlmostUp")
|
||||
val `clickToRevealEmailAddress` = new I18nKey("clickToRevealEmailAddress")
|
||||
val `download` = new I18nKey("download")
|
||||
val `signupWelcomeMessage` = new I18nKey("signupWelcomeMessage")
|
||||
val `welcome` = new I18nKey("welcome")
|
||||
val `lichessPatronInfo` = new I18nKey("lichessPatronInfo")
|
||||
val `opponentLeftCounter` = new I18nKey("opponentLeftCounter")
|
||||
val `mateInXHalfMoves` = new I18nKey("mateInXHalfMoves")
|
||||
val `nextCaptureOrPawnMoveInXHalfMoves` = new I18nKey("nextCaptureOrPawnMoveInXHalfMoves")
|
||||
|
|
|
@ -38,7 +38,8 @@ The Lichess team"""
|
|||
|
||||
def welcomePM(user: User): Funit = fuccess {
|
||||
alsoSendAsPrivateMessage(user) { implicit lang =>
|
||||
lila.i18n.I18nKeys.signupWelcomeMessage.txt()
|
||||
import lila.i18n.I18nKeys._
|
||||
s"""${welcome.txt()}\n${lichessPatronInfo.txt()}"""
|
||||
}.unit
|
||||
}
|
||||
|
||||
|
|
|
@ -865,7 +865,7 @@ computer analysis, game chat and shareable URL.</string>
|
|||
<string name="timeAlmostUp">Time is almost up!</string>
|
||||
<string name="clickToRevealEmailAddress">[Click to reveal email address]</string>
|
||||
<string name="download">Download</string>
|
||||
<string name="signupWelcomeMessage">Welcome!
|
||||
Lichess is a charity, and entirely free/libre open source software.
|
||||
All operating costs, development, and content are funded solely by user donations - known as Patrons https://lichess.org/patron.</string>
|
||||
<string name="welcome">Welcome!</string>
|
||||
<string name="lichessPatronInfo">Lichess is a charity, and entirely free/libre open source software.
|
||||
All operating costs, development and content are funded solely by user donations.</string>
|
||||
</resources>
|
||||
|
|
|
@ -208,6 +208,11 @@
|
|||
font-size: 0.85em;
|
||||
}
|
||||
}
|
||||
|
||||
.patron-info {
|
||||
margin-top: 2em;
|
||||
font-size: 0.85em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue