diff --git a/blueprintcompiler/language/values.py b/blueprintcompiler/language/values.py index cb80975..5556d99 100644 --- a/blueprintcompiler/language/values.py +++ b/blueprintcompiler/language/values.py @@ -58,19 +58,6 @@ class Translated(AstNode): f"Cannot convert translated string to {expected_type.full_name}" ) - @validate("context") - def context_double_quoted(self): - if self.translate_context is None: - return - - if not str(self.group.tokens["context"]).startswith('"'): - raise CompileWarning("gettext may not recognize single-quoted strings") - - @validate("string") - def string_double_quoted(self): - if not str(self.group.tokens["string"]).startswith('"'): - raise CompileWarning("gettext may not recognize single-quoted strings") - @docs() def ref_docs(self): return get_docs_section("Syntax Translated") diff --git a/docs/translations.rst b/docs/translations.rst index 7af2099..7ebf929 100644 --- a/docs/translations.rst +++ b/docs/translations.rst @@ -24,8 +24,6 @@ If you're using Meson's `i18n module