chore(i18n): migrate start stop keys to fl_lib (#1057)
This commit is contained in:
@@ -363,7 +363,7 @@ extension _OnTapFile on _LocalFilePageState {
|
||||
args: EditorPageArgs(
|
||||
path: file.absolute.path,
|
||||
onSave: (_) {
|
||||
context.showSnackBar(l10n.saved);
|
||||
context.showSnackBar(libL10n.saved);
|
||||
setStateSafe(() {});
|
||||
},
|
||||
closeAfterSave: SettingStore.instance.closeAfterSave.fetch(),
|
||||
|
||||
@@ -296,7 +296,7 @@ extension _Actions on _SftpPageState {
|
||||
if (_canDecompress(file.filename))
|
||||
ListTile(
|
||||
leading: const Icon(Icons.folder_zip),
|
||||
title: Text(l10n.decompress),
|
||||
title: Text(libL10n.decompress),
|
||||
onTap: () => _decompress(file),
|
||||
),
|
||||
]);
|
||||
@@ -692,7 +692,7 @@ extension _Actions on _SftpPageState {
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Btn.tile(icon: const Icon(Icons.open_in_new), text: l10n.system, onTap: () => context.pop(1)),
|
||||
Btn.tile(icon: const Icon(Icons.folder), text: l10n.inner, onTap: () => context.pop(0)),
|
||||
Btn.tile(icon: const Icon(Icons.folder), text: libL10n.inner, onTap: () => context.pop(0)),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
@@ -19,7 +19,7 @@ class _SftpMissionPageState extends ConsumerState<SftpMissionPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: CustomAppBar(title: Text(l10n.mission, style: UIs.text18)),
|
||||
appBar: CustomAppBar(title: Text(libL10n.mission, style: UIs.text18)),
|
||||
body: _buildBody(),
|
||||
);
|
||||
}
|
||||
@@ -140,7 +140,7 @@ class _SftpMissionPageState extends ConsumerState<SftpMissionPage> {
|
||||
return IconButton(
|
||||
onPressed: () => context.showRoundDialog(
|
||||
title: libL10n.attention,
|
||||
child: Text(libL10n.askContinue('${libL10n.delete} ${l10n.mission}($name)')),
|
||||
child: Text(libL10n.askContinue('${libL10n.delete} ${libL10n.mission}($name)')),
|
||||
actions: Btn.ok(
|
||||
onTap: () {
|
||||
ref.read(sftpProvider.notifier).cancel(id);
|
||||
|
||||
Reference in New Issue
Block a user