mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +01:00
Fix language strings.
This commit is contained in:
parent
996b4c7102
commit
29049842de
@ -59,7 +59,7 @@ export default function WebsiteDetails({ websiteId }) {
|
||||
component: BrowsersTable,
|
||||
},
|
||||
{
|
||||
label: <FormattedMessage id="metrics.operating-system" defaultMessage="Operating system" />,
|
||||
label: <FormattedMessage id="metrics.operating-systems" defaultMessage="Operating system" />,
|
||||
value: 'os',
|
||||
component: OSTable,
|
||||
},
|
||||
|
@ -6,7 +6,7 @@ import { FormattedMessage } from 'react-intl';
|
||||
export default function OSTable({ websiteId, limit, onExpand }) {
|
||||
return (
|
||||
<MetricsTable
|
||||
title={<FormattedMessage id="metrics.operating-system" defaultMessage="Operating system" />}
|
||||
title={<FormattedMessage id="metrics.operating-systems" defaultMessage="Operating system" />}
|
||||
type="os"
|
||||
metric={<FormattedMessage id="metrics.visitors" defaultMessage="Visitors" />}
|
||||
websiteId={websiteId}
|
||||
|
@ -51,7 +51,7 @@ export default function AccountSettings() {
|
||||
},
|
||||
{
|
||||
key: 'is_admin',
|
||||
label: <FormattedMessage id="label.adminsitrator" defaultMessage="Administrator" />,
|
||||
label: <FormattedMessage id="label.administrator" defaultMessage="Administrator" />,
|
||||
className: 'col-6 col-md-4',
|
||||
render: Checkmark,
|
||||
},
|
||||
|
@ -38,7 +38,9 @@ export default function ProfileSettings() {
|
||||
<dd>{user.username}</dd>
|
||||
</dl>
|
||||
{changePassword && (
|
||||
<Modal title="Change password">
|
||||
<Modal
|
||||
title={<FormattedMessage id="button.change-password" defaultMessage="Change password" />}
|
||||
>
|
||||
<ChangePasswordForm
|
||||
values={{ user_id }}
|
||||
onSave={handleSave}
|
||||
|
@ -170,7 +170,7 @@
|
||||
"metrics.filter.raw": {
|
||||
"defaultMessage": "Rohdaten"
|
||||
},
|
||||
"metrics.operating-system": {
|
||||
"metrics.operating-systems": {
|
||||
"defaultMessage": "Betriebssystem"
|
||||
},
|
||||
"metrics.page-views": {
|
||||
|
@ -170,8 +170,8 @@
|
||||
"metrics.filter.raw": {
|
||||
"defaultMessage": "Raw"
|
||||
},
|
||||
"metrics.operating-system": {
|
||||
"defaultMessage": "Operating system"
|
||||
"metrics.operating-systems": {
|
||||
"defaultMessage": "Operating systems"
|
||||
},
|
||||
"metrics.page-views": {
|
||||
"defaultMessage": "Page views"
|
||||
|
@ -170,7 +170,7 @@
|
||||
"metrics.filter.raw": {
|
||||
"defaultMessage": "すべて表示"
|
||||
},
|
||||
"metrics.operating-system": {
|
||||
"metrics.operating-systems": {
|
||||
"defaultMessage": "OS"
|
||||
},
|
||||
"metrics.page-views": {
|
||||
|
@ -170,7 +170,7 @@
|
||||
"metrics.filter.raw": {
|
||||
"defaultMessage": "Ruw"
|
||||
},
|
||||
"metrics.operating-system": {
|
||||
"metrics.operating-systems": {
|
||||
"defaultMessage": "Besturingssysteem"
|
||||
},
|
||||
"metrics.page-views": {
|
||||
|
@ -170,7 +170,7 @@
|
||||
"metrics.filter.raw": {
|
||||
"defaultMessage": "Сырые данные"
|
||||
},
|
||||
"metrics.operating-system": {
|
||||
"metrics.operating-systems": {
|
||||
"defaultMessage": "Операционная система"
|
||||
},
|
||||
"metrics.page-views": {
|
||||
|
@ -170,7 +170,7 @@
|
||||
"metrics.filter.raw": {
|
||||
"defaultMessage": "Ham"
|
||||
},
|
||||
"metrics.operating-system": {
|
||||
"metrics.operating-systems": {
|
||||
"defaultMessage": "İşletim sistemi"
|
||||
},
|
||||
"metrics.page-views": {
|
||||
|
@ -170,7 +170,7 @@
|
||||
"metrics.filter.raw": {
|
||||
"defaultMessage": "原始"
|
||||
},
|
||||
"metrics.operating-system": {
|
||||
"metrics.operating-systems": {
|
||||
"defaultMessage": "操作系统"
|
||||
},
|
||||
"metrics.page-views": {
|
||||
|
@ -31,11 +31,11 @@ export const dateLocales = {
|
||||
export const menuOptions = [
|
||||
{ label: 'English', value: 'en', display: 'EN' },
|
||||
{ label: '中文 (Chinese Simplified)', value: 'zh-CN', display: '中文' },
|
||||
{ label: 'Deutsch (German)', value: 'de-DE', display: 'DE' },
|
||||
{ label: 'Nederlands (Dutch)', value: 'nl-NL', display: 'NL' },
|
||||
{ label: 'Deutsch (German)', value: 'de-DE', display: 'DE' },
|
||||
{ label: '日本語 (Japanese)', value: 'ja-JP', display: '日本語' },
|
||||
{ label: 'Русский (Russian)', value: 'ru-RU', display: 'РУ' },
|
||||
{ label: 'Turkish', value: 'tr-TR', display: 'TR' },
|
||||
{ label: '日本語 (Japanese)', value: 'ja-JP', display: 'JP' },
|
||||
];
|
||||
|
||||
export function dateFormat(date, str, locale) {
|
||||
|
Loading…
Reference in New Issue
Block a user