Fully remove global strings files
This commit is contained in:
@@ -42,3 +42,6 @@ class Localization:
|
||||
assert isinstance(string, str)
|
||||
formatter = IgnoreDict(**self.replacements, **kwargs)
|
||||
return string.format_map(formatter)
|
||||
|
||||
def boolmoji(self, boolean: bool) -> str:
|
||||
return self.get("emoji_yes") if boolean else self.get("emoji_no")
|
||||
|
||||
Reference in New Issue
Block a user