Commit 99691eb0c990068815cbeba5f75791defa4aae26

Authored by 常守达
1 parent 895ecba8

fix(ui): 国际化提取

... ... @@ -88,7 +88,8 @@ class MembershipOfferView extends GetView<MembershipOfferController> {
: Column(
children: [
Text(
'原价${_originDisplayPrice(yearInfo)}/年',
context.l10n.originalPricePerYear(
_originDisplayPrice(yearInfo)),
textAlign: TextAlign.center,
style: const TextStyle(
color: Color(0xFF78787D),
... ...
... ... @@ -772,5 +772,14 @@
"healthLocalNotificationRealtimeStressOverloadContent": "You stayed in a high-stress state over the past 60 minutes. Reduce exertion and prioritize rest and sleep.",
"turnOnNotifications": "Turn on Notifications",
"stayUpToDateOnChangesInYourOwnAndYourFriendsHealth": "Stay up to date on changes in your own and your friends' health",
"refreshComplete": "Refresh Complete"
"refreshComplete": "Refresh Complete",
"originalPricePerYear": "Was: {price}/year",
"@originalPricePerYear": {
"description": "Original price per year label",
"placeholders": {
"price": {
"type": "String"
}
}
}
}
\ No newline at end of file
... ...
... ... @@ -1165,5 +1165,14 @@
"healthLocalNotificationRealtimeStressOverloadContent": "你过去60分钟持续处于高压力状态,建议减少消耗,并优先保证休息与睡眠。",
"turnOnNotifications": "开启通知",
"stayUpToDateOnChangesInYourOwnAndYourFriendsHealth": "及时了解自己和好友的健康波动",
"refreshComplete": "刷新完成"
"refreshComplete": "刷新完成",
"originalPricePerYear": "原价{price}/年",
"@originalPricePerYear": {
"description": "原价每年标签",
"placeholders": {
"price": {
"type": "String"
}
}
}
}
\ No newline at end of file
... ...
... ... @@ -4155,6 +4155,12 @@ abstract class AppLocalizations {
/// In zh, this message translates to:
/// **'刷新完成'**
String get refreshComplete;
/// 原价每年标签
///
/// In zh, this message translates to:
/// **'原价{price}/年'**
String originalPricePerYear(String price);
}
class _AppLocalizationsDelegate
... ...
... ... @@ -2339,4 +2339,9 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get refreshComplete => 'Refresh Complete';
@override
String originalPricePerYear(String price) {
return 'Was: $price/year';
}
}
... ...
... ... @@ -2235,4 +2235,9 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get refreshComplete => '刷新完成';
@override
String originalPricePerYear(String price) {
return '原价$price/年';
}
}
... ...