Skip to content

Commit 14e624b

Browse files
committed
fix typo
1 parent 09d50ea commit 14e624b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

frontend/javascripts/admin/auth/auth_token_view.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getAuthToken, revokeAuthToken } from "admin/rest_api";
33
import { Button, Descriptions, Popover, Spin, Typography } from "antd";
44
import { useWkSelector } from "libs/react_hooks";
55
import { useEffect, useState } from "react";
6-
import { AccountSettingTitle } from "./profile_view";
6+
import { AccountSettingsTitle } from "./profile_view";
77

88
const { Text } = Typography;
99

@@ -80,7 +80,7 @@ function AuthTokenView() {
8080

8181
return (
8282
<div>
83-
<AccountSettingTitle
83+
<AccountSettingsTitle
8484
title="API Authorization"
8585
description="Access the WEBKNOSSO Python API with your API token"
8686
/>

frontend/javascripts/admin/auth/change_password_view.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { useState } from "react";
77
import { type RouteComponentProps, withRouter } from "react-router-dom";
88
import { logoutUserAction } from "viewer/model/actions/user_actions";
99
import Store from "viewer/store";
10-
import { AccountSettingTitle } from "./profile_view";
10+
import { AccountSettingsTitle } from "./profile_view";
1111
const FormItem = Form.Item;
1212
const { Password } = Input;
1313

@@ -181,7 +181,7 @@ function ChangePasswordView({ history }: Props) {
181181

182182
return (
183183
<div>
184-
<AccountSettingTitle title="Password" description="Manage and update your password" />
184+
<AccountSettingsTitle title="Password" description="Manage and update your password" />
185185
<Descriptions
186186
column={2}
187187
layout="vertical"
@@ -190,7 +190,7 @@ function ChangePasswordView({ history }: Props) {
190190
style={{ marginBottom: "3rem" }}
191191
/>
192192

193-
<AccountSettingTitle title="Passkeys" description="Login passwordless with Passkeys" />
193+
<AccountSettingsTitle title="Passkeys" description="Login passwordless with Passkeys" />
194194
<List
195195
className="demo-loadmore-list"
196196
itemLayout="horizontal"

frontend/javascripts/admin/auth/profile_view.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Store from "viewer/store";
1212

1313
const { Text } = Typography;
1414

15-
export function AccountSettingTitle({
15+
export function AccountSettingsTitle({
1616
title,
1717
description,
1818
}: { title: string; description: string }) {
@@ -100,7 +100,7 @@ function ProfileView() {
100100

101101
return (
102102
<div>
103-
<AccountSettingTitle
103+
<AccountSettingsTitle
104104
title="Profile"
105105
description="Manage your personal information and preferences"
106106
/>

frontend/javascripts/messages.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ instead. Only enable this option if you understand its effect. All layers will n
415415
"Unfortunately, we cannot provide the service without your consent to the processing of your data.",
416416
"auth.tos_check_required":
417417
"Unfortunately, we cannot provide the service without your consent to our terms of service.",
418-
"auth.reset_logout": "You will be logged out, after successfully changing your password.",
418+
"auth.reset_logout": "You will be logged out after successfully changing your password.",
419419
"auth.reset_old_password": "Please input your old password!",
420420
"auth.reset_new_password": "Please input your new password!",
421421
"auth.reset_new_password2": "Please repeat your new password!",

0 commit comments

Comments
 (0)