fix typing for protocol

This commit is contained in:
Hayden 2025-07-04 12:25:39 -05:00
commit 4b5ded9f5c
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -13,7 +13,7 @@ TRANSLATIONS = CWD / "messages"
class Translator(Protocol):
@abstractmethod
def t(self, key, default=None, **kwargs):
def t(self, key, default=None, **kwargs) -> str:
pass