更新 'src/GUI/gui_funcs.cxx'

This commit is contained in:
zhongjin 2022-12-17 14:04:31 +08:00
parent 12f6821a98
commit b173a2d0c3

View File

@ -183,7 +183,7 @@ bool openBrowser(const std::string& aAddress)
if (!path.isNull()) {
address = "file://" + path.local8BitStr();
} else {
mkDialog ("Sorry, file not found!");
mkDialog ("文件未找到!");
SG_LOG(SG_GENERAL, SG_ALERT, "openBrowser: Cannot find requested file '"
<< address << "'.");
return false;
@ -217,7 +217,7 @@ bool openBrowser(const std::string& aAddress)
#endif
if( fgGetBool("/sim/gui/show-browser-open-hint", true) )
mkDialog("The file is shown in your web browser window.");
mkDialog("已在本机浏览器中打开.");
return ok;
}
@ -402,7 +402,7 @@ void fgHiResDump()
fclose(f);
message = "Snapshot saved to \"";
message = "截图保存到" \"";
message += filename;
message += "\".";
mkDialog (message.c_str());