mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
🐛 Use session lanugage instead of locale for crowdin live-translate
This commit is contained in:
@@ -101,7 +101,7 @@ function App(
|
||||
return (
|
||||
<>
|
||||
<CommonHead />
|
||||
{pageProps.locale === 'cr' && (
|
||||
{pageProps.session.user.language === 'cr' && (
|
||||
<>
|
||||
<Script type="text/javascript" src="//cdn.crowdin.com/jipt/jipt.js" />
|
||||
<Script type="text/javascript">var _jipt = []; _jipt.push(['project', 'homarr']);</Script>
|
||||
|
||||
Reference in New Issue
Block a user