mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 18:26:20 +01:00
Merge branch 'dev' into brian/session-fix
This commit is contained in:
commit
af7c6f73b0
@ -104,14 +104,14 @@
|
||||
"metrics.page-views": "Wyświetlenia strony",
|
||||
"metrics.pages": "Strony",
|
||||
"metrics.referrers": "Źródła odsyłające",
|
||||
"metrics.screens": "Screens",
|
||||
"metrics.screens": "Ekrany",
|
||||
"metrics.unique-visitors": "Unikalni odwiedzający",
|
||||
"metrics.utm": "UTM",
|
||||
"metrics.utm_campaign": "UTM Campaign",
|
||||
"metrics.utm_content": "UTM Content",
|
||||
"metrics.utm_medium": "UTM Medium",
|
||||
"metrics.utm_source": "UTM Source",
|
||||
"metrics.utm_term": "UTM Term",
|
||||
"metrics.utm": "Kampanie UTM",
|
||||
"metrics.utm_campaign": "Kampania",
|
||||
"metrics.utm_content": "Treść",
|
||||
"metrics.utm_medium": "Medium",
|
||||
"metrics.utm_source": "Źródło",
|
||||
"metrics.utm_term": "Słowa kluczowe",
|
||||
"metrics.views": "Wyświetlenia",
|
||||
"metrics.visitors": "Odwiedzający"
|
||||
}
|
||||
|
@ -106,12 +106,12 @@
|
||||
"metrics.referrers": "来源域名",
|
||||
"metrics.screens": "屏幕尺寸",
|
||||
"metrics.unique-visitors": "独立访客",
|
||||
"metrics.utm": "UTM",
|
||||
"metrics.utm_campaign": "UTM Campaign",
|
||||
"metrics.utm_content": "UTM Content",
|
||||
"metrics.utm_medium": "UTM Medium",
|
||||
"metrics.utm_source": "UTM Source",
|
||||
"metrics.utm_term": "UTM Term",
|
||||
"metrics.utm": "流量渠道标记(UTM)",
|
||||
"metrics.utm_campaign": "流量标识",
|
||||
"metrics.utm_content": "搜索关键字",
|
||||
"metrics.utm_medium": "流量来源类型",
|
||||
"metrics.utm_source": "流量来源",
|
||||
"metrics.utm_term": "流量搜索关键字",
|
||||
"metrics.views": "浏览量",
|
||||
"metrics.visitors": "访客"
|
||||
}
|
||||
|
@ -37,9 +37,7 @@ export async function getSession(req) {
|
||||
|
||||
let session = await getSessionByUuid(session_uuid);
|
||||
|
||||
if (Array.isArray(session)) {
|
||||
session = session.length !== 0 ? session[0] : null;
|
||||
}
|
||||
session = Array.isArray(session) && session[0] ? session[0] : session;
|
||||
|
||||
if (!session) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user