chore(translations): updating pot -> po -> json files (babel 2.9.1) (#26773)

This commit is contained in:
Evan Rusackas
2024-02-13 08:47:15 -07:00
committed by GitHub
parent 4796484190
commit 91ac575eab
38 changed files with 382021 additions and 376044 deletions

View File

@@ -97,7 +97,8 @@ class ValidateSQLCommand(BaseCommand):
if not validators_by_engine or spec.engine not in validators_by_engine:
raise NoValidatorConfigFoundError(
SupersetError(
message=__(f"no SQL validator is configured for {spec.engine}"),
message=__("no SQL validator is configured for %(engine)s")
% {"engine": spec.engine},
error_type=SupersetErrorType.GENERIC_DB_ENGINE_ERROR,
level=ErrorLevel.ERROR,
),
@@ -108,9 +109,10 @@ class ValidateSQLCommand(BaseCommand):
raise NoValidatorFoundError(
SupersetError(
message=__(
f"No validator named {validator_name} found "
f"(configured for the {spec.engine} engine)"
),
"No validator named %(validator_name)s found "
"(configured for the %(engine)s engine)"
)
% {"validator_name": validator_name, "engine": spec.engine},
error_type=SupersetErrorType.GENERIC_DB_ENGINE_ERROR,
level=ErrorLevel.ERROR,
),