opt.: l10n & fix: write script (#514)

This commit is contained in:
lollipopkit🏳️‍⚧️
2024-08-03 22:44:21 +08:00
committed by GitHub
parent 610f46da0d
commit 9db04a60c2
55 changed files with 686 additions and 2201 deletions

View File

@@ -149,7 +149,7 @@ class _EditorPageState extends State<EditorPage> {
fn: () => File(widget.path!).writeAsString(_controller.text),
);
if (res == null) {
context.showSnackBar(l10n.failed);
context.showSnackBar(libL10n.fail);
return;
}
context.pop(true);