Merge branch 'service' of github.com:open-trade/flutter_hbb into service

This commit is contained in:
csf 2022-03-24 18:59:03 +08:00
commit 763234221e
2 changed files with 4 additions and 4 deletions

View File

@ -261,7 +261,7 @@ class FileModel extends ChangeNotifier {
removeAction(SelectedItems items) async {
removeCheckboxRemember = false;
if (items.isLocal == null) {
debugPrint("Failed to removeFile ,wrong path state");
debugPrint("Failed to removeFile, wrong path state");
return;
}
final isWindows =
@ -276,7 +276,7 @@ class FileModel extends ChangeNotifier {
content = "${item.name}";
entries = [item];
} else if (item.isDirectory) {
title = translate("Not a Empty Directory");
title = translate("Not an empty directory");
showLoading(translate("Waiting"));
final fd = await _fileFetcher.fetchDirectoryRecursive(
_jobId, item.path, items.isLocal!, true);

View File

@ -286,7 +286,7 @@ class _FileManagerPageState extends State<FileManagerPage> {
children: [
Icon(Icons.check),
SizedBox(width: 5),
Text(translate("CheckBox"))
Text(translate("Multi Select"))
],
),
value: "select",
@ -382,7 +382,7 @@ class _FileManagerPageState extends State<FileManagerPage> {
padding: EdgeInsets.all(2),
// TODO
child: Text(
"${translate("Count")}: ${model.currentDir.entries.length}${translate("items")}",
"${translate("Total")}: ${model.currentDir.entries.length}${translate("items")}",
style: TextStyle(color: MyTheme.darkGray),
),
)