diff options
| author | physcik <mynameisgennadiy@vk.com> | 2026-04-11 17:12:18 +0500 |
|---|---|---|
| committer | physcik <mynameisgennadiy@vk.com> | 2026-04-11 17:12:18 +0500 |
| commit | ebbadf94dd4b23b9ceabd402ed0886c4cd8c6062 (patch) | |
| tree | 5ecb0a950bc4ccd39a1c002a37c042950a8f91be /front/src/Emelents/Topbar.tsx | |
| parent | 5d2c8369389013895264caf16e71d44bddabb22c (diff) | |
Localization persistance
Diffstat (limited to 'front/src/Emelents/Topbar.tsx')
| -rw-r--r-- | front/src/Emelents/Topbar.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
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> ); |
