use %% in wayOfBerserkExplanation

pull/6542/head
Niklas Fiekas 2020-05-03 14:41:58 +02:00
parent 4e6ca9749c
commit a77500bbc0
3 changed files with 4 additions and 4 deletions

View File

@ -237,7 +237,6 @@ object faq {
),
p(
wayOfBerserkExplanation(
"%",
a(href := "https://lichess.org/tournament/cDyjj1nL")(aHourlyBulletTournament())
)
),

View File

@ -132,8 +132,9 @@ def lint_string(ctx, dest, source, allow_missing=0):
m_dest = dest if pattern.isupper() else dest.lower()
if pattern in m_source and pattern not in m_dest:
ctx.notice(f"missing {pattern}")
#elif pattern not in m_source and pattern in m_dest:
# ctx.notice(f"unexpected {pattern}")
if "%%" in source and "%%" not in dest:
ctx.warning("missing %%")
if "PGN" in source and "PNG" in dest:
ctx.warning("PNG instead of PGN")

View File

@ -95,7 +95,7 @@ Do not ask for the LM title.</string>
<string name="guidelines">guidelines</string>
<string name="uniqueTrophies">Unique trophies</string>
<string name="ownerUniqueTrophies">That trophy is unique in the history of Lichess, nobody other than %1$s will ever have it.</string>
<string name="wayOfBerserkExplanation">To get it, hiimgosu challenged himself to berserk and win 100%1$s games of %2$s.</string>
<string name="wayOfBerserkExplanation">To get it, hiimgosu challenged himself to berserk and win 100%% games of %s.</string>
<string name="aHourlyBulletTournament">a hourly Bullet tournament</string>
<string name="goldenZeeExplanation">ZugAddict was streaming and for the last 2 hours he had been trying to defeat A.I. level 8 in a 1+0 game, without success. Thibault told him that if he successfully did it on stream, he'd get a unique trophy. One hour later, he smashed Stockfish, and the promise was honoured.</string>
<string name="lichessRatings">Lichess ratings</string>