[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/print-manager/add-printer
From: Harald Sitter <sitter.harald () gmail ! com>
Date: 2010-11-14 16:56:03
Message-ID: 20101114165603.402C1AC89E () svn ! kde ! org
[Download RAW message or body]
SVN commit 1197024 by sitter:
guess what... more context for translators
M +7 -7 ChooseSerial.cpp
M +10 -10 DevicesModel.cpp
--- trunk/playground/base/print-manager/add-printer/ChooseSerial.cpp #1197023:1197024
@@ -54,14 +54,14 @@
painter.drawPixmap(startPoint, pixmap);
printerL->setPixmap(icon);
- parityCB->addItem(i18n("None"), "none");
- parityCB->addItem(i18n("Even"), "even");
- parityCB->addItem(i18n("Odd"), "odd");
+ parityCB->addItem(i18nc("@label:listbox", "None"), "none");
+ parityCB->addItem(i18nc("@label:listbox", "Even"), "even");
+ parityCB->addItem(i18nc("@label:listbox", "Odd"), "odd");
- flowCB->addItem(i18n("None"), "none");
- flowCB->addItem(i18n("XON/XOFF (Software)"), "soft");
- flowCB->addItem(i18n("RTS/CTS (Hardware)"), "hard");
- flowCB->addItem(i18n("DTR/DSR (Hardware)"), "dtrdsr");
+ flowCB->addItem(i18nc("@label:listbox", "None"), "none");
+ flowCB->addItem(i18nc("@label:listbox", "XON/XOFF (Software)"), "soft");
+ flowCB->addItem(i18nc("@label:listbox", "RTS/CTS (Hardware)"), "hard");
+ flowCB->addItem(i18nc("@label:listbox", "DTR/DSR (Hardware)"), "dtrdsr");
}
ChooseSerial::~ChooseSerial()
--- trunk/playground/base/print-manager/add-printer/DevicesModel.cpp #1197023:1197024
@@ -116,33 +116,33 @@
}
if (devUri.startsWith(QLatin1String("parallel"))) {
- device->setToolTip(i18n("A printer connected to the parallel port"));
+ device->setToolTip(i18nc("@info:tooltip", "A printer connected to the \
parallel port")); } else if (devUri.startsWith(QLatin1String("usb"))) {
- device->setToolTip(i18n("A printer connected to a USB port"));
+ device->setToolTip(i18nc("@info:tooltip", "A printer connected to a USB \
port")); } else if (devUri.startsWith(QLatin1String("bluetooth"))) {
- device->setToolTip(i18n("A printer connected via Bluetooth"));
+ device->setToolTip(i18nc("@info:tooltip", "A printer connected via \
Bluetooth")); } else if (devUri.startsWith(QLatin1String("hal"))) {
- device->setToolTip(i18n("Local printer detected by the "
+ device->setToolTip(i18nc("@info:tooltip", "Local printer detected by the "
"Hardware Abstraction Layer (HAL)"));
} else if (devUri.startsWith(QLatin1String("hp"))) {
- device->setToolTip(i18n("HPLIP software driving a printer, "
+ device->setToolTip(i18nc("@info:tooltip", "HPLIP software driving a printer, \
"
"or the printer function of a multi-function \
device")); } else if (devUri.startsWith(QLatin1String("hpfax"))) {
- device->setToolTip(i18n("HPLIP software driving a fax machine, "
+ device->setToolTip(i18nc("@info:tooltip", "HPLIP software driving a fax \
machine, "
"or the fax function of a multi-function device"));
} else if (devUri.startsWith(QLatin1String("dnssd")) ||
devUri.startsWith(QLatin1String("mdns"))) {
- device->setToolTip(i18n("Remote CUPS printer via DNS-SD"));
+ device->setToolTip(i18nc("@info:tooltip", "Remote CUPS printer via \
DNS-SD")); }
device->setData(devInfo, DeviceInfo);
device->setData(static_cast<qlonglong>(kind), \
KCategorizedSortFilterProxyModel::CategorySortRole); if (kind == Networked) {
- device->setData(i18n("Discovered Network Printers"), \
KCategorizedSortFilterProxyModel::CategoryDisplayRole); + \
device->setData(i18nc("@item", "Discovered Network Printers"), \
KCategorizedSortFilterProxyModel::CategoryDisplayRole); } else if (kind == \
OtherNetworked) {
- device->setData(i18n("Other Network Printers"), \
KCategorizedSortFilterProxyModel::CategoryDisplayRole); + \
device->setData(i18nc("@item", "Other Network Printers"), \
KCategorizedSortFilterProxyModel::CategoryDisplayRole); } else {
- device->setData(i18n("Local Printers"), \
KCategorizedSortFilterProxyModel::CategoryDisplayRole); + \
device->setData(i18nc("@item", "Local Printers"), \
KCategorizedSortFilterProxyModel::CategoryDisplayRole); }
appendRow(device);
// itemClass->appendRow(device);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic