Skip to content

Commit 443db5c

Browse files
committed
quick and dirty l10n test for the lang tag
1 parent dd7daaa commit 443db5c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/rmfpapi/api/description.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@ class Config: # pylint: disable=too-few-public-methods
3232
)
3333
async def return_product_description(language: str) -> ProductDescription:
3434
"""Fetch description from each product in manifest"""
35-
_ = language
35+
if language == "fi":
36+
return ProductDescription(
37+
shortname="fake",
38+
title="Feikkituote",
39+
icon=None,
40+
description=""""tuote" integraatioiden testaamiseen""",
41+
language="fi",
42+
)
3643
return ProductDescription(
3744
shortname="fake",
3845
title="Fake Product",

0 commit comments

Comments
 (0)