fix trans

This commit is contained in:
rustdesk 2022-03-24 15:29:12 +08:00
parent 98d8689d7b
commit 07db5e294a
2 changed files with 4 additions and 4 deletions

View File

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

View File

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