Skip to content

Commit

Permalink
fix: Schedule dropdown menu used "minutes" instead of "hours" (#1572)
Browse files Browse the repository at this point in the history
  • Loading branch information
buhtz authored Nov 16, 2023
1 parent ec13884 commit 59097f7
Show file tree
Hide file tree
Showing 48 changed files with 435 additions and 332 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Back In Time

Version 1.4.2-dev (development of upcoming release)
* Fix bug: RTE: module 'qttools' has no attribute 'initate_translator' with encFS when prompting the user for a password (#1553).
* Fix bug: Schedule dropdown menu used "minutes" instead of "hours".
* Build: Use PyLint in unit testing to catch E1101 (no-member) errors.
* Build: Activate PyLint warning W1401 (anomalous-backslash-in-string).
* Build: Add codespell config.
Expand Down
20 changes: 10 additions & 10 deletions common/languages.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated at Tue Nov 14 14:02:37 2023 with help of package "babel" and "polib".
# Generated at Wed Nov 15 10:12:43 2023 with help of package "babel" and "polib".
# https://babel.pocoo.org
# https://github.com/python-babel/babel

Expand Down Expand Up @@ -2077,12 +2077,12 @@

completeness = {
'ar': 42,
'bg': 93,
'bg': 92,
'bs': 18,
'ca': 93,
'ca': 92,
'cs': 66,
'da': 28,
'de': 97,
'de': 98,
'el': 26,
'en': 100,
'eo': 26,
Expand All @@ -2092,19 +2092,19 @@
'fa': 66,
'fi': 43,
'fo': 17,
'fr': 93,
'fr': 92,
'gl': 71,
'he': 64,
'hr': 20,
'hu': 26,
'id': 65,
'is': 76,
'it': 97,
'is': 75,
'it': 96,
'ja': 68,
'ko': 55,
'lt': 71,
'lt': 70,
'nb': 25,
'nl': 93,
'nl': 92,
'nn': 15,
'pl': 65,
'pt': 23,
Expand All @@ -2117,7 +2117,7 @@
'sv': 47,
'th': 58,
'tr': 68,
'uk': 97,
'uk': 96,
'vi': 71,
'zh_CN': 52,
'zh_TW': 15}
20 changes: 13 additions & 7 deletions common/po/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: backintime\n"
"Report-Msgid-Bugs-To: https://github.com/bit-team/backintime\n"
"POT-Creation-Date: 2023-11-14 14:02+0100\n"
"POT-Creation-Date: 2023-11-15 10:12+0100\n"
"PO-Revision-Date: 2023-10-19 19:53+0000\n"
"Last-Translator: SomeTr <[email protected]>\n"
"Language-Team: Arabic <https://translate.codeberg.org/projects/backintime/common/ar/>\n"
Expand Down Expand Up @@ -1079,8 +1079,6 @@ msgid "At every boot/reboot"
msgstr "في كل اقلاع/اعادة اقلاع"

#: qt/settingsdialog.py:358 qt/settingsdialog.py:360 qt/settingsdialog.py:362
#: qt/settingsdialog.py:365 qt/settingsdialog.py:367 qt/settingsdialog.py:369
#: qt/settingsdialog.py:371
#, fuzzy, python-brace-format
msgid "Every {n} minute"
msgid_plural "Every {n} minutes"
Expand All @@ -1095,6 +1093,18 @@ msgstr[5] "كل {n} دقائق"
msgid "Every hour"
msgstr "كل ساعة"

#: qt/settingsdialog.py:365 qt/settingsdialog.py:367 qt/settingsdialog.py:369
#: qt/settingsdialog.py:371
#, fuzzy, python-brace-format
msgid "Every {n} hour"
msgid_plural "Every {n} hours"
msgstr[0] "كل ساعتان"
msgstr[1] "كل ساعتان"
msgstr[2] "كل ساعتان"
msgstr[3] "كل ساعتان"
msgstr[4] "كل ساعتان"
msgstr[5] "كل ساعتان"

#: qt/settingsdialog.py:372
#, fuzzy
msgid "Custom hours"
Expand Down Expand Up @@ -1790,10 +1800,6 @@ msgstr ""
#~ msgid "Every 6 hours"
#~ msgstr "كل ٦ ساعات"

#, fuzzy, python-brace-format
#~ msgid "Every {n} hours"
#~ msgstr "كل ساعتان"

#~ msgid "List only different snapshots"
#~ msgstr "سرد لقطات المُختلفة فقط"

Expand Down
16 changes: 9 additions & 7 deletions common/po/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: backintime\n"
"Report-Msgid-Bugs-To: https://github.com/bit-team/backintime\n"
"POT-Creation-Date: 2023-11-14 14:02+0100\n"
"POT-Creation-Date: 2023-11-15 10:12+0100\n"
"PO-Revision-Date: 2023-10-28 19:13+0000\n"
"Last-Translator: SomeTr <[email protected]>\n"
"Language-Team: Bulgarian <https://translate.codeberg.org/projects/backintime/common/bg/>\n"
Expand Down Expand Up @@ -1079,8 +1079,6 @@ msgid "At every boot/reboot"
msgstr "При всяко зареждане/рестартиране"

#: qt/settingsdialog.py:358 qt/settingsdialog.py:360 qt/settingsdialog.py:362
#: qt/settingsdialog.py:365 qt/settingsdialog.py:367 qt/settingsdialog.py:369
#: qt/settingsdialog.py:371
#, python-brace-format
msgid "Every {n} minute"
msgid_plural "Every {n} minutes"
Expand All @@ -1091,6 +1089,14 @@ msgstr[1] "На всеки {n} минути"
msgid "Every hour"
msgstr "На всеки час"

#: qt/settingsdialog.py:365 qt/settingsdialog.py:367 qt/settingsdialog.py:369
#: qt/settingsdialog.py:371
#, fuzzy, python-brace-format
msgid "Every {n} hour"
msgid_plural "Every {n} hours"
msgstr[0] "На всеки {n} часа"
msgstr[1] "На всеки {n} часа"

#: qt/settingsdialog.py:372
#, fuzzy
msgid "Custom hours"
Expand Down Expand Up @@ -1756,10 +1762,6 @@ msgstr "Изключете {path} от бъдещите моментни арх
#~ msgid "Every 5 minutes"
#~ msgstr "На всеки 5 минути"

#, python-brace-format
#~ msgid "Every {n} hours"
#~ msgstr "На всеки {n} часа"

#~ msgid ""
#~ "Full system backup can only create a snapshot to be restored to the same physical disk(s) with the same disk partitioning as from the source; restoring to new physical disks or the same disks with different partitioning will yield a potentially broken and unusable system.\n"
#~ "\n"
Expand Down
17 changes: 10 additions & 7 deletions common/po/bs.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: backintime\n"
"Report-Msgid-Bugs-To: https://github.com/bit-team/backintime\n"
"POT-Creation-Date: 2023-11-14 14:02+0100\n"
"POT-Creation-Date: 2023-11-15 10:12+0100\n"
"PO-Revision-Date: 2023-10-28 19:13+0000\n"
"Last-Translator: SomeTr <[email protected]>\n"
"Language-Team: Bosnian <https://translate.codeberg.org/projects/backintime/common/bs/>\n"
Expand Down Expand Up @@ -1029,8 +1029,6 @@ msgid "At every boot/reboot"
msgstr ""

#: qt/settingsdialog.py:358 qt/settingsdialog.py:360 qt/settingsdialog.py:362
#: qt/settingsdialog.py:365 qt/settingsdialog.py:367 qt/settingsdialog.py:369
#: qt/settingsdialog.py:371
#, fuzzy, python-brace-format
msgid "Every {n} minute"
msgid_plural "Every {n} minutes"
Expand All @@ -1042,6 +1040,15 @@ msgstr[2] "Svakih {n} minuta"
msgid "Every hour"
msgstr ""

#: qt/settingsdialog.py:365 qt/settingsdialog.py:367 qt/settingsdialog.py:369
#: qt/settingsdialog.py:371
#, fuzzy, python-brace-format
msgid "Every {n} hour"
msgid_plural "Every {n} hours"
msgstr[0] "Svakih {n} sati"
msgstr[1] "Svakih {n} sati"
msgstr[2] "Svakih {n} sati"

#: qt/settingsdialog.py:372
msgid "Custom hours"
msgstr ""
Expand Down Expand Up @@ -1644,10 +1651,6 @@ msgstr ""
#~ msgid "Every 5 minutes"
#~ msgstr "Svakih 5 minuta"

#, fuzzy, python-brace-format
#~ msgid "Every {n} hours"
#~ msgstr "Svakih {n} sati"

#, fuzzy, python-brace-format
#~ msgid "Profile: {name}"
#~ msgstr "Profil: \"{name}\""
Expand Down
16 changes: 9 additions & 7 deletions common/po/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: backintime\n"
"Report-Msgid-Bugs-To: https://github.com/bit-team/backintime\n"
"POT-Creation-Date: 2023-11-14 14:02+0100\n"
"POT-Creation-Date: 2023-11-15 10:12+0100\n"
"PO-Revision-Date: 2023-09-26 10:59+0000\n"
"Last-Translator: buhtz <[email protected]>\n"
"Language-Team: Catalan <https://translate.codeberg.org/projects/backintime/common/ca/>\n"
Expand Down Expand Up @@ -1085,8 +1085,6 @@ msgid "At every boot/reboot"
msgstr "En cada inici/reinici"

#: qt/settingsdialog.py:358 qt/settingsdialog.py:360 qt/settingsdialog.py:362
#: qt/settingsdialog.py:365 qt/settingsdialog.py:367 qt/settingsdialog.py:369
#: qt/settingsdialog.py:371
#, python-brace-format
msgid "Every {n} minute"
msgid_plural "Every {n} minutes"
Expand All @@ -1097,6 +1095,14 @@ msgstr[1] "Cada {n} minuts"
msgid "Every hour"
msgstr "Cada hora"

#: qt/settingsdialog.py:365 qt/settingsdialog.py:367 qt/settingsdialog.py:369
#: qt/settingsdialog.py:371
#, fuzzy, python-brace-format
msgid "Every {n} hour"
msgid_plural "Every {n} hours"
msgstr[0] "Cada {n} hores"
msgstr[1] "Cada {n} hores"

#: qt/settingsdialog.py:372
#, fuzzy
msgid "Custom hours"
Expand Down Expand Up @@ -1811,10 +1817,6 @@ msgstr "Exclou {path} de les instantànies futures?"
#~ msgid "Every 6 hours"
#~ msgstr "Cada 6 hores"

#, fuzzy, python-brace-format
#~ msgid "Every {n} hours"
#~ msgstr "Cada {n} hores"

#~ msgid ""
#~ "Full system backup can only create a snapshot to be restored to the same physical disk(s) with the same disk partitioning as from the source; restoring to new physical disks or the same disks with different partitioning will yield a potentially broken and unusable system.\n"
#~ "\n"
Expand Down
17 changes: 10 additions & 7 deletions common/po/cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: backintime\n"
"Report-Msgid-Bugs-To: https://github.com/bit-team/backintime\n"
"POT-Creation-Date: 2023-11-14 14:02+0100\n"
"POT-Creation-Date: 2023-11-15 10:12+0100\n"
"PO-Revision-Date: 2023-10-28 19:13+0000\n"
"Last-Translator: SomeTr <[email protected]>\n"
"Language-Team: Czech <https://translate.codeberg.org/projects/backintime/common/cs/>\n"
Expand Down Expand Up @@ -1125,8 +1125,6 @@ msgid "At every boot/reboot"
msgstr "Při každém startu/restartu počítače"

#: qt/settingsdialog.py:358 qt/settingsdialog.py:360 qt/settingsdialog.py:362
#: qt/settingsdialog.py:365 qt/settingsdialog.py:367 qt/settingsdialog.py:369
#: qt/settingsdialog.py:371
#, fuzzy, python-brace-format
msgid "Every {n} minute"
msgid_plural "Every {n} minutes"
Expand All @@ -1138,6 +1136,15 @@ msgstr[2] "Každých {n} minut"
msgid "Every hour"
msgstr "Každou hodinu"

#: qt/settingsdialog.py:365 qt/settingsdialog.py:367 qt/settingsdialog.py:369
#: qt/settingsdialog.py:371
#, fuzzy, python-brace-format
msgid "Every {n} hour"
msgid_plural "Every {n} hours"
msgstr[0] "Každých {n} hodin"
msgstr[1] "Každých {n} hodin"
msgstr[2] "Každých {n} hodin"

#: qt/settingsdialog.py:372
#, fuzzy
msgid "Custom hours"
Expand Down Expand Up @@ -1903,10 +1910,6 @@ msgstr "Vynechat „{path}“ z budoucích zachycených stavů?"
#~ msgid "Every 6 hours"
#~ msgstr "Každých 6 hodin"

#, python-brace-format
#~ msgid "Every {n} hours"
#~ msgstr "Každých {n} hodin"

#~ msgid ""
#~ "Full system backup can only create a snapshot to be restored to the same physical disk(s) with the same disk partitioning as from the source; restoring to new physical disks or the same disks with different partitioning will yield a potentially broken and unusable system.\n"
#~ "\n"
Expand Down
16 changes: 9 additions & 7 deletions common/po/da.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: backintime\n"
"Report-Msgid-Bugs-To: https://github.com/bit-team/backintime\n"
"POT-Creation-Date: 2023-11-14 14:02+0100\n"
"POT-Creation-Date: 2023-11-15 10:12+0100\n"
"PO-Revision-Date: 2023-10-28 19:13+0000\n"
"Last-Translator: SomeTr <[email protected]>\n"
"Language-Team: Danish <https://translate.codeberg.org/projects/backintime/common/da/>\n"
Expand Down Expand Up @@ -1055,8 +1055,6 @@ msgid "At every boot/reboot"
msgstr "Ved hver opstart/genstart"

#: qt/settingsdialog.py:358 qt/settingsdialog.py:360 qt/settingsdialog.py:362
#: qt/settingsdialog.py:365 qt/settingsdialog.py:367 qt/settingsdialog.py:369
#: qt/settingsdialog.py:371
#, fuzzy, python-brace-format
msgid "Every {n} minute"
msgid_plural "Every {n} minutes"
Expand All @@ -1067,6 +1065,14 @@ msgstr[1] "Hver {n} minutter"
msgid "Every hour"
msgstr "Hver time"

#: qt/settingsdialog.py:365 qt/settingsdialog.py:367 qt/settingsdialog.py:369
#: qt/settingsdialog.py:371
#, fuzzy, python-brace-format
msgid "Every {n} hour"
msgid_plural "Every {n} hours"
msgstr[0] "Hver {n} time"
msgstr[1] "Hver {n} time"

#: qt/settingsdialog.py:372
#, fuzzy
msgid "Custom hours"
Expand Down Expand Up @@ -1753,10 +1759,6 @@ msgstr ""
#~ msgid "Every 6 hours"
#~ msgstr "Hver 6. time"

#, fuzzy, python-brace-format
#~ msgid "Every {n} hours"
#~ msgstr "Hver {n} time"

#, python-format
#~ msgid ""
#~ "Hash collision occurred in hash_id %s. Incrementing global value "
Expand Down
Loading

0 comments on commit 59097f7

Please sign in to comment.