diff --git a/src/Http/HttpFileManager.cpp b/src/Http/HttpFileManager.cpp index b57d6411..428abf85 100644 --- a/src/Http/HttpFileManager.cpp +++ b/src/Http/HttpFileManager.cpp @@ -198,10 +198,10 @@ static bool makeFolderMenu(const string &httpPath, const string &strFullPath, st stringstream ss; ss << "\r\n" "\r\n" - "文件索引\r\n" + "File Index\r\n" "\r\n" "\r\n" - "

文件索引:"; + "

Index of "; ss << httpPath; ss << "

\r\n"; @@ -209,7 +209,7 @@ static bool makeFolderMenu(const string &httpPath, const string &strFullPath, st ss << "
  • "; - ss << "根目录"; + ss << "root"; ss << "
  • \r\n"; ss << "
  • "; - ss << "上级目录"; + ss << "../"; ss << "
  • \r\n"; } @@ -244,7 +244,7 @@ static bool makeFolderMenu(const string &httpPath, const string &strFullPath, st return Parser::parseArgs(str, ";", ","); }); for (auto &pr : virtualPathMap) { - file_map.emplace(pr.first, std::make_pair(string("虚拟目录:") + pr.first, File::absolutePath("", pr.second))); + file_map.emplace(pr.first, std::make_pair(string("virtual path: ") + pr.first, File::absolutePath("", pr.second))); } } int i = 0;