Skip to content

Commit

Permalink
Translated JP -> EN
Browse files Browse the repository at this point in the history
  • Loading branch information
Ease112 committed Oct 3, 2024
1 parent 389e912 commit 2ff3277
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions ui/components/ObjectTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ const Mark: React.FC<{ children: React.ReactNode; active: boolean }> = ({
};

const filterItems = [
"キャラクター",
"ターゲット",
"変化のあるオブジェクト",
"全てのオブジェクト",
"Character",
"Target",
"Dynamic Objects",
"All Objects",
];

const diffScoreToColor = (score: number) => {
Expand Down Expand Up @@ -437,14 +437,14 @@ export const ObjectTable: React.FC<{
onChange={onChangeSlider}
/>
<FormControl sx={{ m: 1, width: 300 }}>
<InputLabel id="show-item-select-label">表示する項目</InputLabel>
<InputLabel id="show-item-select-label">Items to display</InputLabel>
<Select
value={Object.entries(showItems)
.filter(([_key, val]) => val)
.map(([key]) => key)}
labelId="show-item-select-label"
id="show-item-select"
input={<OutlinedInput label="表示する項目" />}
input={<OutlinedInput label="Items to display" />}
onChange={onChangeShowItem}
multiple
>
Expand All @@ -458,12 +458,12 @@ export const ObjectTable: React.FC<{
</Select>
</FormControl>
<FormControl sx={{ m: 1, width: 300 }}>
<InputLabel id="filter-select-label">表示するオブジェクト</InputLabel>
<InputLabel id="filter-select-label">Objects to display</InputLabel>
<Select
value={filterValues}
labelId="filter-select-label"
id="filter-select"
input={<OutlinedInput label="表示するオブジェクト" />}
input={<OutlinedInput label="Objects to display" />}
onChange={onChangeFilter}
multiple
>
Expand Down Expand Up @@ -494,7 +494,7 @@ export const ObjectTable: React.FC<{
<TableHead>
<TableRow>
<TableCell>No.</TableCell>
<TableCell>オブジェクトURI</TableCell>
<TableCell>Object URI</TableCell>
{showItems.state && <TableCell>state</TableCell>}
{showItems.close && <TableCell>close</TableCell>}
{showItems.facing && <TableCell>facing</TableCell>}
Expand Down
8 changes: 4 additions & 4 deletions ui/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,13 +260,13 @@ const Home: NextPage = () => {
return (
<div>
<FormControl fullWidth>
<InputLabel id="demo-simple-select-label">Videoを選択</InputLabel>
<InputLabel id="demo-simple-select-label">Video</InputLabel>
<Select
onChange={onChangeActivity}
value={activity?.activity.value ?? ""}
labelId="demo-simple-select-label"
id="demo-simple-select"
label="Videoを選択"
label="Video"
>
{activityNodes}
</Select>
Expand Down Expand Up @@ -403,8 +403,8 @@ const Home: NextPage = () => {
</Box>
{videoUrl && (
<Box>
<Button onClick={onClickTable}>オブジェクト一覧表示</Button>
<Button onClick={onClickKGraph}>ナレッジグラフ表示</Button>
<Button onClick={onClickTable}>Object List</Button>
<Button onClick={onClickKGraph}>Knowledge Graph</Button>
<Button onClick={onClick3D}>3D</Button>
</Box>
)}
Expand Down

0 comments on commit 2ff3277

Please sign in to comment.