From 9448936e3204494408832f447516f73e142aa395 Mon Sep 17 00:00:00 2001 From: moritzdietz Date: Sat, 31 Jul 2021 16:22:54 +0200 Subject: [PATCH] Fix typos and wording --- README.md | 2 +- package.json | 2 +- public/index.html | 4 ++-- src/app/organisms/welcome/Welcome.jsx | 2 +- src/app/templates/auth/Auth.jsx | 8 ++++---- webpack.common.js | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index b3cc043..efba31a 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,4 @@ ## About -Cinny is a [matrix](https://matrix.org) client focusing primarily on simple, elegant and secure interface. +Cinny is a [Matrix](https://matrix.org) client focusing primarily on a simple, elegant and secure interface. diff --git a/package.json b/package.json index 286ed47..8a12f35 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "cinny", "version": "1.0.0", - "description": "Organized and powerful matrix client.", + "description": "Organized and powerful Matrix client.", "main": "index.js", "engines": { "npm": ">=6.14.11", diff --git a/public/index.html b/public/index.html index 280e6dc..85c015e 100644 --- a/public/index.html +++ b/public/index.html @@ -7,13 +7,13 @@ Cinny - + - + diff --git a/src/app/organisms/welcome/Welcome.jsx b/src/app/organisms/welcome/Welcome.jsx index 9d9eb7d..3b852b9 100644 --- a/src/app/organisms/welcome/Welcome.jsx +++ b/src/app/organisms/welcome/Welcome.jsx @@ -11,7 +11,7 @@ function Welcome() {
Cinny logo Welcome to Cinny - Yet another matrix client + Yet another Matrix client
); diff --git a/src/app/templates/auth/Auth.jsx b/src/app/templates/auth/Auth.jsx index 6392fb3..4f1d393 100644 --- a/src/app/templates/auth/Auth.jsx +++ b/src/app/templates/auth/Auth.jsx @@ -22,8 +22,8 @@ const USER_ID_TOO_LONG_ERROR = 'Your user ID, including the hostname, can\'t be const PASSWORD_REGEX = /.+/; const PASSWORD_STRENGHT_REGEX = /^(?=.*\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[^\w\d\s:])([^\s]){8,127}$/; -const BAD_PASSWORD_ERROR = 'Password must contain 1 number, 1 uppercase letters, 1 lowercase letters, 1 non-alpha numeric number, 8-127 characters with no space.'; -const CONFIRM_PASSWORD_ERROR = 'Password don\'t match.'; +const BAD_PASSWORD_ERROR = 'Password must contain at least 1 number, 1 uppercase letter, 1 lowercase letter, 1 non-alphanumeric character. Passwords can range from 8-127 characters with no whitespaces.'; +const CONFIRM_PASSWORD_ERROR = 'Passwords don\'t match.'; const EMAIL_REGEX = /([a-z0-9]+[_a-z0-9.-][a-z0-9]+)@([a-z0-9-]+(?:.[a-z0-9-]+).[a-z]{2,4})/; const BAD_EMAIL_ERROR = 'Invalid email address'; @@ -278,7 +278,7 @@ function StaticWrapper({ children }) { Cinny logo
Cinny - Yet another matrix client. + Yet another Matrix client.
{ children } @@ -329,7 +329,7 @@ function Terms({ url, onSubmit }) {
Agree with terms
- In order to complete registration, you need to agree with terms and conditions. + In order to complete registration, you need to agree to the terms and conditions.
diff --git a/webpack.common.js b/webpack.common.js index b1bcbbc..82305fe 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -55,7 +55,7 @@ module.exports = { devMode: 'light', favicons: { appName: 'Cinny', - appDescription: 'A matrix client', + appDescription: 'A Matrix client', developerName: 'ajbura, 1997kB', developerURL: null, icons: {