Skip to content

Commit 59f1109

Browse files
committed
[SV] Clean-up
1 parent dfefee4 commit 59f1109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wikidict/lang/sv/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,11 @@ def last_template_handler(template: tuple[str, ...], locale: str, *, word: str =
267267

268268
if tpl == "belagt":
269269
year = parts[1]
270-
first_letter = "B"
271270
if len(parts) > 2:
272271
first_letter = "b"
273272
suffix = "-talet" if "t" in parts[2] else ""
274273
else:
274+
first_letter = "B"
275275
suffix = "."
276276
return f"{first_letter}elagt i språket sedan {year}{suffix}"
277277

0 commit comments

Comments
 (0)