diff --git a/mobile/assets/i18n/en-US.json b/mobile/assets/i18n/en-US.json index 3bebcb2b18..e350e5b627 100644 --- a/mobile/assets/i18n/en-US.json +++ b/mobile/assets/i18n/en-US.json @@ -283,6 +283,10 @@ "map_settings_only_show_favorites": "Show Favorite Only", "map_settings_theme_settings": "Map Theme", "map_zoom_to_see_photos": "Zoom out to see photos", + "memories_all_caught_up": "All caught up", + "memories_check_back_tomorrow": "Check back tomorrow for more memories", + "memories_start_over": "Start Over", + "memories_swipe_to_close": "Swipe up to close", "monthly_title_text_date_format": "MMMM y", "motion_photos_page_title": "Motion Photos", "multiselect_grid_edit_date_time_err_read_only": "Cannot edit date of read only asset(s), skipping", @@ -482,4 +486,4 @@ "viewer_remove_from_stack": "Remove from Stack", "viewer_stack_use_as_main_asset": "Use as Main Asset", "viewer_unstack": "Un-Stack" -} +} \ No newline at end of file diff --git a/mobile/lib/modules/memories/ui/memory_epilogue.dart b/mobile/lib/modules/memories/ui/memory_epilogue.dart index 8dd28637df..b817d67f05 100644 --- a/mobile/lib/modules/memories/ui/memory_epilogue.dart +++ b/mobile/lib/modules/memories/ui/memory_epilogue.dart @@ -1,3 +1,4 @@ +import 'package:easy_localization/easy_localization.dart'; import 'package:flutter/material.dart'; import 'package:immich_mobile/constants/immich_colors.dart'; import 'package:immich_mobile/extensions/build_context_extensions.dart'; @@ -55,27 +56,27 @@ class _MemoryEpilogueState extends State ), const SizedBox(height: 16.0), Text( - 'All caught up', + "memories_all_caught_up", style: Theme.of(context).textTheme.headlineMedium?.copyWith( color: Colors.white, ), - ), + ).tr(), const SizedBox(height: 16.0), Text( - 'Check back tomorrow for more memories', + "memories_check_back_tomorrow", style: Theme.of(context).textTheme.bodyMedium?.copyWith( color: Colors.white, ), - ), + ).tr(), const SizedBox(height: 16.0), TextButton( onPressed: widget.onStartOver, child: Text( - 'Start Over', + "memories_start_over", style: context.textTheme.displayMedium?.copyWith( color: immichDarkThemePrimaryColor, ), - ), + ).tr(), ), ], ), @@ -106,11 +107,11 @@ class _MemoryEpilogueState extends State ), ), Text( - 'Swipe up to close', + "memories_swipe_to_close", style: Theme.of(context).textTheme.bodyMedium?.copyWith( color: Colors.white, ), - ), + ).tr(), ], ), ),