| 2342 | return report; |
| 2343 | } |
| 2344 | String ImportExporterReport::get_editor_message_string() { |
| 2345 | String report = ""; |
| 2346 | String version_text = ver->as_text(); |
| 2347 | if (godotsteam_detected) { |
| 2348 | if (mono_detected) { |
| 2349 | version_text += " (Steam Mono edition)"; |
| 2350 | } else { |
| 2351 | version_text += " (Steam edition)"; |
| 2352 | } |
| 2353 | } else if (mono_detected) { |
| 2354 | version_text += " (Mono)"; |
| 2355 | } |
| 2356 | report += "Use Godot editor version " + version_text + " to edit the project." + String("\n"); |
| 2357 | if (godotsteam_detected) { |
| 2358 | report += "GodotSteam can be found here: https://github.com/CoaguCo-Industries/GodotSteam/releases \n"; |
| 2359 | } |
| 2360 | if (custom_version_detected) { |
| 2361 | report += "Custom Godot engine version detected!" + String("\n"); |
| 2362 | report += "You may encounter errors when opening the project in the editor." + String("\n"); |
| 2363 | } |
| 2364 | |
| 2365 | return report; |
| 2366 | } |
| 2367 | String ImportExporterReport::get_detected_unsupported_resource_string() { |
| 2368 | String str = ""; |
| 2369 | for (auto type : unsupported_types) { |
no test coverage detected