chore: l10n

This commit is contained in:
lollipopkit🏳️‍⚧️
2024-08-04 13:05:29 +08:00
parent a15c04956c
commit 64676bc5cb
31 changed files with 87 additions and 405 deletions

View File

@@ -91,7 +91,7 @@ class _ServerDetailPageState extends State<ServerDetailPage>
}
Widget _buildMainPage(Server si) {
final buildFuncs = !Stores.setting.moveOutServerTabFuncBtns.fetch();
final buildFuncs = !Stores.setting.moveServerFuncs.fetch();
final logoUrl = si.spi.custom?.logoUrl ??
Stores.setting.serverLogoUrl.fetch().selfIfNotNullEmpty;
final buildLogo = logoUrl != null;
@@ -157,7 +157,7 @@ class _ServerDetailPageState extends State<ServerDetailPage>
child: ExpandTile(
leading: const Icon(MingCute.information_fill, size: 20),
initiallyExpanded: _getInitExpand(ss.more.entries.length),
title: Text(l10n.about),
title: Text(libL10n.about),
childrenPadding: const EdgeInsets.symmetric(
horizontal: 17,
vertical: 11,

View File

@@ -432,7 +432,7 @@ class _ServerEditPageState extends State<ServerEditPage> with AfterLayoutMixin {
UIs.height7,
ListTile(
leading: const Icon(BoxIcons.bxs_help_circle),
title: Text(l10n.about),
title: Text(libL10n.about),
subtitle: Text(l10n.wolTip, style: UIs.text12Grey),
).cardx,
Input(

View File

@@ -432,7 +432,7 @@ class _ServerPageState extends State<ServerPage>
],
),
UIs.height13,
if (Stores.setting.moveOutServerTabFuncBtns.fetch() &&
if (Stores.setting.moveServerFuncs.fetch() &&
// Discussion #146
!Stores.setting.serverTabUseOldUI.fetch())
SizedBox(
@@ -676,7 +676,7 @@ ${ss.err?.message ?? 'null'}
if (flip) {
return _kCardHeightFlip;
}
if (Stores.setting.moveOutServerTabFuncBtns.fetch() &&
if (Stores.setting.moveServerFuncs.fetch() &&
// Discussion #146
!Stores.setting.serverTabUseOldUI.fetch()) {
return _kCardHeightMoveOutFuncs;