diff options
| author | Leena Miettinen <riitta-leena.miettinen@nokia.com> | 2011-05-13 09:22:23 +0200 |
|---|---|---|
| committer | Leena Miettinen <riitta-leena.miettinen@nokia.com> | 2011-05-13 09:22:23 +0200 |
| commit | 3c737a1c24374b3f31d3455fac1c854b40c8c8c8 (patch) | |
| tree | 932a22dc61370196bc1c151e5d37eb37a31b2610 | |
| parent | 9cdbbfadcfcc892b9c241864fea31c2f6365c74a (diff) | |
UI text: fix capitalization and style
Reviewed-by: Rainer Keller
Reviewed-by: owolff
| -rw-r--r-- | src/ui/cameraui.cpp | 2 | ||||
| -rw-r--r-- | src/ui/multipointtouchui.cpp | 2 | ||||
| -rw-r--r-- | src/ui/organizerui.cpp | 10 | ||||
| -rw-r--r-- | src/ui/sensorsui.cpp | 2 | ||||
| -rw-r--r-- | src/ui/systeminfogenericui.cpp | 2 | ||||
| -rw-r--r-- | src/ui/systeminfonetworkui.cpp | 2 | ||||
| -rw-r--r-- | src/ui/viewconfiguration.ui | 12 | ||||
| -rw-r--r-- | src/ui/viewui.cpp | 10 |
8 files changed, 21 insertions, 21 deletions
diff --git a/src/ui/cameraui.cpp b/src/ui/cameraui.cpp index 1aa127c..5c7902e 100644 --- a/src/ui/cameraui.cpp +++ b/src/ui/cameraui.cpp @@ -138,7 +138,7 @@ void CameraUi::setDisplayedCameraData(const CameraUi::CameraData &data) void CameraUi::getImagePath() { - mImageEdit->setText(QFileDialog::getOpenFileName(this, tr("Choose image"), + mImageEdit->setText(QFileDialog::getOpenFileName(this, tr("Choose Image"), ".", tr("Images (*.png *.xpm *.jpg)"))); editCameraInfo(); } diff --git a/src/ui/multipointtouchui.cpp b/src/ui/multipointtouchui.cpp index 1cf500c..64b4a28 100644 --- a/src/ui/multipointtouchui.cpp +++ b/src/ui/multipointtouchui.cpp @@ -121,7 +121,7 @@ void MultiPointTouchUi::setInputMode(MultiPointTouchUi::InputMode inputMode) void MultiPointTouchUi::getCustomGesturePath() { - mCustomLineEdit->setText(QFileDialog::getOpenFileName(this, tr("Choose gesture script"), + mCustomLineEdit->setText(QFileDialog::getOpenFileName(this, tr("Choose Gesture Script"), mGestureScriptPath, tr("Qt scripts (*.js *.qs)"))); emitCustomGesturePathChanged(); } diff --git a/src/ui/organizerui.cpp b/src/ui/organizerui.cpp index f92b943..02dd3ef 100644 --- a/src/ui/organizerui.cpp +++ b/src/ui/organizerui.cpp @@ -81,19 +81,19 @@ void OrganizerUi::importOrganizer() return; if (!m_organizer->importFromVCardFile(importFile)) { - QMessageBox::information(0, tr("Import Failed"), - tr("Sorry, unable to import \"%1\".").arg(importFile)); + QMessageBox::information(0, tr("Cannot Import File"), + tr("Cannot import \"%1\".").arg(importFile)); } } void OrganizerUi::exportOrganizer() { - QString exportFile = QFileDialog::getSaveFileName(0, tr("Export Organizer data to iCalendar File"), ".", "*.ics"); + QString exportFile = QFileDialog::getSaveFileName(0, tr("Export Organizer Data to iCalendar File"), ".", "*.ics"); if (exportFile.isNull()) return; if (!m_organizer->exportToVCardFile(exportFile)) { - QMessageBox::information(0, tr("Export Failed"), - tr("Sorry, unable to export data to \"%1\".").arg(exportFile)); + QMessageBox::information(0, tr("Cannot Export File"), + tr("Cannot export data to \"%1\".").arg(exportFile)); } } diff --git a/src/ui/sensorsui.cpp b/src/ui/sensorsui.cpp index 323a702..8872857 100644 --- a/src/ui/sensorsui.cpp +++ b/src/ui/sensorsui.cpp @@ -277,7 +277,7 @@ SensorsUi::SensorsUi(QWidget *parent) mCompassAzimuthEdit = new SensorDoubleEdit(); mCompassAzimuthEdit->setRange(0, 360); mCompassAzimuthEdit->setDecimalPlaces(2); - item = new OptionsItem(tr("Compass Azimuth"), mCompassAzimuthEdit); + item = new OptionsItem(tr("Compass azimuth"), mCompassAzimuthEdit); connect(mCompassAzimuthEdit, SIGNAL(valueChanged(double)), SLOT(emitSensorsDataChange())); connect(mAccelerometerControl, SIGNAL(azimuthChanged(double)), mCompassAzimuthEdit, SLOT(setValue(double))); item->setTags(tags); diff --git a/src/ui/systeminfogenericui.cpp b/src/ui/systeminfogenericui.cpp index 542e86c..ca4fdda 100644 --- a/src/ui/systeminfogenericui.cpp +++ b/src/ui/systeminfogenericui.cpp @@ -184,7 +184,7 @@ void GenericSystemInfoUi::initializeGeneric() systemInfoSimStatus = new QComboBox(); connect(systemInfoSimStatus, SIGNAL(activated(int)), SLOT(emitGenericDataChanged())); - item = new OptionsItem(tr("SIM Status"), systemInfoSimStatus); + item = new OptionsItem(tr("SIM status"), systemInfoSimStatus); item->setTags(tags); item->setAdvanced(); optionsList << item; diff --git a/src/ui/systeminfonetworkui.cpp b/src/ui/systeminfonetworkui.cpp index a1e704f..c3aaf5a 100644 --- a/src/ui/systeminfonetworkui.cpp +++ b/src/ui/systeminfonetworkui.cpp @@ -115,7 +115,7 @@ void NetworkSystemInfoUi::initializeNetwork() fLayout->addRow(tr("Name"), networkName); fLayout->addRow(tr("Status"), networkStatus); fLayout->addRow(tr("MAC address"), networkMacAddress); - fLayout->addRow(tr("Signal Strength"), networkSignalStrength); + fLayout->addRow(tr("Signal strength"), networkSignalStrength); QGroupBox *networkModeProperties = new QGroupBox(tr("Properties")); networkModeProperties->setLayout(fLayout); QHBoxLayout *hLayout = new QHBoxLayout(); diff --git a/src/ui/viewconfiguration.ui b/src/ui/viewconfiguration.ui index c53f570..382d2b4 100644 --- a/src/ui/viewconfiguration.ui +++ b/src/ui/viewconfiguration.ui @@ -11,7 +11,7 @@ </rect> </property> <property name="windowTitle"> - <string>Configuration</string> + <string>Configure DPI Correction</string> </property> <layout class="QVBoxLayout" name="verticalLayout_4"> <property name="sizeConstraint"> @@ -38,7 +38,7 @@ </sizepolicy> </property> <property name="text"> - <string>Depending on the used operating system and configuration, it is possible that the view's "native size" setting does not reflect the real size of the device. The following two approaches can be used to correct this issue.</string> + <string>On some operating systems and configurations, the view's "native size" setting does not reflect the real size of the device. The following two approaches can be used to correct this issue.</string> </property> <property name="wordWrap"> <bool>true</bool> @@ -54,7 +54,7 @@ <item> <widget class="QLabel" name="label_7"> <property name="text"> - <string>The correction factor can be calculated with the help of you monitor's diagonal in inch. Just enter the correct value.</string> + <string>The correction factor can be calculated with the help of your monitor's diagonal in inches. Enter the correct value.</string> </property> <property name="wordWrap"> <bool>true</bool> @@ -87,13 +87,13 @@ </sizepolicy> </property> <property name="title"> - <string>Manual correction</string> + <string>Manual Correction</string> </property> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QLabel" name="label_5"> <property name="text"> - <string>The line should have exactly the width given below. If it has not, use the slider to correct its length.</string> + <string>The line should have exactly the width given below. If not, use the slider to fix the width.</string> </property> <property name="wordWrap"> <bool>true</bool> @@ -210,7 +210,7 @@ <item> <widget class="QLabel" name="label_6"> <property name="text"> - <string>Correction Factor</string> + <string>Correction factor</string> </property> </widget> </item> diff --git a/src/ui/viewui.cpp b/src/ui/viewui.cpp index 726d58c..617d59a 100644 --- a/src/ui/viewui.cpp +++ b/src/ui/viewui.cpp @@ -83,7 +83,7 @@ ViewUi::ViewUi(const DeviceItem *deviceItem, QWidget *parent) : connect(mOrientationButtons, SIGNAL(buttonClicked(int)), this, SLOT(changeOrientation(int))); updateOrientationsButtonsIcons(false); - QPushButton *dpiButton = new QPushButton(tr("Configure DPI correction")); + QPushButton *dpiButton = new QPushButton(tr("Configure DPI Correction")); item = new OptionsItem(QString(), dpiButton, true); item->setTags(QStringList() << tr("dpi")); optionsList << item; @@ -275,8 +275,8 @@ bool ViewUi::initializeDeviceList() QDir modelsDir("models"); if (!modelsDir.exists()) { QMessageBox errorMsg; - errorMsg.setWindowTitle(tr("Folder does not exist")); - errorMsg.setText(tr("The \"%1\" folder could not be located in the installation directory.").arg(modelsDir.dirName())); + errorMsg.setWindowTitle(tr("Folder Does Not Exist")); + errorMsg.setText(tr("Cannot find the \"%1\" folder in the installation directory.").arg(modelsDir.dirName())); errorMsg.setIcon(QMessageBox::Critical); errorMsg.exec(); return false; @@ -287,7 +287,7 @@ bool ViewUi::initializeDeviceList() bool noErrors = confReader.processDir(&modelsDir, deviceList); if (!noErrors && !deviceList.isEmpty()) { QMessageBox msgbox; - msgbox.setWindowTitle(tr("Errors occurred while reading device configurations")); + msgbox.setWindowTitle(tr("Errors Occurred While Reading Device Configurations")); msgbox.setText(confReader.errorMessageLines()); msgbox.setIcon(QMessageBox::Critical); msgbox.exec(); @@ -295,7 +295,7 @@ bool ViewUi::initializeDeviceList() if (deviceList.isEmpty()) { QMessageBox errorMsg; - errorMsg.setWindowTitle(tr("Devices could not be found")); + errorMsg.setWindowTitle(tr("Cannot Find Devices")); QString msg; if (!noErrors) { msg = confReader.errorMessageLines(); |
