feat(mobile): UI-03 photos and share pages (17-20)

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-22 02:45:34 +08:00
parent ab51616c70
commit 8ee69598bf
14 changed files with 1338 additions and 379 deletions
+15 -2
View File
@@ -283,7 +283,7 @@
"photoHide": "Hide",
"photoUnhide": "Unhide",
"photoDeleteConfirmTitle": "Delete this photo?",
"photoDeleteConfirmBody": "The cloud photo will be deleted. This cannot be undone.",
"photoDeleteConfirmBody": "This will soft-delete the photo. It can be managed by admins. Cloud storage is not immediately purged.",
"photoHiddenToast": "Hidden",
"photoUnhiddenToast": "Unhidden",
"photoDeletedToast": "Deleted",
@@ -303,5 +303,18 @@
"emptyAlbumSubtitle": "Photos you take or pick will appear here",
"processingPhotos": "Processing...",
"readonlyMember": "You can browse photos shared by others",
"moreActions": "More actions"
"moreActions": "More actions",
"photosTitle": "{count} photos",
"@photosTitle": { "placeholders": { "count": { "type": "int" } } },
"photoUploadedBy": "Uploaded by {name}",
"@photoUploadedBy": { "placeholders": { "name": { "type": "String" } } },
"photoDimensions": "{width}×{height}",
"@photoDimensions": { "placeholders": { "width": { "type": "int" }, "height": { "type": "int" } } },
"photoStatus": "Status",
"photoHideAction": "Hide photo",
"photoPublishAction": "Publish again",
"shareScanHint": "Scan to view photos",
"shareNotPublic": "This link is not publicly accessible yet",
"hidePhotoTitle": "Hide this photo?",
"hidePhotoBody": "Viewers will no longer see this photo. Authorized album managers can publish it again."
}
+61 -1
View File
@@ -1727,7 +1727,7 @@ abstract class AppLocalizations {
/// No description provided for @photoDeleteConfirmBody.
///
/// In zh, this message translates to:
/// **'云端照片将被删除,删除后不可恢复。'**
/// **'该照片将被软删除,管理员仍可管理,云端存储不会立即清除。'**
String get photoDeleteConfirmBody;
/// No description provided for @photoHiddenToast.
@@ -1849,6 +1849,66 @@ abstract class AppLocalizations {
/// In zh, this message translates to:
/// **'更多操作'**
String get moreActions;
/// No description provided for @photosTitle.
///
/// In zh, this message translates to:
/// **'{count} 张照片'**
String photosTitle(int count);
/// No description provided for @photoUploadedBy.
///
/// In zh, this message translates to:
/// **'上传者 {name}'**
String photoUploadedBy(String name);
/// No description provided for @photoDimensions.
///
/// In zh, this message translates to:
/// **'{width}×{height}'**
String photoDimensions(int width, int height);
/// No description provided for @photoStatus.
///
/// In zh, this message translates to:
/// **'状态'**
String get photoStatus;
/// No description provided for @photoHideAction.
///
/// In zh, this message translates to:
/// **'隐藏照片'**
String get photoHideAction;
/// No description provided for @photoPublishAction.
///
/// In zh, this message translates to:
/// **'重新发布'**
String get photoPublishAction;
/// No description provided for @shareScanHint.
///
/// In zh, this message translates to:
/// **'扫码查看照片'**
String get shareScanHint;
/// No description provided for @shareNotPublic.
///
/// In zh, this message translates to:
/// **'该链接目前无法公开浏览'**
String get shareNotPublic;
/// No description provided for @hidePhotoTitle.
///
/// In zh, this message translates to:
/// **'隐藏这张照片?'**
String get hidePhotoTitle;
/// No description provided for @hidePhotoBody.
///
/// In zh, this message translates to:
/// **'观众将不再看到这张照片。相册管理者可重新发布。'**
String get hidePhotoBody;
}
class _AppLocalizationsDelegate
+38 -1
View File
@@ -876,7 +876,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get photoDeleteConfirmBody =>
'The cloud photo will be deleted. This cannot be undone.';
'This will soft-delete the photo. It can be managed by admins. Cloud storage is not immediately purged.';
@override
String get photoHiddenToast => 'Hidden';
@@ -937,4 +937,41 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get moreActions => 'More actions';
@override
String photosTitle(int count) {
return '$count photos';
}
@override
String photoUploadedBy(String name) {
return 'Uploaded by $name';
}
@override
String photoDimensions(int width, int height) {
return '$width×$height';
}
@override
String get photoStatus => 'Status';
@override
String get photoHideAction => 'Hide photo';
@override
String get photoPublishAction => 'Publish again';
@override
String get shareScanHint => 'Scan to view photos';
@override
String get shareNotPublic => 'This link is not publicly accessible yet';
@override
String get hidePhotoTitle => 'Hide this photo?';
@override
String get hidePhotoBody =>
'Viewers will no longer see this photo. Authorized album managers can publish it again.';
}
+37 -1
View File
@@ -847,7 +847,7 @@ class AppLocalizationsZh extends AppLocalizations {
String get photoDeleteConfirmTitle => '删除这张照片?';
@override
String get photoDeleteConfirmBody => '云端照片将被删除,删除后不可恢复。';
String get photoDeleteConfirmBody => '该照片将被软删除,管理员仍可管理,云端存储不会立即清除。';
@override
String get photoHiddenToast => '已隐藏';
@@ -908,4 +908,40 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get moreActions => '更多操作';
@override
String photosTitle(int count) {
return '$count 张照片';
}
@override
String photoUploadedBy(String name) {
return '上传者 $name';
}
@override
String photoDimensions(int width, int height) {
return '$width×$height';
}
@override
String get photoStatus => '状态';
@override
String get photoHideAction => '隐藏照片';
@override
String get photoPublishAction => '重新发布';
@override
String get shareScanHint => '扫码查看照片';
@override
String get shareNotPublic => '该链接目前无法公开浏览';
@override
String get hidePhotoTitle => '隐藏这张照片?';
@override
String get hidePhotoBody => '观众将不再看到这张照片。相册管理者可重新发布。';
}
+15 -2
View File
@@ -283,7 +283,7 @@
"photoHide": "隐藏",
"photoUnhide": "恢复显示",
"photoDeleteConfirmTitle": "删除这张照片?",
"photoDeleteConfirmBody": "云端照片将被删除,删除后不可恢复。",
"photoDeleteConfirmBody": "该照片将被软删除,管理员仍可管理,云端存储不会立即清除。",
"photoHiddenToast": "已隐藏",
"photoUnhiddenToast": "已恢复显示",
"photoDeletedToast": "已删除",
@@ -303,5 +303,18 @@
"emptyAlbumSubtitle": "拍摄或选择的照片将出现在这里",
"processingPhotos": "处理中...",
"readonlyMember": "您可以浏览其他人分享的照片",
"moreActions": "更多操作"
"moreActions": "更多操作",
"photosTitle": "{count} 张照片",
"@photosTitle": { "placeholders": { "count": { "type": "int" } } },
"photoUploadedBy": "上传者 {name}",
"@photoUploadedBy": { "placeholders": { "name": { "type": "String" } } },
"photoDimensions": "{width}×{height}",
"@photoDimensions": { "placeholders": { "width": { "type": "int" }, "height": { "type": "int" } } },
"photoStatus": "状态",
"photoHideAction": "隐藏照片",
"photoPublishAction": "重新发布",
"shareScanHint": "扫码查看照片",
"shareNotPublic": "该链接目前无法公开浏览",
"hidePhotoTitle": "隐藏这张照片?",
"hidePhotoBody": "观众将不再看到这张照片。相册管理者可重新发布。"
}