From ebbadf94dd4b23b9ceabd402ed0886c4cd8c6062 Mon Sep 17 00:00:00 2001
From: physcik <mynameisgennadiy@vk.com>
Date: Sat, 11 Apr 2026 17:12:18 +0500
Subject: Localization persistance

---
 front/src/Emelents/Topbar.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'front/src/Emelents/Topbar.tsx')

diff --git a/front/src/Emelents/Topbar.tsx b/front/src/Emelents/Topbar.tsx
index 667b42f..73e0e38 100644
--- a/front/src/Emelents/Topbar.tsx
+++ b/front/src/Emelents/Topbar.tsx
@@ -1,6 +1,6 @@
 import { useContext } from "react";
 import { LanguageContext } from "../Locales/Context";
-import { GetString } from "../Locales/Locales";
+import { GetLocalizedString } from "../Locales/Locales";
 
 const defaultPathName = 'index';
 
@@ -12,7 +12,7 @@ function Topbar() {
         <div className="Topbar">
             <h1> View from the edge </h1>
             <div className="TopbarContents">
-                <h2> {GetString(path, language)} </h2>
+                <h2> {GetLocalizedString(path, language)} </h2>
             </div>
         </div>
     );
-- 
cgit v1.3

