diff --git a/src/gui/DetailsWidget.cpp b/src/gui/DetailsWidget.cpp
index 1ec891a6..51448a97 100644
--- a/src/gui/DetailsWidget.cpp
+++ b/src/gui/DetailsWidget.cpp
@@ -152,7 +152,7 @@ void DetailsWidget::getSelectedEntry(Entry* selectedEntry)
for (const QString& key : customAttributes) {
QString value = m_currentEntry->attributes()->value(key);
if (m_currentEntry->attributes()->isProtected(key)) {
- value = "[PROTECTED]";
+ value = "" + tr("[PROTECTED]") + "";
}
attributesText.append(QString("%1: %2
").arg(key, value));
}
@@ -161,7 +161,7 @@ void DetailsWidget::getSelectedEntry(Entry* selectedEntry)
m_ui->autotypeTree->clear();
AutoTypeAssociations* autotypeAssociations = m_currentEntry->autoTypeAssociations();
- QList items;
+ QList items;
for (auto assoc : autotypeAssociations->getAll()) {
QStringList association = QStringList() << assoc.window << assoc.sequence;
if (association.at(1).isEmpty()) {
@@ -273,7 +273,7 @@ QString DetailsWidget::shortUrl(QString url)
QString newurl = "";
if (url.length() > 60) {
newurl.append(url.left(20));
- newurl.append("...");
+ newurl.append("…");
newurl.append(url.right(20));
return newurl;
}
@@ -285,7 +285,7 @@ QString DetailsWidget::shortPassword(QString password)
QString newpassword = "";
if (password.length() > 60) {
newpassword.append(password.left(50));
- newpassword.append("...");
+ newpassword.append("…");
return newpassword;
}
return password;
diff --git a/src/gui/entry/EditEntryWidget.cpp b/src/gui/entry/EditEntryWidget.cpp
index 463096b3..2d17c345 100644
--- a/src/gui/entry/EditEntryWidget.cpp
+++ b/src/gui/entry/EditEntryWidget.cpp
@@ -632,7 +632,7 @@ void EditEntryWidget::displayAttribute(QModelIndex index, bool showProtected)
if (index.isValid()) {
QString key = m_attributesModel->keyByIndex(index);
if (showProtected) {
- m_advancedUi->attributesEdit->setPlainText(tr("[PROTECTED] Press reveal to view or edit"));
+ m_advancedUi->attributesEdit->setPlainText(tr("[PROTECTED]") + " " + tr("Press reveal to view or edit"));
m_advancedUi->attributesEdit->setEnabled(false);
m_advancedUi->revealAttributeButton->setEnabled(true);
m_advancedUi->protectAttributeButton->setChecked(true);