diff --git a/lib/translations.dart b/lib/translations.dart index f0b25c1..5e888bb 100644 --- a/lib/translations.dart +++ b/lib/translations.dart @@ -192,6 +192,7 @@ class SolianMessages extends Translations { 'badgeGrantAt': 'Badge awarded on @date', 'badgeSolsynthStaff': 'Solsynth Staff', 'badgeSolarOriginalCitizen': 'Solar Network Natives', + 'badgeGreatCommunityContributor': 'Great Community Contributor', }, 'zh_CN': { 'hide': '隐藏', @@ -370,6 +371,7 @@ class SolianMessages extends Translations { 'badgeGrantAt': '徽章颁发于 @date', 'badgeSolsynthStaff': 'Solsynth 工作人员', 'badgeSolarOriginalCitizen': 'Solar Network 原住民', + 'badgeGreatCommunityContributor': '优秀社区贡献者', } }; } diff --git a/lib/widgets/account/account_badge.dart b/lib/widgets/account/account_badge.dart index 4cc2bd3..78a21d0 100644 --- a/lib/widgets/account/account_badge.dart +++ b/lib/widgets/account/account_badge.dart @@ -31,6 +31,14 @@ class _AccountBadgeWidgetState extends State { color: Colors.orange, ), ), + 'solar.greatCommunityContributor': ( + 'badgeGreatCommunityContributor'.tr, + const FaIcon( + FontAwesomeIcons.handshakeAngle, + size: 16, + color: Colors.green, + ), + ) }; @override