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