Update default title from Russian to English

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.
This commit is contained in:
Alexander Bakiev 2023-11-30 02:02:39 +01:00
parent feea68e057
commit 33b9b0e27a
2 changed files with 3 additions and 3 deletions

View file

@ -45,7 +45,7 @@ function getFormattedType(dataGrip: any): string {
export default function getTitle(dataGrip: any, commits: any) { export default function getTitle(dataGrip: any, commits: any) {
if (!commits.length) { if (!commits.length) {
return 'Git статистика'; return 'Git Statistics';
} }
const type = getFormattedType(dataGrip) || ''; const type = getFormattedType(dataGrip) || '';

View file

@ -19,10 +19,10 @@ const Common = observer((): React.ReactElement | null => {
<InputString <InputString
title="page.settings.document.name" title="page.settings.document.name"
value={title} value={title}
placeholder="Git статистика" placeholder="Git Statistics"
onChange={(value: string) => { onChange={(value: string) => {
setTitle(value); setTitle(value);
document.title = value || 'Git статистика'; document.title = value || 'Git Statistics';
applicationHasCustom.title = true; applicationHasCustom.title = true;
}} }}
/> />