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