summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-05-10 01:38:40 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-05-10 01:38:40 +0200
commit000ab4853a4b83408af42d59ed753ae76aa26e80 (patch)
tree0bb4a55efddf6267521b54c65f5c6437a682f90e /src
parentRemove shadowing loginMethod (diff)
downloadnheko-000ab4853a4b83408af42d59ed753ae76aa26e80.tar.xz
Translation updates
Diffstat (limited to 'src')
-rw-r--r--src/Cache.cpp2
-rw-r--r--src/ChatPage.cpp4
-rw-r--r--src/RegisterPage.cpp2
-rw-r--r--src/SSOHandler.cpp1
-rw-r--r--src/timeline/TimelineModel.cpp2
5 files changed, 5 insertions, 6 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp

index 8cfc4b55..3a388bb9 100644 --- a/src/Cache.cpp +++ b/src/Cache.cpp
@@ -1338,7 +1338,7 @@ Cache::getLastMessageInfo(lmdb::txn &txn, const std::string &room_id) auto time = QDateTime::fromMSecsSinceEpoch(ts); fallbackDesc = DescInfo{QString::fromStdString(obj["event"]["event_id"]), local_user, - tr("You joined this room"), + tr("You joined this room."), utils::descriptiveTime(time), ts, time}; diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp
index 7c4aac77..4043fdf5 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp
@@ -660,7 +660,7 @@ ChatPage::bootstrap(QString userid, QString homeserver, QString token) "This can have different reasons. Please open an " "issue and try to use an older version in the mean " "time. Alternatively you can try deleting the cache " - "manually")); + "manually.")); QCoreApplication::quit(); } loadStateFromCache(); @@ -1084,7 +1084,7 @@ ChatPage::createRoom(const mtx::requests::CreateRoom &req) } emit showNotification( - tr("Room %1 created").arg(QString::fromStdString(res.room_id.to_string()))); + tr("Room %1 created.").arg(QString::fromStdString(res.room_id.to_string()))); }); } diff --git a/src/RegisterPage.cpp b/src/RegisterPage.cpp
index a01f2140..03e9ab34 100644 --- a/src/RegisterPage.cpp +++ b/src/RegisterPage.cpp
@@ -94,7 +94,7 @@ RegisterPage::RegisterPage(QWidget *parent) password_input_->setLabel(tr("Password")); password_input_->setEchoMode(QLineEdit::Password); password_input_->setToolTip(tr("Please choose a secure password. The exact requirements " - "for password strength may depend on your server")); + "for password strength may depend on your server.")); password_confirmation_ = new TextField(); password_confirmation_->setLabel(tr("Password confirmation")); diff --git a/src/SSOHandler.cpp b/src/SSOHandler.cpp
index 0ee2fc17..cacbbaa9 100644 --- a/src/SSOHandler.cpp +++ b/src/SSOHandler.cpp
@@ -30,7 +30,6 @@ SSOHandler::SSOHandler(QObject *) std::thread t([this]() { this->port = svr.bind_to_any_port("localhost"); svr.listen_after_bind(); - }); t.detach(); diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp
index 388a5842..99656d19 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp
@@ -566,7 +566,7 @@ TimelineModel::updateLastMessage() room_id_, DescInfo{QString::fromStdString(mtx::accessors::event_id(event)), QString::fromStdString(http::client()->user_id().to_string()), - tr("You joined this room"), + tr("You joined this room."), utils::descriptiveTime(time), ts, time});