diff --git a/frontend/src/pages/materials/MaterialListPage.tsx b/frontend/src/pages/materials/MaterialListPage.tsx
index b76640d..8560d3d 100644
--- a/frontend/src/pages/materials/MaterialListPage.tsx
+++ b/frontend/src/pages/materials/MaterialListPage.tsx
@@ -41,16 +41,16 @@ const MEDIA_FILTER_LABELS: Record
= {
video: '動画',
audio: '音声',
file_other: 'その他ファイル',
- url_only: 'URL のみ'}
+ url_only: '外部リンクのみ'}
const SORT_LABELS: Record = {
created_at: '作成日時',
updated_at: '更新日時',
tag_name: 'タグ名',
media_kind: '種類',
- file_byte_size: 'ファイルサイズ',
- version_no: 'バージョン',
- id: 'ID'}
+ file_byte_size: '容量',
+ version_no: '版',
+ id: 'Id.'}
const setIf = (qs: URLSearchParams, key: string, value: string | null) => {
@@ -409,21 +409,7 @@ const MaterialListPage: FC = () => {
diff --git a/frontend/src/pages/materials/MaterialSyncSuppressionsPage.tsx b/frontend/src/pages/materials/MaterialSyncSuppressionsPage.tsx
index 3d7e75b..a181097 100644
--- a/frontend/src/pages/materials/MaterialSyncSuppressionsPage.tsx
+++ b/frontend/src/pages/materials/MaterialSyncSuppressionsPage.tsx
@@ -9,10 +9,7 @@ import MainArea from '@/components/layout/MainArea'
import { Button } from '@/components/ui/button'
import { toast } from '@/components/ui/use-toast'
import { SITE_TITLE } from '@/config'
-import {
- createMaterialSyncSuppression,
- fetchMaterialSyncSuppressions,
-} from '@/lib/materials'
+import { createMaterialSyncSuppression, fetchMaterialSyncSuppressions } from '@/lib/materials'
import { materialsKeys } from '@/lib/queryKeys'
import { dateString, inputClass } from '@/lib/utils'
@@ -22,11 +19,11 @@ import type { MaterialSyncSuppressionSourceKind } from '@/types'
const SOURCE_KIND_LABELS: Record = {
uri: 'URI',
- google_drive_path: 'Google Drive path',
- google_drive_path_prefix: 'Google Drive path prefix',
- google_drive_file: 'Google Drive file ID',
- legacy_drive_path: 'Legacy Drive path',
- legacy_drive_path_prefix: 'Legacy Drive path prefix'}
+ google_drive_path: 'Google Drive ファイル',
+ google_drive_path_prefix: 'Google Drive フォルダ',
+ google_drive_file: 'Google Drive ファイル Id.',
+ legacy_drive_path: '汎用ファイル',
+ legacy_drive_path_prefix: '汎用フォルダ' }
const REASONS = [
'copyright_high_risk',
@@ -38,6 +35,16 @@ const REASONS = [
'source_owner_request',
'other']
+const REASON_NAMES = {
+ ['copyright_high_risk']: '著作権への懸念',
+ ['copyright_takedown']: '著作者からの申出',
+ ['adult_or_sensitive']: '成人向け',
+ ['personal_information']: '個人情報',
+ ['malware_or_dangerous_file']: '危険なソフトウェア',
+ ['duplicate_or_low_quality']: '重複',
+ ['source_owner_request']: '同期元管理者からの申出',
+ ['other']: 'その他' }
+
const MaterialSyncSuppressionsPage: FC = () => {
const qc = useQueryClient ()
@@ -82,18 +89,11 @@ const MaterialSyncSuppressionsPage: FC = () => {
return (
- {`同期元抑止 | ${ SITE_TITLE }`}
+ {`素材同期抑止 | ${ SITE_TITLE }`}
- 理由: {suppression.reason} / 登録: {dateString (suppression.createdAt)}
+ 事由: {REASON_NAMES[suppression.reason]} /
+ 登録: {dateString (suppression.createdAt)}
))}