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

@@ -85,15 +85,15 @@ class SharingPage extends HookConsumerWidget {
),
),
subtitle: isOwner
? const Text(
'Owned',
style: TextStyle(
? Text(
'album_thumbnail_owned'.tr(),
style: const TextStyle(
fontSize: 12.0,
),
)
: album.ownerName != null
? Text(
'Shared by ${album.ownerName!}',
'album_thumbnail_shared_by'.tr(args: [album.ownerName!]),
style: const TextStyle(
fontSize: 12.0,
),