Skip to content

Commit

Permalink
feat: Add randomize interval checkbox to UI and translations
Browse files Browse the repository at this point in the history
  • Loading branch information
LyubomirT committed Jul 29, 2024
1 parent d6577ca commit a580f05
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions translations/Chinese.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
{
"component": "lightModeCheckbox",
"text": "轻模式"
},
{
"component": "randomizeIntervalCheckbox",
"text": "随机化间隔"
}
]
}
4 changes: 4 additions & 0 deletions translations/English.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
{
"component": "lightModeCheckBox",
"text": "Light Mode"
},
{
"component": "randomizeIntervalCheckBox",
"text": "Randomize Interval"
}
]
}
4 changes: 4 additions & 0 deletions translations/French.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
{
"component": "lightModeCheckBox",
"text": "Mode Lumière"
},
{
"component": "randomizeIntervalCheckBox",
"text": "Intervalle Aléatoire"
}
]
}
4 changes: 4 additions & 0 deletions ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ def setupUi(self, MainWindow):
self.charPerStrokeSpinBox.setRange(1, 50)
self.charPerStrokeSpinBox.setObjectName("charPerStrokeSpinBox")
self.settingsLayout.addWidget(self.charPerStrokeSpinBox)

self.randomizeIntervalCheckBox = QtWidgets.QCheckBox(self.horizontalLayoutWidget)
self.randomizeIntervalCheckBox.setObjectName("randomizeIntervalCheckBox")
self.settingsLayout.addWidget(self.randomizeIntervalCheckBox)

self.enterCheckBox = QtWidgets.QCheckBox(self.horizontalLayoutWidget)
self.enterCheckBox.setObjectName("enterCheckBox")
Expand Down

0 comments on commit a580f05

Please sign in to comment.