diff --git a/lang/en-GB.json b/lang/en-GB.json new file mode 100644 index 00000000..799aa443 --- /dev/null +++ b/lang/en-GB.json @@ -0,0 +1,103 @@ +{ + "label.accounts": "Accounts", + "label.add-account": "Add account", + "label.add-website": "Add website", + "label.administrator": "Administrator", + "label.all": "All", + "label.all-websites": "All websites", + "label.all-events": "All events", + "label.back": "Back", + "label.cancel": "Cancel", + "label.change-password": "Change password", + "label.confirm-password": "Confirm password", + "label.copy-to-clipboard": "Copy to clipboard", + "label.current-password": "Current password", + "label.custom-range": "Custom range", + "label.dashboard": "Dashboard", + "label.date-range": "Date range", + "label.default-date-range": "Default date range", + "label.delete": "Delete", + "label.delete-account": "Delete account", + "label.delete-website": "Delete website", + "label.reset-website": "Reset statistics", + "label.dismiss": "Dismiss", + "label.domain": "Domain", + "label.edit": "Edit", + "label.edit-account": "Edit account", + "label.edit-website": "Edit website", + "label.enable-share-url": "Enable share URL", + "label.invalid": "Invalid", + "label.invalid-domain": "Invalid domain", + "label.last-days": "Last {x} days", + "label.last-hours": "Last {x} hours", + "label.logged-in-as": "Logged in as {username}", + "label.login": "Login", + "label.logout": "Logout", + "label.more": "More", + "label.name": "Name", + "label.new-password": "New password", + "label.password": "Password", + "label.passwords-dont-match": "Passwords don't match", + "label.profile": "Profile", + "label.realtime": "Realtime", + "label.realtime-logs": "Realtime logs", + "label.refresh": "Refresh", + "label.required": "Required", + "label.reset": "Reset", + "label.save": "Save", + "label.settings": "Settings", + "label.share-url": "Share URL", + "label.single-day": "Single day", + "label.this-month": "This month", + "label.this-week": "This week", + "label.this-year": "This year", + "label.timezone": "Timezone", + "label.today": "Today", + "label.tracking-code": "Tracking code", + "label.unknown": "Unknown", + "label.username": "Username", + "label.view-details": "View details", + "label.websites": "Websites", + "message.active-users": "{x} current {x, plural, one {visitor} other {visitors}}", + "message.confirm-reset": "Are your sure you want to reset {target}'s statistics?", + "message.confirm-delete": "Are your sure you want to delete {target}?", + "message.copied": "Copied!", + "message.reset-warning": "All statistics for this website will be deleted, but your tracking code will remain intact.", + "message.delete-warning": "All associated data will be deleted as well.", + "message.failure": "Something went wrong.", + "message.get-share-url": "Get share URL", + "message.get-tracking-code": "Get tracking code", + "message.go-to-settings": "Go to settings", + "message.incorrect-username-password": "Incorrect username/password.", + "message.log.visitor": "Visitor from {country} using {browser} on {os} {device}", + "message.new-version-available": "A new version of umami {version} is available!", + "message.no-data-available": "No data available.", + "message.no-websites-configured": "You don't have any websites configured.", + "message.page-not-found": "Page not found.", + "message.powered-by": "Powered by {name}", + "message.save-success": "Saved successfully.", + "message.share-url": "This is the publicly shared URL for {target}.", + "message.track-stats": "To track stats for {target}, place the following code in the {head} section of your website.", + "message.type-delete": "Type {delete} in the box below to confirm.", + "metrics.actions": "Actions", + "metrics.average-visit-time": "Average visit time", + "metrics.bounce-rate": "Bounce rate", + "metrics.browsers": "Browsers", + "metrics.countries": "Countries", + "metrics.device.desktop": "Desktop", + "metrics.device.laptop": "Laptop", + "metrics.device.mobile": "Mobile", + "metrics.device.tablet": "Tablet", + "metrics.devices": "Devices", + "metrics.events": "Events", + "metrics.filter.combined": "Combined", + "metrics.filter.domain-only": "Domain only", + "metrics.filter.raw": "Raw", + "metrics.operating-systems": "Operating systems", + "metrics.page-views": "Page views", + "metrics.pages": "Pages", + "metrics.referrers": "Referrers", + "metrics.unique-visitors": "Unique visitors", + "metrics.views": "Views", + "metrics.visitors": "Visitors" +} diff --git a/lib/lang.js b/lib/lang.js index 68367510..576ee4e7 100644 --- a/lib/lang.js +++ b/lib/lang.js @@ -6,6 +6,7 @@ import { de, el, enUS, + enGB, es, fi, fr, @@ -44,7 +45,8 @@ export const languages = { 'cs-CZ': { label: 'Čeština', display: 'cs' }, 'da-DK': { label: 'Dansk', display: 'da' }, 'de-DE': { label: 'Deutsch', display: 'de' }, - 'en-US': { label: 'English', display: 'en' }, + 'en-US': { label: 'English (US)', display: 'en' }, + 'en-GB': { label: 'English (UK)', display: 'en-GB'}, 'es-MX': { label: 'Español', display: 'es' }, 'fa-IR': { label: 'فارسی', display: 'fa' }, 'fo-FO': { label: 'Føroyskt', display: 'fo' }, @@ -80,6 +82,7 @@ export const rtlLocales = ['ar-SA', 'fa-IR']; export const dateLocales = { 'ar-SA': arSA, 'en-US': enUS, + 'en-GB': enGB, 'nl-NL': nl, 'zh-CN': zhCN, 'zh-TW': zhTW,