From 00d186ec52d68dca2bfe330bfd80f5fe0bd0a6be Mon Sep 17 00:00:00 2001 From: DeadEnd <45110141+DeadEnded@users.noreply.github.com> Date: Fri, 26 Apr 2024 02:08:52 -0400 Subject: [PATCH] chore(mobile): add toast notification for "Download Started" (#9023) Add Toast for download started Add Toast notification for mobile download started. Added new placeholder in each language file - populated with best estimate translations. --- mobile/assets/i18n/ar-JO.json | 1 + mobile/assets/i18n/ca.json | 1 + mobile/assets/i18n/cs-CZ.json | 1 + mobile/assets/i18n/da-DK.json | 1 + mobile/assets/i18n/de-DE.json | 1 + mobile/assets/i18n/el-GR.json | 1 + mobile/assets/i18n/en-US.json | 5 +++-- mobile/assets/i18n/es-ES.json | 1 + mobile/assets/i18n/es-MX.json | 1 + mobile/assets/i18n/es-PE.json | 1 + mobile/assets/i18n/es-US.json | 1 + mobile/assets/i18n/fi-FI.json | 1 + mobile/assets/i18n/fr-CA.json | 1 + mobile/assets/i18n/fr-FR.json | 3 ++- mobile/assets/i18n/he-IL.json | 1 + mobile/assets/i18n/hi-IN.json | 1 + mobile/assets/i18n/hu-HU.json | 1 + mobile/assets/i18n/it-IT.json | 1 + mobile/assets/i18n/ja-JP.json | 1 + mobile/assets/i18n/ko-KR.json | 1 + mobile/assets/i18n/lt-LT.json | 1 + mobile/assets/i18n/lv-LV.json | 1 + mobile/assets/i18n/mn.json | 1 + mobile/assets/i18n/nb-NO.json | 1 + mobile/assets/i18n/nl-NL.json | 1 + mobile/assets/i18n/pl-PL.json | 1 + mobile/assets/i18n/pt-PT.json | 1 + mobile/assets/i18n/ro-RO.json | 1 + mobile/assets/i18n/ru-RU.json | 1 + mobile/assets/i18n/sk-SK.json | 1 + mobile/assets/i18n/sl-SI.json | 1 + mobile/assets/i18n/sr-Cyrl.json | 1 + mobile/assets/i18n/sr-Latn.json | 1 + mobile/assets/i18n/sv-FI.json | 1 + mobile/assets/i18n/sv-SE.json | 1 + mobile/assets/i18n/th-TH.json | 1 + mobile/assets/i18n/uk-UA.json | 1 + mobile/assets/i18n/vi-VN.json | 1 + mobile/assets/i18n/zh-CN.json | 1 + mobile/assets/i18n/zh-Hans.json | 1 + .../providers/image_viewer_page_state.provider.dart | 7 +++++++ 41 files changed, 50 insertions(+), 3 deletions(-) diff --git a/mobile/assets/i18n/ar-JO.json b/mobile/assets/i18n/ar-JO.json index 864390715a..ee079cdfe1 100644 --- a/mobile/assets/i18n/ar-JO.json +++ b/mobile/assets/i18n/ar-JO.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Can only upload a maximum of 30 assets at a time, skipping", "image_viewer_page_state_provider_download_error": "Download Error", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "Download Success", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Albums", diff --git a/mobile/assets/i18n/ca.json b/mobile/assets/i18n/ca.json index 5f516e88ce..3e70a5f702 100644 --- a/mobile/assets/i18n/ca.json +++ b/mobile/assets/i18n/ca.json @@ -211,6 +211,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Can only upload a maximum of 30 assets at a time, skipping", "image_viewer_page_state_provider_download_error": "Download Error", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "Download Success", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Àlbums", diff --git a/mobile/assets/i18n/cs-CZ.json b/mobile/assets/i18n/cs-CZ.json index be4830a8be..4ebc672b4c 100644 --- a/mobile/assets/i18n/cs-CZ.json +++ b/mobile/assets/i18n/cs-CZ.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Nelze sdílet místní položky prostřednictvím odkazu, přeskakuji", "home_page_upload_err_limit": "Lze nahrát nejvýše 30 položek najednou, přeskakuji", "image_viewer_page_state_provider_download_error": "Chyba stahování", + "image_viewer_page_state_provider_download_started": "Stahování zahájeno", "image_viewer_page_state_provider_download_success": "Stahování bylo úspěšné", "image_viewer_page_state_provider_share_error": "Chyba sdílení", "library_page_albums": "Alba", diff --git a/mobile/assets/i18n/da-DK.json b/mobile/assets/i18n/da-DK.json index b276ed7e73..de9dcd9340 100644 --- a/mobile/assets/i18n/da-DK.json +++ b/mobile/assets/i18n/da-DK.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Kan ikke dele lokale elementer via link, springer over", "home_page_upload_err_limit": "Det er kun muligt at lave sikkerhedskopi af 30 elementer ad gangen. Springer over", "image_viewer_page_state_provider_download_error": "Fejl ved download", + "image_viewer_page_state_provider_download_started": "Download startede", "image_viewer_page_state_provider_download_success": "Download succesfuld", "image_viewer_page_state_provider_share_error": "Delingsfejl", "library_page_albums": "Albummer", diff --git a/mobile/assets/i18n/de-DE.json b/mobile/assets/i18n/de-DE.json index 6daa972915..6a319f74ff 100644 --- a/mobile/assets/i18n/de-DE.json +++ b/mobile/assets/i18n/de-DE.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Lokale Inhalte können nicht per Link geteilt werden, überspringe", "home_page_upload_err_limit": "Max. 30 Elemente können gleichzeitig hochgeladen werden, überspringe", "image_viewer_page_state_provider_download_error": "Fehler beim Herunterladen", + "image_viewer_page_state_provider_download_started": "Gestartet heruntergeladen", "image_viewer_page_state_provider_download_success": "Erfolgreich heruntergeladen", "image_viewer_page_state_provider_share_error": "Fehler beim Teilen", "library_page_albums": "Alben", diff --git a/mobile/assets/i18n/el-GR.json b/mobile/assets/i18n/el-GR.json index 66b4836658..4a24484a9d 100644 --- a/mobile/assets/i18n/el-GR.json +++ b/mobile/assets/i18n/el-GR.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Can only upload a maximum of 30 assets at a time, skipping", "image_viewer_page_state_provider_download_error": "Download Error", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "Download Success", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Albums", diff --git a/mobile/assets/i18n/en-US.json b/mobile/assets/i18n/en-US.json index 46155d0c53..bb4db6c55f 100644 --- a/mobile/assets/i18n/en-US.json +++ b/mobile/assets/i18n/en-US.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Can only upload a maximum of 30 assets at a time, skipping", "image_viewer_page_state_provider_download_error": "Download Error", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "Download Success", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Albums", @@ -296,7 +297,7 @@ "motion_photos_page_title": "Motion Photos", "multiselect_grid_edit_date_time_err_read_only": "Cannot edit date of read only asset(s), skipping", "multiselect_grid_edit_gps_err_read_only": "Cannot edit location of read only asset(s), skipping", - "no_assets_to_show" : "No assets to show", + "no_assets_to_show": "No assets to show", "notification_permission_dialog_cancel": "Cancel", "notification_permission_dialog_content": "To enable notifications, go to Settings and select allow.", "notification_permission_dialog_settings": "Settings", @@ -515,4 +516,4 @@ "viewer_unstack": "Un-Stack", "haptic_feedback_title": "Haptic Feedback", "haptic_feedback_switch": "Enable haptic feedback" -} +} \ No newline at end of file diff --git a/mobile/assets/i18n/es-ES.json b/mobile/assets/i18n/es-ES.json index 0d92903cb1..b3cc9287de 100644 --- a/mobile/assets/i18n/es-ES.json +++ b/mobile/assets/i18n/es-ES.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "No se pueden compartir activos locales a través de un enlace, omitiendo", "home_page_upload_err_limit": "Solo se pueden subir 30 elementos simultáneamente, omitiendo", "image_viewer_page_state_provider_download_error": "Error de descarga", + "image_viewer_page_state_provider_download_started": "Descarga iniciada", "image_viewer_page_state_provider_download_success": "Descarga exitosa", "image_viewer_page_state_provider_share_error": "Error al compartir", "library_page_albums": "Álbumes", diff --git a/mobile/assets/i18n/es-MX.json b/mobile/assets/i18n/es-MX.json index b45e90a19e..b01c7c166c 100644 --- a/mobile/assets/i18n/es-MX.json +++ b/mobile/assets/i18n/es-MX.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "No se pueden compartir activos locales a través de un enlace, omitiendo", "home_page_upload_err_limit": "Solo se pueden subir 30 elementos simultáneamente, omitiendo", "image_viewer_page_state_provider_download_error": "Error de descarga", + "image_viewer_page_state_provider_download_started": "Descarga iniciada", "image_viewer_page_state_provider_download_success": "Descarga exitosa", "image_viewer_page_state_provider_share_error": "Error al compartir", "library_page_albums": "Álbumes", diff --git a/mobile/assets/i18n/es-PE.json b/mobile/assets/i18n/es-PE.json index 883c6fda29..8c66a545b3 100644 --- a/mobile/assets/i18n/es-PE.json +++ b/mobile/assets/i18n/es-PE.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "No se pueden compartir activos locales a través de un enlace, omitiendo", "home_page_upload_err_limit": "Solo se pueden subir 30 elementos simultáneamente, omitiendo", "image_viewer_page_state_provider_download_error": "Error de descarga", + "image_viewer_page_state_provider_download_started": "Descarga iniciada", "image_viewer_page_state_provider_download_success": "Descarga exitosa", "image_viewer_page_state_provider_share_error": "Error al compartir", "library_page_albums": "Álbumes", diff --git a/mobile/assets/i18n/es-US.json b/mobile/assets/i18n/es-US.json index 92b524f2e0..1e8aaaed9e 100644 --- a/mobile/assets/i18n/es-US.json +++ b/mobile/assets/i18n/es-US.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "No se pueden compartir activos locales a través de un enlace, omitiendo", "home_page_upload_err_limit": "Sólo se pueden subir un máximo de 30 recursos a la vez, omitiendo", "image_viewer_page_state_provider_download_error": "Error de descarga", + "image_viewer_page_state_provider_download_started": "Descarga iniciada", "image_viewer_page_state_provider_download_success": "Descarga exitosa", "image_viewer_page_state_provider_share_error": "Error al compartir", "library_page_albums": "Álbumes", diff --git a/mobile/assets/i18n/fi-FI.json b/mobile/assets/i18n/fi-FI.json index 373fcef065..cd48457926 100644 --- a/mobile/assets/i18n/fi-FI.json +++ b/mobile/assets/i18n/fi-FI.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Paikallisia kohteita ei voitu jakaa linkkien avulla. Hypätään yli", "home_page_upload_err_limit": "Voit lähettää palvelimelle enintään 30 kohdetta kerrallaan, ohitetaan", "image_viewer_page_state_provider_download_error": "Lataus epäonnistui", + "image_viewer_page_state_provider_download_started": "Lataus aloitettu", "image_viewer_page_state_provider_download_success": "Lataus onnistui", "image_viewer_page_state_provider_share_error": "Jakovirhe", "library_page_albums": "Albumit", diff --git a/mobile/assets/i18n/fr-CA.json b/mobile/assets/i18n/fr-CA.json index 8fd5702854..f5522f30f9 100644 --- a/mobile/assets/i18n/fr-CA.json +++ b/mobile/assets/i18n/fr-CA.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Limite de téléchargement de 30 éléments en même temps, demande ignorée", "image_viewer_page_state_provider_download_error": "Erreur de téléchargement", + "image_viewer_page_state_provider_download_started": "Téléchargement commencé", "image_viewer_page_state_provider_download_success": "Téléchargement réussi", "image_viewer_page_state_provider_share_error": "Erreur de partage", "library_page_albums": "Albums", diff --git a/mobile/assets/i18n/fr-FR.json b/mobile/assets/i18n/fr-FR.json index f9ce46c4d5..d1cc9834c3 100644 --- a/mobile/assets/i18n/fr-FR.json +++ b/mobile/assets/i18n/fr-FR.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Impossible de partager par lien les médias locaux, cette opération est donc ignorée.", "home_page_upload_err_limit": "Limite de téléchargement de 30 éléments en même temps, demande ignorée", "image_viewer_page_state_provider_download_error": "Erreur de téléchargement", + "image_viewer_page_state_provider_download_started": "Téléchargement commencé", "image_viewer_page_state_provider_download_success": "Téléchargement réussi", "image_viewer_page_state_provider_share_error": "Erreur de partage", "library_page_albums": "Albums", @@ -296,7 +297,7 @@ "motion_photos_page_title": "Photos avec mouvement", "multiselect_grid_edit_date_time_err_read_only": "Impossible de modifier la date d'un élément d'actif en lecture seule.", "multiselect_grid_edit_gps_err_read_only": "Impossible de modifier l'emplacement d'un élément en lecture seule.", - "no_assets_to_show" : "Aucun élément à afficher", + "no_assets_to_show": "Aucun élément à afficher", "notification_permission_dialog_cancel": "Annuler", "notification_permission_dialog_content": "Pour activer les notifications, allez dans Paramètres et sélectionnez Autoriser.", "notification_permission_dialog_settings": "Paramètres", diff --git a/mobile/assets/i18n/he-IL.json b/mobile/assets/i18n/he-IL.json index 8e11b0d199..d5173a834e 100644 --- a/mobile/assets/i18n/he-IL.json +++ b/mobile/assets/i18n/he-IL.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "לא ניתן לשתף נכסים מקומיים על ידי קישור, מדלג", "home_page_upload_err_limit": "יכול רק להעלות מקסימום של 30 נכסים בכל פעם, מדלג", "image_viewer_page_state_provider_download_error": "שגיאת הורדה", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "הצלחת הורדה", "image_viewer_page_state_provider_share_error": "שיתוף שגיאה", "library_page_albums": "אלבומים", diff --git a/mobile/assets/i18n/hi-IN.json b/mobile/assets/i18n/hi-IN.json index 6d905fc5b1..0b9d801205 100644 --- a/mobile/assets/i18n/hi-IN.json +++ b/mobile/assets/i18n/hi-IN.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "लोकल एसेट्स को लिंक के जरिए शेयर नहीं कर सकते, स्किप कर रहे हैं", "home_page_upload_err_limit": "Can only upload a maximum of 30 assets at a time, skipping", "image_viewer_page_state_provider_download_error": "Download Error", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "Download Success", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Albums", diff --git a/mobile/assets/i18n/hu-HU.json b/mobile/assets/i18n/hu-HU.json index 95f6045309..1cf6b55469 100644 --- a/mobile/assets/i18n/hu-HU.json +++ b/mobile/assets/i18n/hu-HU.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Csak 30 elemet tudsz egyszerre feltölteni, átugrás", "image_viewer_page_state_provider_download_error": "Letöltési Hiba", + "image_viewer_page_state_provider_download_started": "Letöltés elindult", "image_viewer_page_state_provider_download_success": "Letöltés Sikeres", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Albumok", diff --git a/mobile/assets/i18n/it-IT.json b/mobile/assets/i18n/it-IT.json index 3a0e002d47..a1037b3e16 100644 --- a/mobile/assets/i18n/it-IT.json +++ b/mobile/assets/i18n/it-IT.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Non puoi condividere una risorsa locale tramite link, azione ignorata", "home_page_upload_err_limit": "Puoi caricare al massimo 30 file per volta, ignora quelli in eccesso", "image_viewer_page_state_provider_download_error": "Errore nel Download", + "image_viewer_page_state_provider_download_started": "Download avviato", "image_viewer_page_state_provider_download_success": "Download con successo", "image_viewer_page_state_provider_share_error": "Errore di condivisione", "library_page_albums": "Album", diff --git a/mobile/assets/i18n/ja-JP.json b/mobile/assets/i18n/ja-JP.json index 989a64fcd0..54a2f30b40 100644 --- a/mobile/assets/i18n/ja-JP.json +++ b/mobile/assets/i18n/ja-JP.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "ローカルのみの項目をリンクで共有はできません。スキップします", "home_page_upload_err_limit": "一回でアップロードできる写真の数は30枚です。スキップします", "image_viewer_page_state_provider_download_error": "ダウンロード失敗", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "ダウンロード成功", "image_viewer_page_state_provider_share_error": "共有エラー", "library_page_albums": "アルバム", diff --git a/mobile/assets/i18n/ko-KR.json b/mobile/assets/i18n/ko-KR.json index 7bd2880a48..4865859187 100644 --- a/mobile/assets/i18n/ko-KR.json +++ b/mobile/assets/i18n/ko-KR.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "링크를 통해 로컬 미디어를 공유할 수 없으므로 건너뜁니다", "home_page_upload_err_limit": "한번에 최대 30개의 미디어만 업로드할 수 있습니다", "image_viewer_page_state_provider_download_error": "다운로드 에러", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "다운로드 완료", "image_viewer_page_state_provider_share_error": "공유 오류", "library_page_albums": "앨범", diff --git a/mobile/assets/i18n/lt-LT.json b/mobile/assets/i18n/lt-LT.json index 864390715a..ee079cdfe1 100644 --- a/mobile/assets/i18n/lt-LT.json +++ b/mobile/assets/i18n/lt-LT.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Can only upload a maximum of 30 assets at a time, skipping", "image_viewer_page_state_provider_download_error": "Download Error", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "Download Success", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Albums", diff --git a/mobile/assets/i18n/lv-LV.json b/mobile/assets/i18n/lv-LV.json index 7ac25170fa..73f4a8559b 100644 --- a/mobile/assets/i18n/lv-LV.json +++ b/mobile/assets/i18n/lv-LV.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Can only upload a maximum of 30 assets at a time, skipping", "image_viewer_page_state_provider_download_error": "Lejupielādes Kļūda", + "image_viewer_page_state_provider_download_started": "Lejupielāde sākta", "image_viewer_page_state_provider_download_success": "Lejupielāde Izdevās", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Albums", diff --git a/mobile/assets/i18n/mn.json b/mobile/assets/i18n/mn.json index 91a294ae05..6016403e62 100644 --- a/mobile/assets/i18n/mn.json +++ b/mobile/assets/i18n/mn.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Can only upload a maximum of 30 assets at a time, skipping", "image_viewer_page_state_provider_download_error": "Download Error", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "Download Success", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Albums", diff --git a/mobile/assets/i18n/nb-NO.json b/mobile/assets/i18n/nb-NO.json index ee3271e2d5..af71b520f7 100644 --- a/mobile/assets/i18n/nb-NO.json +++ b/mobile/assets/i18n/nb-NO.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Kan ikke dele lokale objekter via link, hopper over", "home_page_upload_err_limit": "Maksimalt 30 objekter kan lastes opp om gangen, hopper over", "image_viewer_page_state_provider_download_error": "Nedlasting feilet", + "image_viewer_page_state_provider_download_started": "Nedlasting startet", "image_viewer_page_state_provider_download_success": "Nedlasting vellykket", "image_viewer_page_state_provider_share_error": "Delingsfeil", "library_page_albums": "Albumer", diff --git a/mobile/assets/i18n/nl-NL.json b/mobile/assets/i18n/nl-NL.json index 62e5e8f2d4..fddc83c58e 100644 --- a/mobile/assets/i18n/nl-NL.json +++ b/mobile/assets/i18n/nl-NL.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Lokale assets kunnen niet via een link gedeeld worden, overslaan", "home_page_upload_err_limit": "Kan maximaal 30 assets tegelijk uploaden, overslaan", "image_viewer_page_state_provider_download_error": "Download mislukt", + "image_viewer_page_state_provider_download_started": "Download gestart", "image_viewer_page_state_provider_download_success": "Download succesvol", "image_viewer_page_state_provider_share_error": "Deel Error", "library_page_albums": "Albums", diff --git a/mobile/assets/i18n/pl-PL.json b/mobile/assets/i18n/pl-PL.json index 281edec5d0..7079929aad 100644 --- a/mobile/assets/i18n/pl-PL.json +++ b/mobile/assets/i18n/pl-PL.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Nie można udostępniać zasobów lokalnych za pośrednictwem linku, pomijajam", "home_page_upload_err_limit": "Można przesłać maksymalnie 30 zasobów jednocześnie, pomijanie", "image_viewer_page_state_provider_download_error": "Błąd pobierania", + "image_viewer_page_state_provider_download_started": "Pobieranie rozpoczęte", "image_viewer_page_state_provider_download_success": "Pobieranie zakończone", "image_viewer_page_state_provider_share_error": "Udostępnij błąd", "library_page_albums": "Albumy", diff --git a/mobile/assets/i18n/pt-PT.json b/mobile/assets/i18n/pt-PT.json index f32ab5ae4d..32ae8573f4 100644 --- a/mobile/assets/i18n/pt-PT.json +++ b/mobile/assets/i18n/pt-PT.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Não é possível partilhar recursos locais via link, ignorando", "home_page_upload_err_limit": "Só é possível carregar 30 recursos de cada vez, a ignorar", "image_viewer_page_state_provider_download_error": "Erro ao descarregar", + "image_viewer_page_state_provider_download_started": "Download iniciada", "image_viewer_page_state_provider_download_success": "Descarregado", "image_viewer_page_state_provider_share_error": "Erro ao partilhar", "library_page_albums": "Álbuns", diff --git a/mobile/assets/i18n/ro-RO.json b/mobile/assets/i18n/ro-RO.json index 0d091cb729..a93997b34c 100644 --- a/mobile/assets/i18n/ro-RO.json +++ b/mobile/assets/i18n/ro-RO.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Nu se pot distribui fișiere locale prin link, omitere", "home_page_upload_err_limit": "Se pot încărca maxim 30 de resurse odată, omitere", "image_viewer_page_state_provider_download_error": "Eroare descărcare", + "image_viewer_page_state_provider_download_started": "Descărcarea a început", "image_viewer_page_state_provider_download_success": "Descărcare cu succes", "image_viewer_page_state_provider_share_error": "Eroare distribuire", "library_page_albums": "Albume", diff --git a/mobile/assets/i18n/ru-RU.json b/mobile/assets/i18n/ru-RU.json index db6e64da18..2b824b5212 100644 --- a/mobile/assets/i18n/ru-RU.json +++ b/mobile/assets/i18n/ru-RU.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Невозможно поделиться локальными данными по ссылке, пропуск...", "home_page_upload_err_limit": "Вы можете выгрузить максимум 30 файлов за раз", "image_viewer_page_state_provider_download_error": "Ошибка загрузки", + "image_viewer_page_state_provider_download_started": "Начата загрузки", "image_viewer_page_state_provider_download_success": "Успешно загружено", "image_viewer_page_state_provider_share_error": "Ошибка общего доступа", "library_page_albums": "Альбомы", diff --git a/mobile/assets/i18n/sk-SK.json b/mobile/assets/i18n/sk-SK.json index 9f05d03e18..3bf194951e 100644 --- a/mobile/assets/i18n/sk-SK.json +++ b/mobile/assets/i18n/sk-SK.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Nemožno zdieľať lokálne médiá pomocou odkazu", "home_page_upload_err_limit": "Naraz môžete nahrať len 30 médií, preskakujem...", "image_viewer_page_state_provider_download_error": "Chyba sťahovania", + "image_viewer_page_state_provider_download_started": "Sťahovanie sa začalo", "image_viewer_page_state_provider_download_success": "Sťahovanie bolo úspešné", "image_viewer_page_state_provider_share_error": "Chyba zdieľania", "library_page_albums": "Albumy", diff --git a/mobile/assets/i18n/sl-SI.json b/mobile/assets/i18n/sl-SI.json index e5e43ca599..1842fd4fbf 100644 --- a/mobile/assets/i18n/sl-SI.json +++ b/mobile/assets/i18n/sl-SI.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Lokalnih sredstev ni mogoče deliti prek povezave, preskakujem", "home_page_upload_err_limit": "Hkrati lahko naložite največ 30 sredstev, preskakujem", "image_viewer_page_state_provider_download_error": "Napaka pri prenosu", + "image_viewer_page_state_provider_download_started": "Prenos sa začal", "image_viewer_page_state_provider_download_success": "Prenos je uspel", "image_viewer_page_state_provider_share_error": "Napaka skupne rabe", "library_page_albums": "Albumi", diff --git a/mobile/assets/i18n/sr-Cyrl.json b/mobile/assets/i18n/sr-Cyrl.json index 864390715a..ee079cdfe1 100644 --- a/mobile/assets/i18n/sr-Cyrl.json +++ b/mobile/assets/i18n/sr-Cyrl.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Can only upload a maximum of 30 assets at a time, skipping", "image_viewer_page_state_provider_download_error": "Download Error", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "Download Success", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Albums", diff --git a/mobile/assets/i18n/sr-Latn.json b/mobile/assets/i18n/sr-Latn.json index d9346f29ea..fbb5318541 100644 --- a/mobile/assets/i18n/sr-Latn.json +++ b/mobile/assets/i18n/sr-Latn.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Can only upload a maximum of 30 assets at a time, skipping", "image_viewer_page_state_provider_download_error": "Preuzimanje Neuspešno", + "image_viewer_page_state_provider_download_started": "Preuzimanje je počelo", "image_viewer_page_state_provider_download_success": "Preuzimanje Uspešno", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Albumi", diff --git a/mobile/assets/i18n/sv-FI.json b/mobile/assets/i18n/sv-FI.json index 864390715a..ee079cdfe1 100644 --- a/mobile/assets/i18n/sv-FI.json +++ b/mobile/assets/i18n/sv-FI.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Can only upload a maximum of 30 assets at a time, skipping", "image_viewer_page_state_provider_download_error": "Download Error", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "Download Success", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Albums", diff --git a/mobile/assets/i18n/sv-SE.json b/mobile/assets/i18n/sv-SE.json index 26bb3d5f35..6088f33919 100644 --- a/mobile/assets/i18n/sv-SE.json +++ b/mobile/assets/i18n/sv-SE.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Can not share local assets via link, skipping", "home_page_upload_err_limit": "Can only upload a maximum of 30 assets at a time, skipping", "image_viewer_page_state_provider_download_error": "Download Error", + "image_viewer_page_state_provider_download_started": "Download Started", "image_viewer_page_state_provider_download_success": "Download Success", "image_viewer_page_state_provider_share_error": "Share Error", "library_page_albums": "Album", diff --git a/mobile/assets/i18n/th-TH.json b/mobile/assets/i18n/th-TH.json index 690f9093cb..5e9243bceb 100644 --- a/mobile/assets/i18n/th-TH.json +++ b/mobile/assets/i18n/th-TH.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "ไม่สามารถแชร์ผ่านลิงค์ได้ กำลังข้าม", "home_page_upload_err_limit": "สามารถอัพโหลดได้มากสุดครั้งละ 30 ทรัพยากร กำลังข้าม", "image_viewer_page_state_provider_download_error": "ดาวน์โหลดผิดพลาด", + "image_viewer_page_state_provider_download_started": "เริ่มดาวน์โหลดแล้ว", "image_viewer_page_state_provider_download_success": "ดาวน์โหลดสำเร็จ", "image_viewer_page_state_provider_share_error": "แชร์ผิดพลาด", "library_page_albums": "Albums", diff --git a/mobile/assets/i18n/uk-UA.json b/mobile/assets/i18n/uk-UA.json index 3935362c3f..6775425dbe 100644 --- a/mobile/assets/i18n/uk-UA.json +++ b/mobile/assets/i18n/uk-UA.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Неможливо поділитися локальними елементами через посилання, пропущено", "home_page_upload_err_limit": "Можна вантажити не більше 30 елементів водночас, пропущено", "image_viewer_page_state_provider_download_error": "Помилка завантаження", + "image_viewer_page_state_provider_download_started": "Розпочато завантаження", "image_viewer_page_state_provider_download_success": "Усіпшно завантажено", "image_viewer_page_state_provider_share_error": "Помилка спільного доступу", "library_page_albums": "Альбоми", diff --git a/mobile/assets/i18n/vi-VN.json b/mobile/assets/i18n/vi-VN.json index f403cc39a7..c42c7bf3cc 100644 --- a/mobile/assets/i18n/vi-VN.json +++ b/mobile/assets/i18n/vi-VN.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "Không thể chia sẻ ảnh cục bộ qua liên kết, bỏ qua", "home_page_upload_err_limit": "Chỉ có thể tải lên tối đa 30 ảnh cùng một lúc, bỏ qua", "image_viewer_page_state_provider_download_error": "Tải xuống không thành công", + "image_viewer_page_state_provider_download_started": "Tải xuống đã bắt đầu", "image_viewer_page_state_provider_download_success": "Tải xuống thành công", "image_viewer_page_state_provider_share_error": "Chia sẻ không thành công", "library_page_albums": "Album", diff --git a/mobile/assets/i18n/zh-CN.json b/mobile/assets/i18n/zh-CN.json index 7494502d8a..c06fc3e4a9 100644 --- a/mobile/assets/i18n/zh-CN.json +++ b/mobile/assets/i18n/zh-CN.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "暂无法通过链接共享本地项目,跳过", "home_page_upload_err_limit": "一次最多只能上传 30 个项目,跳过", "image_viewer_page_state_provider_download_error": "下载出现错误", + "image_viewer_page_state_provider_download_started": "下载开始", "image_viewer_page_state_provider_download_success": "下载成功", "image_viewer_page_state_provider_share_error": "共享出错", "library_page_albums": "相册", diff --git a/mobile/assets/i18n/zh-Hans.json b/mobile/assets/i18n/zh-Hans.json index dba2e5eac2..460fb3555e 100644 --- a/mobile/assets/i18n/zh-Hans.json +++ b/mobile/assets/i18n/zh-Hans.json @@ -216,6 +216,7 @@ "home_page_share_err_local": "暂无法通过链接共享本地项目,跳过", "home_page_upload_err_limit": "一次最多只能上传 30 个项目,跳过", "image_viewer_page_state_provider_download_error": "下载出现错误", + "image_viewer_page_state_provider_download_started": "下载开始", "image_viewer_page_state_provider_download_success": "下载成功", "image_viewer_page_state_provider_share_error": "共享出错", "library_page_albums": "相册", diff --git a/mobile/lib/modules/asset_viewer/providers/image_viewer_page_state.provider.dart b/mobile/lib/modules/asset_viewer/providers/image_viewer_page_state.provider.dart index 06cc128f7f..7e1d3fa586 100644 --- a/mobile/lib/modules/asset_viewer/providers/image_viewer_page_state.provider.dart +++ b/mobile/lib/modules/asset_viewer/providers/image_viewer_page_state.provider.dart @@ -29,6 +29,13 @@ class ImageViewerStateNotifier extends StateNotifier { void downloadAsset(Asset asset, BuildContext context) async { state = state.copyWith(downloadAssetStatus: DownloadAssetStatus.loading); + ImmichToast.show( + context: context, + msg: 'image_viewer_page_state_provider_download_started'.tr(), + toastType: ToastType.info, + gravity: ToastGravity.BOTTOM, + ); + bool isSuccess = await _imageViewerService.downloadAssetToDevice(asset); if (isSuccess) {