mirror of
https://invent.kde.org/network/kdeconnect-kde.git
synced 2025-12-12 20:35:55 +01:00
Make strings HIG compliant
- Use the Copyright symbol © - Use en-dashes for date ranges - Use ellipses instead of '...'
This commit is contained in:
committed by
Simon Redman
parent
d3ae9a56b9
commit
c65a2c43f2
@@ -30,7 +30,7 @@ int main(int argc, char *argv[])
|
||||
QStringLiteral(KDECONNECT_VERSION_STRING),
|
||||
i18n("KDE Connect"),
|
||||
KAboutLicense::GPL,
|
||||
i18n("(c) 2015-2025, KDE Connect Team"));
|
||||
i18n("© 2015–2025 KDE Connect Team"));
|
||||
aboutData.addAuthor(i18n("Aleix Pol Gonzalez"), {}, QStringLiteral("aleixpol@kde.org"));
|
||||
aboutData.addAuthor(i18n("Albert Vaca Cintora"), {}, QStringLiteral("albertvaka@kde.org"));
|
||||
aboutData.setTranslator(i18nc("NAME OF TRANSLATORS", "Your names"), i18nc("EMAIL OF TRANSLATORS", "Your emails"));
|
||||
|
||||
@@ -31,7 +31,7 @@ int main(int argc, char **argv)
|
||||
QStringLiteral(KDECONNECT_VERSION_STRING),
|
||||
i18n("KDE Connect CLI tool"),
|
||||
KAboutLicense::GPL,
|
||||
i18n("(c) 2015-2025, KDE Connect Team"));
|
||||
i18n("© 2015–2025, KDE Connect Team"));
|
||||
aboutData.addAuthor(i18n("Aleix Pol Gonzalez"), {}, QStringLiteral("aleixpol@kde.org"));
|
||||
aboutData.addAuthor(i18n("Albert Vaca Cintora"), {}, QStringLiteral("albertvaka@kde.org"));
|
||||
KAboutData::setApplicationData(aboutData);
|
||||
@@ -254,7 +254,7 @@ int main(int argc, char **argv)
|
||||
if (!dev.isReachable()) {
|
||||
// Device doesn't exist, go into discovery mode and wait up to 30 seconds for the device to appear
|
||||
QEventLoop wait;
|
||||
QTextStream(stderr) << i18n("waiting for device...") << Qt::endl;
|
||||
QTextStream(stderr) << i18n("waiting for device…") << Qt::endl;
|
||||
|
||||
QObject::connect(&iface, &DaemonDbusInterface::deviceAdded, &iface, [&](const QString &deviceAddedId) {
|
||||
if (device == deviceAddedId) {
|
||||
|
||||
@@ -72,7 +72,7 @@ int main(int argc, char *argv[])
|
||||
QStringLiteral(KDECONNECT_VERSION_STRING),
|
||||
i18n("KDE Connect Daemon"),
|
||||
KAboutLicense::GPL,
|
||||
i18n("(c) 2015-2025, KDE Connect Team"));
|
||||
i18n("© 2015–2025 KDE Connect Team"));
|
||||
KAboutData::setApplicationData(aboutData);
|
||||
app.setQuitOnLastWindowClosed(false);
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ DeviceIndicator::DeviceIndicator(DeviceDbusInterface *device)
|
||||
// SMS Messages
|
||||
const QString kdeconnectsmsExecutable = QStandardPaths::findExecutable(QStringLiteral("kdeconnect-sms"), {QCoreApplication::applicationDirPath()});
|
||||
if (!kdeconnectsmsExecutable.isEmpty()) {
|
||||
auto smsapp = addAction(QIcon::fromTheme(QStringLiteral("message-new")), i18n("SMS Messages..."));
|
||||
auto smsapp = addAction(QIcon::fromTheme(QStringLiteral("message-new")), i18n("SMS Messages…"));
|
||||
QObject::connect(smsapp, &QAction::triggered, device, [device, kdeconnectsmsExecutable]() {
|
||||
QProcess::startDetached(kdeconnectsmsExecutable, {QStringLiteral("--device"), device->id()});
|
||||
});
|
||||
|
||||
@@ -58,7 +58,7 @@ int main(int argc, char **argv)
|
||||
QStringLiteral(KDECONNECT_VERSION_STRING),
|
||||
i18n("KDE Connect Indicator tool"),
|
||||
KAboutLicense::GPL,
|
||||
i18n("(c) 2016-2025, KDE Connect Team"));
|
||||
i18n("© 2016–2025 KDE Connect Team"));
|
||||
aboutData.addAuthor(i18n("Aleix Pol Gonzalez"), {}, QStringLiteral("aleixpol@kde.org"));
|
||||
aboutData.addAuthor(i18n("Albert Vaca Cintora"), {}, QStringLiteral("albertvaka@kde.org"));
|
||||
aboutData.setProgramLogo(QIcon::fromTheme(QStringLiteral("kdeconnect")));
|
||||
@@ -106,7 +106,7 @@ int main(int argc, char **argv)
|
||||
QProcess::startDetached(appPath);
|
||||
});
|
||||
#endif
|
||||
auto configure = menu->addAction(QIcon::fromTheme(QStringLiteral("configure")), i18n("Configure..."));
|
||||
auto configure = menu->addAction(QIcon::fromTheme(QStringLiteral("configure")), i18n("Configure…"));
|
||||
QObject::connect(configure, &QAction::triggered, configure, [&dialog]() {
|
||||
if (dialog == nullptr) {
|
||||
dialog = new KCMultiDialog;
|
||||
|
||||
@@ -72,7 +72,7 @@ KioKdeconnect::KioKdeconnect(const QByteArray &pool, const QByteArray &app)
|
||||
|
||||
KIO::WorkerResult KioKdeconnect::listAllDevices()
|
||||
{
|
||||
infoMessage(i18n("Listing devices..."));
|
||||
infoMessage(i18n("Listing devices…"));
|
||||
|
||||
// TODO: Change to all devices and show different icons for connected and disconnected?
|
||||
const QStringList devices = m_dbusInterface->devices(true, true);
|
||||
@@ -117,7 +117,7 @@ KIO::WorkerResult KioKdeconnect::listAllDevices()
|
||||
|
||||
KIO::WorkerResult KioKdeconnect::listDevice(const QString &device)
|
||||
{
|
||||
infoMessage(i18n("Accessing device..."));
|
||||
infoMessage(i18n("Accessing device…"));
|
||||
|
||||
qCDebug(KDECONNECT_KIO) << "ListDevice" << device;
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ void Notification::createKNotification(const NetworkPacket &np)
|
||||
|
||||
if (!m_requestReplyId.isEmpty()) {
|
||||
auto replyAction = std::make_unique<KNotificationReplyAction>(i18nc("@action:button", "Reply"));
|
||||
replyAction->setPlaceholderText(i18nc("@info:placeholder", "Reply to %1...", m_appName));
|
||||
replyAction->setPlaceholderText(i18nc("@info:placeholder", "Reply to %1…", m_appName));
|
||||
replyAction->setFallbackBehavior(KNotificationReplyAction::FallbackBehavior::UseRegularAction);
|
||||
QObject::connect(replyAction.get(), &KNotificationReplyAction::replied, this, &Notification::replied);
|
||||
QObject::connect(replyAction.get(), &KNotificationReplyAction::activated, this, &Notification::reply);
|
||||
|
||||
@@ -28,7 +28,7 @@ int main(int argc, char **argv)
|
||||
QStringLiteral(KDECONNECT_VERSION_STRING),
|
||||
i18n("KDE Connect Settings"),
|
||||
KAboutLicense::GPL,
|
||||
i18n("(c) 2018-2025, KDE Connect Team"));
|
||||
i18n("© 2018–2025 KDE Connect Team"));
|
||||
aboutData.addAuthor(i18n("Nicolas Fella"), {}, QStringLiteral("nicolas.fella@gmx.de"));
|
||||
KAboutData::setApplicationData(aboutData);
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ int main(int argc, char *argv[])
|
||||
QStringLiteral(KDECONNECT_VERSION_STRING),
|
||||
i18n("SMS Instant Messaging"),
|
||||
KAboutLicense::GPL,
|
||||
i18n("(C) 2018-2025, KDE Connect Team"));
|
||||
i18n("© 2018–2025 KDE Connect Team"));
|
||||
aboutData.addAuthor(i18n("Simon Redman"), {}, QStringLiteral("simon@ergotech.com"));
|
||||
aboutData.addAuthor(i18n("Aleix Pol Gonzalez"), {}, QStringLiteral("aleixpol@kde.org"));
|
||||
aboutData.addAuthor(i18n("Nicolas Fella"), {}, QStringLiteral("nicolas.fella@gmx.de"));
|
||||
|
||||
@@ -47,7 +47,7 @@ int main(int argc, char **argv)
|
||||
QStringLiteral(KDECONNECT_VERSION_STRING),
|
||||
description,
|
||||
KAboutLicense::GPL,
|
||||
i18n("(c) 2015-2025, KDE Connect Team"));
|
||||
i18n("© 2015–2025 KDE Connect Team"));
|
||||
aboutData.addAuthor(i18n("Aleix Pol Gonzalez"), {}, QStringLiteral("aleixpol@kde.org"));
|
||||
aboutData.addAuthor(i18n("Albert Vaca Cintora"), {}, QStringLiteral("albertvaka@gmail.org"));
|
||||
aboutData.setProgramLogo(QIcon::fromTheme(QStringLiteral("kdeconnect")));
|
||||
|
||||
Reference in New Issue
Block a user