mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 20:57:13 -05:00
i18n some sync errors
This commit is contained in:
parent
2824be25f0
commit
61017a2e21
2 changed files with 4 additions and 3 deletions
|
|
@ -38,6 +38,8 @@ sync-password-label = Password:
|
|||
sync-account-required =
|
||||
<h1>Account Required</h1>
|
||||
A free account is required to keep your collection synchronized. Please <a href="{ $link }">sign up</a> 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
|
||||
|
||||
|
|
|
|||
|
|
@ -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 } => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue