From 037674ae13849fb1f6357fd8a8b03ce8c7eda853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20=C4=BDach?= Date: Wed, 29 May 2019 13:26:37 +0200 Subject: [PATCH] Direct follow-up to #578 (#603) --- src/routes/instance.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/instance.rs b/src/routes/instance.rs index 39d1b0e29..b198781f7 100644 --- a/src/routes/instance.rs +++ b/src/routes/instance.rs @@ -172,9 +172,9 @@ pub fn toggle_block( ) -> Result, ErrorPage> { let inst = Instance::get(&*conn, id)?; let message = if inst.blocked { - i18n!(intl.catalog, "{} have been unblocked."; &inst.name) + i18n!(intl.catalog, "{} has been unblocked."; &inst.name) } else { - i18n!(intl.catalog, "{} have been blocked."; &inst.name) + i18n!(intl.catalog, "{} has been blocked."; &inst.name) }; inst.toggle_block(&*conn)?; @@ -218,7 +218,7 @@ pub fn ban(_admin: Admin, id: i32, rockets: PlumeRocket) -> Result