From 54d0d3ad9790d53cfa0dc8d8afbff9f0b71a2d6f Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Thu, 6 Apr 2023 08:19:46 +0200 Subject: [PATCH] Client: Update client name in beta changelog (#2919) --- CHANGELOG.md | 2 -- dev/telegraphChangelog.js | 8 ++++---- .../left/settings/passcode/SettingsPasscodeStart.tsx | 4 ++-- src/components/payment/PaymentModal.tsx | 2 +- src/config.ts | 2 +- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 366189d08..962b67c47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -400,8 +400,6 @@ console.log('Hello world!'); * Service notifications containing media are now rendered properly. * Read receipts now appear in groups with exactly 100 members. -🦄 **We also welcome** you to join our official channels in **[English](https://t.me/webztalks)** and **[Russian](https://t.me/webzchannelru)** — where we post app updates and share our experiences building one of the world’s most feature-rich web applications. - ## 1.41.0 (2022-04-08) ### 👏 **Harder** diff --git a/dev/telegraphChangelog.js b/dev/telegraphChangelog.js index c04f3bfc5..83d81bbb6 100644 --- a/dev/telegraphChangelog.js +++ b/dev/telegraphChangelog.js @@ -21,7 +21,7 @@ const pageTemplate = `

Commits since ${version}

\

This list is automatically updated when a new commit pushed to the beta repo

\ \ - \ + \ \ `.trim(); @@ -41,9 +41,9 @@ updateChangelog(); async function updateTelegraph(dom) { const api = new Telegraph(); const content = domToNode(dom.window.document.body).children; - const result = await api.editPage(AUTH_TOKEN, 'WebA-Beta-03-20', 'Telegram WebA Beta Changelog', content, { - author_name: 'WebA team', - author_url: 'https://t.me/webztalks', + const result = await api.editPage(AUTH_TOKEN, 'WebA-Beta-03-20', 'Telegram Web A Beta Changelog', content, { + author_name: 'Web A team', + author_url: 'https://t.me/webachannel', }); // eslint-disable-next-line no-console console.log(result); diff --git a/src/components/left/settings/passcode/SettingsPasscodeStart.tsx b/src/components/left/settings/passcode/SettingsPasscodeStart.tsx index 7ad998bd1..137ae2c32 100644 --- a/src/components/left/settings/passcode/SettingsPasscodeStart.tsx +++ b/src/components/left/settings/passcode/SettingsPasscodeStart.tsx @@ -36,10 +36,10 @@ const SettingsPasscodeStart: FC = ({

When you set up an additional passcode, a lock icon will appear on the chats page. - Tap it to lock and unlock your Telegram WebA. + Tap it to lock and unlock your Telegram Web A.

- Note: if you forget your local passcode, you'll need to log out of Telegram WebA and log in again. + Note: if you forget your local passcode, you'll need to log out of Telegram Web A and log in again.

diff --git a/src/components/payment/PaymentModal.tsx b/src/components/payment/PaymentModal.tsx index 62f99aaf1..429ad2ef4 100644 --- a/src/components/payment/PaymentModal.tsx +++ b/src/components/payment/PaymentModal.tsx @@ -517,7 +517,7 @@ const PaymentModal: FC = ({ onCloseAnimationEnd={handleModalClose} >

- Sorry, Telegram WebA doesn't support payments with this provider yet.
+ Sorry, Telegram Web A doesn't support payments with this provider yet.
Please use one of our mobile apps to do this.

diff --git a/src/config.ts b/src/config.ts index 51aaf924c..b7ed4e6f5 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,6 +1,6 @@ import type { ApiLimitType } from './global/types'; -export const APP_NAME = process.env.APP_NAME || 'Telegram WebA'; +export const APP_NAME = process.env.APP_NAME || 'Telegram Web A'; export const APP_VERSION = process.env.APP_VERSION!; export const RELEASE_DATETIME = process.env.RELEASE_DATETIME;