summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-10-04 01:19:47 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-10-04 01:19:47 +0200
commit005a4978bfede0ee568b348b5b88f323f9ae6a09 (patch)
tree2075e1f92810aee37259fa3a8fcda03923441c0d /src
parentSwap thread and edit button (diff)
downloadnheko-005a4978bfede0ee568b348b5b88f323f9ae6a09.tar.xz
Update translations
Diffstat (limited to 'src')
-rw-r--r--src/LoginPage.cpp3
-rw-r--r--src/RegisterPage.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/LoginPage.cpp b/src/LoginPage.cpp
index 84118337..b288066b 100644
--- a/src/LoginPage.cpp
+++ b/src/LoginPage.cpp
@@ -180,12 +180,13 @@ LoginPage::checkHomeserverVersion()
                     "v1.1",
                     "v1.2",
                     "v1.3",
+                    "v1.4",
                   };
                   return supported.count(v) != 0;
               }) == versions.versions.cend()) {
             emit versionErrorCb(
               tr("The selected server does not support a version of the Matrix protocol, that this "
-                 "client understands (v1.1, v1.2 or v1.3). You can't sign in."));
+                 "client understands (v1.1 to v1.4). You can't sign in."));
             return;
         }
 
diff --git a/src/RegisterPage.cpp b/src/RegisterPage.cpp
index 51a68265..2285ac29 100644
--- a/src/RegisterPage.cpp
+++ b/src/RegisterPage.cpp
@@ -132,12 +132,13 @@ RegisterPage::versionsCheck()
                       "v1.1",
                       "v1.2",
                       "v1.3",
+                      "v1.4",
                     };
                     return supported.count(v) != 0;
                 }) == versions.versions.cend()) {
               emit setHsError(
                 tr("The selected server does not support a version of the Matrix protocol that "
-                   "this client understands (v1.1, v1.2 or v1.3). You can't register."));
+                   "this client understands (v1.1 to v1.4). You can't register."));
               emit hsErrorChanged();
               return;
           }