chore(i18n): migrate start stop keys to fl_lib (#1057)

This commit is contained in:
lollipopkit🏳️‍⚧️
2026-02-27 23:36:59 +08:00
committed by GitHub
parent 2166e27771
commit c3678f3df9
75 changed files with 137 additions and 4220 deletions

View File

@@ -114,7 +114,7 @@ extension _SSH on _AppSettingsPageState {
return _setting.desktopTerminal.listenable().listenVal((val) {
return ListTile(
leading: const Icon(Icons.terminal),
title: TipText(l10n.terminal, l10n.desktopTerminalTip),
title: TipText(libL10n.terminal, l10n.desktopTerminalTip),
trailing: Text(val, style: UIs.text15, maxLines: 1, overflow: TextOverflow.ellipsis),
onTap: () {
withTextFieldController((ctrl) async {
@@ -129,7 +129,7 @@ extension _SSH on _AppSettingsPageState {
child: Input(
controller: ctrl,
autoFocus: true,
label: l10n.terminal,
label: libL10n.terminal,
hint: 'x-terminal-emulator / gnome-terminal',
icon: Icons.edit,
suggestion: false,
@@ -159,14 +159,14 @@ extension _SSH on _AppSettingsPageState {
return ListTile(
leading: const Icon(MingCute.moon_stars_fill, size: _kIconSize),
title: Text(l10n.theme),
title: Text(libL10n.theme),
trailing: ValBuilder(
listenable: _setting.termTheme.listenable(),
builder: (val) => Text(index2Str(val), style: UIs.text15),
),
onTap: () async {
final selected = await context.showPickSingleDialog(
title: l10n.theme,
title: libL10n.theme,
items: List.generate(3, (index) => index),
display: (p0) => index2Str(p0),
initial: _setting.termTheme.fetch(),