media check required message is no longer required

This commit is contained in:
Damien Elmes 2020-02-17 13:51:33 +10:00
parent a2481b18ef
commit 771452c227
3 changed files with 0 additions and 4 deletions

View file

@ -91,7 +91,6 @@ impl std::convert::From<SyncErrorKind> for i32 {
SyncErrorKind::ClientTooOld => V::ClientTooOld, SyncErrorKind::ClientTooOld => V::ClientTooOld,
SyncErrorKind::AuthFailed => V::AuthFailed, SyncErrorKind::AuthFailed => V::AuthFailed,
SyncErrorKind::ServerMessage => V::ServerMessage, SyncErrorKind::ServerMessage => V::ServerMessage,
SyncErrorKind::MediaCheckRequired => V::MediaCheckRequired,
SyncErrorKind::ResyncRequired => V::ResyncRequired, SyncErrorKind::ResyncRequired => V::ResyncRequired,
SyncErrorKind::Other => V::Other, SyncErrorKind::Other => V::Other,
}) as i32 }) as i32

View file

@ -66,7 +66,6 @@ impl AnkiError {
SyncErrorKind::ServerError => cat.tr("server-error"), SyncErrorKind::ServerError => cat.tr("server-error"),
SyncErrorKind::ClientTooOld => cat.tr("client-too-old"), SyncErrorKind::ClientTooOld => cat.tr("client-too-old"),
SyncErrorKind::AuthFailed => cat.tr("wrong-pass"), SyncErrorKind::AuthFailed => cat.tr("wrong-pass"),
SyncErrorKind::MediaCheckRequired => cat.tr("media-check-required"),
SyncErrorKind::ResyncRequired => cat.tr("resync-required"), SyncErrorKind::ResyncRequired => cat.tr("resync-required"),
} }
.into() .into()
@ -160,7 +159,6 @@ pub enum SyncErrorKind {
AuthFailed, AuthFailed,
ServerMessage, ServerMessage,
Other, Other,
MediaCheckRequired,
ResyncRequired, ResyncRequired,
} }

View file

@ -22,6 +22,5 @@ server-error = AnkiWeb encountered a problem. Please try again in a few minutes.
client-too-old = client-too-old =
Your Anki version is too old. Please update to the latest version to continue syncing. 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. 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 = resync-required =
Please sync again. If this message keeps appearing, please post on the support site. Please sync again. If this message keeps appearing, please post on the support site.