From 4cc899df4028793783f27b599653a2fb237b8fe7 Mon Sep 17 00:00:00 2001 From: deltragon Date: Sun, 4 Aug 2024 18:59:36 +0200 Subject: [PATCH] translations: use named placeholders when there are multiple --- safeeyes/config/locale/ar/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/bg/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/ca/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/cs/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/da/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/de/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/en_US/LC_MESSAGES/safeeyes.po | 6 +++--- safeeyes/config/locale/eo/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/es/LC_MESSAGES/safeeyes.po | 8 ++++---- safeeyes/config/locale/et/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/eu/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/fa/LC_MESSAGES/safeeyes.po | 8 ++++---- safeeyes/config/locale/fr/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/he/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/hi/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/hu/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/id/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/it/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/kn/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/ko/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/lt/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/lv/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/mk/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/mr/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/nb/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/nl/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/pl/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/pt/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/pt_BR/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/ru/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/safeeyes.pot | 4 ++-- safeeyes/config/locale/sk/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/sr/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/sv/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/ta/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/tr/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/ug/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/uk/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/uz_Latn/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/vi/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/zh_CN/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/config/locale/zh_TW/LC_MESSAGES/safeeyes.po | 4 ++-- safeeyes/plugins/limitconsecutiveskipping/plugin.py | 5 ++++- safeeyes/plugins/trayicon/plugin.py | 5 ++++- 44 files changed, 97 insertions(+), 91 deletions(-) diff --git a/safeeyes/config/locale/ar/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/ar/LC_MESSAGES/safeeyes.po index a86f022..b2a27eb 100644 --- a/safeeyes/config/locale/ar/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/ar/LC_MESSAGES/safeeyes.po @@ -535,7 +535,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -549,7 +549,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/bg/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/bg/LC_MESSAGES/safeeyes.po index 6b3d3fb..ac610da 100644 --- a/safeeyes/config/locale/bg/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/bg/LC_MESSAGES/safeeyes.po @@ -521,7 +521,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -535,7 +535,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/ca/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/ca/LC_MESSAGES/safeeyes.po index 826de8d..76349dc 100644 --- a/safeeyes/config/locale/ca/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/ca/LC_MESSAGES/safeeyes.po @@ -525,7 +525,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -539,7 +539,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/cs/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/cs/LC_MESSAGES/safeeyes.po index a1f3790..a3214ac 100644 --- a/safeeyes/config/locale/cs/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/cs/LC_MESSAGES/safeeyes.po @@ -531,7 +531,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -545,7 +545,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/da/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/da/LC_MESSAGES/safeeyes.po index f897da7..eecc3d6 100644 --- a/safeeyes/config/locale/da/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/da/LC_MESSAGES/safeeyes.po @@ -524,7 +524,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -538,7 +538,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/de/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/de/LC_MESSAGES/safeeyes.po index 3c05bf7..43a2553 100644 --- a/safeeyes/config/locale/de/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/de/LC_MESSAGES/safeeyes.po @@ -533,7 +533,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -547,7 +547,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/en_US/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/en_US/LC_MESSAGES/safeeyes.po index d2c3559..28d8354 100644 --- a/safeeyes/config/locale/en_US/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/en_US/LC_MESSAGES/safeeyes.po @@ -526,8 +526,8 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "Limit how many breaks can be skipped or postponed in a row" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" -msgstr "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" +msgstr "Skipped or postponed %(num)d/%(allowed)d breaks in a row" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop msgid "RSI Prevention" @@ -540,7 +540,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/eo/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/eo/LC_MESSAGES/safeeyes.po index e6f1e9a..8fa2bcf 100644 --- a/safeeyes/config/locale/eo/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/eo/LC_MESSAGES/safeeyes.po @@ -526,7 +526,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -540,7 +540,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/es/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/es/LC_MESSAGES/safeeyes.po index 334c57f..d184b60 100644 --- a/safeeyes/config/locale/es/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/es/LC_MESSAGES/safeeyes.po @@ -535,8 +535,8 @@ msgstr "" "Limitar la cantidad de descansos que se pueden omitir o posponer seguidos" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" -msgstr "Se ha(n) saltado o pospuesto %d/%d pausa(s) seguida(s)" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" +msgstr "Se ha(n) saltado o pospuesto %(num)d/%(allowed)d pausa(s) seguida(s)" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop msgid "RSI Prevention" @@ -551,8 +551,8 @@ msgstr "" msgid "Next long break at %s" msgstr "La siguiente pausa larga es en %s" -msgid "Next breaks at %s/%s" -msgstr "Próximos descansos en %s/%s" +msgid "Next breaks at %(short)s/%(long)s" +msgstr "Próximos descansos en %(short)s/%(long)s" msgid "The required plugin '%s' is missing dependencies!" msgstr "¡Al complemento requerido '%s' no tiene las dependencias!" diff --git a/safeeyes/config/locale/et/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/et/LC_MESSAGES/safeeyes.po index e4ff7c1..7ab6a1b 100644 --- a/safeeyes/config/locale/et/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/et/LC_MESSAGES/safeeyes.po @@ -525,7 +525,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -539,7 +539,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/eu/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/eu/LC_MESSAGES/safeeyes.po index 949800c..a3f3569 100644 --- a/safeeyes/config/locale/eu/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/eu/LC_MESSAGES/safeeyes.po @@ -531,7 +531,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -545,7 +545,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/fa/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/fa/LC_MESSAGES/safeeyes.po index c2b0c1e..80df636 100644 --- a/safeeyes/config/locale/fa/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/fa/LC_MESSAGES/safeeyes.po @@ -525,8 +525,8 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "تعداد استراحت‌ها را که می‌توان پشت‌سرهم رد یا به تعویق انداخت محدود کن" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" -msgstr "%d/%d استراحت‌ها پشت‌سرهم رد یا به تعویق افتاده‌اند" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" +msgstr "%(num)d/%(allowed)d استراحت‌ها پشت‌سرهم رد یا به تعویق افتاده‌اند" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop msgid "RSI Prevention" @@ -540,8 +540,8 @@ msgstr "" msgid "Next long break at %s" msgstr "استراحت طولانی بعدی در %s" -msgid "Next breaks at %s/%s" -msgstr "استراحت‌های بعدی در %s/%s" +msgid "Next breaks at %(short)s/%(long)s" +msgstr "استراحت‌های بعدی در %(short)s/%(long)s" msgid "The required plugin '%s' is missing dependencies!" msgstr "افزونه موردنیاز '%s' فاقد دِپِندِنسی است!" diff --git a/safeeyes/config/locale/fr/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/fr/LC_MESSAGES/safeeyes.po index 06571fb..c24c72b 100644 --- a/safeeyes/config/locale/fr/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/fr/LC_MESSAGES/safeeyes.po @@ -538,7 +538,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -552,7 +552,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/he/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/he/LC_MESSAGES/safeeyes.po index 5407ec7..30c4382 100644 --- a/safeeyes/config/locale/he/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/he/LC_MESSAGES/safeeyes.po @@ -523,7 +523,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -537,7 +537,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/hi/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/hi/LC_MESSAGES/safeeyes.po index 4391aea..a30606d 100644 --- a/safeeyes/config/locale/hi/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/hi/LC_MESSAGES/safeeyes.po @@ -521,7 +521,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -535,7 +535,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/hu/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/hu/LC_MESSAGES/safeeyes.po index 34e86a7..895a9c8 100644 --- a/safeeyes/config/locale/hu/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/hu/LC_MESSAGES/safeeyes.po @@ -522,7 +522,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -536,7 +536,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/id/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/id/LC_MESSAGES/safeeyes.po index 01b8f84..6c48907 100644 --- a/safeeyes/config/locale/id/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/id/LC_MESSAGES/safeeyes.po @@ -526,7 +526,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -540,7 +540,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/it/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/it/LC_MESSAGES/safeeyes.po index 5363f61..93d8ddc 100644 --- a/safeeyes/config/locale/it/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/it/LC_MESSAGES/safeeyes.po @@ -532,7 +532,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -546,7 +546,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/kn/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/kn/LC_MESSAGES/safeeyes.po index a0a53a5..952bf9d 100644 --- a/safeeyes/config/locale/kn/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/kn/LC_MESSAGES/safeeyes.po @@ -520,7 +520,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -534,7 +534,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/ko/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/ko/LC_MESSAGES/safeeyes.po index 297be4b..f4d686f 100644 --- a/safeeyes/config/locale/ko/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/ko/LC_MESSAGES/safeeyes.po @@ -520,7 +520,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -534,7 +534,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/lt/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/lt/LC_MESSAGES/safeeyes.po index eb1f21d..30c5b7f 100644 --- a/safeeyes/config/locale/lt/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/lt/LC_MESSAGES/safeeyes.po @@ -533,7 +533,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -547,7 +547,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/lv/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/lv/LC_MESSAGES/safeeyes.po index 677daad..66269f8 100644 --- a/safeeyes/config/locale/lv/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/lv/LC_MESSAGES/safeeyes.po @@ -439,7 +439,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -453,7 +453,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/mk/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/mk/LC_MESSAGES/safeeyes.po index 728db46..656cc05 100644 --- a/safeeyes/config/locale/mk/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/mk/LC_MESSAGES/safeeyes.po @@ -523,7 +523,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -537,7 +537,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/mr/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/mr/LC_MESSAGES/safeeyes.po index 2b39ad6..e4fd0bb 100644 --- a/safeeyes/config/locale/mr/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/mr/LC_MESSAGES/safeeyes.po @@ -522,7 +522,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -536,7 +536,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/nb/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/nb/LC_MESSAGES/safeeyes.po index bd2337d..716da0a 100644 --- a/safeeyes/config/locale/nb/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/nb/LC_MESSAGES/safeeyes.po @@ -528,7 +528,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -542,7 +542,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/nl/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/nl/LC_MESSAGES/safeeyes.po index e276d4c..e859739 100644 --- a/safeeyes/config/locale/nl/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/nl/LC_MESSAGES/safeeyes.po @@ -531,7 +531,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -545,7 +545,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/pl/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/pl/LC_MESSAGES/safeeyes.po index 63a28a4..ed5bb23 100644 --- a/safeeyes/config/locale/pl/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/pl/LC_MESSAGES/safeeyes.po @@ -531,7 +531,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -545,7 +545,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/pt/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/pt/LC_MESSAGES/safeeyes.po index ea243ca..2799910 100644 --- a/safeeyes/config/locale/pt/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/pt/LC_MESSAGES/safeeyes.po @@ -529,7 +529,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -543,7 +543,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/pt_BR/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/pt_BR/LC_MESSAGES/safeeyes.po index ebaa84f..4dcc5c0 100644 --- a/safeeyes/config/locale/pt_BR/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/pt_BR/LC_MESSAGES/safeeyes.po @@ -533,7 +533,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -547,7 +547,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/ru/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/ru/LC_MESSAGES/safeeyes.po index 8d12340..c2a1d49 100644 --- a/safeeyes/config/locale/ru/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/ru/LC_MESSAGES/safeeyes.po @@ -532,7 +532,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -546,7 +546,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/safeeyes.pot b/safeeyes/config/locale/safeeyes.pot index 3860ce7..9841fda 100644 --- a/safeeyes/config/locale/safeeyes.pot +++ b/safeeyes/config/locale/safeeyes.pot @@ -505,7 +505,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -518,7 +518,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/sk/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/sk/LC_MESSAGES/safeeyes.po index a9116e2..ed6181c 100644 --- a/safeeyes/config/locale/sk/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/sk/LC_MESSAGES/safeeyes.po @@ -529,7 +529,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -543,7 +543,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/sr/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/sr/LC_MESSAGES/safeeyes.po index d2c3780..48c35d2 100644 --- a/safeeyes/config/locale/sr/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/sr/LC_MESSAGES/safeeyes.po @@ -536,7 +536,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -550,7 +550,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/sv/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/sv/LC_MESSAGES/safeeyes.po index cdb65b7..f62e338 100644 --- a/safeeyes/config/locale/sv/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/sv/LC_MESSAGES/safeeyes.po @@ -525,7 +525,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -539,7 +539,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/ta/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/ta/LC_MESSAGES/safeeyes.po index e906fd9..18e0e2c 100644 --- a/safeeyes/config/locale/ta/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/ta/LC_MESSAGES/safeeyes.po @@ -528,7 +528,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -542,7 +542,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/tr/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/tr/LC_MESSAGES/safeeyes.po index 75d08cb..d58f43b 100644 --- a/safeeyes/config/locale/tr/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/tr/LC_MESSAGES/safeeyes.po @@ -529,7 +529,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -543,7 +543,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/ug/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/ug/LC_MESSAGES/safeeyes.po index 0cf580a..da4102c 100644 --- a/safeeyes/config/locale/ug/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/ug/LC_MESSAGES/safeeyes.po @@ -517,7 +517,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -531,7 +531,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/uk/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/uk/LC_MESSAGES/safeeyes.po index 1d2156f..62b29a4 100644 --- a/safeeyes/config/locale/uk/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/uk/LC_MESSAGES/safeeyes.po @@ -532,7 +532,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -546,7 +546,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/uz_Latn/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/uz_Latn/LC_MESSAGES/safeeyes.po index 4111068..ef9229c 100644 --- a/safeeyes/config/locale/uz_Latn/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/uz_Latn/LC_MESSAGES/safeeyes.po @@ -517,7 +517,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -531,7 +531,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/vi/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/vi/LC_MESSAGES/safeeyes.po index 666e6e5..3090f85 100644 --- a/safeeyes/config/locale/vi/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/vi/LC_MESSAGES/safeeyes.po @@ -526,7 +526,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -540,7 +540,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/zh_CN/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/zh_CN/LC_MESSAGES/safeeyes.po index 92a1885..40505e3 100644 --- a/safeeyes/config/locale/zh_CN/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/zh_CN/LC_MESSAGES/safeeyes.po @@ -521,7 +521,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -535,7 +535,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/config/locale/zh_TW/LC_MESSAGES/safeeyes.po b/safeeyes/config/locale/zh_TW/LC_MESSAGES/safeeyes.po index 138d5d0..d75d40c 100644 --- a/safeeyes/config/locale/zh_TW/LC_MESSAGES/safeeyes.po +++ b/safeeyes/config/locale/zh_TW/LC_MESSAGES/safeeyes.po @@ -518,7 +518,7 @@ msgid "Limit how many breaks can be skipped or postponed in a row" msgstr "" # plugin/limitconsecutiveskipping -msgid "Skipped or postponed %d/%d breaks in a row" +msgid "Skipped or postponed %(num)d/%(allowed)d breaks in a row" msgstr "" # safeeyes/platform/io.github.slgobinath.SafeEyes.desktop @@ -532,7 +532,7 @@ msgstr "" msgid "Next long break at %s" msgstr "" -msgid "Next breaks at %s/%s" +msgid "Next breaks at %(short)s/%(long)s" msgstr "" msgid "The required plugin '%s' is missing dependencies!" diff --git a/safeeyes/plugins/limitconsecutiveskipping/plugin.py b/safeeyes/plugins/limitconsecutiveskipping/plugin.py index 864333f..1a55183 100644 --- a/safeeyes/plugins/limitconsecutiveskipping/plugin.py +++ b/safeeyes/plugins/limitconsecutiveskipping/plugin.py @@ -95,5 +95,8 @@ def get_widget_content(break_obj): if not enabled: return "" - return _('Skipped or postponed %d/%d breaks in a row') % (no_of_skipped_breaks, no_allowed_skips) + return _('Skipped or postponed %(num)d/%(allowed)d breaks in a row') % { + 'num': no_of_skipped_breaks, + 'allowed': no_allowed_skips + } diff --git a/safeeyes/plugins/trayicon/plugin.py b/safeeyes/plugins/trayicon/plugin.py index d97861f..39766c1 100644 --- a/safeeyes/plugins/trayicon/plugin.py +++ b/safeeyes/plugins/trayicon/plugin.py @@ -460,7 +460,10 @@ class TrayIcon: if next_is_long: info_message = _('Next long break at %s') % (next_long_time) else: - info_message = _('Next breaks at %s/%s') % (next_time, next_long_time) + info_message = _('Next breaks at %(short)s/%(long)s') % { + 'short': next_time, + 'long': next_long_time + } else: info_message = _('Next break at %s') % (next_time) else: