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

@@ -127,7 +127,7 @@ void _onTapMoreBtns(ServerFuncBtn value, Spi spi, BuildContext context, WidgetRe
return;
}
final snippets = await context.showPickWithTagDialog<Snippet>(
title: l10n.snippet,
title: libL10n.snippet,
tags: snippetState.tags.vn,
itemsBuilder: (e) {
if (e == TagSwitcher.kDefaultTag) {
@@ -146,7 +146,7 @@ void _onTapMoreBtns(ServerFuncBtn value, Spi spi, BuildContext context, WidgetRe
final sure = await context.showRoundDialog<bool>(
title: libL10n.attention,
child: SingleChildScrollView(child: SimpleMarkdown(data: '```shell\n$fmted\n```')),
actions: [CountDownBtn(onTap: () => context.pop(true), text: l10n.run, afterColor: Colors.red)],
actions: [CountDownBtn(onTap: () => context.pop(true), text: libL10n.run, afterColor: Colors.red)],
);
if (sure != true) return;
if (!_checkClient(context, spi.id, ref)) return;
@@ -257,7 +257,7 @@ void _gotoSSH(Spi spi, BuildContext context) async {
await Process.start(scriptFile.path, [terminal, ...sshCommand]);
} catch (e, s) {
context.showErrDialog(e, s, l10n.emulator);
context.showErrDialog(e, s, libL10n.emulator);
} finally {
await scriptFile.delete();
}