From b0a24a14ff3c22e14cf539a0cb9255609cf1b48b Mon Sep 17 00:00:00 2001 From: Piotr Kubowicz Date: Mon, 21 Oct 2013 09:52:54 +0200 Subject: [PATCH] Fixed the translation in the warning about system clock --- aqt/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aqt/main.py b/aqt/main.py index 2bc2d3322..6348b7ea6 100644 --- a/aqt/main.py +++ b/aqt/main.py @@ -809,6 +809,7 @@ title="%s">%s''' % ( 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()