mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Merge heads.
This commit is contained in:
commit
26c77a18fd
@ -33,9 +33,6 @@ class DeletionOptions(QDialog):
|
|||||||
self.msgLabel = QLabel()
|
self.msgLabel = QLabel()
|
||||||
self.verticalLayout.addWidget(self.msgLabel)
|
self.verticalLayout.addWidget(self.msgLabel)
|
||||||
self.linkCheckbox = QCheckBox(tr("Link deleted files"))
|
self.linkCheckbox = QCheckBox(tr("Link deleted files"))
|
||||||
if not (ISOSX or ISLINUX):
|
|
||||||
self.linkCheckbox.setEnabled(False)
|
|
||||||
self.linkCheckbox.setText(self.linkCheckbox.text() + tr(" (Mac OS X or Linux only)"))
|
|
||||||
self.verticalLayout.addWidget(self.linkCheckbox)
|
self.verticalLayout.addWidget(self.linkCheckbox)
|
||||||
text = tr("After having deleted a duplicate, place a link targeting the reference file "
|
text = tr("After having deleted a duplicate, place a link targeting the reference file "
|
||||||
"to replace the deleted file.")
|
"to replace the deleted file.")
|
||||||
@ -44,6 +41,10 @@ class DeletionOptions(QDialog):
|
|||||||
self.verticalLayout.addWidget(self.linkMessageLabel)
|
self.verticalLayout.addWidget(self.linkMessageLabel)
|
||||||
self.linkTypeRadio = RadioBox(items=[tr("Symlink"), tr("Hardlink")], spread=False)
|
self.linkTypeRadio = RadioBox(items=[tr("Symlink"), tr("Hardlink")], spread=False)
|
||||||
self.verticalLayout.addWidget(self.linkTypeRadio)
|
self.verticalLayout.addWidget(self.linkTypeRadio)
|
||||||
|
if not (ISOSX or ISLINUX):
|
||||||
|
self.linkCheckbox.setEnabled(False)
|
||||||
|
self.linkTypeRadio.setEnabled(False)
|
||||||
|
self.linkCheckbox.setText(self.linkCheckbox.text() + tr(" (Mac OS X or Linux only)"))
|
||||||
self.directCheckbox = QCheckBox(tr("Directly delete files"))
|
self.directCheckbox = QCheckBox(tr("Directly delete files"))
|
||||||
self.verticalLayout.addWidget(self.directCheckbox)
|
self.verticalLayout.addWidget(self.directCheckbox)
|
||||||
text = tr("Instead of sending files to trash, delete them directly. This option is usually "
|
text = tr("Instead of sending files to trash, delete them directly. This option is usually "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user