Skip to content

Commit

Permalink
feat: Photo gallery for "Others" (openfoodfacts#5501)
Browse files Browse the repository at this point in the history
* Photo gallery for "Others"

* Error + loading

* Photo details

* Fix weird animation
  • Loading branch information
g123k authored Aug 2, 2024
1 parent b938153 commit 344518d
Show file tree
Hide file tree
Showing 6 changed files with 402 additions and 471 deletions.
316 changes: 0 additions & 316 deletions packages/smooth_app/ios/Podfile.lock

This file was deleted.

45 changes: 45 additions & 0 deletions packages/smooth_app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,7 @@
}
}
},
"product_image_outdated": "This image may be outdated",
"homepage_main_card_logo_description": "Welcome to Open Food Facts",
"@homepage_main_card_logo_description": {
"description": "Description for accessibility of the Open Food Facts logo on the homepage"
Expand Down Expand Up @@ -2971,5 +2972,49 @@
"menu_button_list_actions": "Select an action",
"@menu_button_list_actions": {
"description": "Button to select an action in a list (eg: Share, Delete, …)"
},
"error_loading_photo": "Error loading photo",
"@error_loading_photo": {
"description": "Error message when loading a photo fails to load"
},
"photo_viewer_details_button": "Details",
"@photo_viewer_details_button": {
"description": "Button to show details of the photo"
},
"photo_viewer_details_button_accessibility_label": "Details of this photo",
"@photo_viewer_details_button_accessibility_label": {
"description": "Accessibility label for the Details button on a photo"
},
"photo_viewer_details_title": "Details of the photo",
"@photo_viewer_details_title": {
"description": "Title of the photo details dialog"
},
"photo_viewer_details_contributor_title": "Contributor",
"@photo_viewer_details_contributor_title": {
"description": "Label for the author of a photo"
},
"photo_viewer_details_size_title": "Size",
"@photo_viewer_details_size_title": {
"description": "Label for the size of a photo"
},
"photo_viewer_details_size_value": "{width} x {height} pixels",
"@photo_viewer_details_size_value": {
"description": "Value for the size of a photo",
"placeholders": {
"width": {
"type": "int"
},
"height": {
"type": "int"
}
}
},
"photo_viewer_details_date_title": "Date",
"@photo_viewer_details_date_title": {
"description": "Label for the uploaded date of a photo"
},
"photo_viewer_details_url_title": "URL",
"@photo_viewer_details_url_title": {
"description": "Label for the link of a photo"
}
}
Loading

0 comments on commit 344518d

Please sign in to comment.