mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
mention the date may be off when clock is off
This commit is contained in:
parent
581422892f
commit
8a0d63c4ce
1 changed files with 2 additions and 2 deletions
|
@ -2117,7 +2117,7 @@ it to your friends.
|
|||
|
||||
def syncClockOff(self, diff):
|
||||
ui.utils.showWarning(
|
||||
_("Your computer clock is not set to the correct time.\n") +
|
||||
_("The time or date on your computer is not correct.\n") +
|
||||
ngettext("It is off by %d second.\n\n",
|
||||
"It is off by %d seconds.\n\n", diff) % diff +
|
||||
_("Since this can cause many problems with syncing,\n"
|
||||
|
@ -2365,7 +2365,7 @@ it to your friends.
|
|||
else:
|
||||
ret = _("early")
|
||||
ui.utils.showWarning(
|
||||
_("Your computer clock is not set to the correct time.\n") +
|
||||
_("The time or date on your computer is not correct.\n") +
|
||||
ngettext("It is %(sec)d second %(type)s.\n",
|
||||
"It is %(sec)d seconds %(type)s.\n", abs(diff))
|
||||
% {"sec": abs(diff), "type": ret} +
|
||||
|
|
Loading…
Reference in a new issue