This/Last/Next week to one translation string

Closes #923
This commit is contained in:
Kalle
2022-09-07 10:59:12 +03:00
parent f21901dd52
commit 3aa1e9061a
3 changed files with 11 additions and 6 deletions

View File

@@ -243,9 +243,8 @@ function WeekLinkTitle({
if (relativeWeekIdentifier) {
return (
<div className="stack xxs">
<div className="calendar__week__relative">
<div>{relativeWeekIdentifier}</div>
<div>{t("week.week")}</div>
</div>
);
}

View File

@@ -81,6 +81,13 @@
font-size: var(--fonts-xxs);
}
.calendar__week__relative {
max-width: 3rem;
margin: 0 auto;
text-align: center;
white-space: pre-line;
}
.calendar__week__dash {
line-height: 0.8;
}

View File

@@ -36,10 +36,9 @@
"forms.errors.duplicatePlayer": "Can't have the same player twice in the same team.",
"forms.errors.emptyTeam": "Each team must have at least one player.",
"week.this": "This",
"week.next": "Next",
"week.last": "Last",
"week.week": "Week",
"week.this": "This Week",
"week.next": "Next Week",
"week.last": "Last Week",
"tag.desc.BADGE": "Winner of this event gets a sendou.ink badge.",
"tag.desc.SPECIAL": "Ruleset that differ from the standard e.g. limited what weapons can be used.",