diff --git a/rslib/ftl/sync.ftl b/rslib/ftl/sync.ftl index 3fc0a4bfe..682e55a7d 100644 --- a/rslib/ftl/sync.ftl +++ b/rslib/ftl/sync.ftl @@ -38,6 +38,8 @@ sync-password-label = Password: sync-account-required =

Account Required

A free account is required to keep your collection synchronized. Please sign up for an account, then enter your details below. +sync-sanity-check-failed = Please use the Check Database function, then sync again. If problems persist, please force a full sync in the preferences screen. +sync-clock-off = Unable to sync - your clock is not set to the correct time. ## Buttons diff --git a/rslib/src/err.rs b/rslib/src/err.rs index caee450c5..fe243278e 100644 --- a/rslib/src/err.rs +++ b/rslib/src/err.rs @@ -89,9 +89,8 @@ impl AnkiError { SyncErrorKind::ClientTooOld => i18n.tr(TR::SyncClientTooOld), SyncErrorKind::AuthFailed => i18n.tr(TR::SyncWrongPass), SyncErrorKind::ResyncRequired => i18n.tr(TR::SyncResyncRequired), - // fixme: i18n - SyncErrorKind::ClockIncorrect => "Please check your clock.".into(), - SyncErrorKind::DatabaseCheckRequired => "Please check the database.".into(), + SyncErrorKind::ClockIncorrect => i18n.tr(TR::SyncClockOff), + SyncErrorKind::DatabaseCheckRequired => i18n.tr(TR::SyncSanityCheckFailed), } .into(), AnkiError::NetworkError { kind, info } => {