diff --git a/assets/i18n/en-US.json b/assets/i18n/en-US.json index 7701674d..c48aa45f 100644 --- a/assets/i18n/en-US.json +++ b/assets/i18n/en-US.json @@ -1474,5 +1474,6 @@ "lotteryLastNumberSpecial": "The last selected number will be your special number.", "lotteryMultiplierRequired": "Please enter a multiplier", "lotteryMultiplierRange": "Multiplier must be between 1 and 10", - "dropToShare": "Drop to share" + "dropToShare": "Drop to share", + "friendsOnline": "Friends Online" } \ No newline at end of file diff --git a/lib/widgets/account/friends_overview.dart b/lib/widgets/account/friends_overview.dart index 1da974c7..578a89dc 100644 --- a/lib/widgets/account/friends_overview.dart +++ b/lib/widgets/account/friends_overview.dart @@ -1,4 +1,5 @@ import 'dart:async'; +import 'package:easy_localization/easy_localization.dart'; import 'package:flutter/material.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; @@ -62,7 +63,10 @@ class FriendsOverviewWidget extends HookConsumerWidget { children: [ Row( spacing: 8, - children: [const Icon(Symbols.group), Text('Friends Online')], + children: [ + const Icon(Symbols.group), + Text('friendsOnline').tr(), + ], ).padding(horizontal: 16).height(48), if (onlineFriends.isEmpty) Container(