docs: 更新协议文档,删除废弃计划文档
- 更新 http-error-codes, user-points-chat-data-protocol - 更新 divination-run-protocol, profile-protocol - 删除废弃的后端和前端设计计划文档
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../../../features/divination/data/models/divination_params.dart';
|
||||
import '../../../l10n/app_localizations.dart';
|
||||
import '../../theme/design_tokens.dart';
|
||||
import 'divination_terms.dart';
|
||||
|
||||
@@ -8,6 +10,7 @@ class YaoLegend extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final l10n = AppLocalizations.of(context)!;
|
||||
final style = Theme.of(context).textTheme.bodySmall;
|
||||
final mutedTextColor = Theme.of(
|
||||
context,
|
||||
@@ -17,19 +20,19 @@ class YaoLegend extends StatelessWidget {
|
||||
runSpacing: AppSpacing.xs,
|
||||
children: [
|
||||
Text(
|
||||
'\u2014 ${DivinationTerms.yinYang[true]}',
|
||||
'\u2014 ${DivinationTerms.yinYangLabel(l10n, true)}',
|
||||
style: style?.copyWith(color: mutedTextColor),
|
||||
),
|
||||
Text(
|
||||
'-- ${DivinationTerms.yinYang[false]}',
|
||||
'-- ${DivinationTerms.yinYangLabel(l10n, false)}',
|
||||
style: style?.copyWith(color: mutedTextColor),
|
||||
),
|
||||
Text(
|
||||
'${DivinationTerms.changeMarkOldYang} ${DivinationTerms.yaoTypeLabels[YaoTypeLabel.oldYang]}(变)',
|
||||
'${DivinationTerms.changeMarkOldYang} ${DivinationTerms.yaoTypeLabel(l10n, YaoType.oldYang)}${l10n.yaoMovingSuffix}',
|
||||
style: style?.copyWith(color: mutedTextColor),
|
||||
),
|
||||
Text(
|
||||
'${DivinationTerms.changeMarkOldYin} ${DivinationTerms.yaoTypeLabels[YaoTypeLabel.oldYin]}(变)',
|
||||
'${DivinationTerms.changeMarkOldYin} ${DivinationTerms.yaoTypeLabel(l10n, YaoType.oldYin)}${l10n.yaoMovingSuffix}',
|
||||
style: style?.copyWith(color: mutedTextColor),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user