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

@@ -33,7 +33,7 @@ class _IPerfPageState extends State<IPerfPage> {
child: const Icon(Icons.send),
onPressed: () {
if (_hostCtrl.text.isEmpty || _portCtrl.text.isEmpty) {
context.showSnackBar(l10n.fieldMustNotEmpty);
context.showSnackBar(libL10n.empty);
return;
}
AppRoutes.ssh(