aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-01-22 17:23:55 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-01-22 18:20:03 -0800
commitb15b3c195c73db1d181413a97783173649485f9d (patch)
tree99bf37a6c3cd82386e73070c984b13d9dc9b9f61 /mobile-widgets/qmlmanager.cpp
parent0196d9a220e4bdd989539f55b4d5736d189410d4 (diff)
downloadsubsurface-b15b3c195c73db1d181413a97783173649485f9d.tar.gz
QML UI: allow magic phrase for multiple buddies to be localized
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qmlmanager.cpp')
-rw-r--r--mobile-widgets/qmlmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp
index 1b9aebe10..84d3e0add 100644
--- a/mobile-widgets/qmlmanager.cpp
+++ b/mobile-widgets/qmlmanager.cpp
@@ -870,7 +870,7 @@ void QMLManager::commitChanges(QString diveId, QString date, QString location, Q
}
if (myDive->buddy() != buddy) {
if (myDive->buddy().contains(",")) {
- if (!buddy.contains("Multiple Buddies")) {
+ if (!buddy.contains(tr("Multiple Buddies"))) {
diveChanged = true;
free(d->buddy);
d->buddy = strdup(qPrintable(buddy));