refactor: update ErrorElement and HistogramChart components for improved styling and functionality

- Enhanced the ErrorElement component by adjusting the layout for better centering and added select-text class for improved text selection.
- Modified the HistogramChart component to accept a thumbnail URL instead of tone analysis, streamlining the data flow.
- Refactored the histogram calculation logic to improve performance and clarity, including compression of histogram data.
- Updated the manifest version from 'v2' to 'v3' across multiple files to reflect the new data structure.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-06-29 11:28:23 +08:00
parent 48aec690da
commit 3f21435271
16 changed files with 277 additions and 623 deletions

View File

@@ -209,16 +209,6 @@
"gallery.built.at": "Built at ",
"gallery.photos_one": "{{count}} photo",
"gallery.photos_other": "{{count}} photos",
"histogram.blue": "Blue",
"histogram.channel": "Channel",
"histogram.green": "Green",
"histogram.luminance": "Lu",
"histogram.mean": "Mean",
"histogram.median": "Median",
"histogram.mode": "Mode",
"histogram.red": "Red",
"histogram.statistics": "Statistics",
"histogram.value": "Value",
"loading.converting": "Converting...",
"loading.default": "Loading",
"loading.heic.converting": "Converting HEIC/HEIF image format...",

View File

@@ -208,16 +208,6 @@
"gallery.built.at": "ビルド日時 ",
"gallery.photos_one": "写真{{count}}枚",
"gallery.photos_other": "写真{{count}}枚",
"histogram.blue": "青",
"histogram.channel": "チャンネル",
"histogram.green": "緑",
"histogram.luminance": "輝度",
"histogram.mean": "平均値",
"histogram.median": "中央値",
"histogram.mode": "最頻値",
"histogram.red": "赤",
"histogram.statistics": "統計",
"histogram.value": "値",
"loading.converting": "変換中...",
"loading.default": "読み込み中",
"loading.heic.converting": "HEIC/HEIF 画像フォーマットを変換中...",
@@ -233,10 +223,10 @@
"photo.error.loading": "画像の読み込みに失敗しました",
"photo.live.badge": "Live",
"photo.live.converting.detail": "{{method}}を使用してビデオ形式を変換しています...",
"photo.live.converting.video": "Live Photoのビデオを変換中",
"photo.live.converting.video": "Live Photo のビデオを変換中",
"photo.live.playing": "ライブ写真を再生中",
"photo.live.tooltip.desktop.main": "ホバーしてLive Photoを再生",
"photo.live.tooltip.desktop.zoom": "ホバーしてLive Photoを再生 / ダブルクリックしてズーム",
"photo.live.tooltip.desktop.main": "ホバーして Live Photo を再生",
"photo.live.tooltip.desktop.zoom": "ホバーして Live Photo を再生 / ダブルクリックしてズーム",
"photo.live.tooltip.mobile.main": "長押ししてライブフォトを再生",
"photo.live.tooltip.mobile.zoom": "長押ししてライブフォトを再生/ダブルタップしてズーム",
"photo.share.actions": "アクション",

View File

@@ -172,10 +172,10 @@
"exif.sensing.method.color.sequential.linear": "컬러 순차 선형 센서",
"exif.sensing.method.color.sequential.main": "컬러 순차 영역 센서",
"exif.sensing.method.one-chip-color-area": "1 칩 컬러 영역 센서",
"exif.sensing.method.one.chip": "1칩 컬러 영역 센서",
"exif.sensing.method.three.chip": "3칩 컬러 영역 센서",
"exif.sensing.method.one.chip": "1 칩 컬러 영역 센서",
"exif.sensing.method.three.chip": "3 칩 컬러 영역 센서",
"exif.sensing.method.trilinear": "삼선형 센서",
"exif.sensing.method.two.chip": "2칩 컬러 영역 센서",
"exif.sensing.method.two.chip": "2 칩 컬러 영역 센서",
"exif.sensing.method.type": "감지 방식",
"exif.sensing.method.undefined": "정의되지 않음",
"exif.shadow.ratio": "섀도우 비율",
@@ -208,16 +208,6 @@
"gallery.built.at": "빌드 날짜 ",
"gallery.photos_one": "사진 {{count}}장",
"gallery.photos_other": "사진 {{count}}장",
"histogram.blue": "파랑",
"histogram.channel": "채널",
"histogram.green": "초록",
"histogram.luminance": "휘도",
"histogram.mean": "평균",
"histogram.median": "중간값",
"histogram.mode": "최빈값",
"histogram.red": "빨강",
"histogram.statistics": "통계",
"histogram.value": "값",
"loading.converting": "변환 중...",
"loading.default": "로딩 중",
"loading.heic.converting": "HEIC/HEIF 이미지 형식 변환 중...",

View File

@@ -209,16 +209,6 @@
"gallery.built.at": "构建于 ",
"gallery.photos_one": "{{count}} 张照片",
"gallery.photos_other": "{{count}} 张照片",
"histogram.blue": "蓝",
"histogram.channel": "通道",
"histogram.green": "绿",
"histogram.luminance": "亮度",
"histogram.mean": "平均值",
"histogram.median": "中位数",
"histogram.mode": "众数",
"histogram.red": "红",
"histogram.statistics": "统计",
"histogram.value": "值",
"loading.converting": "转换中...",
"loading.default": "加载中",
"loading.heic.converting": "正在转换 HEIC/HEIF 图像格式...",

View File

@@ -202,22 +202,12 @@
"exif.white.balance.kelvin": "手動色溫",
"exif.white.balance.manual": "手動",
"exif.white.balance.red": "紅色",
"exif.white.balance.shift.ab": "白平衡偏移 (琥珀色-藍色)",
"exif.white.balance.shift.gm": "白平衡偏移 (綠色-洋紅色)",
"exif.white.balance.shift.ab": "白平衡偏移 (琥珀色 - 藍色)",
"exif.white.balance.shift.gm": "白平衡偏移 (綠色 - 洋紅色)",
"exif.white.balance.title": "白平衡",
"gallery.built.at": "建置於 ",
"gallery.photos_one": "{{count}} 張照片",
"gallery.photos_other": "{{count}} 張照片",
"histogram.blue": "藍",
"histogram.channel": "通道",
"histogram.green": "綠",
"histogram.luminance": "亮度",
"histogram.mean": "平均值",
"histogram.median": "中位數",
"histogram.mode": "眾數",
"histogram.red": "紅",
"histogram.statistics": "統計",
"histogram.value": "值",
"loading.converting": "轉換中...",
"loading.default": "載入中",
"loading.heic.converting": "正在轉換 HEIC/HEIF 圖像格式...",

View File

@@ -208,16 +208,6 @@
"gallery.built.at": "建置於 ",
"gallery.photos_one": "{{count}} 張照片",
"gallery.photos_other": "{{count}} 張照片",
"histogram.blue": "藍",
"histogram.channel": "通道",
"histogram.green": "綠",
"histogram.luminance": "亮度",
"histogram.mean": "平均值",
"histogram.median": "中位數",
"histogram.mode": "眾數",
"histogram.red": "紅",
"histogram.statistics": "統計",
"histogram.value": "值",
"loading.converting": "轉換中...",
"loading.default": "載入中",
"loading.heic.converting": "正在轉換 HEIC/HEIF 圖像格式...",