Skip to content

Commit 43bd925

Browse files
committed
📚 Translate TODO comment to English (#1619)
1 parent a58792f commit 43bd925

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/lib/components/AtCoderUserValidationForm.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { Label, Input, P } from 'svelte-5-ui-lib';
33
import ClipboardCopy from 'lucide-svelte/icons/clipboard-copy';
44
5-
// FIXME: stwui は事実上開発が終了しているので、別のライブラリに置き換える
5+
// FIXME: stwui is effectively end-of-life, replace with another library
66
import { copyToClipboard } from 'stwui/utils/copyToClipboard';
77
88
import ContainerWrapper from '$lib/components/ContainerWrapper.svelte';
@@ -24,8 +24,8 @@
2424
status,
2525
}: Props = $props();
2626
27-
// TODO: クリックしたときに、Copied!といったメッセージを表示できるようにしたい。
28-
// WHY: コピーができているか、確認できるようにするため
27+
// TODO: Add a "Copied!" message when clicking
28+
// WHY: To provide feedback when the copy operation succeeds
2929
const handleClick = () => {
3030
copyToClipboard(atcoder_validationcode);
3131
};

src/lib/components/Header.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
dropdownForUserPage.toggle();
7878
}
7979
80-
// HACK: ログイン直後にドロップダウンが表示されてしまうので、ユーザがクリックしたときだけ表示
80+
// HACK: Close dropdowns when user state changes
8181
$effect(() => {
8282
if (user) {
8383
closeDropdownForDashboard();

0 commit comments

Comments
 (0)