From 771452c2272df840765eab4187ce45f38fbf8cf8 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 17 Feb 2020 13:51:33 +1000 Subject: [PATCH] media check required message is no longer required --- rslib/src/backend.rs | 1 - rslib/src/err.rs | 2 -- rslib/src/i18n/sync.ftl | 1 - 3 files changed, 4 deletions(-) diff --git a/rslib/src/backend.rs b/rslib/src/backend.rs index 292f78834..909399324 100644 --- a/rslib/src/backend.rs +++ b/rslib/src/backend.rs @@ -91,7 +91,6 @@ impl std::convert::From for i32 { SyncErrorKind::ClientTooOld => V::ClientTooOld, SyncErrorKind::AuthFailed => V::AuthFailed, SyncErrorKind::ServerMessage => V::ServerMessage, - SyncErrorKind::MediaCheckRequired => V::MediaCheckRequired, SyncErrorKind::ResyncRequired => V::ResyncRequired, SyncErrorKind::Other => V::Other, }) as i32 diff --git a/rslib/src/err.rs b/rslib/src/err.rs index 9f1b60f2f..e74f47025 100644 --- a/rslib/src/err.rs +++ b/rslib/src/err.rs @@ -66,7 +66,6 @@ impl AnkiError { SyncErrorKind::ServerError => cat.tr("server-error"), SyncErrorKind::ClientTooOld => cat.tr("client-too-old"), SyncErrorKind::AuthFailed => cat.tr("wrong-pass"), - SyncErrorKind::MediaCheckRequired => cat.tr("media-check-required"), SyncErrorKind::ResyncRequired => cat.tr("resync-required"), } .into() @@ -160,7 +159,6 @@ pub enum SyncErrorKind { AuthFailed, ServerMessage, Other, - MediaCheckRequired, ResyncRequired, } diff --git a/rslib/src/i18n/sync.ftl b/rslib/src/i18n/sync.ftl index 61810a000..f7600e981 100644 --- a/rslib/src/i18n/sync.ftl +++ b/rslib/src/i18n/sync.ftl @@ -22,6 +22,5 @@ server-error = AnkiWeb encountered a problem. Please try again in a few minutes. client-too-old = Your Anki version is too old. Please update to the latest version to continue syncing. wrong-pass = AnkiWeb ID or password was incorrect; please try again. -media-check-required = A problem occurred while syncing media. Please use the Check Media function, then synchronize again to correct the issue. resync-required = Please sync again. If this message keeps appearing, please post on the support site.