mirror of
https://github.com/godotengine/godot.git
synced 2025-03-07 23:32:58 +08:00
Merge pull request #99605 from Alex2782/fix_errmsg_java_sdk_path
Fix missing space after period in error message.
This commit is contained in:
commit
6e6fbdd593
@ -2529,7 +2529,7 @@ bool EditorExportPlatformAndroid::has_valid_export_configuration(const Ref<Edito
|
||||
// Check for the bin directory.
|
||||
Ref<DirAccess> da = DirAccess::open(java_sdk_path.path_join("bin"), &errn);
|
||||
if (errn != OK) {
|
||||
err += TTR("Invalid Java SDK path in Editor Settings.");
|
||||
err += TTR("Invalid Java SDK path in Editor Settings.") + " ";
|
||||
err += TTR("Missing 'bin' directory!");
|
||||
err += "\n";
|
||||
valid = false;
|
||||
@ -2537,7 +2537,7 @@ bool EditorExportPlatformAndroid::has_valid_export_configuration(const Ref<Edito
|
||||
// Check for the `java` command.
|
||||
String java_path = get_java_path();
|
||||
if (!FileAccess::exists(java_path)) {
|
||||
err += TTR("Unable to find 'java' command using the Java SDK path.");
|
||||
err += TTR("Unable to find 'java' command using the Java SDK path.") + " ";
|
||||
err += TTR("Please check the Java SDK directory specified in Editor Settings.");
|
||||
err += "\n";
|
||||
valid = false;
|
||||
@ -2554,7 +2554,7 @@ bool EditorExportPlatformAndroid::has_valid_export_configuration(const Ref<Edito
|
||||
// Check for the platform-tools directory.
|
||||
Ref<DirAccess> da = DirAccess::open(sdk_path.path_join("platform-tools"), &errn);
|
||||
if (errn != OK) {
|
||||
err += TTR("Invalid Android SDK path in Editor Settings.");
|
||||
err += TTR("Invalid Android SDK path in Editor Settings.") + " ";
|
||||
err += TTR("Missing 'platform-tools' directory!");
|
||||
err += "\n";
|
||||
valid = false;
|
||||
@ -2563,7 +2563,7 @@ bool EditorExportPlatformAndroid::has_valid_export_configuration(const Ref<Edito
|
||||
// Validate that adb is available.
|
||||
String adb_path = get_adb_path();
|
||||
if (!FileAccess::exists(adb_path)) {
|
||||
err += TTR("Unable to find Android SDK platform-tools' adb command.");
|
||||
err += TTR("Unable to find Android SDK platform-tools' adb command.") + " ";
|
||||
err += TTR("Please check in the Android SDK directory specified in Editor Settings.");
|
||||
err += "\n";
|
||||
valid = false;
|
||||
@ -2572,7 +2572,7 @@ bool EditorExportPlatformAndroid::has_valid_export_configuration(const Ref<Edito
|
||||
// Check for the build-tools directory.
|
||||
Ref<DirAccess> build_tools_da = DirAccess::open(sdk_path.path_join("build-tools"), &errn);
|
||||
if (errn != OK) {
|
||||
err += TTR("Invalid Android SDK path in Editor Settings.");
|
||||
err += TTR("Invalid Android SDK path in Editor Settings.") + " ";
|
||||
err += TTR("Missing 'build-tools' directory!");
|
||||
err += "\n";
|
||||
valid = false;
|
||||
@ -2585,7 +2585,7 @@ bool EditorExportPlatformAndroid::has_valid_export_configuration(const Ref<Edito
|
||||
// Validate that apksigner is available.
|
||||
String apksigner_path = get_apksigner_path(target_sdk_version.to_int());
|
||||
if (!FileAccess::exists(apksigner_path)) {
|
||||
err += TTR("Unable to find Android SDK build-tools' apksigner command.");
|
||||
err += TTR("Unable to find Android SDK build-tools' apksigner command.") + " ";
|
||||
err += TTR("Please check in the Android SDK directory specified in Editor Settings.");
|
||||
err += "\n";
|
||||
valid = false;
|
||||
|
Loading…
Reference in New Issue
Block a user