From 98a4bb8ccefe3cfe5a6cea6c74d938d5c1472675 Mon Sep 17 00:00:00 2001 From: castillo92 <37965565+castillo92@users.noreply.github.com> Date: Wed, 14 Apr 2021 09:24:35 +0200 Subject: [PATCH] Update sharedialog.cpp The original sentence uses the word "share" three times and is too redundant when translated into other languages --- src/gui/sharedialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp index a0a66d4982..3f7fd2e255 100644 --- a/src/gui/sharedialog.cpp +++ b/src/gui/sharedialog.cpp @@ -140,7 +140,7 @@ ShareDialog::ShareDialog(QPointer accountState, qCWarning(lcSharing) << "Link shares have been disabled"; sharingPossible = false; } else if (!(maxSharingPermissions & SharePermissionShare)) { - qCWarning(lcSharing) << "The file cannot be shared because it was shared without sharing permission."; + qCWarning(lcSharing) << "The file cannot be shared because it does not have sharing permission."; sharingPossible = false; } @@ -290,7 +290,7 @@ void ShareDialog::showSharingUi() if (!canReshare) { auto label = new QLabel(this); - label->setText(tr("The file cannot be shared because it was shared without sharing permission.")); + label->setText(tr("The file cannot be shared because it does not have sharing permission.")); label->setWordWrap(true); _ui->verticalLayout->insertWidget(1, label); return;