Skip to content

Commit

Permalink
Merge pull request umami-software#2914 from quiple/string
Browse files Browse the repository at this point in the history
Fix some strings
  • Loading branch information
mikecao authored Aug 27, 2024
2 parents 5d37810 + a92fa26 commit bcb05f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/(main)/websites/[websiteId]/realtime/RealtimeLog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Empty from 'components/common/Empty';
import FilterButtons from 'components/common/FilterButtons';
import { useCountryNames, useLocale, useMessages, useTimezone } from 'components/hooks';
import Icons from 'components/icons';
import { BROWSERS } from 'lib/constants';
import { BROWSERS, OS_NAMES } from 'lib/constants';
import { stringToColor } from 'lib/format';
import { RealtimeData } from 'lib/types';
import { safeDecodeURI } from 'next-basics';
Expand Down Expand Up @@ -111,7 +111,7 @@ export function RealtimeLog({ data }: { data: RealtimeData }) {
values={{
country: <b>{countryNames[country] || formatMessage(labels.unknown)}</b>,
browser: <b>{BROWSERS[browser]}</b>,
os: <b>{os}</b>,
os: <b>{OS_NAMES[os] || os}</b>,
device: <b>{formatMessage(labels[device] || labels.unknown)}</b>,
}}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export const BROWSERS = {
instagram: 'Instagram',
ios: 'iOS',
'ios-webview': 'iOS (webview)',
kakaotalk: 'KaKaoTalk',
kakaotalk: 'KakaoTalk',
miui: 'MIUI',
opera: 'Opera',
'opera-mini': 'Opera Mini',
Expand Down

0 comments on commit bcb05f6

Please sign in to comment.