2022-02-22 22:31:37 +01:00
|
|
|
import { defineMessages } from 'react-intl';
|
2020-09-16 05:34:30 +02:00
|
|
|
|
|
|
|
export const labels = defineMessages({
|
|
|
|
unknown: { id: 'label.unknown', defaultMessage: 'Unknown' },
|
2023-01-24 00:32:35 +01:00
|
|
|
required: { id: 'label.required', defaultMessage: 'Required' },
|
|
|
|
save: { id: 'label.save', defaultMessage: 'Save' },
|
|
|
|
cancel: { id: 'label.cancel', defaultMessage: 'Cancel' },
|
2023-01-25 16:42:46 +01:00
|
|
|
continue: { id: 'label.continue', defaultMessage: 'Continue' },
|
|
|
|
delete: { id: 'label.delete', defaultMessage: 'Delete' },
|
2023-03-30 01:02:14 +02:00
|
|
|
leave: { id: 'label.leave', defaultMessage: 'Leave' },
|
2023-01-25 16:42:46 +01:00
|
|
|
users: { id: 'label.users', defaultMessage: 'Users' },
|
|
|
|
createUser: { id: 'label.create-user', defaultMessage: 'Create user' },
|
|
|
|
username: { id: 'label.username', defaultMessage: 'Username' },
|
|
|
|
password: { id: 'label.password', defaultMessage: 'Password' },
|
|
|
|
role: { id: 'label.role', defaultMessage: 'Role' },
|
|
|
|
user: { id: 'label.user', defaultMessage: 'User' },
|
|
|
|
admin: { id: 'label.admin', defaultMessage: 'Admin' },
|
|
|
|
confirm: { id: 'label.confirm', defaultMessage: 'Confirm' },
|
|
|
|
details: { id: 'label.details', defaultMessage: 'Details' },
|
|
|
|
websites: { id: 'label.websites', defaultMessage: 'Websites' },
|
|
|
|
created: { id: 'label.created', defaultMessage: 'Created' },
|
|
|
|
edit: { id: 'label.edit', defaultMessage: 'Edit' },
|
|
|
|
name: { id: 'label.name', defaultMessage: 'Name' },
|
|
|
|
members: { id: 'label.members', defaultMessage: 'Members' },
|
|
|
|
accessCode: { id: 'label.access-code', defaultMessage: 'Access code' },
|
|
|
|
teamId: { id: 'label.team-id', defaultMessage: 'Team ID' },
|
|
|
|
team: { id: 'label.team', defaultMessage: 'Team' },
|
|
|
|
regenerate: { id: 'label.regenerate', defaultMessage: 'Regenerate' },
|
|
|
|
remove: { id: 'label.remove', defaultMessage: 'Remove' },
|
2023-02-02 03:39:54 +01:00
|
|
|
join: { id: 'label.join', defaultMessage: 'Join' },
|
2023-01-25 16:42:46 +01:00
|
|
|
createTeam: { id: 'label.create-team', defaultMessage: 'Create team' },
|
2023-02-02 03:39:54 +01:00
|
|
|
joinTeam: { id: 'label.join-team', defaultMessage: 'Join team' },
|
2023-01-25 16:42:46 +01:00
|
|
|
settings: { id: 'label.settings', defaultMessage: 'Settings' },
|
2023-02-02 03:39:54 +01:00
|
|
|
owner: { id: 'label.owner', defaultMessage: 'Owner' },
|
2023-01-25 16:42:46 +01:00
|
|
|
teamOwner: { id: 'label.team-owner', defaultMessage: 'Team owner' },
|
|
|
|
teamMember: { id: 'label.team-member', defaultMessage: 'Team member' },
|
|
|
|
teamGuest: { id: 'label.team-guest', defaultMessage: 'Team guest' },
|
|
|
|
enableShareUrl: { id: 'label.enable-share-url', defaultMessage: 'Enable share URL' },
|
|
|
|
data: { id: 'label.data', defaultMessage: 'Data' },
|
|
|
|
trackingCode: { id: 'label.tracking-code', defaultMessage: 'Tracking code' },
|
|
|
|
shareUrl: { id: 'label.share-url', defaultMessage: 'Share URL' },
|
|
|
|
actions: { id: 'label.actions', defaultMessage: 'Actions' },
|
|
|
|
view: { id: 'label.view', defaultMessage: 'View' },
|
|
|
|
domain: { id: 'label.domain', defaultMessage: 'Domain' },
|
|
|
|
websiteId: { id: 'label.website-id', defaultMessage: 'Website ID' },
|
|
|
|
resetWebsite: { id: 'label.reset-website', defaultMessage: 'Reset website' },
|
|
|
|
deleteWebsite: { id: 'label.delete-website', defaultMessage: 'Delete website' },
|
|
|
|
reset: { id: 'label.reset', defaultMessage: 'Reset' },
|
|
|
|
addWebsite: { id: 'label.add-website', defaultMessage: 'Add website' },
|
2023-03-09 21:42:12 +01:00
|
|
|
addWebsites: { id: 'label.add-websites', defaultMessage: 'Add websites' },
|
2023-01-25 16:42:46 +01:00
|
|
|
changePassword: { id: 'label.change-password', defaultMessage: 'Change password' },
|
|
|
|
currentPassword: { id: 'label.current-password', defaultMessage: 'Current password' },
|
|
|
|
newPassword: { id: 'label.new-password', defaultMessage: 'New password' },
|
|
|
|
confirmPassword: { id: 'label.confirm-password', defaultMessage: 'Confirm password' },
|
|
|
|
timezone: { id: 'label.timezone', defaultMessage: 'Timezone' },
|
2023-01-31 06:44:07 +01:00
|
|
|
defaultDateRange: { id: 'label.default-date-range', defaultMessage: 'Default date range' },
|
2023-01-25 16:42:46 +01:00
|
|
|
language: { id: 'label.language', defaultMessage: 'Language' },
|
|
|
|
theme: { id: 'label.theme', defaultMessage: 'Theme' },
|
|
|
|
profile: { id: 'label.profile', defaultMessage: 'Profile' },
|
2023-01-28 06:53:13 +01:00
|
|
|
dashboard: { id: 'label.dashboard', defaultMessage: 'Dashboard' },
|
|
|
|
more: { id: 'label.more', defaultMessage: 'More' },
|
|
|
|
realtime: { id: 'label.realtime', defaultMessage: 'Realtime' },
|
|
|
|
queries: { id: 'label.queries', defaultMessage: 'Queries' },
|
|
|
|
teams: { id: 'label.teams', defaultMessage: 'Teams' },
|
|
|
|
analytics: { id: 'label.analytics', defaultMessage: 'Analytics' },
|
|
|
|
logout: { id: 'label.logout', defaultMessage: 'Logout' },
|
2023-01-31 06:44:07 +01:00
|
|
|
singleDay: { id: 'label.single-day', defaultMessage: 'Single day' },
|
|
|
|
dateRange: { id: 'label.date-range', defaultMessage: 'Date range' },
|
2023-02-02 03:39:54 +01:00
|
|
|
viewDetails: { id: 'label.view-details', defaultMessage: 'View details' },
|
2023-02-02 20:59:38 +01:00
|
|
|
deleteTeam: { id: 'label.delete-team', defaultMessage: 'Delete team' },
|
2023-03-30 01:02:14 +02:00
|
|
|
leaveTeam: { id: 'label.leave-team', defaultMessage: 'Leave team' },
|
2023-02-04 17:59:52 +01:00
|
|
|
refresh: { id: 'label.refresh', defaultMessage: 'Refresh' },
|
|
|
|
pages: { id: 'label.pages', defaultMessage: 'Pages' },
|
|
|
|
referrers: { id: 'label.referrers', defaultMessage: 'Referrers' },
|
|
|
|
screens: { id: 'label.screens', defaultMessage: 'Screens' },
|
|
|
|
browsers: { id: 'label.browsers', defaultMessage: 'Browsers' },
|
|
|
|
os: { id: 'label.operating-systems', defaultMessage: 'Operating systems' },
|
|
|
|
devices: { id: 'label.devices', defaultMessage: 'Devices' },
|
|
|
|
countries: { id: 'label.countries', defaultMessage: 'Countries' },
|
|
|
|
languages: { id: 'label.languages', defaultMessage: 'Languages' },
|
|
|
|
events: { id: 'label.events', defaultMessage: 'Events' },
|
|
|
|
query: { id: 'label.query-parameters', defaultMessage: 'Query parameters' },
|
|
|
|
back: { id: 'label.back', defaultMessage: 'Back' },
|
|
|
|
visitors: { id: 'label.visitors', defaultMessage: 'Visitors' },
|
2023-02-10 12:26:57 +01:00
|
|
|
filterCombined: { id: 'label.filter-combined', defaultMessage: 'Combined' },
|
|
|
|
filterRaw: { id: 'label.filter-raw', defaultMessage: 'Raw' },
|
2023-02-15 02:23:20 +01:00
|
|
|
views: { id: 'label.views', defaultMessage: 'Views' },
|
2023-02-10 12:26:57 +01:00
|
|
|
none: { id: 'label.none', defaultMessage: 'None' },
|
2023-02-12 07:10:14 +01:00
|
|
|
clearAll: { id: 'label.clear-all', defaultMessage: 'Clear all' },
|
2023-02-15 02:23:20 +01:00
|
|
|
today: { id: 'label.today', defaultMessage: 'Today' },
|
|
|
|
lastHours: { id: 'label.last-hours', defaultMessage: 'Last {x} hours' },
|
|
|
|
yesterday: { id: 'label.yesterday', defaultMessage: 'Yesterday' },
|
|
|
|
thisWeek: { id: 'label.this-week', defaultMessage: 'This week' },
|
|
|
|
lastDays: { id: 'label.last-days', defaultMessage: 'Last {x} days' },
|
|
|
|
thisMonth: { id: 'label.this-month', defaultMessage: 'This month' },
|
|
|
|
thisYear: { id: 'label.this-year', defaultMessage: 'This year' },
|
|
|
|
allTime: { id: 'label.all-time', defaultMessage: 'All time' },
|
|
|
|
customRange: { id: 'label.custom-range', defaultMessage: 'Custom-range' },
|
|
|
|
selectWebsite: { id: 'label.select-website', defaultMessage: 'Select website' },
|
|
|
|
all: { id: 'label.all', defaultMessage: 'All' },
|
|
|
|
sessions: { id: 'label.sessions', defaultMessage: 'Sessions' },
|
2023-02-15 11:27:18 +01:00
|
|
|
pageNotFound: { id: 'message.page-not-found', defaultMessage: 'Page not found' },
|
2023-02-23 05:59:59 +01:00
|
|
|
logs: { id: 'label.activity-log', defaultMessage: 'Activity log' },
|
2023-03-02 08:59:01 +01:00
|
|
|
dismiss: { id: 'label.dismiss', defaultMessage: 'Dismiss' },
|
2023-03-04 06:26:39 +01:00
|
|
|
poweredBy: { id: 'label.powered-by', defaultMessage: 'Powered by {name}' },
|
2023-03-09 01:37:43 +01:00
|
|
|
pageViews: { id: 'label.page-views', defaultMessage: 'Page views' },
|
|
|
|
uniqueVisitors: { id: 'label.unique-visitors', defaultMessage: 'Unique visitors' },
|
2023-03-09 05:23:32 +01:00
|
|
|
bounceRate: { id: 'label.bounce-rate', defaultMessage: 'Bounce rate' },
|
|
|
|
averageVisitTime: { id: 'label.average-visit-time', defaultMessage: 'Average visit time' },
|
2023-03-10 00:18:54 +01:00
|
|
|
desktop: { id: 'label.desktop', defaultMessage: 'Desktop' },
|
|
|
|
laptop: { id: 'label.laptop', defaultMessage: 'Laptop' },
|
|
|
|
tablet: { id: 'label.tablet', defaultMessage: 'Tablet' },
|
|
|
|
mobile: { id: 'label.mobile', defaultMessage: 'Mobile' },
|
2023-03-22 22:05:55 +01:00
|
|
|
toggleCharts: { id: 'label.toggle-charts', defaultMessage: 'Toggle charts' },
|
|
|
|
editDashboard: { id: 'label.edit-dashboard', defaultMessage: 'Edit dashboard' },
|
2023-01-24 00:32:35 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
export const messages = defineMessages({
|
|
|
|
error: { id: 'message.error', defaultMessage: 'Something went wrong.' },
|
2023-01-28 06:53:13 +01:00
|
|
|
saved: { id: 'message.saved', defaultMessage: 'Saved.' },
|
2023-01-25 16:42:46 +01:00
|
|
|
noUsers: { id: 'message.no-users', defaultMessage: 'There are no users.' },
|
2023-01-28 06:53:13 +01:00
|
|
|
userDeleted: { id: 'message.user-deleted', defaultMessage: 'User deleted.' },
|
2023-01-25 16:42:46 +01:00
|
|
|
noData: { id: 'message.no-data', defaultMessage: 'No data available.' },
|
|
|
|
deleteUserWarning: {
|
|
|
|
id: 'message.delete-user-warning',
|
2023-01-28 06:53:13 +01:00
|
|
|
defaultMessage: 'Are you sure you want to delete the user {username}?',
|
2023-01-25 16:42:46 +01:00
|
|
|
},
|
2023-03-30 01:02:14 +02:00
|
|
|
leaveTeamWarning: {
|
|
|
|
id: 'message.leave-team-warning',
|
|
|
|
defaultMessage: 'Are you sure you want to leave the team {name}?',
|
|
|
|
},
|
2023-02-04 17:59:52 +01:00
|
|
|
deleteTeamWarning: {
|
|
|
|
id: 'message.delete-team-warning',
|
|
|
|
defaultMessage: 'Are you sure you want to delete the team {name}?',
|
|
|
|
},
|
2023-01-25 16:42:46 +01:00
|
|
|
minPasswordLength: {
|
|
|
|
id: 'message.min-password-length',
|
|
|
|
defaultMessage: 'Minimum length of 8 characters',
|
|
|
|
},
|
|
|
|
noTeams: {
|
|
|
|
id: 'message.no-teams',
|
2023-02-02 03:39:54 +01:00
|
|
|
defaultMessage: 'You have not created any teams.',
|
2023-01-25 16:42:46 +01:00
|
|
|
},
|
|
|
|
shareUrl: {
|
|
|
|
id: 'message.share-url',
|
|
|
|
defaultMessage: 'Your website stats are publically available at the following URL:',
|
|
|
|
},
|
|
|
|
trackingCode: {
|
|
|
|
id: 'message.tracking-code',
|
|
|
|
defaultMessage:
|
2023-01-28 06:53:13 +01:00
|
|
|
'To track stats for this website, place the following code in the <head>...</head> section of your HTML.',
|
2023-01-25 16:42:46 +01:00
|
|
|
},
|
|
|
|
deleteWebsite: {
|
|
|
|
id: 'message.delete-website',
|
|
|
|
defaultMessage: 'To delete this website, type {confirmation} in the box below to confirm.',
|
|
|
|
},
|
|
|
|
resetWebsite: {
|
|
|
|
id: 'message.reset-website',
|
|
|
|
defaultMessage: 'To reset this website, type {confirmation} in the box below to confirm.',
|
|
|
|
},
|
2023-03-09 21:42:12 +01:00
|
|
|
websitesShared: {
|
|
|
|
id: 'message.shared-website',
|
|
|
|
defaultMessage: 'Websites can be viewed by the entire team.',
|
|
|
|
},
|
2023-01-25 16:42:46 +01:00
|
|
|
invalidDomain: {
|
|
|
|
id: 'message.invalid-domain',
|
|
|
|
defaultMessage: 'Invalid domain. Do not include http/https.',
|
|
|
|
},
|
|
|
|
resetWebsiteWarning: {
|
|
|
|
id: 'message.reset-website-warning',
|
|
|
|
defaultMessage:
|
|
|
|
'All statistics for this website will be deleted, but your settings will remain intact.',
|
|
|
|
},
|
|
|
|
deleteWebsiteWarning: {
|
|
|
|
id: 'message.delete-website-warning',
|
|
|
|
defaultMessage: 'All website data will be deleted.',
|
|
|
|
},
|
|
|
|
noWebsites: {
|
|
|
|
id: 'messages.no-websites',
|
|
|
|
defaultMessage: 'You do not have any websites configured.',
|
|
|
|
},
|
2023-03-09 21:42:12 +01:00
|
|
|
noTeamWebsites: {
|
|
|
|
id: 'messages.no-team-websites',
|
|
|
|
defaultMessage: 'This team does not have any websites.',
|
|
|
|
},
|
|
|
|
websitesAreShared: {
|
|
|
|
id: 'messages.websites-are-shared',
|
|
|
|
defaultMessage: 'Websites can be viewed by anyone on the team.',
|
|
|
|
},
|
2023-01-25 16:42:46 +01:00
|
|
|
noMatchPassword: { id: 'message.no-match-password', defaultMessage: 'Passwords do not match.' },
|
2023-01-28 06:53:13 +01:00
|
|
|
goToSettings: {
|
|
|
|
id: 'message.go-to-settings',
|
|
|
|
defaultMessage: 'Go to settings',
|
|
|
|
},
|
2023-02-02 03:39:54 +01:00
|
|
|
activeUsers: {
|
|
|
|
id: 'message.active-users',
|
|
|
|
defaultMessage: '{x} current {x, plural, one {visitor} other {visitors}}',
|
|
|
|
},
|
|
|
|
teamNotFound: {
|
|
|
|
id: 'message.team-not-found',
|
|
|
|
defaultMessage: 'Team not found.',
|
|
|
|
},
|
2023-02-23 05:59:59 +01:00
|
|
|
visitorLog: {
|
|
|
|
id: 'message.visitor-log',
|
|
|
|
defaultMessage: 'Visitor from {country} using {browser} on {os} {device}',
|
|
|
|
},
|
|
|
|
eventLog: {
|
|
|
|
id: 'message.event-log',
|
|
|
|
defaultMessage: '{event} on {url}',
|
|
|
|
},
|
2020-09-16 05:34:30 +02:00
|
|
|
});
|