feat(mobile): improve localization (#2405)

This commit is contained in:
Michel Heusschen
2023-05-09 15:58:27 +02:00
committed by GitHub
parent dffd992304
commit cd43edf074
5 changed files with 35 additions and 26 deletions

View File

@@ -27,8 +27,8 @@ class FavoritesPage extends HookConsumerWidget {
return Scaffold(
appBar: buildAppBar(),
body: ref.watch(favoriteAssetProvider).isEmpty
? const Center(
child: Text('No favorite assets found.'),
? Center(
child: Text('favorites_page_no_favorites'.tr()),
)
: ImmichAssetGrid(
assets: ref.watch(favoriteAssetProvider),