From 33b9b0e27af025bf6c53abf187851c568fb73de1 Mon Sep 17 00:00:00 2001 From: Alexander Bakiev Date: Thu, 30 Nov 2023 02:02:39 +0100 Subject: [PATCH] Update default title from Russian to English MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default title and placeholder text in the application have been changed from 'Git статистика' to 'Git Statistics'. This change was made in the getTitle function and in the Settings component. --- src/ts/helpers/Title.ts | 2 +- src/ts/pages/Settings/components/Common.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ts/helpers/Title.ts b/src/ts/helpers/Title.ts index 82b5a50..f083b8b 100644 --- a/src/ts/helpers/Title.ts +++ b/src/ts/helpers/Title.ts @@ -45,7 +45,7 @@ function getFormattedType(dataGrip: any): string { export default function getTitle(dataGrip: any, commits: any) { if (!commits.length) { - return 'Git статистика'; + return 'Git Statistics'; } const type = getFormattedType(dataGrip) || ''; diff --git a/src/ts/pages/Settings/components/Common.tsx b/src/ts/pages/Settings/components/Common.tsx index 1e4d5aa..192cb5f 100644 --- a/src/ts/pages/Settings/components/Common.tsx +++ b/src/ts/pages/Settings/components/Common.tsx @@ -19,10 +19,10 @@ const Common = observer((): React.ReactElement | null => { { setTitle(value); - document.title = value || 'Git статистика'; + document.title = value || 'Git Statistics'; applicationHasCustom.title = true; }} />