New badge

This commit is contained in:
LittleSheep 2024-06-03 23:41:09 +08:00
parent 6007bdff77
commit 628b448e81
2 changed files with 10 additions and 0 deletions

View File

@ -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': '优秀社区贡献者',
}
};
}

View File

@ -31,6 +31,14 @@ class _AccountBadgeWidgetState extends State<AccountBadgeWidget> {
color: Colors.orange,
),
),
'solar.greatCommunityContributor': (
'badgeGreatCommunityContributor'.tr,
const FaIcon(
FontAwesomeIcons.handshakeAngle,
size: 16,
color: Colors.green,
),
)
};
@override