X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/4062c4cf2d9c3a6716ced8686fa2e2324261c0ec..553c85e336b9ebad47295306b37d4625d7db218b:/src/viewpropertiesdialog.cpp diff --git a/src/viewpropertiesdialog.cpp b/src/viewpropertiesdialog.cpp index a333d87b0..4dc985225 100644 --- a/src/viewpropertiesdialog.cpp +++ b/src/viewpropertiesdialog.cpp @@ -26,8 +26,10 @@ #include "dolphin_generalsettings.h" #include "viewproperties.h" +#ifdef HAVE_NEPOMUK #include #include +#endif #include #include @@ -81,7 +83,7 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) : // create 'Properties' group containing view mode, sorting, sort order and show hidden files QWidget* propsBox = main; if (!useGlobalViewProps) { - propsBox = new QGroupBox(i18n("Properties"), main); + propsBox = new QGroupBox(i18nc("@title:group", "Properties"), main); } QLabel* viewModeLabel = new QLabel(i18n("View mode:"), propsBox); @@ -134,13 +136,13 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) : m_additionalInfo->setCurrentIndex(addInfoIndex); m_additionalInfo->setEnabled(iconsViewEnabled); - m_showPreview = new QCheckBox(i18n("Show preview"), propsBox); + m_showPreview = new QCheckBox(i18nc("@option:check", "Show preview"), propsBox); m_showPreview->setChecked(m_viewProps->showPreview()); - m_showInGroups = new QCheckBox(i18n("Show in Groups"), propsBox); + m_showInGroups = new QCheckBox(i18nc("@option:check", "Show in Groups"), propsBox); m_showInGroups->setChecked(m_viewProps->categorizedSorting()); - m_showHiddenFiles = new QCheckBox(i18n("Show hidden files"), propsBox); + m_showHiddenFiles = new QCheckBox(i18nc("@option:check", "Show hidden files"), propsBox); m_showHiddenFiles->setChecked(m_viewProps->showHiddenFiles()); QGridLayout* propsBoxLayout = new QGridLayout(propsBox); @@ -178,12 +180,15 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) : // for each directory: if (!useGlobalViewProps) { // create 'Apply View Properties To' group - QGroupBox* applyBox = new QGroupBox(i18n("Apply View Properties To"), main); + QGroupBox* applyBox = new QGroupBox(i18nc("@title:group", "Apply View Properties To"), main); - m_applyToCurrentFolder = new QRadioButton(i18n("Current folder"), applyBox); + m_applyToCurrentFolder = new QRadioButton(i18nc("@option:radio Apply View Properties To", + "Current folder"), applyBox); m_applyToCurrentFolder->setChecked(true); - m_applyToSubFolders = new QRadioButton(i18n("Current folder including all sub folders"), applyBox); - m_applyToAllFolders = new QRadioButton(i18n("All folders"), applyBox); + m_applyToSubFolders = new QRadioButton(i18nc("@option:radio Apply View Properties To", + "Current folder including all sub folders"), applyBox); + m_applyToAllFolders = new QRadioButton(i18nc("@option:radio Apply View Properties To", + "All folders"), applyBox); QButtonGroup* applyGroup = new QButtonGroup(this); applyGroup->addButton(m_applyToCurrentFolder); @@ -195,7 +200,7 @@ ViewPropertiesDialog::ViewPropertiesDialog(DolphinView* dolphinView) : applyBoxLayout->addWidget(m_applyToSubFolders); applyBoxLayout->addWidget(m_applyToAllFolders); - m_useAsDefault = new QCheckBox(i18n("Use as default for new folders"), main); + m_useAsDefault = new QCheckBox(i18nc("@option:check", "Use as default for new folders"), main); topLayout->addWidget(applyBox); topLayout->addWidget(m_useAsDefault);