mirror of
https://github.com/apache/superset.git
synced 2026-04-17 23:25:05 +00:00
chore(translations): updating pot -> po -> json files (babel 2.9.1) (#26773)
This commit is contained in:
@@ -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,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user