mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
Merge pull request #47 from Derbeth/master
Fixing the translation in the warning about system clock
This commit is contained in:
commit
f8985c036c
1 changed files with 2 additions and 1 deletions
|
@ -809,6 +809,7 @@ title="%s">%s</button>''' % (
|
|||
aqt.update.showMessages(self, data)
|
||||
|
||||
def clockIsOff(self, diff):
|
||||
diffText = ngettext("%s second", "%s seconds", diff)
|
||||
warn = _("""\
|
||||
In order to ensure your collection works correctly when moved between \
|
||||
devices, Anki requires your computer's internal clock to be set correctly. \
|
||||
|
@ -823,7 +824,7 @@ Please go to the time settings on your computer and check the following:
|
|||
- Timezone
|
||||
- Daylight savings
|
||||
|
||||
Difference to correct time: %d seconds.""") % diff
|
||||
Difference to correct time: %s.""") % diffText
|
||||
showWarning(warn)
|
||||
self.app.closeAllWindows()
|
||||
|
||||
|
|
Loading…
Reference in a new issue