l10: update

This commit is contained in:
2024-03-17 12:44:50 +08:00
parent d382484739
commit ead05516aa
13 changed files with 1606 additions and 1740 deletions

View File

@ -505,7 +505,12 @@ class HomeUI extends HookConsumerWidget {
style: const TextStyle(fontSize: 18),
),
const SizedBox(height: 4),
Text(item.infoString),
Text(
item.infoString,
style: TextStyle(
fontSize: 14,
color: Colors.white.withOpacity(.6)),
),
],
)),
if (item.key == "localization" &&
@ -580,6 +585,7 @@ class HomeUI extends HookConsumerWidget {
padding: const EdgeInsets.only(top: 4),
child: Text(
info,
maxLines: 1,
style: TextStyle(
fontSize: 12,
color: Colors.white.withOpacity(.6)),

View File

@ -75,7 +75,8 @@ class IndexUI extends HookConsumerWidget {
pane: NavigationPane(
selected: curIndex.value,
items: getNavigationPaneItems(curIndex),
size: const NavigationPaneSize(openWidth: 64),
size: NavigationPaneSize(
openWidth: S.current.app_language_code.startsWith("zh") ? 64 : 74),
),
paneBodyBuilder: (item, child) {
return FocusTraversalGroup(
@ -103,7 +104,7 @@ class IndexUI extends HookConsumerWidget {
icon: Padding(
padding: const EdgeInsets.only(top: 6, bottom: 6),
child: SizedBox(
width: 32,
width: S.current.app_language_code.startsWith("zh") ? 32 : 42,
child: Column(
mainAxisSize: MainAxisSize.min,
children: [