Skip to content

Commit

Permalink
Add translation code and file
Browse files Browse the repository at this point in the history
  • Loading branch information
aaltat committed Mar 29, 2024
1 parent 616bb92 commit 395c450
Show file tree
Hide file tree
Showing 4 changed files with 571 additions and 3 deletions.
13 changes: 13 additions & 0 deletions robotframework_browser_translation_fi/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from pathlib import Path
from typing import TypedDict


class Language(TypedDict):
language: str
path: str


def get_language() -> Language:
folder = Path(__file__).parent

return {"language": "fi", "path": str(folder / "translation.json")}
Loading

0 comments on commit 395c450

Please sign in to comment.