Let's not define a duplicate string for domain unknown...

This commit is contained in:
Alexandre Aubin 2021-09-12 15:50:23 +02:00
parent 3695be8d93
commit b042b549e4
2 changed files with 1 additions and 2 deletions

View file

@ -309,7 +309,6 @@
"domain_name_unknown": "Domain '{domain}' unknown",
"domain_remove_confirm_apps_removal": "Removing this domain will remove those applications:\n{apps}\n\nAre you sure you want to do that? [{answers}]",
"domain_uninstall_app_first": "Those applications are still installed on your domain:\n{apps}\n\nPlease uninstall them using 'yunohost app remove the_app_id' or move them to another domain using 'yunohost app change-url the_app_id' before proceeding to domain removal",
"domain_unknown": "Unknown domain",
"domains_available": "Available domains:",
"done": "Done",
"downloading": "Downloading...",

View file

@ -672,7 +672,7 @@ class DomainQuestion(Question):
def _raise_invalid_answer(self):
raise YunohostValidationError(
"app_argument_invalid", name=self.name, error=m18n.n("domain_unknown")
"app_argument_invalid", name=self.name, error=m18n.n("domain_name_unknown", domain=self.value)
)